:root {
  --navy: #1D3461;
  --navy-dark: #131E42;
  --navy-light: #EEF1F8;
  --orange: #E86B2A;
  --orange-dark: #B84E18;
  --orange-light: #FFF0E8;
  --amber: #D97706;
  --amber-light: #FEF3C7;
  --ink: #111827;
  --muted: #4B5563;
  --border: #E0E5EE;
  --surface: #F5F7FB;
  --white: #FFFFFF;
  --r: 6px;
  --r-lg: 12px;
  --pad: max(clamp(20px, 5.5vw, 80px), calc((100vw - 1280px) / 2));
  /* SDG brand colours */
  --sdg4: #C5192D;
  --sdg5: #E5243B;
  --sdg8: #A21942;
  /* Elevation scale */
  --elev-1: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --elev-2: 0 4px 12px rgba(0,0,0,.09), 0 2px 4px rgba(0,0,0,.05);
  --elev-3: 0 8px 28px rgba(0,0,0,.11), 0 4px 8px rgba(0,0,0,.05);
  --elev-4: 0 16px 48px rgba(0,0,0,.13), 0 8px 16px rgba(0,0,0,.06);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Manrope', system-ui, sans-serif; color: var(--ink); background: var(--white); width: 100%; -webkit-font-smoothing: antialiased; line-height: 1.5; }
h1,h2,h3,h4,h5,h6 { font-family: 'Space Grotesk', system-ui, sans-serif; line-height: 1.1; text-wrap: balance; }
h1, h2 { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; }
/* Anchor targets clear the sticky header */
[id] { scroll-margin-top: 80px; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; } }

/* Skip link */
.skip-link { position: absolute; top: -999px; left: 16px; background: var(--amber); color: var(--ink); padding: 8px 16px; font-weight: 700; border-radius: var(--r); font-family: 'Space Grotesk', sans-serif; font-size: 14px; z-index: 10000; }
.skip-link:focus { top: 16px; }

