/* ==========================================================================
   IES Immigration — Design System & Site Styles
   ========================================================================== */

:root {
  /* Colors — matched to the real IES Immigration logo (red + blue) */
  --navy-950: #0A2A4E;
  --navy-900: #0F3A6E;
  --navy-800: #164C8C;
  --navy-700: #1E5FA8;
  --navy-600: #2E76C4;
  --gold-600: #A81319;
  --gold-500: #D42027;
  --gold-400: #ED4E54;
  --gold-100: #FBE4E4;
  --teal-600: #1E5FA8;
  --teal-500: #2E76C4;
  --teal-100: #E6F0FA;
  --ink-900: #16202E;
  --ink-700: #38455A;
  --muted-600: #5C6B7F;
  --muted-400: #8A99AC;
  --line-200: #E1E8F0;
  --line-100: #EDF2F8;
  --bg-page: #FFFFFF;
  --bg-alt: #F2F6FB;
  --surface: #FFFFFF;
  --success: #2E8B57;
  --danger: #C4432B;

  /* Typography */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container-w: 1180px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 2px 10px rgba(10, 31, 61, 0.06);
  --shadow-md: 0 12px 30px rgba(10, 31, 61, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 31, 61, 0.16);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---- Base ----------------------------------------------------------------*/
body {
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--bg-page);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy-900);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.7vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); }

p { color: var(--muted-600); }
strong { color: var(--ink-900); font-weight: 600; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 640px) {
  .container { padding-inline: 32px; }
}

section { padding-block: clamp(56px, 5vw + 24px, 108px); }
.section-tight { padding-block: clamp(40px, 4vw, 72px); }
.bg-alt { background: var(--bg-alt); }
.bg-navy { background: linear-gradient(160deg, var(--navy-900), var(--navy-800) 60%, var(--navy-700)); color: #EAF0FB; }
.bg-navy h2, .bg-navy h3 { color: #fff; }
.bg-navy p { color: #C4D2E8; }

/* ---- Eyebrow / kicker ----------------------------------------------------*/
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--gold-500);
  display: inline-block;
}
.bg-navy .eyebrow { color: var(--gold-400); }

.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

/* ---- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary { background: var(--gold-500); color: var(--navy-950); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--gold-400); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.35); color: inherit; }
.btn-outline:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--navy-800); border-color: var(--line-200); }
.btn-ghost:hover { border-color: var(--navy-700); background: var(--surface); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.88rem; }
.btn-link { color: var(--navy-800); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.btn-link svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.btn-link:hover svg { transform: translateX(4px); }

/* ---- Top utility bar -------------------------------------------------- */
.topbar {
  background: var(--navy-950);
  color: #C4D2E8;
  font-size: 0.83rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 9px;
  flex-wrap: wrap;
}
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info a { display: inline-flex; align-items: center; gap: 6px; color: #C4D2E8; }
.topbar-info a:hover { color: var(--gold-400); }
.topbar-info svg { width: 14px; height: 14px; opacity: 0.85; }
.topbar-social { display: flex; align-items: center; gap: 14px; }
.topbar-social a { width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,0.08); }
.topbar-social a:hover { background: var(--gold-500); color: var(--navy-950); }
.topbar-social svg { width: 14px; height: 14px; }

@media (max-width: 780px) {
  .topbar-info span.sep { display: none; }
  .topbar .container { justify-content: center; text-align: center; }
}

/* ---- Navbar --------------------------------------------------------------*/
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line-200);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 12px;
  background: #fff; border: 1px solid var(--line-200);
  object-fit: contain; padding: 4px;
  flex-shrink: 0;
}
.footer .brand-mark { background: #fff; border-color: rgba(255,255,255,0.14); }
.brand-name { font-family: var(--font-serif); font-weight: 700; font-size: 1.22rem; color: var(--navy-900); line-height: 1.1; }
.brand-name span { display: block; font-family: var(--font-sans); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-600); margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav-links a {
  padding: 10px 12px; border-radius: var(--radius-pill); font-weight: 600; font-size: 0.89rem; color: var(--ink-700);
  white-space: nowrap; transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.nav-links a:hover, .nav-links a.active { background: var(--bg-alt); color: var(--navy-900); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-cta { display: none; }
.nav-cta-mobile { display: none; }
@media (min-width: 1220px) { .nav-cta { display: inline-flex; } }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-200); background: var(--surface);
}
.nav-toggle span { width: 20px; height: 2px; background: var(--navy-900); margin-inline: auto; transition: transform 0.25s var(--ease), opacity 0.2s var(--ease); }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1219px) {
  .nav-links {
    position: fixed; inset: 84px 0 0 0; height: calc(100vh - 84px);
    background: #fff; flex-direction: column; align-items: stretch; padding: 18px;
    transform: translateX(100%); transition: transform 0.35s var(--ease); overflow-y: auto;
  }
  .nav-links.is-open { transform: translateX(0); }
  .nav-links a { padding: 16px 18px; font-size: 1.05rem; border-bottom: 1px solid var(--line-100); border-radius: 0; white-space: normal; }
  .nav-links .nav-cta-mobile { display: inline-flex; margin-top: 14px; }
}
@media (min-width: 1220px) { .nav-toggle { display: none; } }

