:root {
  --navy: #01344e;
  --navy-900: #00202f;
  --navy-800: #022a3f;
  --navy-700: #0a4563;
  --petrol: #0b6f8e;
  --gold: #d3a73b;
  --gold-soft: #e7c873;
  --gold-ink: #8a6a17;
  --paper: #f7f5ef;
  --white: #ffffff;
  --ink: #0d2230;
  --muted: #5b6b75;
  --line: rgba(1, 52, 78, 0.12);
  --line-dark: rgba(255, 255, 255, 0.12);
  --radius: 22px;
  --wrap: 1180px;
  --font-head: "Lexend", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.12; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.gold { color: var(--gold); }
.light { font-weight: 300; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 14px 24px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--navy-900); box-shadow: 0 10px 30px -10px rgba(211,167,59,.7); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn svg { width: 18px; height: 18px; }

/* ---------- header ---------- */
.header {
  position: fixed; inset: 14px 0 auto; z-index: 50;
}
.header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-radius: 999px; padding: 10px 12px 10px 26px;
  box-shadow: 0 12px 40px -18px rgba(0,32,47,.45);
}
.logo img { height: 42px; width: auto; }
.nav { display: flex; gap: 30px; }
.nav a { text-decoration: none; font-family: var(--font-head); font-size: 15px; color: var(--navy); font-weight: 500; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--gold); transition: right .25s; }
.nav a:hover::after { right: 0; }
.header .btn { padding: 12px 20px; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.menu-btn svg { width: 26px; height: 26px; }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(11,111,142,.55), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(211,167,59,.14), transparent 60%),
    linear-gradient(160deg, var(--navy-800) 0%, var(--navy-900) 70%);
  padding: 170px 0 110px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.eyebrow {
  font-family: var(--font-head); font-size: 13px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-soft); display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(40px, 5.4vw, 68px); font-weight: 700; margin: 22px 0 24px; }
.hero h1 .light { font-weight: 300; color: rgba(255,255,255,.82); }
.hero .lead { color: rgba(255,255,255,.78); font-size: 19px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 44px; color: rgba(255,255,255,.7); font-size: 14px; }
.hero-tags span { display: inline-flex; align-items: center; gap: 8px; }
.hero-tags span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

