/* ==========================================================================
   Dunia Travel - UAE Visa Experts
   Homepage styles. Mobile-first, cross-browser, WCAG 2.1 AA.
   ========================================================================== */

/* ---- Self-hosted fonts ------------------------------------------------- */
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400 700;            /* variable */
  font-display: swap;
  src: url("../fonts/nunito-var.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/poppins-500.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/poppins-600.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/poppins-700.woff2") format("woff2");
}
@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 600 700;            /* variable, used for the logo wordmark */
  font-display: swap;
  src: url("../fonts/quicksand-var.woff2") format("woff2");
}

/* ---- Design tokens ----------------------------------------------------- */
:root {
  --royal-blue: #0F4CFF;
  --royal-blue-dark: #0A3AD1;
  --teal: #12B8A5;
  --teal-dark: #0E9C8C;
  --navy: #0B2E4F;
  --navy-soft: #123a63;
  --bg-light: #F8FAFC;
  --white: #FFFFFF;
  --ink: #1f2a37;
  --muted: #5b6b7d;
  --line: #e6ecf3;

  --font-head: "Poppins", "Segoe UI", Tahoma, sans-serif;
  --font-body: "Nunito", "Segoe UI", Tahoma, sans-serif;
  --font-brand: "Quicksand", "Trebuchet MS", sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(11, 46, 79, .08);
  --shadow: 0 10px 30px rgba(11, 46, 79, .10);
  --shadow-lg: 0 20px 50px rgba(11, 46, 79, .16);

  --maxw: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
}

/* ---- Reset / base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--muted); }
a { color: var(--royal-blue); text-decoration: none; }
img, svg, video { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---- Layout helpers ---------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(48px, 7vw, 88px); }
.section--tint { background: var(--bg-light); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto clamp(28px, 4vw, 48px); }
.section__head h2 { font-size: clamp(1.6rem, 1rem + 2.4vw, 2.4rem); }
.section__head p { font-size: 1.05rem; }
.eyebrow { color: var(--teal); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; font-family: var(--font-head); }

/* visually hidden but available to screen readers */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

:where(a, button, input, [tabindex]):focus-visible {
  outline: 3px solid var(--royal-blue);
  outline-offset: 2px; border-radius: 6px;
}

/* ---- Brand wordmark ---------------------------------------------------- */
.brand {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -.01em;
  line-height: 1;
  white-space: nowrap;
}
.brand .b1 { color: var(--royal-blue); }
.brand .b2 { color: var(--teal); }
.brand--stacked { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.brand__tag { display: block; font-family: var(--font-head); font-weight: 600; font-size: .58rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }

/* ---- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 22px; border-radius: 10px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: .98rem; text-align: center;
  transition: transform .12s ease, background-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--royal-blue); color: #fff; }
.btn--primary:hover { background: var(--royal-blue-dark); box-shadow: var(--shadow); }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-dark); box-shadow: var(--shadow); }
.btn--outline { background: transparent; color: var(--royal-blue); border-color: var(--royal-blue); }
.btn--outline:hover { background: var(--royal-blue); color: #fff; }
.btn--ghost-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost-white:hover { background: #fff; color: var(--navy); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1.05rem; }
.btn .ico { width: 18px; height: 18px; }

/* ==========================================================================
   Top utility bar
   ========================================================================== */
.topbar { background: var(--navy); color: #cfe0f3; font-size: .82rem; }
.topbar__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; flex-wrap: wrap; }
.topbar__group { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar a { color: #cfe0f3; }
.topbar a:hover { color: #fff; }
.topbar .ti { display: inline-flex; align-items: center; gap: 6px; }
.topbar .ico { width: 15px; height: 15px; opacity: .85; }
@media (max-width: 760px) {
  .topbar .hide-sm { display: none; }
  .topbar__row { justify-content: center; }
}

/* ==========================================================================
   Header / nav
   ========================================================================== */
.header { position: sticky; top: 0; z-index: 1000; background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line); }
.header__row { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.header__brand { display: inline-flex; align-items: center; }
.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; }
.nav__link { display: inline-block; padding: 10px 14px; border-radius: 8px; color: var(--navy);
  font-family: var(--font-head); font-weight: 500; font-size: .95rem; }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--royal-blue); background: #eef3ff; }
.header__cta { margin-left: 8px; }
.nav__cta-mobile { display: none; }   /* only shown inside the mobile drawer */
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; align-items: center; justify-content: center; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px;
  position: relative; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle .bars::before { position: absolute; top: -7px; }
.nav-toggle .bars::after { position: absolute; top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  .header__cta.is-desktop { display: none; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 39px) 0 auto 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s; margin: 0;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 2px; padding: 12px var(--gutter) 18px; }
  .nav__link { padding: 13px 12px; border-radius: 8px; }
  .nav__cta-mobile { display: block; margin-top: 8px; }
  .nav__cta-mobile .btn { width: 100%; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(11,46,79,.94) 0%, rgba(11,46,79,.82) 42%, rgba(11,46,79,.45) 100%);
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center;
  padding-block: clamp(48px, 7vw, 92px); }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 1.2rem + 4.6vw, 4rem); margin-bottom: .1em; }
