@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&family=Inter:wght@400;600&display=swap');

:root {
  --sun-blue:   #1650C7;
  --deep-navy:  #0E3A94;
  --sky-blue:   #3D74DE;
  --sun-gold:   #F5A623;
  --gold-light: #FFC93C;
  --cream:      #FFF8EA;
  --ink:        #1F2937;
  --ink-75:     rgba(31, 41, 55, 0.75);
  --white:      #FFFFFF;

  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-card: 0 6px 24px rgba(14, 58, 148, 0.08);
  --container: 1200px;
  --measure: 680px;
  --header-offset: 110px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--cream); overflow-wrap: break-word; }
h1, h2, h3, h4 { font-family: var(--font-heading); margin: 0 0 0.5em; }
h1 { font-size: 48px; font-weight: 700; line-height: 1.15; color: var(--sun-blue); }
h2 { font-size: 36px; font-weight: 700; line-height: 1.2;  color: var(--sun-blue); }
h3 { font-size: 24px; font-weight: 600; line-height: 1.3;  color: var(--deep-navy); }
h4 { font-size: 20px; font-weight: 600; line-height: 1.35; color: var(--deep-navy); }
p, ul, ol { margin: 0 0 1em; }
p:last-child, ul:last-child, ol:last-child { margin-bottom: 0; }
a { color: var(--sun-blue); }
img { display: block; max-width: 100%; height: auto; }
[id] { scroll-margin-top: var(--header-offset); }

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
summary:focus-visible { outline: 3px solid var(--sun-gold); outline-offset: 2px; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 12px 16px; background: var(--white); border-radius: var(--radius-sm); }
.skip-link:focus { top: 8px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.measure { max-width: var(--measure); }
.small { font-size: 14px; line-height: 1.5; color: var(--ink-75); }
.lead { font-size: 19px; }

.eyebrow { font: 600 14px/1.4 var(--font-heading); letter-spacing: 0.08em; text-transform: uppercase; color: var(--sun-blue); margin: 0 0 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; text-align: center; text-decoration: none; border: 0; cursor: pointer; transition: background-color 0.15s ease; }
.btn-primary   { font: 600 16px/1 var(--font-heading); background: var(--sun-blue); color: var(--white); border-radius: var(--radius-sm); padding: 14px 28px; }
.btn-primary:hover { background: var(--deep-navy); }
.btn-secondary { font: 600 16px/1 var(--font-heading); background: var(--sun-gold); color: var(--deep-navy); border-radius: var(--radius-sm); padding: 14px 28px; }
.btn-secondary:hover { background: var(--gold-light); }
.btn:disabled { opacity: 0.6; cursor: wait; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.text-link { font: 600 16px/1.4 var(--font-heading); display: inline-block; padding-block: 10px; }
.more-link { margin-top: 24px; }

/* Layout preview strip: delete at launch */
.preview-bar { background: var(--sun-gold); color: var(--deep-navy); font-size: 14px; line-height: 1.4; }
.preview-bar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; padding-block: 6px; }
.preview-bar p { margin: 0; }
.preview-bar button { font: 600 14px/1 var(--font-heading); color: var(--deep-navy); background: none; border: 0; text-decoration: underline; min-height: 44px; padding: 0; cursor: pointer; }
.preview-bar button:focus-visible { outline-color: var(--deep-navy); }
.show-dummy [data-dummy] { outline: 2px dashed var(--sky-blue); outline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); box-shadow: 0 1px 0 rgba(14, 58, 148, 0.1); }
.site-header .container { display: flex; align-items: center; gap: 32px; padding-block: 10px; }
.logo-link { display: block; margin-right: auto; flex: none; }
.logo-link img { height: 60px; width: auto; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: flex; align-items: center; min-height: 44px; padding-inline: 14px; font: 500 16px/1 var(--font-heading); color: var(--deep-navy); text-decoration: none; border-bottom: 3px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--sun-gold); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: none; border: 0; border-radius: var(--radius-sm); cursor: pointer; }
.nav-toggle span { display: block; height: 3px; background: var(--deep-navy); border-radius: 2px; }
.nav-toggle span + span { margin-top: 5px; }
.mobile-cta { display: none; }