.collage { position: relative; height: 520px; }
.photo {
  position: absolute; border-radius: 28px; overflow: hidden; background: var(--navy-700);
  box-shadow: 0 30px 60px -25px rgba(0,0,0,.6); border: 4px solid rgba(255,255,255,.08);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.a { width: 46%; height: 58%; left: 0; top: 14%; }
.photo.b { width: 50%; height: 66%; right: 4%; top: 0; z-index: 2; }
.photo.c { width: 42%; height: 46%; right: 0; bottom: 0; z-index: 3; }
.badge {
  position: absolute; z-index: 4; width: 58px; height: 58px; border-radius: 50%;
  background: var(--gold); display: grid; place-items: center; color: #fff;
  box-shadow: 0 10px 25px -8px rgba(211,167,59,.8); border: 4px solid var(--navy-900);
}
.badge svg { width: 26px; height: 26px; }
.badge.b1 { left: 40%; top: 42%; }
.badge.b2 { right: 36%; bottom: 20%; }
.seal { position: absolute; left: 6%; bottom: 0; width: 132px; height: 132px; z-index: 4; }
.seal svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.seal .dot { position: absolute; inset: 0; margin: auto; width: 46px; height: 46px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; color: var(--navy-900); }
.seal .dot svg { width: 22px; height: 22px; animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- section basics ---------- */
section { position: relative; }
.section { padding: 120px 0; }
.section-dark { background: var(--navy-900); color: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 56px; }
.section-head h2, .h2 { font-size: clamp(32px, 4vw, 50px); font-weight: 600; }
.section-head p { max-width: 420px; color: var(--muted); }
.section-dark .section-head p { color: rgba(255,255,255,.68); }
.kicker { font-family: var(--font-head); font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold-ink); display: block; margin-bottom: 14px; }
.section-dark .kicker { color: var(--gold-soft); }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.about-visual { position: relative; }
.arch {
  border-radius: 260px 260px 28px 28px; overflow: hidden; aspect-ratio: 4/5;
  background: linear-gradient(170deg, var(--petrol), var(--navy));
  display: grid; place-items: center; position: relative;
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-tag {
  position: absolute; right: -24px; bottom: 40px; background: #fff; border-radius: 18px; padding: 18px 22px;
  box-shadow: 0 24px 50px -24px rgba(0,32,47,.5); max-width: 240px;
}
.arch-tag strong { font-family: var(--font-head); color: var(--navy); display: block; font-size: 17px; }
.arch-tag span { font-size: 14px; color: var(--muted); }
.about-copy h2 { margin-bottom: 26px; }
.about-copy > p { color: var(--muted); margin-bottom: 16px; font-size: 18px; }
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.pillar { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.pillar .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; background: rgba(211,167,59,.16); color: var(--gold-ink); display: grid; place-items: center; }
.pillar .ic svg { width: 22px; height: 22px; }
.pillar strong { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 16px; display: block; line-height: 1.25; }
.pillar span { font-size: 14px; color: var(--muted); line-height: 1.45; display: block; margin-top: 4px; }

/* ---------- products ---------- */
.products {
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(11,111,142,.35), transparent 70%),
    var(--navy-900);
  overflow: hidden;
}
.products::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 80px 80px; mask-image: linear-gradient(#000, transparent 80%);
}
.products .section-head { position: relative; text-align: center; flex-direction: column; align-items: center; }
.products .section-head p { max-width: 560px; }
.cards { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.card {
  position: relative; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark);
  border-radius: 20px; padding: 26px 22px 22px; min-height: 210px;
  display: flex; flex-direction: column; transition: transform .25s ease, background .25s ease, border-color .25s;
  text-decoration: none; color: #fff; overflow: hidden;
}
.card::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 3px; background: var(--gold); border-radius: 0 3px 3px 0; transform: scaleY(0); transition: transform .25s; }
.card:hover { transform: translateY(-6px); background: rgba(255,255,255,.08); border-color: rgba(211,167,59,.5); }
.card:hover::before { transform: scaleY(1); }
.card .ic { width: 46px; height: 46px; border-radius: 14px; background: rgba(211,167,59,.15); color: var(--gold); display: grid; place-items: center; margin-bottom: 22px; }
.card .ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.card p { font-size: 14px; color: rgba(255,255,255,.62); line-height: 1.5; }
.card .more { margin-top: auto; padding-top: 16px; font-family: var(--font-head); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.card.feature { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }
.card.feature .ic { background: rgba(1,52,78,.12); color: var(--navy); }
.card.feature p { color: rgba(0,32,47,.75); }
.card.feature .more { color: var(--navy); }
.card.feature::before { background: var(--navy); }
.card.feature:hover { background: var(--gold-soft); }

/* ---------- chapters ---------- */
.chapters-box {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 0; align-items: stretch;
  background: #fff; border-radius: 32px; overflow: visible; border: 1px solid var(--line);
}
.chapters-copy { padding: 64px 56px; }
.chapters-copy h2 { margin-bottom: 22px; }
.chapters-copy p { color: var(--muted); margin-bottom: 18px; }
.steps { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; gap: 18px; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; counter-increment: s; }
.steps li::before {
  content: "0" counter(s); font-family: var(--font-head); font-weight: 600; color: var(--gold-ink);
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(211,167,59,.6); display: grid; place-items: center; font-size: 14px;
}
.steps strong { font-family: var(--font-head); color: var(--navy); font-weight: 600; display: block; }
.steps span { color: var(--muted); font-size: 15px; }
.chapters-photos { position: relative; align-self: center; height: 500px; margin: 0 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.chapters-photos .ph { border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,32,47,.6); }
.chapters-photos .ph img { width: 100%; height: 100%; object-fit: cover; }
.chapters-photos .ph:first-child { grid-row: span 2; }
.chapters-photos .quote {
  background: var(--navy); color: #fff; border-radius: 24px; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end;
}
.chapters-photos .quote b { font-family: var(--font-head); font-size: 22px; line-height: 1.25; font-weight: 500; }
.chapters-photos .quote b em { font-style: normal; color: var(--gold); }

/* ---------- partners ---------- */
.partners { padding: 70px 0; border-block: 1px solid var(--line); background: #fff; overflow: hidden; }
.partners .label { text-align: center; font-family: var(--font-head); color: var(--muted); font-size: 14px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 30px; }
.marquee { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee span {
  font-family: var(--font-head); font-weight: 600; font-size: 26px; color: var(--navy); opacity: .55; white-space: nowrap;
  padding: 0 34px; display: inline-flex; align-items: center; gap: 34px;
}
.marquee span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); opacity: .9; }
@keyframes slide { to { transform: translateX(-50%); } }
.partners:hover .marquee { animation-play-state: paused; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.contact-copy h2 { margin-bottom: 22px; }
.contact-copy > p { color: var(--muted); font-size: 18px; margin-bottom: 34px; }
.channels { display: grid; gap: 12px; }
.channel { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s; }
.channel:hover { border-color: var(--gold); transform: translateX(4px); }
.channel .ic { width: 46px; height: 46px; border-radius: 14px; background: var(--navy); color: var(--gold); display: grid; place-items: center; flex: none; }
.channel .ic svg { width: 22px; height: 22px; }
.channel small { display: block; color: var(--muted); font-size: 13px; }
.channel b { font-family: var(--font-head); color: var(--navy); font-weight: 600; }

/* ---------- footer ---------- */
.footer { background: #fff; padding: 70px 0 26px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer .logo img { height: 52px; }
.footer p { color: var(--muted); font-size: 15px; margin-top: 18px; max-width: 320px; }
.footer h4 { font-size: 15px; color: var(--navy); margin-bottom: 16px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { text-decoration: none; color: var(--muted); font-size: 15px; }
.footer ul a:hover { color: var(--navy); }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 13px; }
.footer-bottom a { color: var(--muted); }

/* ---------- whatsapp float ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee, .seal svg { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- legal page ---------- */
.legal-hero { background: linear-gradient(160deg, var(--navy-800), var(--navy-900)); color: #fff; padding: 160px 0 70px; }
.legal-hero h1 { font-size: clamp(34px, 4.5vw, 54px); font-weight: 600; margin-top: 16px; }
.legal-hero p { color: rgba(255,255,255,.7); margin-top: 14px; }
.legal { padding: 70px 0 110px; }
.legal-grid { display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: start; }
.toc { position: sticky; top: 110px; display: grid; gap: 4px; font-size: 14px; }
.toc a { text-decoration: none; color: var(--muted); padding: 6px 12px; border-left: 2px solid var(--line); }
.toc a:hover { color: var(--navy); border-color: var(--gold); }
.legal article { max-width: 760px; }
.legal article h2 { font-size: 26px; font-weight: 600; color: var(--navy); margin: 54px 0 16px; padding-top: 10px; }
.legal article h2:first-child { margin-top: 0; }
.legal article h3 { font-size: 18px; font-weight: 600; color: var(--navy); margin: 26px 0 10px; }
.legal article p, .legal article li { color: #34444e; }
.legal article p { margin-bottom: 14px; }
.legal article ul { padding-left: 20px; margin: 0 0 16px; }
.legal article li { margin-bottom: 6px; }
.note { background: rgba(211,167,59,.12); border-radius: 12px; padding: 16px 20px; font-size: 15px; margin: 20px 0; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .nav, .header .btn { display: none; }
  .menu-btn { display: block; }
  .header.open .bar { border-radius: 26px; flex-wrap: wrap; }
  .header.open .nav { display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 10px 8px 6px; order: 3; }
  .header.open .nav a { padding: 10px 6px; font-size: 17px; }
  .header.open .nav a::after { display: none; }
  .hero { padding: 140px 0 80px; }
  .hero-grid, .about-grid, .contact-grid, .chapters-box { grid-template-columns: 1fr; }
  .collage { height: 440px; max-width: 520px; width: 100%; margin-inline: auto; }
  .section { padding: 90px 0; }
  .section-head { flex-direction: column; align-items: start; }
  .about-grid { gap: 50px; }
  .arch { max-width: 420px; }
  .arch-tag { right: 0; }
  .chapters-photos { margin: 0 20px 20px; height: 420px; }
  .chapters-copy { padding: 44px 28px 30px; }
  .legal-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .logo img { height: 34px; }
  .header .bar { padding: 8px 8px 8px 18px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { min-height: 0; padding: 20px 16px; }
  .card p { display: none; }
  .card .ic { margin-bottom: 14px; }
  .card h3 { font-size: 16px; }
  .pillars { grid-template-columns: 1fr; }
  .collage { height: 380px; }
  .seal { width: 104px; height: 104px; }
  .badge { width: 48px; height: 48px; }
  .chapters-photos { height: 340px; margin: 0 14px 14px; }
  .chapters-photos .quote b { font-size: 17px; }
  .marquee span { font-size: 20px; padding: 0 22px; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* gold text on light backgrounds needs a deeper tone for contrast */
.section:not(.section-dark) .gold,
.legal .gold { color: #94701a; }
.chapters-photos .quote b em { color: var(--gold); }
.marquee span { opacity: .72; }

/* --- design-audit fixes --- */
.btn-gold { box-shadow: 0 10px 24px -12px rgba(0,20,30,.55); }
.badge { box-shadow: 0 10px 22px -10px rgba(0,0,0,.55); }
.card .ic { position: absolute; top: 22px; right: 20px; width: auto; height: auto; background: none; border-radius: 0; margin: 0; opacity: .9; }
.card .ic svg { width: 28px; height: 28px; }
.card.feature .ic { background: none; }
.card h3 { padding-right: 40px; margin-top: 34px; }
@media (max-width: 640px) {
  .card .ic { top: 16px; right: 14px; margin: 0; }
  .card .ic svg { width: 22px; height: 22px; }
  .card h3 { margin-top: 30px; padding-right: 0; }
}

/* ---------- contact card ---------- */
.contact-card { background: var(--navy-900); color: #fff; border-radius: 30px; padding: 44px; position: relative; overflow: hidden; }
.contact-card::after { content: ""; position: absolute; width: 320px; height: 320px; right: -130px; top: -130px; border-radius: 50%; border: 50px solid rgba(211,167,59,.08); pointer-events: none; }
.contact-card h3 { font-size: 28px; font-weight: 600; }
.contact-card > p { color: rgba(255,255,255,.72); margin: 10px 0 28px; max-width: 420px; }
.contact-card .info { margin: 36px 0 0; padding-top: 28px; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card dt { font-family: var(--font-head); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 8px; }
.contact-card dd { margin: 0; color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.55; }
.map-link { display: inline-block; margin-top: 22px; color: var(--gold-soft); font-family: var(--font-head); font-size: 14px; text-decoration: none; }
.map-link:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .contact-card { padding: 30px 22px; }
  .contact-card .info { grid-template-columns: 1fr; }
}

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