.hero h1 .accent { color: var(--teal); display: block; }
.hero__lead { color: #dbe7f4; font-size: 1.12rem; max-width: 30ch; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 26px; }
.hero__chip { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: #eaf2fb; }
.hero__chip .ico { width: 20px; height: 20px; color: var(--teal); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.rating-card {
  justify-self: end; background: #fff; color: var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 18px 20px; max-width: 300px; width: 100%;
}
.rating-card__top { display: flex; align-items: center; gap: 12px; }
.rating-card__g { width: 34px; height: 34px; flex: none; }
.rating-card__score { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--navy); line-height: 1; }
.rating-card__by { font-size: .78rem; color: var(--muted); }
.stars { color: #fbbf24; letter-spacing: 2px; font-size: 1.05rem; }
.rating-card__reviews { margin: 10px 0 0; font-size: .85rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 26px; }
  .rating-card { justify-self: start; }
}

/* ==========================================================================
   Services grid
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #d6e2f2; }

/* image header */
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__media img { transform: scale(1.06); }
.card__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,46,79,0) 45%, rgba(11,46,79,.28) 100%); }

/* corner tag */
.card__tag { position: absolute; top: 12px; left: 12px; z-index: 2;
  font-family: var(--font-head); font-weight: 600; font-size: .72rem; letter-spacing: .03em;
  color: #fff; padding: 5px 11px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.card__tag--popular { background: var(--royal-blue); }
.card__tag--fast { background: var(--teal-dark); }

/* body */
.card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { font-size: 1.12rem; margin-bottom: 6px; }
.card__body p { font-size: .92rem; margin-bottom: 14px; }

/* spec chips */
.card__specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.card__specs li { display: inline-flex; align-items: center; gap: 5px;
  background: var(--bg-light); color: var(--navy); border: 1px solid var(--line);
  border-radius: 8px; padding: 5px 9px; font-size: .78rem; font-weight: 600; }
.card__specs .ico { width: 14px; height: 14px; color: var(--teal-dark); }

/* footer: price + cta */
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 14px; border-top: 1px solid var(--line); }
.card__price { font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; color: var(--navy); line-height: 1; white-space: nowrap; }
.card__price small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .68rem;
  color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }

@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cards { grid-template-columns: 1fr; } }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust { background: var(--navy); color: #dbe7f4; }
.trust__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px 24px; padding-block: 22px; }
.trust__item { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: .95rem; }
.trust__item .ico { width: 22px; height: 22px; color: var(--teal); flex: none; }

/* ==========================================================================
   Why choose
   ========================================================================== */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; }
.why h2 { font-size: clamp(1.6rem, 1rem + 2.2vw, 2.3rem); }

/* media + floating badge */
.why__media { position: relative; }
.why__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 4 / 3.2; }
.why__badge { position: absolute; left: -14px; bottom: -18px; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 14px; padding: 12px 16px; box-shadow: var(--shadow-lg); max-width: 270px; }
.why__badge-ic { width: 40px; height: 40px; flex: none; border-radius: 10px; display: grid; place-items: center;
  background: #e3faf6; color: var(--teal-dark); }
.why__badge-ic svg { width: 22px; height: 22px; }
.why__badge-txt strong { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--navy); line-height: 1.1; }
.why__badge-txt small { display: block; font-size: .76rem; color: var(--muted); margin-top: 2px; }

/* benefit list */
.why__list { display: grid; gap: 16px; margin: 20px 0 26px; }
.why__list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); font-weight: 700;
  font-family: var(--font-head); font-size: 1.02rem; }
.why__list .ico { width: 24px; height: 24px; color: var(--teal-dark); flex: none; margin-top: 2px; }
.why__list span small { display: block; font-family: var(--font-body); font-weight: 400; color: var(--muted);
  font-size: .92rem; margin-top: 3px; }

.why__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 860px) {
  .why { grid-template-columns: 1fr; }
  .why__media { order: -1; margin-bottom: 8px; }
  .why__badge { left: 12px; bottom: 12px; }
}