/* WhatsApp: white glyph on Sun Blue, ringed so it stays visible over blue and navy */
.whatsapp-float { position: fixed; right: 24px; bottom: 24px; z-index: 50; display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 12px 20px 12px 16px; font: 600 16px/1 var(--font-heading); color: var(--white); text-decoration: none; background: var(--sun-blue); border: 2px solid var(--white); border-radius: 999px; box-shadow: 0 6px 18px rgba(14, 58, 148, 0.3); transition: background-color 0.15s ease; }
.whatsapp-float:hover { background: var(--deep-navy); }
.whatsapp-float img { width: 28px; height: 28px; }

/* Sections */
.sec { padding-block: 80px; }
.sec--white { background: var(--white); }
.sec--cream { background: var(--cream); }
.sec--blue  { background: var(--sun-blue); color: var(--white); }
.sec--blue h2, .sec--blue h3, .sec--blue .eyebrow { color: var(--white); }
.sec-head { max-width: var(--measure); margin-bottom: 40px; }
.sec-head--center { margin-inline: auto; text-align: center; }

/* Hero */
.hero { padding-block: 72px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: 56px; }
.hero-note { margin-top: 24px; padding-left: 16px; border-left: 4px solid var(--sun-gold); }
.hero-visual { position: relative; display: grid; place-items: center; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; }
.hero-visual::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-card); }
.hero-visual::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 2px dashed var(--sky-blue); }
.hero-visual img { position: relative; width: 74%; }
.page-hero { padding-block: 64px; }
.page-hero .lead { max-width: var(--measure); }

/* Grids and cards */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 56px; }
.split--top { align-items: start; }
.card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-card); border-top: 4px solid var(--sun-gold); padding: 28px; }
.card > :last-child { margin-bottom: 0; }
.card .text-link { margin-top: auto; }
.card ul:not([class]) { padding-left: 20px; }
.sec--white .card { background: var(--white); border-inline: 1px solid rgba(14, 58, 148, 0.08); border-bottom: 1px solid rgba(14, 58, 148, 0.08); }

.step-num { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 50%; background: var(--sun-gold); color: var(--deep-navy); font: 700 18px/1 var(--font-heading); }
.tick-list { list-style: none; padding: 0; }
.tick-list li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.tick-list li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 12px; height: 12px; border-radius: 50%; background: var(--sun-gold); }

.jump-links { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.jump-links a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 18px; background: var(--white); border: 1px solid var(--sky-blue); border-radius: 999px; font: 500 15px/1 var(--font-heading); color: var(--deep-navy); text-decoration: none; }
.jump-links a:hover { border-color: var(--sun-gold); }

.stat { font: 700 36px/1.2 var(--font-heading); color: var(--sun-blue); margin-bottom: 4px; }
.quote { font-size: 17px; }

.cta-panel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 40px; background: var(--cream); border-radius: var(--radius-lg); border-left: 6px solid var(--sun-gold); }
.cta-panel h2 { margin-bottom: 8px; }
.cta-panel .btn-row { margin-top: 0; }

/* Image placeholders: replaced by real, consented photos */
.ph { display: grid; place-items: center; min-height: 320px; padding: 16px; text-align: center; border-radius: var(--radius-md); border: 2px dashed var(--sky-blue); background: repeating-linear-gradient(135deg, var(--cream) 0 14px, var(--white) 14px 28px); }
.ph span { max-width: 28ch; padding: 6px 12px; background: var(--white); border-radius: var(--radius-sm); font-size: 14px; line-height: 1.4; color: var(--deep-navy); }
.ph--avatar { min-height: 0; aspect-ratio: 1; width: 96px; padding: 0; border-radius: 50%; margin-bottom: 16px; }

/* Map */
.map-frame { display: block; width: 100%; height: 420px; border: 0; border-radius: var(--radius-md); box-shadow: var(--shadow-card); }