/* ---- Hero ------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1100px 620px at 82% -10%, rgba(212,32,39,0.22), transparent 60%), linear-gradient(165deg, var(--navy-950), var(--navy-900) 55%, var(--navy-800));
  color: #fff;
  padding-block: clamp(64px, 8vw, 116px);
}
.hero-grid { display: grid; gap: 48px; align-items: center; position: relative; z-index: 1; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }

/* ---- Hero flight-path globe (decorative, "we fly the world" motif) ------ */
.hero-flightmap { position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 1200 / 620; z-index: 0; pointer-events: none; overflow: hidden; }
@media (max-width: 640px) { .hero-flightmap .dest-label { display: none; } }
.hero-flightmap svg { width: 100%; height: 100%; }
.hero-flightmap .globe-ring { fill: none; stroke: rgba(255,255,255,0.14); stroke-width: 1.2; }
.hero-flightmap .flight-path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 5 9; animation: dash-flow 3.2s linear infinite; }
.hero-flightmap .flight-path.c-red { stroke: rgba(237,78,84,0.65); }
.hero-flightmap .flight-path.c-blue { stroke: rgba(122,171,230,0.6); }
@keyframes dash-flow { to { stroke-dashoffset: -140; } }
.hero-flightmap .hub-dot { fill: #fff; }
.hero-flightmap .dest-dot { transform-box: fill-box; transform-origin: center; animation: dot-pulse 2.6s ease-in-out infinite; }
.hero-flightmap .dest-dot.c-red { fill: var(--gold-400); }
.hero-flightmap .dest-dot.c-blue { fill: #9CC4EF; }
@keyframes dot-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.55; transform: scale(1.7); } }
.hero-flightmap .dest-label { fill: #EAF0FB; font-family: var(--font-sans); font-size: 15px; font-weight: 700; letter-spacing: 0.02em; }
.hero-flightmap .plane-icon { fill: #fff; opacity: 0.9; }
.hero-flightmap [class*="plane"] { offset-rotate: auto; }
.hero-flightmap .plane1 { offset-path: path('M150,430 Q360,150 560,80'); animation: fly-along 6s linear infinite; }
.hero-flightmap .plane2 { offset-path: path('M150,430 Q620,60 900,110'); animation: fly-along 8s linear infinite; animation-delay: -2.4s; }
.hero-flightmap .plane3 { offset-path: path('M150,430 Q560,260 800,340'); animation: fly-along 7s linear infinite; animation-delay: -4.1s; }
.hero-flightmap .plane4 { offset-path: path('M150,430 Q780,470 990,420'); animation: fly-along 9s linear infinite; animation-delay: -1.2s; }
@keyframes fly-along { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@media (max-width: 959px) { .hero-flightmap { opacity: 0.6; } }
@media (prefers-reduced-motion: reduce) {
  .hero-flightmap .flight-path, .hero-flightmap .dest-dot, .hero-flightmap [class*="plane"] { animation: none; }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px 8px 8px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-pill); font-size: 0.83rem; font-weight: 600; margin-bottom: 22px;
}
.hero-badge .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--gold-500); color: var(--navy-950); display: inline-flex; align-items: center; justify-content: center; font-size: 0.7rem; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--gold-400); }
.hero-lede { font-size: 1.12rem; color: #C4D2E8; max-width: 540px; margin-top: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 46px; }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust strong { font-family: var(--font-serif); font-size: 1.8rem; color: var(--gold-400); }
.hero-trust span { font-size: 0.82rem; color: #A9B9D4; }

.hero-visual { position: relative; }
.hero-card {
  position: relative; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-lg); padding: 14px; backdrop-filter: blur(6px);
}
.hero-photo-frame { position: relative; overflow: hidden; border-radius: calc(var(--radius-lg) - 8px); min-height: 340px; height: 100%; }
.hero-photo { position: absolute; top: -8%; left: 0; width: 100%; height: 116%; object-fit: cover; transform: translateY(var(--parallax-y, 0px)); }
.hero-float {
  position: absolute; background: #fff; color: var(--ink-900); border-radius: var(--radius-md);
  padding: 14px 16px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px; max-width: 230px;
  animation: floaty 5s ease-in-out infinite;
}
.hero-float.f1 { top: -22px; left: -18px; }
.hero-float.f2 { bottom: -20px; right: -14px; animation-delay: 1.2s; }
.hero-float .ico { width: 40px; height: 40px; border-radius: 10px; background: var(--gold-100); color: var(--gold-600); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero-float strong { display: block; font-size: 0.95rem; }
.hero-float span { font-size: 0.78rem; color: var(--muted-600); }
@keyframes floaty { 0%,100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }

/* ---- Page header (inner pages) ---------------------------------------- */
.page-hero {
  background: linear-gradient(165deg, var(--navy-950), var(--navy-800));
  color: #fff; padding-block: 64px 78px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; inset: auto -10% -60% auto; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,32,39,0.25), transparent 70%);
}
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #A9B9D4; margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--gold-400); }
.page-hero h1 { color: #fff; margin-bottom: 8px; }
.page-hero p { color: #C4D2E8; max-width: 560px; }

/* ---- Feature / value grid ----------------------------------------------*/
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(1, 1fr); }
.grid-3 { grid-template-columns: repeat(1, 1fr); }
.grid-4 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) { .grid-2, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.about-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 940px) { .about-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
.about-media { position: relative; }
.about-photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5; background: linear-gradient(160deg, var(--navy-800), var(--navy-600));
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Rotating photo set (auto-crossfade through several real photos) ----
   Markup: a positioned, overflow-hidden frame containing several <img>s.
   Add [data-parallax] on the same frame for a gentle scroll drift. */
.photo-rotate img {
  position: absolute; top: -8%; left: 0; width: 100%; height: 116%; object-fit: cover;
  opacity: 0; animation: photo-cycle 16s infinite;
  transform: translateY(var(--parallax-y, 0px));
}
.photo-rotate img:nth-child(1) { animation-delay: 0s; }
.photo-rotate img:nth-child(2) { animation-delay: -4s; }
.photo-rotate img:nth-child(3) { animation-delay: -8s; }
.photo-rotate img:nth-child(4) { animation-delay: -12s; }
@keyframes photo-cycle {
  0%, 100% { opacity: 0; }
  3%, 22% { opacity: 1; }
  28% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-rotate img { animation: none; opacity: 1; transform: none; }
  .photo-rotate img:not(:first-child) { display: none; }
}
.about-badge {
  position: absolute; bottom: -24px; left: -24px; background: #fff; border-radius: var(--radius-md);
  padding: 18px 22px; box-shadow: var(--shadow-lg); text-align: center; min-width: 140px;
}
.about-badge strong { display: block; font-family: var(--font-serif); font-size: 2rem; color: var(--navy-900); }
.about-badge span { font-size: 0.78rem; color: var(--muted-600); }
.about-points { display: grid; gap: 14px; margin-top: 26px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-700); font-weight: 500; }
.about-points svg { width: 20px; height: 20px; color: var(--teal-600); flex-shrink: 0; margin-top: 2px; }

/* ---- Cards -------------------------------------------------------------*/
.card {
  background: var(--surface); border: 1px solid var(--line-200); border-radius: var(--radius-lg);
  padding: 32px 28px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon {
  width: 56px; height: 56px; border-radius: var(--radius-md); background: var(--gold-100); color: var(--gold-600);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; }
.card.alt .card-icon, .card-icon.alt { background: var(--teal-100); color: var(--teal-600); }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.95rem; }
.card-list { margin-top: 16px; display: grid; gap: 10px; }
.card-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; color: var(--ink-700); }
.card-list svg { width: 17px; height: 17px; color: var(--teal-600); flex-shrink: 0; margin-top: 3px; }
.card-foot { margin-top: 22px; }

.service-detail {
  display: grid; gap: 30px; padding: 36px; border-radius: var(--radius-lg); background: var(--surface);
  border: 1px solid var(--line-200); box-shadow: var(--shadow-sm);
}
@media (min-width: 860px) { .service-detail { grid-template-columns: 0.85fr 1.15fr; align-items: center; } }
.service-detail:nth-of-type(even) .service-detail-media { order: 2; }
.service-detail-media {
  position: relative; border-radius: var(--radius-md); background: linear-gradient(150deg, var(--navy-900), var(--navy-700));
  aspect-ratio: 16/12; display: flex; align-items: center; justify-content: center; color: var(--gold-400); overflow: hidden;
}
.service-detail-media img { position: absolute; top: -8%; left: 0; width: 100%; height: 116%; object-fit: cover; transform: translateY(var(--parallax-y, 0px)); }
.service-detail-media svg { width: 30%; height: 30%; opacity: 0.9; }
.service-icon-badge {
  position: absolute; bottom: 14px; left: 14px; z-index: 1; width: 52px; height: 52px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.94); color: var(--gold-600); display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
}
.service-icon-badge svg { width: 26px; height: 26px; }
.service-detail h3 { font-size: 1.5rem; margin-bottom: 12px; }
.service-num { font-family: var(--font-serif); color: var(--gold-500); font-size: 0.95rem; font-weight: 700; margin-bottom: 10px; display: block; }