/* proof / stats band */
.why__stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(40px, 6vw, 64px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: clamp(20px, 3vw, 32px) 16px; text-align: center;
}
.why__stats li { position: relative; }
.why__stats li + li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  height: 56%; width: 1px; background: var(--line); }
.why__stat-num { display: block; font-family: var(--font-head); font-weight: 700; line-height: 1;
  font-size: clamp(1.7rem, 1rem + 2.4vw, 2.6rem); color: var(--royal-blue); }
.why__stat-num em { font-style: normal; color: var(--teal-dark); }
.why__stat-lbl { display: block; margin-top: 8px; font-weight: 600; color: var(--navy); font-size: .9rem; }
@media (max-width: 620px) {
  .why__stats { grid-template-columns: 1fr 1fr; gap: 22px 12px; }
  .why__stats li:nth-child(3)::before, .why__stats li:nth-child(2)::before { display: none; }
  .why__stats li:nth-child(odd)::before { display: none; }
}

/* ==========================================================================
   Process steps
   ========================================================================== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 0; margin: 0; }
.step { position: relative; }

/* connector rail between cards (desktop) */
.step__rail { position: absolute; top: 52px; left: 50%; width: 100%; height: 3px;
  background: var(--line); border-radius: 3px; overflow: hidden; z-index: 0; }
.step:last-child .step__rail { display: none; }
.step__progress { position: absolute; inset: 0; width: 0;
  background: linear-gradient(90deg, var(--royal-blue), var(--teal)); border-radius: 3px;
  transition: width .6s ease; transition-delay: calc(var(--i) * .15s + .2s); }

