/* ===== Design tokens ===== */
:root {
  --navy: #0f1b33;
  --navy-2: #1a2a4a;
  --gold: #c9973f;
  --gold-light: #e3b968;
  --sunset-1: #e0426b;
  --sunset-2: #f2884b;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ea952;
  --ink: #16192a;
  --ink-soft: #545a6e;
  --bg: #ffffff;
  --bg-alt: #f6f4f0;
  --border: #e7e3db;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 27, 51, 0.08);
  --max: 1180px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 800; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1em; color: var(--ink-soft); }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff;
  padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 10px; top: 10px; }

.section-inner, .header-inner, .footer-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { box-shadow: 0 8px 20px rgba(15,27,51,.25); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-whatsapp:hover { background: var(--whatsapp-dark); box-shadow: 0 8px 20px rgba(37,211,102,.35); }
.btn-large { padding: 15px 30px; font-size: 1rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; height: 74px; gap: 16px;
  max-width: 1400px; margin: 0 auto; padding: 0 24px;
}
.logo-link { display: flex; align-items: center; gap: 12px; }
.logo-badge {
  width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .95rem; flex-shrink: 0;
}
.logo-word { display: flex; flex-direction: column; line-height: 1.15; font-weight: 800; color: var(--navy); font-size: 1.02rem; }
.logo-word small { font-weight: 600; color: var(--ink-soft); font-size: .68rem; text-transform: uppercase; letter-spacing: .04em; }
.logo-link-footer .logo-word { color: #fff; }
.logo-link-footer .logo-word small { color: rgba(255,255,255,.55); }
.main-nav { display: flex; gap: 18px; }
.main-nav a { font-weight: 600; font-size: .9rem; color: var(--ink); white-space: nowrap; }
.main-nav a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 82vh; display: flex; align-items: flex-end;
  background-size: cover; background-position: center; color: #fff;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(15,27,51,.92) 0%, rgba(15,27,51,.72) 45%, rgba(15,27,51,.45) 100%);
}
.hero-inner {
  position: relative; max-width: var(--max); margin: 0 auto; padding: 80px 24px 0; width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.hero-text { flex: 1; min-width: 0; }
.hero-portrait {
  align-self: flex-end; flex-shrink: 0; width: auto; max-width: 360px; max-height: 560px;
  object-fit: contain; filter: drop-shadow(-16px 18px 32px rgba(0,0,0,.35));
}
.eyebrow { color: var(--gold-light); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .8rem; margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); color: #fff; max-width: 14ch; }
.hero-sub { color: rgba(255,255,255,.85); max-width: 56ch; font-size: 1.08rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 40px; }
.hero-stats { list-style: none; display: flex; gap: 40px; padding: 24px 0 0; margin: 0; border-top: 1px solid rgba(255,255,255,.2); flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-size: 1.4rem; color: var(--gold-light); }
.hero-stats span { font-size: .8rem; color: rgba(255,255,255,.75); }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--navy); }
.section-lead { max-width: 62ch; font-size: 1.08rem; }

.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.experience-photo {
  width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: 24px;
}
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 10px 0 10px 30px; position: relative; border-top: 1px solid var(--border); }
.check-list li:before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }

.eyebrow-dark { color: var(--gold); display: inline-block; }

.process-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 28px; }
.process-step { background: var(--bg-alt); border-radius: var(--radius); padding: 20px; }
.process-num { display: inline-block; font-size: .75rem; font-weight: 800; color: var(--gold); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px; }
.process-step h3 { font-size: 1rem; color: var(--navy); margin: 0 0 6px; }
.process-step p { font-size: .88rem; margin: 0; }