/* ---- Stats bar -----------------------------------------------------------*/
.stats-bar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; text-align: center; }
@media (min-width: 760px) { .stats-bar { grid-template-columns: repeat(4, 1fr); } }
.stats-bar strong { display: block; font-family: var(--font-serif); font-size: clamp(1.8rem, 1.4rem + 1.5vw, 2.6rem); color: var(--gold-400); }
.stats-bar span { font-size: 0.85rem; color: #C4D2E8; }

/* ---- Why choose us list --------------------------------------------------*/
.why-grid { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
.why-item { display: flex; gap: 18px; padding: 22px; background: var(--surface); border: 1px solid var(--line-200); border-radius: var(--radius-md); }
.why-item .num { font-family: var(--font-serif); font-size: 1.6rem; color: var(--gold-500); flex-shrink: 0; }
.why-item h3 { font-size: 1.08rem; margin-bottom: 6px; }
.why-item p { font-size: 0.92rem; }

/* ---- Countries grid --------------------------------------------------- */
.country-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
@media (min-width: 640px) { .country-grid { grid-template-columns: repeat(4, 1fr); } }
.country-card {
  background: var(--surface); border: 1px solid var(--line-200); border-radius: var(--radius-md);
  padding: 24px 18px; text-align: center; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.country-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.country-flag { font-size: 2.2rem; margin-bottom: 10px; }
.country-card strong { font-family: var(--font-serif); font-size: 1.02rem; color: var(--navy-900); }

/* ---- Process / steps ----------------------------------------------------*/
.steps { display: grid; gap: 24px; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 30px 22px; background: var(--surface); border: 1px solid var(--line-200); border-radius: var(--radius-md); }
.step-num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy-900); color: var(--gold-400);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-weight: 700; font-size: 1.15rem; margin-bottom: 18px;
}
@media (min-width: 760px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 45px; left: calc(100% - 4px); width: calc(100% - 46px); height: 2px;
    background: repeating-linear-gradient(90deg, var(--line-200) 0 8px, transparent 8px 14px);
  }
}