/* Forms */
.form-card { padding: 32px; }
.field { margin-bottom: 20px; }
.field label, .field legend { display: block; margin-bottom: 6px; padding: 0; font-weight: 600; color: var(--ink); }
.field .opt { font-weight: 400; color: var(--ink-75); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; font: 400 16px/1.4 var(--font-body); color: var(--ink); background: var(--white); border: 1px solid var(--ink-75); border-radius: var(--radius-sm); }
.field textarea { min-height: 120px; resize: vertical; }
.field [aria-invalid="true"] { border: 2px solid var(--deep-navy); }
.field-error { margin: 6px 0 0; font-size: 14px; line-height: 1.5; font-weight: 600; color: var(--deep-navy); }
.field-error:empty { display: none; }
.field .check { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; }
.field .check input { flex: none; width: 24px; height: 24px; min-height: 0; margin: 0; }
.form-status { margin-top: 16px; padding: 12px 16px; background: var(--cream); border-left: 4px solid var(--sun-gold); border-radius: var(--radius-sm); }
.form-status[hidden] { display: none; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
[hidden] { display: none !important; }
.hp-field { position: absolute; left: -9999px; }

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding-block: 14px; border-bottom: 1px solid rgba(14, 58, 148, 0.12); }
.contact-list li:first-child { padding-top: 0; }
.contact-list li:last-child { border-bottom: 0; }
.contact-stack { display: grid; gap: 24px; }
.contact-list strong { display: block; font: 600 14px/1.4 var(--font-heading); color: var(--deep-navy); }

/* Legal */
.legal h2 { font-size: 24px; margin-top: 40px; }

/* Footer: gold text is the approved pairing on Deep Navy. The bottom padding keeps the legal links clear of the WhatsApp button. */
.site-footer { background: var(--deep-navy); color: var(--sun-gold); font-size: 15px; }
.site-footer a { color: var(--sun-gold); }
.site-footer a:focus-visible { outline-color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-block: 56px 40px; }
.footer-logo { height: 44px; width: auto; margin-bottom: 20px; }
.footer-heading { font: 600 14px/1.4 var(--font-heading); letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 12px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 16px 88px; border-top: 1px solid var(--sky-blue); font-size: 14px; }

/* Tablet */
@media (max-width: 1000px) {
  .site-header .container { gap: 12px; }
  .header-cta { display: none; }
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); box-shadow: 0 8px 16px rgba(14, 58, 148, 0.1); padding: 8px 8px 16px; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { font-size: 18px; min-height: 48px; border-bottom: 0; border-left: 3px solid transparent; }
  .site-nav a:hover, .site-nav a[aria-current="page"] { border-left-color: var(--sun-gold); }
  .mobile-cta { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 16px; background: var(--white); box-shadow: 0 -2px 12px rgba(14, 58, 148, 0.12); }
  .mobile-cta .btn { padding-inline: 10px; }
  .mobile-cta .btn-primary { flex: 1; }
  .whatsapp-float { bottom: 80px; right: 16px; }
  html { scroll-padding-bottom: 80px; }
  body { padding-bottom: 68px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --header-offset: 80px; }
  body { font-size: 16px; }
  h1 { font-size: 32px; } h2 { font-size: 26px; } h3 { font-size: 20px; } h4 { font-size: 18px; }
  .container { padding-inline: 16px; }
  .eyebrow { font-size: 13px; }
  .small, .ph span, .field-error { font-size: 13px; }
  .lead { font-size: 17px; }
  .logo-link img { height: 46px; }
  .sec { padding-block: 56px; }
  .hero, .page-hero { padding-block: 40px; }
  .hero-grid, .split, .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero-grid { gap: 32px; }
  .hero-visual { max-width: 300px; }
  .btn-row .btn { width: 100%; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .form-card { padding: 20px; }
  .cta-panel { padding: 24px; }
  .ph { min-height: 220px; }
  .map-frame { height: 300px; }
  .whatsapp-float { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .whatsapp-float span { display: none; }
  .stat { font-size: 26px; }
}

@media (max-width: 520px) {
  .grid-4, .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .whatsapp-float { transition: none; }
}
