:root {
  --ink: #0b1720;
  --ink-soft: #243544;
  --navy: #06283a;
  --navy-deep: #041822;
  --cream: #efe6d6;
  --paper: #f6f0e6;
  --gold: #9a6f28;
  --gold-soft: #c49a52;
  --line: #c9bba4;
  --white: #fff;
  --whatsapp: #1f9d4c;
  --shadow: 0 10px 40px rgba(4, 24, 34, 0.12);
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
}

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

h1, h2, h3, .display {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--navy);
}

h1 { font-size: clamp(2.5rem, 5.4vw, 4.15rem); }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.75rem); }
h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); }
p { font-size: 1.05rem; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.topbar {
  background: var(--navy-deep);
  color: var(--cream);
  font-size: 0.95rem;
}
.topbar .container {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px;
  padding: 10px 0;
}
.topbar a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; }
.topbar a:hover { color: var(--gold-soft); }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 240, 230, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 187, 164, 0.7);
}
.navbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 0;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--navy); color: var(--cream);
  display: grid; place-items: center;
  font-family: "Playfair Display", serif; font-weight: 700; font-size: 1.2rem;
}
.logo-name { font-family: "Playfair Display", serif; font-size: 1.35rem; color: var(--navy); display: block; }
.logo-sub { display: block; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); }

.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .drop > .drop-btn {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 12px;
  font-weight: 600; font-size: 1rem; color: var(--navy);
}
.nav > a:hover, .drop:hover > .drop-btn { color: var(--gold); }
.drop { position: relative; }
.drop-menu {
  position: absolute; left: 0; top: calc(100% - 4px);
  min-width: 280px; padding: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: 160ms ease;
}
.drop:hover .drop-menu, .drop:focus-within .drop-menu {
  opacity: 1; visibility: visible; transform: none;
}
.drop-menu a {
  display: block; padding: 10px 12px; border-radius: 10px;
  color: var(--ink-soft); font-size: 0.98rem;
}
.drop-menu a:hover { background: var(--cream); color: var(--navy); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; transition: transform 150ms ease, background 160ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-gold { background: var(--gold); color: var(--navy-deep); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-outline { border: 1px solid rgba(239, 230, 214, 0.5); color: var(--cream); }
.btn-nav { background: var(--navy); color: var(--cream) !important; margin-left: 8px; }

.hamburger {
  display: none; width: 44px; height: 44px; flex-direction: column;
  justify-content: center; gap: 6px; padding: 10px;
}
.hamburger span { display: block; height: 2px; background: var(--navy); }

.hero {
  position: relative; min-height: 78vh; overflow: hidden;
  display: flex; align-items: center;
  color: var(--cream);
}
.hero img.bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  animation: ken 22s ease-in-out alternate infinite;
}
.hero .shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4,24,34,.92) 0%, rgba(4,24,34,.78) 48%, rgba(6,40,58,.38) 100%);
}
.hero .inner { position: relative; padding: 88px 0 110px; max-width: 760px; }
.kicker {
  font-size: 0.8rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold-soft); font-weight: 600;
}
.hero h1 { color: var(--cream); }
.hero p.lead { margin-top: 22px; font-size: 1.2rem; color: rgba(239,230,214,.92); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

@keyframes ken {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.stats {
  position: relative; z-index: 2; margin-top: -48px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.stat {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: 0 8px 24px rgba(4,24,34,.06);
}
.stat strong {
  display: block; font-family: "Playfair Display", serif;
  font-size: 2.1rem; color: var(--navy);
}

.section { padding: 84px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head .kicker { color: var(--gold); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 6px 18px rgba(4,24,34,.05);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card img { width: 100%; height: 180px; object-fit: cover; }
.card .body { padding: 20px 22px 24px; }
.card .kicker { color: var(--gold); font-size: 0.75rem; }
.card h3 { margin-top: 6px; color: var(--navy); }
.card p { margin-top: 8px; color: var(--ink-soft); }
.more { display: inline-block; margin-top: 14px; color: var(--gold); font-weight: 700; }

.split {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
}
.split img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); }
.check { margin-top: 22px; display: grid; gap: 12px; }
.check li { display: flex; gap: 12px; align-items: flex-start; }
.check svg { flex: none; margin-top: 4px; color: var(--gold); }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px;
}
.quote p { color: var(--ink-soft); }
.quote footer { margin-top: 16px; font-weight: 700; color: var(--navy); font-size: 0.95rem; }
.quote footer span { display: block; font-weight: 500; color: var(--ink-soft); }

.cta-band {
  background: var(--navy-deep); color: var(--cream);
  border-radius: 22px; padding: 48px; display: flex; justify-content: space-between;
  gap: 24px; align-items: center;
}
.cta-band h2 { color: var(--cream); }

.page-hero {
  position: relative; overflow: hidden; color: var(--cream); padding: 72px 0;
}
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero .shade { position: absolute; inset: 0; background: rgba(4,24,34,.82); }
.page-hero .inner { position: relative; max-width: 760px; }
.page-hero h1 { color: var(--cream); }
.page-hero p { margin-top: 16px; font-size: 1.15rem; color: rgba(239,230,214,.88); }
.crumb { margin-top: 18px; font-size: 0.95rem; color: rgba(239,230,214,.7); }
.crumb a { text-decoration: underline; text-underline-offset: 3px; }

.article { max-width: 760px; margin: 56px auto; }
.article h2 { margin: 36px 0 12px; }
.article p, .article li { color: var(--ink-soft); }
.article p + p { margin-top: 12px; }
.article ul { margin: 12px 0 0 22px; list-style: disc; display: grid; gap: 8px; }
.rule { width: 48px; height: 3px; background: var(--gold); margin-bottom: 12px; }

.consult {
  margin-top: 48px; background: var(--navy); color: var(--cream);
  border-radius: 22px; padding: 32px;
}
.consult h3 { color: var(--cream); }
.consult p { color: rgba(239,230,214,.85); margin: 10px 0 18px; }

.footer { margin-top: 64px; background: var(--navy-deep); color: var(--cream); }
.footer .grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px;
  padding: 56px 0;
}
.footer h4 { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 14px; }
.footer a, .footer p, .footer li { color: rgba(239,230,214,.8); }
.footer a:hover { color: var(--gold-soft); }
.footer ul { display: grid; gap: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 16px 0 22px; text-align: center; font-size: 0.85rem; color: rgba(239,230,214,.55);
}

.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  background: var(--whatsapp); color: #fff; min-height: 48px; padding: 0 18px;
  border-radius: 999px; font-weight: 700; box-shadow: var(--shadow);
}