/* ---- Timeline (About journey) ------------------------------------------*/
.timeline { position: relative; padding-left: 28px; border-left: 2px solid var(--line-200); display: grid; gap: 40px; }
.timeline-item { position: relative; }
.timeline-item::before {
  content: ""; position: absolute; left: -34px; top: 4px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold-500); border: 3px solid var(--surface); box-shadow: 0 0 0 2px var(--gold-500);
}
.timeline-year { display: inline-block; font-family: var(--font-serif); font-weight: 700; color: var(--navy-900); font-size: 1.3rem; margin-bottom: 8px; }
.timeline-item h4 { font-size: 1.02rem; color: var(--navy-800); margin-bottom: 6px; }
.timeline-item p { font-size: 0.95rem; }
.timeline-item p + p { margin-top: 10px; }

/* ---- Testimonials --------------------------------------------------------*/
.testi-track { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .testi-track { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .testi-track { grid-template-columns: repeat(3, 1fr); } }
.testi-card { background: var(--surface); border: 1px solid var(--line-200); border-radius: var(--radius-md); padding: 26px; }
.testi-stars { color: var(--gold-500); display: flex; gap: 3px; margin-bottom: 14px; }
.testi-stars svg { width: 16px; height: 16px; }
.testi-quote { font-size: 0.96rem; color: var(--ink-700); }
.testi-person { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(145deg, var(--navy-800), var(--navy-600));
  color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-weight: 700; flex-shrink: 0;
}
.testi-person strong { display: block; font-size: 0.92rem; color: var(--navy-900); }
.testi-person span { font-size: 0.8rem; color: var(--muted-600); }

/* ---- Offices -------------------------------------------------------------*/
.office-card {
  background: var(--surface); border: 1px solid var(--line-200); border-radius: var(--radius-lg); padding: 30px;
  display: flex; flex-direction: column; gap: 16px;
}
.office-flag { font-size: 1.8rem; }
.office-card h3 { font-size: 1.15rem; }
.office-row { display: flex; gap: 10px; font-size: 0.92rem; color: var(--ink-700); }
.office-row svg { width: 18px; height: 18px; color: var(--gold-600); flex-shrink: 0; margin-top: 2px; }
.office-row a:hover { color: var(--navy-900); text-decoration: underline; }

/* ---- Forms ---------------------------------------------------------------*/
.form-card { background: var(--surface); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-md); border: 1px solid var(--line-200); }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr; margin-bottom: 18px; }
@media (min-width: 560px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink-700); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm); border: 1px solid var(--line-200);
  background: var(--bg-alt); font-size: 0.95rem; transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy-700); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.field.file { position: relative; }