/* Topbar */
.topbar { background: var(--navy); color: rgba(255,255,255,.65); font-size: 13px; padding: 7px var(--pad); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.topbar a { color: rgba(255,255,255,.65); transition: color 0.15s; }
.topbar a:hover { color: #fff; }
.topbar-contact { display: flex; gap: 20px; flex-wrap: wrap; }

/* Header & Nav */
header { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; }
header.scrolled { background: rgba(255,255,255,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: rgba(200,169,107,.28); box-shadow: 0 2px 20px rgba(0,0,0,.07); }
.nav-inner { padding: 0 var(--pad); height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 38px; height: 38px; background: var(--navy); border-radius: var(--r); display: flex; align-items: center; justify-content: center; color: #fff; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.logo-wordmark { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: -0.3px; }
.logo-wordmark span { color: var(--orange); }
.logo-mark--custom { background: transparent; }
.logo-mark-image { width: 100%; height: 100%; object-fit: contain; border-radius: inherit; }
.logo-wordmark-image { height: 32px; width: auto; max-width: 240px; object-fit: contain; display: block; flex-shrink: 0; }
/* Isolation-only wrapper — no layout box of its own, so wrapping the topbar
   icons in a classed <span> can't shift existing spacing/alignment. */
.topbar-icon { display: contents; }
.topbar-icon-image { width: 20px; height: 20px; object-fit: contain; vertical-align: middle; display: inline-block; }
.topbar-icon svg { vertical-align: middle; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: var(--r); transition: color 0.15s, background 0.15s; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); background: var(--surface); }
.nav-actions { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.btn-wa { display: flex; align-items: center; gap: 8px; background: #F4F6FA; color: #172F5F; border: 1px solid #D8DFEA; padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; font-family: 'Space Grotesk', sans-serif; cursor: pointer; box-shadow: 0 1px 4px rgba(23,47,95,.07); transition: background 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease; white-space: nowrap; touch-action: manipulation; }
.btn-wa:hover { background: #EDF0F7; border-color: rgba(46,139,104,.50); box-shadow: 0 3px 10px rgba(23,47,95,.10); transform: translateY(-1px); }
.btn-wa-dot { width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #FFE8C8 0%, #F28C28 55%, #D4711A 100%); flex-shrink: 0; transition: transform 0.3s ease; animation: wa-pulse 2.4s ease-in-out infinite; }
.btn-wa:hover .btn-wa-dot { transform: scale(1.05); animation-name: wa-pulse-hover; }
@keyframes wa-pulse { 0%, 100% { box-shadow: 0 0 5px rgba(242,140,40,.48), 0 0 10px rgba(242,140,40,.14); } 50% { box-shadow: 0 0 7px rgba(242,140,40,.62), 0 0 14px rgba(242,140,40,.20); } }
@keyframes wa-pulse-hover { 0%, 100% { box-shadow: 0 0 8px rgba(242,140,40,.75), 0 0 18px rgba(242,140,40,.32); } 50% { box-shadow: 0 0 11px rgba(242,140,40,.90), 0 0 24px rgba(242,140,40,.42); } }
.btn-apply { background: var(--orange); color: #fff; padding: 9px 22px; border-radius: var(--r); font-size: 14px; font-weight: 700; font-family: 'Space Grotesk', sans-serif; border: none; cursor: pointer; white-space: nowrap; touch-action: manipulation; box-shadow: 0 1px 3px rgba(232,107,42,.28); transition: background .22s cubic-bezier(.25,1,.4,1), transform .22s cubic-bezier(.25,1,.4,1), box-shadow .22s cubic-bezier(.25,1,.4,1); }
.btn-apply:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 3px 10px rgba(232,107,42,.36); }

/* Hamburger toggle */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; border-radius: var(--r); width: 44px; height: 44px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer { display: none; position: fixed; inset: 0; background: var(--white); z-index: 99; padding: 80px 24px 32px; flex-direction: column; gap: 6px; overflow-y: auto; overscroll-behavior: contain; }
.nav-drawer.open { display: flex; }
.nav-drawer a { font-size: 22px; font-weight: 700; font-family: 'Space Grotesk', sans-serif; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--border); }
.nav-drawer a[aria-current="page"] { color: var(--orange); }
.nav-drawer-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.nav-drawer-actions .btn-apply { text-align: center; padding: 14px; font-size: 16px; border-radius: var(--r-lg); }
.nav-drawer-actions .btn-wa { justify-content: center; padding: 13px; font-size: 15px; border-radius: var(--r-lg); }

/* Page Hero */
.page-hero { background: radial-gradient(ellipse 55% 70% at 94% 0%, rgba(200,169,107,.13) 0%, transparent 65%), radial-gradient(ellipse 38% 50% at 5% 110%, rgba(23,47,95,.09) 0%, transparent 60%), var(--surface); border-bottom: 1px solid var(--border); padding: 56px var(--pad); }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); transition: color 0.15s; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: var(--ink); font-weight: 600; }
.page-hero h1 { font-size: clamp(28px, 4.5vw, 48px); font-weight: 500; color: var(--navy); letter-spacing: -0.5px; margin-bottom: 14px; }
.page-hero p { font-size: clamp(15px, 2vw, 17px); color: var(--muted); max-width: 560px; line-height: 1.7; }

/* Sections */
.section { padding: 72px var(--pad); }
.section-bg { background: var(--surface); }
.section-label { font-size: 12px; font-weight: 700; color: var(--amber); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; border-left: 2px solid var(--amber); padding-left: 9px; }
.section-title { font-size: clamp(24px, 3.5vw, 36px); font-weight: 600; color: var(--navy); letter-spacing: -0.3px; margin-bottom: 12px; }
.section-sub { font-size: 16px; color: var(--muted); max-width: 500px; line-height: 1.7; margin-bottom: 40px; }
.btn-primary { background: var(--orange); color: #fff; padding: 13px 24px; border-radius: var(--r-lg); font-size: 14px; font-weight: 700; font-family: 'Space Grotesk', sans-serif; border: none; cursor: pointer; touch-action: manipulation; box-shadow: 0 1px 4px rgba(232,107,42,.3), 0 2px 8px rgba(232,107,42,.12); transition: background .22s cubic-bezier(.25,1,.4,1), transform .22s cubic-bezier(.25,1,.4,1), box-shadow .22s cubic-bezier(.25,1,.4,1); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px) scale(1.012); box-shadow: 0 4px 14px rgba(232,107,42,.38), 0 8px 24px rgba(232,107,42,.18); }
.btn-outline { background: transparent; color: var(--ink); padding: 12px 22px; border-radius: var(--r-lg); font-size: 14px; font-weight: 600; font-family: 'Space Grotesk', sans-serif; border: 1.5px solid var(--border); cursor: pointer; transition: border-color 0.15s, background 0.15s; touch-action: manipulation; }
.btn-outline:hover { border-color: var(--ink); background: var(--surface); }
.btn-inverted { background: #fff; color: var(--orange); }
.btn-inverted:hover { background: var(--orange-light); }

/* Utility: small uppercase section label (used on dark backgrounds) */
.sec-label { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 10px; }

/* Footer */
footer { background: var(--navy); padding: 60px var(--pad) 32px; border-top: 1px solid transparent; border-image: linear-gradient(90deg, transparent 0%, rgba(200,169,107,.5) 50%, transparent 100%) 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: rgba(255,255,255,.4); font-size: 13px; line-height: 1.7; margin-top: 14px; max-width: 260px; }
.footer-socials { display: flex; gap: 8px; margin-top: 20px; }
.footer-soc { width: 44px; height: 44px; background: rgba(255,255,255,.07); border-radius: var(--r); display: flex; align-items: center; justify-content: center; font-size: 15px; cursor: pointer; border: none; color: rgba(255,255,255,.5); transition: background 0.15s; }
.footer-soc:hover { background: rgba(255,255,255,.12); color: #fff; }
.footer-soc-image { width: 18px; height: 18px; object-fit: contain; display: block; }
.footer-col h5 { color: rgba(255,255,255,.35); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer-col a { display: block; color: rgba(255,255,255,.55); font-size: 14px; margin-bottom: 10px; transition: color 0.15s; }
.footer-col a:hover { color: #fff; }
.footer-contact-row { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px; font-size: 14px; color: rgba(255,255,255,.55); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.07); margin-bottom: 22px; }
.footer-bottom { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.25); gap: 16px; flex-wrap: wrap; }
.footer-brand .logo-mark { background: var(--orange); }
.footer-brand .logo-mark--custom { background: transparent; }
.footer-brand .logo-wordmark { color: rgba(255,255,255,.9); }
.footer-brand .logo-wordmark span { color: #C8A96B; }

/* WhatsApp float */
.wa-float { position: fixed; bottom: 28px; right: 28px; background: #E86B2A; color: #fff; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 4px 16px rgba(37,211,102,.4); border: none; cursor: pointer; z-index: 999; transition: transform 0.15s, box-shadow 0.15s; }
.wa-float:hover { transform: scale(1.07); }

/* ─── RESPONSIVE ─── */

/* Tablet: ≤ 1024px */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-actions .btn-wa { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .section { padding: 56px var(--pad); }
}

/* Mobile: ≤ 767px */
@media (max-width: 767px) {
  .topbar { display: none; }
  .nav-inner { height: 60px; }
  /* 44px touch targets */
  .nav-toggle { width: 44px; height: 44px; } /* already 44px base — kept for specificity safety */
  .nav-actions .btn-apply { font-size: 13px; padding: 10px 16px; min-height: 44px; display: flex; align-items: center; }
  .btn-wa { min-height: 44px; }
  .btn-apply { min-height: 44px; }
  /* Typography */
  .page-hero { padding: 32px var(--pad); }
  .page-hero h1 { letter-spacing: -0.5px; }
  .page-hero p { font-size: 15px; }
  .section { padding: 44px var(--pad); }
  .section-title { letter-spacing: -0.5px; }
  .section-sub { font-size: 15px; }
  .section-label { font-size: 11px; }
  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  /* WhatsApp float */
  .wa-float { bottom: 20px; right: 16px; width: 52px; height: 52px; font-size: 22px; }
  /* Nav drawer */
  .nav-drawer a { font-size: 20px; padding: 13px 0; }
  .nav-drawer-actions .btn-apply { padding: 15px; font-size: 15px; }
  .nav-drawer-actions .btn-wa { padding: 14px; font-size: 14px; }
}

/* Small mobile: ≤ 480px */
@media (max-width: 480px) {
  .nav-inner { height: 56px; }
  .logo-mark { width: 34px; height: 34px; font-size: 13px; }
  .logo-wordmark { font-size: 16px; }
  .logo-wordmark-image { height: 26px; }
  .nav-actions .btn-apply { display: none; }
  .section { padding: 36px var(--pad); }
  .page-hero { padding: 28px var(--pad); }
  .wa-float { bottom: 16px; right: 12px; }
}