.achievement-stats { list-style: none; display: flex; gap: 32px; padding: 20px 0; margin: 8px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.achievement-stats li { display: flex; flex-direction: column; }
.achievement-stats strong { font-size: 1.5rem; color: var(--gold); }
.achievement-stats span { font-size: .8rem; color: var(--ink-soft); }

.join-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.join-photo { max-width: 320px; margin: 0 auto; filter: drop-shadow(0 16px 24px rgba(0,0,0,.15)); }
.join-testimonial { margin: 24px 0; max-width: none; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.section-alt .card { background: #fff; }
.card h3 { color: var(--navy); font-size: 1.1rem; }
.card p { margin: 0; font-size: .95rem; }
.card-icon {
  width: 76px; height: 76px; border-radius: 50%;
  background: linear-gradient(145deg, var(--navy), var(--navy-2)); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(15, 27, 51, 0.25);
}
.card-icon svg { width: 34px; height: 34px; }
.cards-icon .card { transition: transform .2s ease, box-shadow .2s ease; }
.cards-icon .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.cards-icon .card:hover .card-icon { background: linear-gradient(145deg, var(--gold), var(--gold-light)); color: var(--navy); }

/* ===== Video grid ===== */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.video-card {
  position: relative; padding: 0; border: none; background: none; cursor: pointer; text-align: left;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.video-card img { aspect-ratio: 16/9; object-fit: cover; }
.play-icon {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; background: rgba(255,255,255,.92); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--navy); font-size: 1.1rem;
}
.video-title {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px 12px;
  background: linear-gradient(0deg, rgba(0,0,0,.75), transparent);
  color: #fff; font-size: .8rem; font-weight: 600;
}
.video-modal {
  position: fixed; inset: 0; background: rgba(10,12,20,.9); z-index: 300;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.video-modal[hidden] { display: none; }
.video-modal-inner { width: 100%; max-width: 920px; position: relative; }
.video-modal-frame { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; }
.video-modal-frame iframe { width: 100%; height: 100%; border: 0; }
.video-modal-close {
  position: absolute; top: -44px; right: 0; background: none; border: none; color: #fff;
  font-size: 2rem; cursor: pointer; line-height: 1;
}

/* ===== Testimonials ===== */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 32px; }
.testimonial { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.testimonial p { font-size: 1.02rem; color: var(--ink); font-style: italic; flex: 1; }
.testimonial cite { font-style: normal; font-weight: 700; color: var(--navy); }
.testimonial-note { margin-top: 28px; font-size: .92rem; }

.subheading { font-size: 1.1rem; color: var(--navy); margin: 48px 0 4px; }
.client-moments-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; margin-top: 16px;
}
.client-moments-grid img {
  width: 100%; height: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ===== Awards gallery ===== */
.awards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.award-card { margin: 0; background: var(--bg-alt); border-radius: var(--radius); overflow: hidden; }
.award-card img { aspect-ratio: 1/1; object-fit: cover; }
.award-card figcaption { padding: 12px 14px; font-size: .85rem; font-weight: 600; color: var(--navy); }

/* ===== Calculators ===== */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; }
.calc-col { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.calc-col h3 { font-size: 1.05rem; color: var(--navy); margin: 0 0 20px; }
.calc-col + .calc-col { margin-top: 20px; }
.calc-col-compact { padding: 20px 28px; }
.calc-col-compact .calc-field { margin-bottom: 0; }
.calc-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.calc-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc-advanced { margin-bottom: 16px; }
.calc-advanced summary {
  cursor: pointer; font-size: .82rem; font-weight: 700; color: var(--gold);
  list-style: none; user-select: none;
}
.calc-advanced summary::-webkit-details-marker { display: none; }
.calc-advanced summary::before { content: '+ '; }
.calc-advanced[open] summary::before { content: '\2212 '; }
.calc-advanced .calc-field-row { margin-top: 14px; }
.calc-field label { font-size: .82rem; font-weight: 700; color: var(--navy); }
.calc-field input {
  padding: 11px 13px; border: 1px solid var(--border); border-radius: 8px; font: inherit; color: var(--ink);
  width: 100%;
}
.calc-field input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.calc-field input.calc-input-error { border-color: var(--sunset-1); outline: 2px solid var(--sunset-1); outline-offset: 1px; }
.calc-hint { font-size: .76rem; color: var(--ink-soft); }
.calc-error { font-size: .78rem; color: var(--sunset-1); font-weight: 700; }
.calc-results { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--border); }
.calc-result-row { display: flex; justify-content: space-between; align-items: baseline; padding: 6px 0; font-size: .92rem; gap: 12px; }
.calc-result-row span { color: var(--ink-soft); }
.calc-result-row strong { color: var(--navy); font-weight: 700; text-align: right; }
.calc-result-highlight { border-top: 1px dashed var(--border); margin-top: 6px; padding-top: 12px; }
.calc-result-highlight strong { font-size: 1.15rem; color: var(--gold); }
.calc-negative { color: var(--sunset-1) !important; }
.calc-summary {
  margin-top: 32px; background: var(--navy); border-radius: var(--radius); padding: 32px; text-align: center;
}
.calc-summary h3 { color: #fff; margin: 0 0 8px; font-size: 1.1rem; }

.calc-chart-intro { font-size: .84rem; color: rgba(255,255,255,.65); max-width: 46ch; margin: 0 auto; }
.calc-chart-intro strong { color: rgba(255,255,255,.9); }

.calc-chart {
  display: flex; align-items: flex-end; justify-content: center; gap: 36px;
  max-width: 460px; margin: 24px auto 8px; height: 200px;
}
.calc-chart-bar-wrap { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; flex: 1; }
.calc-chart-bar-value { color: #fff; font-size: .82rem; font-weight: 700; margin-bottom: 6px; }
.calc-chart-bar-track { width: 100%; max-width: 64px; height: 100%; display: flex; align-items: flex-end; }
.calc-chart-bar { width: 100%; border-radius: 6px 6px 0 0; transition: height .3s ease; min-height: 2px; }
.calc-chart-bar-today { background: rgba(255,255,255,.35); }
.calc-chart-bar-stay { background: var(--sunset-2); }
.calc-chart-bar-upgrade { background: var(--gold-light); }
.calc-chart-bar-label { color: rgba(255,255,255,.7); font-size: .74rem; margin-top: 10px; text-align: center; line-height: 1.35; }

.calc-result-final { justify-content: center; gap: 16px; font-size: 1rem; margin-top: 12px; padding-top: 16px; border-top: 1px dashed rgba(255,255,255,.25); max-width: 420px; margin-left: auto; margin-right: auto; }
.calc-result-final span { color: rgba(255,255,255,.75); }
.calc-result-final strong { color: var(--gold-light); font-size: 1.8rem; }
.calc-result-note { font-size: .55em; font-weight: 600; color: rgba(255,255,255,.55); display: block; }
.calc-disclaimer { font-size: .8rem; color: rgba(255,255,255,.6); max-width: 60ch; margin: 16px auto 20px; }
.calc-fine-print { font-size: .76rem; line-height: 1.6; color: rgba(255,255,255,.55); max-width: 60ch; margin: 20px auto 0; text-align: left; }
.calc-fine-print strong { color: rgba(255,255,255,.8); }

.calc-checkbox {
  display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--navy);
  margin: 4px 0 8px; cursor: pointer;
}
.calc-checkbox input { width: 16px; height: 16px; accent-color: var(--gold); }

.calc-instalment-block { max-width: 420px; margin: 24px auto 0; padding-top: 20px; border-top: 1px dashed rgba(255,255,255,.25); text-align: left; }
.calc-instalment-block .calc-field label { color: rgba(255,255,255,.75); }
.calc-instalment-block .calc-field input {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: #fff;
}
.calc-result-final-sub { margin-top: 16px; padding-top: 16px; border-top: none; }
.calc-result-final-sub strong { font-size: 1.4rem; }

/* ===== Calculator sub-pages ===== */
.calc-page-hero { padding: 140px 0 40px; }
.calc-breadcrumb { font-size: .82rem; color: var(--ink-soft); margin-bottom: 10px; }
.calc-breadcrumb a { color: var(--ink-soft); text-decoration: underline; }
.calc-breadcrumb a:hover { color: var(--gold); }
.calc-page-title { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--navy); margin: 0 0 12px; }
.calc-section-num {
  display: inline-block; font-size: .75rem; font-weight: 800; color: var(--gold);
  text-transform: uppercase; letter-spacing: .04em; margin-bottom: 6px;
}

.calc-hub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.calc-hub-card {
  display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.calc-hub-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(15, 27, 51, 0.14); }
.calc-hub-card-eyebrow { font-size: .78rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .04em; }
.calc-hub-card h2 { font-size: 1.3rem; color: var(--navy); margin: 0; }
.calc-hub-card p { margin: 0; font-size: .94rem; }
.calc-hub-card-cta { font-size: .88rem; font-weight: 700; color: var(--navy); margin-top: 8px; }

@media (max-width: 900px) {
  .calc-hub-grid { grid-template-columns: 1fr; }
  .calc-page-hero { padding: 120px 0 30px; }
}

/* ===== Credentials ===== */
.credentials-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.cea-note { font-weight: 600; color: var(--navy); }
.cea-note a { color: var(--gold); text-decoration: underline; }
.social-block { background: var(--bg-alt); border-radius: var(--radius); padding: 28px; text-align: center; }
.social-icons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.social-icons a {
  width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .78rem;
}
.social-icons a:hover { background: var(--gold); }

/* ===== Contact ===== */
.section-contact { background: var(--navy); color: #fff; }
.section-contact h2 { color: #fff; }
.section-contact p { color: rgba(255,255,255,.75); }
.contact-simple { text-align: center; max-width: 640px; margin: 0 auto; }
.contact-cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 12px; }
.contact-simple .btn-ghost { border-color: rgba(255,255,255,.5); }
.contact-simple .btn-ghost:hover { background: rgba(255,255,255,.12); }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: rgba(255,255,255,.65); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-inner img { filter: brightness(0) invert(1); opacity: .85; }
.footer-inner p { margin: 0; font-size: .85rem; color: rgba(255,255,255,.6); }
.site-footer .social-icons a { background: rgba(255,255,255,.1); }

/* ===== Sticky WhatsApp (mobile) ===== */
.sticky-whatsapp {
  position: fixed; bottom: 20px; right: 20px; width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: #fff; display: none; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45); z-index: 150;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .about-grid, .two-col, .credentials-grid, .join-grid, .calc-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-portrait { max-width: 260px; max-height: 420px; }
  .join-photo { order: -1; }
}

/* Nav needs more room than other components now that it has 8 links —
   switches to the hamburger menu earlier than the rest of the mobile layout. */
@media (max-width: 1180px) {
  /* backdrop-filter creates a new containing block for fixed-position
     descendants, which would trap the full-screen mobile nav inside the
     header's own box instead of covering the viewport — disable it here. */
  .site-header { backdrop-filter: none; }
  .header-inner { height: 64px; }
  .logo-badge { width: 34px; height: 34px; font-size: .82rem; }
  .logo-word small { display: none; }
  .logo-word { font-size: .92rem; white-space: nowrap; }
  .main-nav {
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: #fff;
    flex-direction: column; padding: 24px; gap: 4px; transform: translateX(100%);
    transition: transform .25s ease; overflow-y: auto;
  }
  .main-nav.is-open { transform: translateX(0); }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; flex-shrink: 0; }
  .header-actions { gap: 6px; }
  .header-actions .btn-whatsapp span { display: none; }
  .header-actions .btn-whatsapp { padding: 10px; flex-shrink: 0; }
}

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-inner { flex-direction: column; align-items: flex-start; padding: 48px 24px 0; }
  .hero-portrait { align-self: center; max-width: 260px; max-height: 380px; margin-top: 20px; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { gap: 24px; }
  .cards, .cards-4, .video-grid, .process-steps { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .client-moments-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-field-row { grid-template-columns: 1fr; }
  .calc-col, .calc-summary { padding: 22px; }
  .achievement-stats { gap: 20px; }
  .join-photo { max-width: 220px; }
  .contact-cta-row .btn { width: 100%; }
  .sticky-whatsapp { display: flex; }
  .section { padding: 60px 0; }
}