.field-hint { font-size: 0.78rem; color: var(--muted-600); margin-top: 6px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.form-note { font-size: 0.8rem; color: var(--muted-600); margin-top: 14px; }
.form-status { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.9rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #E6F4EC; color: var(--success); }
.form-status.err { background: #FBE9E5; color: var(--danger); }

/* ---- CTA band -------------------------------------------------------------*/
.cta-band {
  border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 60px); text-align: center;
  background: radial-gradient(900px 300px at 50% 0%, rgba(212,32,39,0.18), transparent 70%), linear-gradient(160deg, var(--navy-950), var(--navy-800));
  color: #fff;
}
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #C4D2E8; max-width: 520px; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; margin-top: 30px; }

/* ---- Footer ---------------------------------------------------------------*/
.footer { background: var(--navy-950); color: #A9B9D4; padding-block: 64px 0; }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr; } }
.footer-brand .brand-name { color: #fff; }
.footer p { color: #8DA0C2; font-size: 0.92rem; margin-top: 14px; }
.footer h4 { color: #fff; font-family: var(--font-sans); font-size: 0.92rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 18px; }
.footer-links { display: grid; gap: 12px; }
.footer-links a { font-size: 0.92rem; color: #A9B9D4; }
.footer-links a:hover { color: var(--gold-400); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; }
.footer-social a:hover { background: var(--gold-500); color: var(--navy-950); }
.footer-social svg { width: 15px; height: 15px; }
.footer-bottom {
  margin-top: 54px; border-top: 1px solid rgba(255,255,255,0.1); padding-block: 22px;
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; font-size: 0.82rem; color: #7488AC;
}

/* ---- WhatsApp float + back to top ---------------------------------------*/
.float-stack { position: fixed; right: 22px; bottom: 22px; z-index: 90; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-lg); transition: transform 0.25s var(--ease); }
.fab:hover { transform: translateY(-4px) scale(1.04); }
.fab-whatsapp { background: #25D366; color: #fff; }
.fab-whatsapp svg { width: 28px; height: 28px; }
.fab-top { background: #fff; color: var(--navy-900); border: 1px solid var(--line-200); width: 42px; height: 42px; opacity: 0; pointer-events: none; }
.fab-top.show { opacity: 1; pointer-events: auto; }
.fab-top svg { width: 18px; height: 18px; }

/* ---- Reveal animation ---------------------------------------------------
   Hidden-until-revealed state only applies once main.js has confirmed it's
   running (see .js-reveal on <html>), so content stays visible by default
   if the script never loads for any reason. */
.js-reveal [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js-reveal [data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ---- Misc utilities ----------------------------------------------------*/
.pill-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: var(--radius-pill);
  background: var(--gold-100); color: var(--gold-600); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em;
}
.two-col-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.tabs-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.tabs-nav button {
  padding: 10px 20px; border-radius: var(--radius-pill); border: 1px solid var(--line-200); background: var(--surface);
  font-weight: 600; font-size: 0.9rem; color: var(--ink-700);
}
.tabs-nav button.active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.map-frame { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line-200); aspect-ratio: 16/10; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.logo-strip { display: flex; flex-wrap: wrap; gap: 34px; align-items: center; justify-content: center; opacity: 0.75; }
.logo-strip span { font-family: var(--font-serif); font-weight: 700; color: var(--muted-400); font-size: 1.05rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0; background: var(--navy-900); color: #fff; padding: 12px 18px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---- Photo band (stats over a real photo) --------------------------------*/
.photo-band {
  position: relative; background-size: cover; background-position: center; overflow: hidden;
  animation: bg-pan 18s ease-in-out infinite alternate;
}
.photo-band::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,42,78,0.92), rgba(212,32,39,0.55));
}
.photo-band .container { position: relative; z-index: 1; }

/* ---- Reusable "photo behind content" treatment ---------------------------
   Add alongside .page-hero / .cta-band with style="--bg-img:url('...')" */
@keyframes bg-pan {
  0% { background-position: 50% 50%; background-size: 108% auto; }
  100% { background-position: 60% 38%; background-size: 122% auto; }
}
.has-photo {
  position: relative; overflow: hidden;
  background-image: var(--bg-img); background-size: cover; background-position: center;
  animation: bg-pan 20s ease-in-out infinite alternate;
}
.has-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,42,78,0.90), rgba(212,32,39,0.6));
}
.has-photo > .container { position: relative; z-index: 1; }
.cta-band.has-photo > * { position: relative; z-index: 1; }
.has-photo .eyebrow { color: var(--gold-400); }
.has-photo h2, .has-photo h3 { color: #fff; }
.has-photo .section-head p { color: #C4D2E8; }
@media (prefers-reduced-motion: reduce) {
  .photo-band, .has-photo { animation: none; }
}

/* ---- Why-choose photo collage --------------------------------------------*/
.why-layout { display: grid; gap: 40px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 940px) { .why-layout { grid-template-columns: 0.85fr 1.15fr; gap: 56px; } }
.why-collage { position: relative; padding: 0 18px 28px 0; }
.why-collage-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 3/4; }
.why-collage-main img { position: absolute; top: -8%; left: 0; width: 100%; height: 116%; object-fit: cover; transform: translateY(var(--parallax-y, 0px)); }
.why-collage-sub {
  position: absolute; right: -8px; bottom: -8px; width: 52%; aspect-ratio: 4/3; border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid var(--surface);
}
.why-collage-sub img { width: 100%; height: 100%; object-fit: cover; }
.why-grid.compact { grid-template-columns: 1fr; }

/* ---- Real success gallery --------------------------------------------- */
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); transform: translateY(var(--parallax-y, 0px)); }
.gallery-item:hover img { transform: translateY(var(--parallax-y, 0px)) scale(1.06); }

/* ---- Instagram footer grid ------------------------------------------- */
.insta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; max-width: 320px; }
@media (min-width: 480px) { .insta-grid { grid-template-columns: repeat(6, 1fr); max-width: none; } }
.insta-grid a { display: block; border-radius: 6px; overflow: hidden; aspect-ratio: 1/1; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.insta-grid a:hover img { transform: scale(1.08); opacity: 0.9; }
