/* ==========================================================================
   Pristine Harbour (Private) Limited — Design System & Styles
   Brand colours taken from the company letterhead & logo:
   Navy (#1F2B5E) · Orange (#E8772E) · Sunrise gold · Harbour sky blue
   ========================================================================== */

:root {
  /* Brand palette */
  --navy-950: #0a1230;
  --navy-900: #0f1a3d;
  --navy-800: #16244f;
  --navy-700: #1f2b5e;
  --navy-600: #2c3d7a;
  --navy-100: #e6eaf5;
  --orange-600: #d4621b;
  --orange-500: #e8772e;
  --orange-400: #f2924d;
  --orange-100: #fdeee3;
  --gold-400: #f6b343;
  --sky-500: #3b9ad6;
  --sky-300: #8cc7ee;
  --ink: #1a2142;
  --text: #4a5372;
  --muted: #7a839f;
  --line: #e3e7f1;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;

  /* Gradients */
  --grad-sunrise: linear-gradient(135deg, #f6b343 0%, #e8772e 55%, #d4621b 100%);
  --grad-navy: linear-gradient(160deg, #1f2b5e 0%, #0f1a3d 70%, #0a1230 100%);

  /* Typography */
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Outfit", "Inter", system-ui, sans-serif;
  --font-brand: "Libre Baskerville", Georgia, "Times New Roman", serif;

  /* Layout */
  --container: 1240px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(15, 26, 61, 0.06);
  --shadow: 0 12px 32px rgba(15, 26, 61, 0.1);
  --shadow-lg: 0 24px 60px rgba(15, 26, 61, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 112px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px);
  /* Navy fill shown during iOS rubber-band overscroll (instead of white) */
  background: var(--navy-950);
  /* iOS Safari ignores overflow-x:hidden on body for touch panning; clip on both
     roots stops sideways scrolling without breaking the sticky header */
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  position: relative;
  width: 100%;
  overscroll-behavior-x: none;
}
main, section, footer { max-width: 100%; overflow-x: clip; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid var(--orange-400); outline-offset: 3px; border-radius: 4px; }

.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: 16px; top: -60px; z-index: 1000;
  background: var(--orange-500); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Utilities ---------- */
.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }

.section { padding: 110px 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--grad-navy); color: #c9d1ea; }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange-500);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad-sunrise); border-radius: 2px; }

.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--grad-sunrise); border-radius: 2px; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 700; }
.section-head p { font-size: 1.08rem; color: var(--muted); }
.section--navy .section-head p { color: #aeb8d8; }

.text-accent {
  background: var(--grad-sunrise);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--grad-sunrise);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; border: 0;
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: 0.01em;
  color: #fff; background: var(--btn-bg);
  box-shadow: 0 10px 24px rgba(232, 119, 46, 0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
  transform: translateX(-120%); transition: transform 0.7s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(232, 119, 46, 0.45); }
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--ghost {
  background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.16); box-shadow: inset 0 0 0 1.5px #fff; }

.btn--navy { background: var(--navy-700); box-shadow: 0 10px 24px rgba(31, 43, 94, 0.3); }
.btn--navy:hover { background: var(--navy-800); box-shadow: 0 16px 30px rgba(31, 43, 94, 0.4); }

.btn--outline { background: transparent; color: var(--navy-700); box-shadow: inset 0 0 0 1.5px var(--navy-700); }
.btn--outline:hover { background: var(--navy-700); color: #fff; }

.btn--sm { padding: 11px 20px; font-size: 0.92rem; }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy-950); color: #b8c1df; font-size: 0.86rem;
  border-top: 4px solid var(--orange-500);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; }