/* card */
.step__card { position: relative; z-index: 1; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 20px 20px; box-shadow: var(--shadow-sm); height: 100%;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.step__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: #d6e2f2; }
.step__card--final { border-color: var(--teal); background: linear-gradient(180deg, #fff, #f1fdfb); }

.step__badge { position: absolute; top: -16px; left: 22px; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--royal-blue); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; box-shadow: 0 4px 10px rgba(15,76,255,.35); }
.step:nth-child(even) .step__badge { background: var(--teal-dark); box-shadow: 0 4px 10px rgba(14,156,140,.35); }

.step__icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: #eef3ff; color: var(--royal-blue); margin: 8px 0 14px; }
.step:nth-child(even) .step__icon { background: #e3faf6; color: var(--teal-dark); }
.step__icon svg { width: 30px; height: 30px; }
.step__card:hover .step__icon { animation: pop .4s ease; }
@keyframes pop { 0%,100%{transform:scale(1)} 40%{transform:scale(1.12)} }

.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { font-size: .92rem; margin-bottom: 14px; }
.step__time { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head);
  font-weight: 600; font-size: .8rem; color: var(--navy); background: var(--bg-light);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }

/* scroll reveal */
.step { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease;
  transition-delay: calc(var(--i) * .12s); }
.steps.is-in .step { opacity: 1; transform: none; }
.steps.is-in .step__progress { width: 100%; }

/* end CTA */
.process__cta { text-align: center; margin-top: clamp(36px, 5vw, 52px); }
.process__cta p { font-weight: 600; color: var(--navy); margin-bottom: 14px; }

@media (max-width: 860px) {
  /* vertical timeline */
  .steps { grid-template-columns: 1fr; gap: 0; padding-left: 8px; }
  .step { padding: 0 0 26px 56px; }
  .step__rail { top: 8px; left: 17px; width: 3px; height: 100%; }
  .step:last-child .step__rail { display: block; height: 0; }
  .step__progress { width: 3px !important; height: 0; transition: height .5s ease; }
  .steps.is-in .step__progress { height: 100%; }
  .step__badge { top: 4px; left: 0; }
  .step__icon { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .step { opacity: 1; transform: none; }
  .step__progress { transition: none; }
}

/* ==========================================================================
   Help / CTA panel
   ========================================================================== */
.help { background: linear-gradient(120deg, var(--navy), var(--navy-soft)); color: #fff; border-radius: 20px;
  padding: clamp(28px, 5vw, 48px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; }
.help h2 { color: #fff; font-size: clamp(1.5rem, 1rem + 2vw, 2.1rem); }
.help p { color: #cfe0f3; margin: 0; }
.help__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
@media (max-width: 760px) { .help { grid-template-columns: 1fr; } .help__actions { justify-content: flex-start; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: #08203a; color: #aebfd2; padding-block: clamp(40px, 6vw, 64px) 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 32px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer a { color: #aebfd2; }
.footer a:hover { color: #fff; }
.footer__links li { margin-bottom: 9px; }
.footer .brand { font-size: 1.5rem; }
.footer .brand__tag { color: #8aa0ba; }
.footer__about p { color: #9fb2c8; font-size: .92rem; margin-top: 14px; max-width: 34ch; }
.footer__contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: .92rem; }
.footer__contact .ico { width: 18px; height: 18px; color: var(--teal); flex: none; margin-top: 3px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: grid; place-items: center; }
.socials a:hover { background: var(--royal-blue); }
.socials .ico { width: 18px; height: 18px; color: #fff; }
.footer__bar { border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-block: 18px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .85rem; }
.footer__usp { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__usp span { display: inline-flex; align-items: center; gap: 6px; }
.footer__usp .ico { width: 15px; height: 15px; color: var(--teal); }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 1050;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: grid; place-items: center; box-shadow: 0 8px 24px rgba(37,211,102,.45);
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float .ico { width: 30px; height: 30px; color: #fff; }

/* ==========================================================================
   Apply modal
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(8,32,58,.62);
  backdrop-filter: blur(4px); animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }

.modal__dialog {
  position: relative; z-index: 1; width: 100%; max-width: 880px; max-height: calc(100dvh - 32px);
  background: #fff; border-radius: 20px; overflow: hidden; display: grid; grid-template-columns: 1fr 1.1fr;
  box-shadow: 0 30px 80px rgba(8,32,58,.4); animation: pop-in .26s cubic-bezier(.2,.8,.3,1);
}
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.97); } }

.modal__close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 38px; height: 38px;
  border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--navy);
  display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.modal__close:hover { background: #fff; transform: rotate(90deg); transition: transform .2s ease; }
.modal__close svg { width: 20px; height: 20px; }

/* media panel */
.modal__media { position: relative; color: #fff; min-height: 100%; }
.modal__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.modal__media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,46,79,.55) 0%, rgba(11,46,79,.88) 100%); }
.modal__media-inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column;
  justify-content: flex-end; gap: 14px; padding: 26px 24px; }
.modal__ribbon { align-self: flex-start; background: var(--teal); color: #04231f; font-family: var(--font-head);
  font-weight: 700; font-size: .8rem; padding: 6px 12px; border-radius: 999px; }
.modal__media-inner h3 { color: #fff; font-size: 1.45rem; line-height: 1.2; }
.modal__usp { display: grid; gap: 9px; }
.modal__usp li { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: .92rem; color: #eaf4ff; }
.modal__usp svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
.modal__rating { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: #cfe0f3;
  border-top: 1px solid rgba(255,255,255,.18); padding-top: 12px; }
.modal__rating .stars { color: #fbbf24; font-size: 1rem; letter-spacing: 1px; }

/* form panel */
.modal__form-wrap { padding: clamp(22px, 3vw, 34px); overflow-y: auto; }
.modal__form-wrap h2 { font-size: 1.55rem; margin: 4px 0 6px; }
.modal__sub { font-size: .94rem; margin-bottom: 18px; }

.lead-form { display: grid; gap: 14px; }
.field { display: grid; gap: 5px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--navy); }
.field label span[aria-hidden] { color: var(--royal-blue); }
.field__opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .95rem; color: var(--ink); background: var(--bg-light);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 56px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--royal-blue); box-shadow: 0 0 0 3px rgba(15,76,255,.15); background: #fff;
}
.field__err { display: none; color: #d92d20; font-size: .8rem; font-weight: 600; }
.field.is-invalid input, .field.is-invalid select { border-color: #d92d20; background: #fff5f4; }
.field.is-invalid .field__err { display: block; }

.lead-form__submit { width: 100%; margin-top: 4px; }
.lead-form__trust { display: flex; align-items: center; justify-content: center; gap: 7px; text-align: center;
  font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.lead-form__trust svg { width: 15px; height: 15px; color: var(--teal-dark); flex: none; }

/* success */
.lead-form__success { text-align: center; padding: 18px 6px; }
.lead-form__success[hidden] { display: none; }
.lead-form__success-ic { width: 68px; height: 68px; margin: 0 auto 14px; border-radius: 50%;
  background: #e3faf6; color: var(--teal-dark); display: grid; place-items: center; animation: pop .5s ease; }
.lead-form__success-ic svg { width: 34px; height: 34px; }
.lead-form__success h2 { margin-bottom: 8px; }
.lead-form__success p { margin-bottom: 18px; }

@media (max-width: 720px) {
  .modal__dialog { grid-template-columns: 1fr; max-height: calc(100dvh - 24px); }
  .modal__media { min-height: 150px; max-height: 168px; }
  .modal__media-inner { padding: 18px 20px; }
  .modal__media-inner h3 { font-size: 1.2rem; }
  .modal__usp, .modal__rating { display: none; }   /* keep mobile panel compact */
}
@media (max-width: 420px) {
  .field-row { grid-template-columns: 1fr; }
}
body.modal-open { overflow: hidden; }