.mobile-panel { display: none; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 700; color: var(--navy); font-size: 0.95rem; }
input, select, textarea {
  width: 100%; margin-top: 6px; min-height: 46px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--paper);
  font: inherit; color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }

.faq-item { border-bottom: 1px solid var(--line); }
.faq-item button {
  width: 100%; text-align: left; min-height: 56px; padding: 16px 0;
  display: flex; justify-content: space-between; gap: 16px;
  font-weight: 700; color: var(--navy); font-size: 1.08rem;
}
.faq-item .a { display: none; padding-bottom: 16px; color: var(--ink-soft); }
.faq-item.open .a { display: block; }

.office { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.office .role { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 980px) {
  .nav, .btn-nav { display: none; }
  .hamburger {
    display: flex;
    flex: 0 0 44px;
    position: relative;
    z-index: 3;
  }

  /* Mobile header/menu: the page itself stays usable while the menu scrolls. */
  .header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .navbar {
    min-height: 68px;
  }

  .mobile-panel {
    display: none;
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 8px 0 22px;
    border-top: 1px solid rgba(201, 187, 164, 0.55);
  }

  .mobile-panel.open {
    display: block;
  }

  .mobile-panel > a:not(.btn),
  .mobile-panel .mobile-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 11px 4px;
    font-weight: 700;
    color: var(--navy);
    text-align: left;
    border-bottom: 1px solid rgba(201, 187, 164, 0.35);
  }

  .mobile-panel .mobile-parent::after {
    content: "⌄";
    font-size: 1.05rem;
    line-height: 1;
    transition: transform 160ms ease;
  }

  .mobile-panel .mobile-group.open > .mobile-parent::after {
    transform: rotate(180deg);
  }

  .mobile-panel .mobile-group {
    border-bottom: 1px solid rgba(201, 187, 164, 0.35);
  }

  .mobile-panel .mobile-group > .sub {
    display: none;
    padding: 2px 0 8px 12px;
  }

  .mobile-panel .mobile-group.open > .sub {
    display: block;
  }

  .mobile-panel .sub a {
    display: block;
    min-height: 44px;
    padding: 10px 8px;
    font-weight: 500;
    color: var(--ink-soft);
    border-left: 2px solid var(--line);
  }

  .mobile-panel .sub a:hover,
  .mobile-panel .sub a:focus {
    color: var(--gold);
    background: rgba(239, 230, 214, 0.45);
  }

  .mobile-panel .btn {
    width: 100%;
    margin: 10px 0 0 !important;
  }

  .grid-3, .quotes, .stats, .footer .grid, .split, .form-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
  .hero { min-height: 70vh; }
  .split img { height: 280px; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 28px, 1180px); }

  .logo { min-width: 0; }
  .logo-name {
    font-size: 1.05rem;
    white-space: nowrap;
  }
  .logo-sub {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    white-space: nowrap;
  }
  .logo-mark {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .topbar .container {
    justify-content: center;
    text-align: center;
  }
}