.topbar__list { display: flex; flex-wrap: wrap; gap: 26px; }
.topbar__list a, .topbar__list span { display: inline-flex; align-items: center; gap: 8px; transition: color 0.2s; }
.topbar__list a:hover { color: var(--orange-400); }
.topbar svg { width: 15px; height: 15px; color: var(--orange-400); }
.topbar__badge {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff;
}
.pulse-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; position: relative;
}
.pulse-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #3ddc84;
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse { from { transform: scale(0.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s, border-color 0.3s, background 0.3s;
}
.header.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); background: rgba(255, 255, 255, 0.97); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; transition: height 0.3s var(--ease); }
.header.is-scrolled .header__inner { height: 82px; }

.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; flex-shrink: 0; }
.brand__logo { width: 128px; height: auto; transition: width 0.3s var(--ease); filter: drop-shadow(0 4px 10px rgba(15, 26, 61, 0.12)); }
.header.is-scrolled .brand__logo { width: 94px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-brand); font-weight: 700; color: var(--navy-700); font-size: 1.25rem; letter-spacing: 0.02em; }
.brand__sub { font-family: var(--font-brand); font-weight: 700; color: var(--orange-500); font-size: 0.72rem; letter-spacing: 0.14em; margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative; padding: 8px 11px; font-family: var(--font-head); font-weight: 500; color: var(--ink);
  font-size: 0.93rem; white-space: nowrap; transition: color 0.2s;
}
.nav__link::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--grad-sunrise); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--orange-500); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.header__cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header__phone { display: flex; align-items: center; gap: 10px; font-family: var(--font-head); white-space: nowrap; flex-shrink: 0; }
.header__phone-icon {
  flex-shrink: 0; width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--orange-100); color: var(--orange-500);
  line-height: 0; box-sizing: border-box;
}
.header__phone-icon svg { width: 18px; height: 18px; display: block; flex-shrink: 0; margin: 0; }
.header__phone span { display: flex; flex-direction: column; white-space: nowrap; }
.header__phone small { display: block; font-size: 0.72rem; color: var(--muted); font-family: var(--font-body); white-space: nowrap; line-height: 1.2; }
.header__phone strong { display: block; color: var(--navy-700); font-size: 0.98rem; white-space: nowrap; line-height: 1.2; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: #fff; position: relative;
}
.nav-toggle span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--navy-700); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: calc(100vh - 44px - var(--header-h)); min-height: 680px;
  display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("../assets/images/hero-port.jpg") center / cover no-repeat;
  transform: scale(1.08); animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 18, 48, 0.95) 0%, rgba(15, 26, 61, 0.82) 40%, rgba(15, 26, 61, 0.35) 75%, rgba(15, 26, 61, 0.15) 100%),
    linear-gradient(0deg, rgba(10, 18, 48, 0.75) 0%, transparent 35%);
}
.hero__inner { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 50px; align-items: center; padding: 90px 0 130px; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px); font-size: 0.88rem; margin-bottom: 26px;
}
.hero__tag b {
  background: var(--grad-sunrise); padding: 4px 12px; border-radius: 999px; font-family: var(--font-head);
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap; flex-shrink: 0; line-height: 1.6;
}
.hero__tag-text { line-height: 1.35; min-width: 0; }
.hero h1 {
  color: #fff; font-size: clamp(2.4rem, 5.2vw, 4.1rem); font-weight: 800; line-height: 1.07; margin-bottom: 22px;
}
.hero__lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: #d3daf0; max-width: 600px; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 12px 26px; color: #c4cce6; font-size: 0.92rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { width: 18px; height: 18px; color: var(--gold-400); }

.hero-card {
  background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px) saturate(140%); border-radius: var(--radius-lg); padding: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hero-card__head img { width: 64px; }
.hero-card__head h3 { color: #fff; font-size: 1.15rem; margin: 0; }
.hero-card__head p { margin: 0; font-size: 0.85rem; color: #b9c3e2; }
.hero-card__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 22px; }
.hero-card__stat { background: rgba(10, 18, 48, 0.45); border-radius: var(--radius); padding: 16px; }
.hero-card__stat strong { display: block; font-family: var(--font-head); font-size: 1.8rem; color: #fff; line-height: 1; }
.hero-card__stat strong span { color: var(--gold-400); }
.hero-card__stat small { color: #aab4d6; font-size: 0.8rem; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 96px; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, 0.5); border-radius: 20px;
}
.hero__scroll::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
  background: #fff; border-radius: 2px; animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; z-index: 1; color: #fff; line-height: 0; }
.hero__wave svg { width: 100%; height: 80px; }

/* ---------- Highlights strip ---------- */
.highlights { position: relative; z-index: 2; margin-top: -70px; }
.highlights__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.highlight { padding: 30px 26px; display: flex; gap: 16px; align-items: flex-start; border-right: 1px solid var(--line); transition: background 0.3s; }
.highlight:last-child { border-right: 0; }
.highlight:hover { background: var(--bg-soft); }
.highlight__icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--orange-100); color: var(--orange-500); transition: transform 0.4s var(--ease), background 0.3s, color 0.3s;
}
.highlight:hover .highlight__icon { transform: rotate(-8deg) scale(1.06); background: var(--orange-500); color: #fff; }
.highlight__icon svg { width: 26px; height: 26px; }
.highlight h3 { font-size: 1.05rem; margin-bottom: 4px; }
.highlight p { font-size: 0.9rem; margin: 0; color: var(--muted); line-height: 1.55; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 80px; align-items: center; }
.about__media { position: relative; }
.about__img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 88%; }
.about__media::before {
  content: ""; position: absolute; right: 0; top: 40px; width: 70%; height: 80%; border-radius: var(--radius-lg);
  background: var(--grad-sunrise); z-index: -1; opacity: 0.9;
}
.about__badge {
  position: absolute; right: 0; bottom: 40px; background: var(--navy-700); color: #fff; border-radius: var(--radius);
  padding: 22px 26px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 16px;
  border: 4px solid #fff;
}
.about__badge strong { font-family: var(--font-head); font-size: 3rem; line-height: 1; color: var(--gold-400); }
.about__badge span { font-size: 0.92rem; line-height: 1.35; color: #d4dbf2; }
.about__content h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); }
.about__content .lead { font-size: 1.12rem; color: var(--ink); }
.checklist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 28px 0 36px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); line-height: 1.45; }
.checklist svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--orange-500); }
.about__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.signature { display: flex; align-items: center; gap: 12px; }
.signature__avatar {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head);
  font-weight: 700; color: #fff; background: var(--grad-navy); font-size: 1.1rem; border: 3px solid var(--orange-100);
}
.signature strong { display: block; color: var(--ink); font-family: var(--font-head); }
.signature small { color: var(--muted); }

/* ---------- Services ---------- */
.services__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; }
.service-card { grid-column: span 2; }
.service-card:nth-child(4) { grid-column: 2 / span 2; }
.service-card:nth-child(5) { grid-column: 4 / span 2; }

.service-card {
  position: relative; background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.08); }
.service-card__media::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 26, 61, 0.55), transparent 55%);
}
.service-card__num {
  position: absolute; top: 16px; left: 16px; z-index: 1; font-family: var(--font-head); font-weight: 700;
  font-size: 0.8rem; letter-spacing: 0.1em; color: #fff; background: rgba(15, 26, 61, 0.55);
  backdrop-filter: blur(6px); padding: 6px 12px; border-radius: 999px;
}
.service-card__icon {
  position: absolute; right: 24px; top: -30px; z-index: 2; width: 60px; height: 60px; border-radius: 16px;
  display: grid; place-items: center; background: var(--grad-sunrise); color: #fff;
  box-shadow: 0 10px 22px rgba(232, 119, 46, 0.4); border: 4px solid #fff;
  transition: transform 0.5s var(--ease);
}
.service-card:hover .service-card__icon { transform: rotate(-10deg) scale(1.08); }
.service-card__icon svg { width: 26px; height: 26px; }
.service-card__body { position: relative; padding: 34px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; padding-right: 50px; }
.service-card p { color: var(--muted); font-size: 0.97rem; }
.service-card__points { margin: 4px 0 22px; display: grid; gap: 8px; }
.service-card__points li { display: flex; gap: 8px; font-size: 0.9rem; color: var(--text); line-height: 1.45; }
.service-card__points li::before {
  content: ""; flex-shrink: 0; width: 6px; height: 6px; margin-top: 8px; border-radius: 50%; background: var(--orange-500);
}
.service-card__link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 600;
  color: var(--navy-700); background: none; border: 0; padding: 0; align-self: flex-start; transition: color 0.2s, gap 0.3s var(--ease);
}
.service-card__link svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.service-card__link:hover { color: var(--orange-500); gap: 12px; }

.services__more {
  margin-top: 50px; text-align: center; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px;
  color: var(--muted);
}
.services__more .chip {
  padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 0.88rem; color: var(--ink);
}

/* ---------- Stats ---------- */
.stats { position: relative; overflow: hidden; }
.stats::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 10% 0%, rgba(232, 119, 46, 0.25), transparent 70%),
    radial-gradient(500px 300px at 90% 100%, rgba(59, 154, 214, 0.22), transparent 70%);
}
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat {
  text-align: center; padding: 34px 20px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s var(--ease), background 0.3s;
}
.stat:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.08); }
.stat__value { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.6rem, 4.5vw, 3.6rem); color: #fff; line-height: 1; }
.stat__value span { color: var(--orange-400); }
.stat__label { margin-top: 10px; color: #b3bddc; font-size: 0.98rem; }

/* ---------- Process ---------- */
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; counter-reset: step; }
.process__grid::before {
  content: ""; position: absolute; top: 44px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--orange-400) 0 10px, transparent 10px 20px);
}
.step { position: relative; text-align: center; padding: 0 10px; }
.step__icon {
  position: relative; width: 90px; height: 90px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; color: var(--navy-700); box-shadow: var(--shadow); border: 2px solid var(--line);
  transition: transform 0.45s var(--ease), background 0.3s, color 0.3s, border-color 0.3s;
}
.step:hover .step__icon { transform: translateY(-6px); background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.step__icon svg { width: 36px; height: 36px; }
.step__icon::after {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: -6px; right: -6px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-sunrise); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 0.78rem;
  border: 3px solid #fff;
}
.step h3 { font-size: 1.15rem; }
.step p { font-size: 0.94rem; color: var(--muted); }

/* ---------- Compliance ---------- */
.compliance {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; align-items: center;
  background: #fff; border-radius: var(--radius-lg); padding: 50px; box-shadow: var(--shadow); border: 1px solid var(--line);
  margin-top: 80px; position: relative; overflow: hidden;
}
.compliance::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--grad-sunrise);
}
.compliance h3 { font-size: 1.7rem; }
.compliance p { color: var(--muted); margin: 0; }
.authorities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.authority--wide { grid-column: 1 / -1; }.authority {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius); background: var(--bg-soft);
  border: 1px solid var(--line); transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s;
}
.authority:hover { border-color: var(--orange-400); transform: translateX(4px); }
.authority--link { color: inherit; text-decoration: none; cursor: pointer; }
.authority--link:hover {
  border-color: var(--orange-500); background: #fff8f3; transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232, 119, 46, 0.14);
}
.authority .ext-icon {
  width: 13px; height: 13px; display: inline-block; vertical-align: middle; margin-left: 4px; color: var(--orange-500);
  transition: transform 0.25s var(--ease);
}
.authority--link:hover .ext-icon { transform: translate(2px, -2px); }
.authority__mark {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--navy-700); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.04em;
}
.authority strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 0.98rem; line-height: 1.25; }
.authority small { color: var(--muted); font-size: 0.82rem; }

/* ---------- Clients ---------- */
.clients__grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 18px; }
.client {
  position: relative; display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 18px 14px;
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s;
}
/* Logos are trimmed to their content, so they scale up to fill the card's inner area */
.client img {
  position: absolute; inset: 16px 14px; width: calc(100% - 28px); height: calc(100% - 32px);
  object-fit: contain; transition: transform 0.4s var(--ease);
}
.client:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--orange-400); }
.client:hover img { transform: scale(1.06); }
.clients__note { text-align: center; margin-top: 40px; color: var(--muted); }
.clients__note a { color: var(--orange-500); font-weight: 600; border-bottom: 1px solid currentColor; }

/* ---------- Leadership ---------- */
.leader { display: grid; grid-template-columns: 340px 1fr; gap: 60px; align-items: center; }
.leader__card {
  position: relative; border-radius: var(--radius-lg); padding: 40px 30px; text-align: center; color: #fff;
  background: var(--grad-navy); box-shadow: var(--shadow-lg); overflow: hidden;
}
.leader__card::before {
  content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -90px; border-radius: 50%;
  background: var(--grad-sunrise); opacity: 0.35; filter: blur(10px);
}
.leader__avatar {
  position: relative; width: 130px; height: 130px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad-sunrise); font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: #fff;
  border: 5px solid rgba(255, 255, 255, 0.2);
}
.leader__card h3 { color: #fff; font-size: 1.45rem; margin-bottom: 4px; position: relative; }
.leader__card p { color: var(--orange-400); font-weight: 600; margin: 0 0 18px; position: relative; }
.leader__tags {
  position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 10px;
}
.leader__tags a, .leader__tags span {
  font-size: 0.78rem; line-height: 1.4; padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); color: #d4dbf2;
  transition: background 0.25s, color 0.25s, transform 0.25s; text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
}
.leader__tags a:hover {
  background: var(--orange-500); color: #fff; transform: translateY(-2px);
}
.leader blockquote {
  position: relative; margin: 0; font-family: var(--font-head); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.5;
  color: var(--ink); font-weight: 500; padding-top: 14px;
}
.leader blockquote::before {
  content: "\201C"; position: absolute; left: -14px; top: -38px; font-family: var(--font-brand); font-size: 6.5rem;
  color: var(--orange-500); opacity: 0.15; line-height: 1; pointer-events: none;
}
.leader__text { color: var(--text); margin-top: 22px; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 60px 56px;
  background: var(--grad-sunrise); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px;
  box-shadow: 0 30px 60px rgba(232, 119, 46, 0.35);
}
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; border: 40px solid rgba(255, 255, 255, 0.1);
}
.cta-band::before { width: 340px; height: 340px; right: -100px; top: -160px; }
.cta-band::after { width: 220px; height: 220px; left: 30%; bottom: -150px; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 8px; position: relative; }
.cta-band p { margin: 0; color: #fff3e8; font-size: 1.08rem; position: relative; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; position: relative; z-index: 1; }
.cta-band .btn--navy { box-shadow: 0 12px 24px rgba(10, 18, 48, 0.35); }
.cta-band .btn--ghost { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.8); }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; align-items: start; }
.faq__intro h2 { font-size: clamp(2rem, 3.4vw, 2.6rem); }
.faq__intro p { color: var(--muted); }
.faq__list { display: grid; gap: 14px; }
.faq-item { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); transition: border-color 0.3s, box-shadow 0.3s; }
.faq-item[open] { border-color: var(--orange-400); box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.05rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange-100); color: var(--orange-500); font-size: 1.3rem; font-weight: 500; transition: transform 0.35s var(--ease), background 0.3s, color 0.3s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--orange-500); color: #fff; }
.faq-item__body { padding: 0 24px 22px; color: var(--text); }
.faq-item__body p { margin: 0; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: stretch; }
.contact__grid > * { min-width: 0; }
.contact-info {
  position: relative; border-radius: var(--radius-lg); padding: 44px 38px; color: #c9d1ea; background: var(--grad-navy);
  overflow: hidden; display: flex; flex-direction: column;
}
.contact-info::after {
  content: ""; position: absolute; width: 300px; height: 300px; right: -120px; bottom: -120px; border-radius: 50%;
  background: var(--grad-sunrise); opacity: 0.25; filter: blur(4px);
}
.contact-info h3 { color: #fff; font-size: 1.6rem; }
.contact-info > p { color: #aeb8d8; margin-bottom: 30px; }
.contact-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; position: relative; z-index: 1; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; min-width: 0; }
.contact-list li > div { min-width: 0; overflow-wrap: anywhere; }
.contact-list__icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.08); color: var(--orange-400); border: 1px solid rgba(255, 255, 255, 0.12);
}
.contact-list__icon svg { width: 22px; height: 22px; }
.contact-list small { display: block; color: #8f9bc4; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.contact-list a, .contact-list span { color: #fff; font-weight: 500; }
.contact-list a:hover { color: var(--orange-400); }
.contact-info__map {
  margin-top: auto; padding-top: 30px; position: relative; z-index: 1;
}
.contact-info__map iframe { width: 100%; height: 200px; border: 0; border-radius: var(--radius); filter: grayscale(0.2) contrast(1.05); }

.quote-form {
  background: #fff; border-radius: var(--radius-lg); padding: 44px 40px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.quote-form h3 { font-size: 1.6rem; margin-bottom: 6px; }
.quote-form > p { color: var(--muted); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: 0.92rem; }
.form-field label .req { color: var(--orange-500); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg-soft);
  font: inherit; font-size: 0.97rem; color: var(--ink); transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--orange-500); background: #fff; box-shadow: 0 0 0 4px rgba(232, 119, 46, 0.12);
}
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: #d64545; }
.form-field__error { color: #d64545; font-size: 0.8rem; min-height: 0; display: none; }
.form-field.has-error .form-field__error { display: block; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.form-actions .btn { flex: 1 1 200px; }
.btn--whatsapp { background: #25d366; box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3); }
.btn--whatsapp:hover { box-shadow: 0 16px 30px rgba(37, 211, 102, 0.4); }
.form-note { margin-top: 14px; font-size: 0.84rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.form-note svg { width: 16px; height: 16px; color: #2bb673; flex-shrink: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: #9aa5c8; position: relative; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad-sunrise); }
.footer__main { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 50px; padding: 80px 0 50px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { margin: 20px 0; font-size: 0.95rem; }
.footer h4 { color: #fff; font-size: 1.08rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--orange-500); }
.footer__links { display: grid; gap: 11px; }
.footer__links a { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; transition: color 0.2s, transform 0.3s var(--ease); }
.footer__links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange-500); opacity: 0.6; }
.footer__links a:hover { color: #fff; transform: translateX(4px); }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.95rem; }
.footer__contact svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--orange-400); margin-top: 4px; }
.footer__contact a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 24px 0; display: flex; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; font-size: 0.88rem;
}

/* ---------- Floating actions ---------- */
.fab {
  position: fixed; right: 22px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; box-shadow: var(--shadow-lg); transition: transform 0.35s var(--ease), opacity 0.3s, visibility 0.3s; border: 0;
}
.fab svg { width: 28px; height: 28px; }
.fab--whatsapp { bottom: 22px; background: #25d366; }
.fab--whatsapp::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.2s ease-out infinite;
}
.fab--whatsapp:hover { transform: scale(1.08); }
.fab--top { bottom: 90px; width: 46px; height: 46px; background: var(--navy-700); opacity: 0; visibility: hidden; transform: translateY(10px); right: 27px; }
.fab--top svg { width: 20px; height: 20px; }
.fab--top.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab--top:hover { background: var(--orange-500); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(30px + env(safe-area-inset-bottom)); z-index: 200; transform: translate(-50%, 20px);
  background: var(--navy-800); color: #fff; padding: 16px 22px; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; max-width: min(92vw, 520px);
  border-left: 4px solid var(--orange-500);
  /* Fully hidden until shown (iOS toolbar area previously revealed a sliver) */
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.35s, visibility 0.35s;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; }
.toast svg { width: 22px; height: 22px; color: #3ddc84; flex-shrink: 0; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal--left { transform: translateX(-40px); }
.reveal--right { transform: translateX(40px); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1150px) {
  .header__phone { display: none; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__content { min-width: 0; }
  .hero-card { display: none; }
  .footer__main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  :root { --header-h: 80px; }
  .brand__logo { width: 92px; }
  .section { padding: 84px 0; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 0px) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; padding: 12px 20px 24px; box-shadow: var(--shadow-lg); border-top: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform 0.35s var(--ease), opacity 0.3s, visibility 0.3s;
  }
  .header.is-scrolled .header__inner { height: 70px; }
  .header.is-scrolled .nav { inset: 70px 0 auto 0; }
  .nav-open .nav { transform: none; opacity: 1; visibility: visible; }
  .nav__link { padding: 14px 6px; border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .header__cta .btn { display: none; }
  .topbar__list li:nth-child(1) { display: none; }

  .highlights__grid { grid-template-columns: 1fr 1fr; }
  .highlight:nth-child(2) { border-right: 0; }
  .highlight:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .about__grid, .faq__grid, .contact__grid, .leader, .compliance { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .about__media { max-width: 520px; }
  .leader__card { max-width: 400px; }

  .services__grid { grid-template-columns: 1fr 1fr; }
  .service-card, .service-card:nth-child(4), .service-card:nth-child(5) { grid-column: auto; }
  .service-card:nth-child(5) { grid-column: 1 / -1; max-width: calc(50% - 14px); justify-self: center; }

  .stats__grid, .process__grid { grid-template-columns: 1fr 1fr; }
  .process__grid { row-gap: 50px; }
  .process__grid::before { display: none; }
  .clients__grid { grid-template-columns: repeat(4, 1fr); }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 48px 36px; }
  .compliance { padding: 40px 32px; }
}

@media (max-width: 640px) {
  .container { width: min(var(--container), 100% - 28px); }
  .topbar__list li:nth-child(2) { display: none; }
  .topbar__badge { display: none; }
  .topbar__inner { justify-content: center; }
  .header__inner { gap: 10px; }
  .brand { gap: 10px; }
  .brand__logo { width: 72px; }
  .brand__name { font-size: 0.98rem; }
  .brand__sub { font-size: 0.60rem; letter-spacing: 0.10em; }
  .nav-toggle { width: 42px; height: 42px; flex-shrink: 0; }
  .nav-toggle span { left: 10px; right: 10px; }
  .nav-toggle span:nth-child(1) { top: 13px; }
  .nav-toggle span:nth-child(2) { top: 19px; }
  .nav-toggle span:nth-child(3) { top: 25px; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero { min-height: 620px; }
  .hero__inner { padding: 70px 0 120px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
  .hero__tag { gap: 8px; padding: 5px 12px 5px 5px; font-size: 0.74rem; max-width: 100%; }
  .hero__tag b { padding: 3px 9px; font-size: 0.62rem; letter-spacing: 0.05em; }
  .hero__tag-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .reveal--left, .reveal--right { transform: translateY(36px); }
  .highlights__grid { grid-template-columns: 1fr; }
  .highlight { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .highlight:last-child { border-bottom: 0; }
  .services__grid, .stats__grid, .process__grid { grid-template-columns: 1fr; }
  .service-card:nth-child(5) { max-width: none; }
  .checklist, .form-grid, .authorities { grid-template-columns: 1fr; }
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
  .quote-form, .contact-info { padding: 34px 24px; }
  .footer__main { grid-template-columns: 1fr; gap: 36px; }
  .about__badge { padding: 16px 18px; }
  .about__badge strong { font-size: 2.3rem; }
}

@media (max-width: 360px) {
  .brand { gap: 8px; flex-shrink: 1; min-width: 0; }
  .brand__logo { width: 58px; }
  .brand__name { font-size: 0.86rem; }
  .brand__sub { font-size: 0.54rem; }
  .hero__tag { border-radius: 18px; }
  .hero__tag-text { font-size: 0.7rem; white-space: normal; overflow: visible; line-height: 1.3; }
}
