:root {
  --navy: #071b2d;
  --navy-2: #0a243b;
  --ink: #13202b;
  --teal: #1d6265;
  --teal-soft: #2f7777;
  --gold: #b5844b;
  --gold-light: #d4ad74;
  --bronze: #805027;
  --cream: #f4f0e2;
  --cream-2: #fbf8ef;
  --white: #ffffff;
  --muted: #6b747a;
  --line: rgba(181, 132, 75, .26);
  --shadow: 0 28px 70px rgba(2, 18, 31, .13);
  --radius-lg: 28px;
  --radius-md: 19px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream-2);
  font-family: var(--sans);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 9999;
  background: var(--cream);
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 8px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 110px 0; }
.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-light);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow.dark { color: var(--teal); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 90px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(4, 19, 32, .94), rgba(4, 19, 32, .75), transparent);
  transition: height .3s ease, background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled {
  height: 72px;
  background: rgba(5, 23, 38, .96);
  box-shadow: 0 10px 30px rgba(0,0,0,.14);
  backdrop-filter: blur(14px);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand {
  width: 76px;
  height: 65px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 8px 26px rgba(0,0,0,.18);
  transition: width .25s ease, height .25s ease;
}
.brand img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.site-header.scrolled .brand { width: 64px; height: 54px; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a {
  color: rgba(255,255,255,.86);
  font-size: .9rem;
  text-decoration: none;
  position: relative;
  transition: color .2s ease;
}
.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 1px;
  background: var(--gold-light);
  transition: width .25s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.nav-cta {
  padding: 10px 18px;
  border: 1px solid rgba(212,173,116,.6);
  border-radius: 999px;
}
.menu-toggle { display: none; }

.hero {
  min-height: 100vh;
  padding: 150px 0 90px;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 76% 24%, rgba(29,98,101,.38), transparent 30%),
    radial-gradient(circle at 25% 70%, rgba(128,80,39,.16), transparent 36%),
    linear-gradient(135deg, #051522 0%, #081f34 52%, #0a263c 100%);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: .33;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to right, black, transparent 82%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(330px, .82fr); gap: 80px; align-items: center; }
.hero-copy { max-width: 730px; }
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 7vw, 6.7rem);
  line-height: .87;
  font-weight: 500;
  letter-spacing: -.05em;
}
.hero h1 span { color: var(--gold-light); }
.hero-role { margin: 24px 0 0; color: var(--gold-light); font-size: 1rem; text-transform: uppercase; letter-spacing: .16em; }
.hero-lead { max-width: 690px; margin: 25px 0 0; font-size: clamp(1.05rem, 2vw, 1.28rem); color: rgba(255,255,255,.84); }
.hero-phrase { margin: 24px 0 0; font-family: var(--serif); font-style: italic; color: rgba(255,255,255,.72); font-size: 1.08rem; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 13px; }
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 21px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: .9rem;
  letter-spacing: .02em;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: #102132; box-shadow: 0 12px 30px rgba(181,132,75,.22); }
.btn-primary:hover { box-shadow: 0 18px 34px rgba(181,132,75,.3); }
.btn-secondary { border: 1px solid rgba(255,255,255,.3); color: white; background: rgba(255,255,255,.05); }
.btn.full { width: 100%; }

.hero-panel {
  justify-self: end;
  width: min(100%, 390px);
  padding: 18px;
  border: 1px solid rgba(212,173,116,.28);
  border-radius: 32px;
  background: linear-gradient(160deg, rgba(255,255,255,.11), rgba(255,255,255,.035));
  box-shadow: 0 34px 90px rgba(0,0,0,.25);
  backdrop-filter: blur(13px);
}
.hero-logo-card {
  border-radius: 23px;
  overflow: hidden;
  background: var(--cream);
}
.hero-logo-card img { width: 100%; aspect-ratio: 1.12/1; object-fit: cover; }
.hero-panel-info { padding: 20px 10px 6px; display: grid; gap: 5px; }
.hero-panel-info strong, .hero-panel-info a { font-size: 1.02rem; text-decoration: none; }
.hero-panel-info a { color: var(--gold-light); }
.mini-label { margin-top: 8px; color: rgba(255,255,255,.52); font-size: .72rem; text-transform: uppercase; letter-spacing: .15em; }

.hero-orbit { position: absolute; z-index: -2; border: 1px solid rgba(212,173,116,.19); border-radius: 50%; }
.orbit-one { width: 520px; height: 520px; right: -130px; top: 120px; animation: drift 14s ease-in-out infinite; }
.orbit-two { width: 310px; height: 310px; right: 160px; bottom: -120px; animation: drift 18s ease-in-out infinite reverse; }
.hero-balance { position: absolute; right: 4%; bottom: 2%; z-index: -2; opacity: .045; width: min(35vw, 430px); }
.hero-balance svg { width: 100%; fill: none; stroke: #fff; stroke-width: 1.3; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 28px; height: 42px; border: 1px solid rgba(255,255,255,.32); border-radius: 20px; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-light); transform: translateX(-50%); animation: scrollCue 1.7s infinite; }

.profile-section { background: var(--cream-2); }
.profile-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 100px; align-items: start; }
.section-heading h2, .profile-section h2, .children-section h2, .motto-section h2 {
  margin: 0;
  font-family: var(--serif);
  color: var(--navy);
  font-size: clamp(2.25rem, 4.4vw, 4.4rem);
  line-height: 1.05;
  font-weight: 500;
  letter-spacing: -.035em;
}
.profile-copy { padding-top: 14px; font-size: 1.04rem; color: #4c5961; }
.lead-dark { margin: 0; color: var(--navy); font-family: var(--serif); font-size: 1.95rem; line-height: 1.2; }
.profile-specialty { margin: 4px 0 25px; color: var(--teal); font-weight: 800; }
.quote-card { position: relative; margin-top: 34px; padding: 27px 30px 28px 68px; border-radius: var(--radius-md); background: var(--navy); color: white; overflow: hidden; }
.quote-card::after { content: ''; position: absolute; width: 90px; height: 90px; right: -32px; bottom: -36px; border: 1px solid var(--gold); border-radius: 50%; opacity: .35; }
.quote-mark { position: absolute; left: 24px; top: 10px; color: var(--gold-light); font: 4.8rem/1 var(--serif); }
.quote-card p { margin: 0; font-family: var(--serif); font-size: 1.2rem; }

.consultoria-section {
  color: white;
  background:
    radial-gradient(circle at 15% 20%, rgba(29,98,101,.27), transparent 25%),
    linear-gradient(135deg, #071b2d, #0a2033 60%, #071824);
}
.section-heading.centered { max-width: 820px; text-align: center; margin: 0 auto 56px; }
.section-heading.centered h2 { color: inherit; }
.consultoria-section .section-heading h2 { color: white; }
.section-heading.centered > p:last-child { color: rgba(255,255,255,.66); max-width: 700px; margin: 22px auto 0; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card {
  position: relative;
  min-height: 330px;
  padding: 34px 25px 28px;
  overflow: hidden;
  border: 1px solid rgba(212,173,116,.18);
  border-radius: var(--radius-md);
  background: linear-gradient(165deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  transition: transform .28s ease, border-color .28s ease, background .28s ease;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(212,173,116,.55); background: linear-gradient(165deg, rgba(255,255,255,.11), rgba(255,255,255,.035)); }
.card-index { position: absolute; right: 20px; top: 17px; color: rgba(255,255,255,.23); font: 1rem var(--serif); }
.line-icon { width: 46px; height: 46px; color: var(--gold-light); margin-bottom: 45px; }
.line-icon svg, .consult-icon svg { width: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { margin: 0 0 15px; font-family: var(--serif); font-size: 1.55rem; line-height: 1.15; font-weight: 500; }
.service-card p { margin: 0; color: rgba(255,255,255,.62); font-size: .9rem; }

.children-section { background: var(--cream); }
.children-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: start; }
.gold-rule { width: 100px; height: 2px; margin-top: 30px; background: linear-gradient(90deg, var(--gold), transparent); }
.children-copy { padding: 7px 0 0 38px; border-left: 1px solid var(--line); color: #4d5a61; }
.children-copy p { margin: 0 0 20px; }
.children-copy .large-serif { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2.05rem); line-height: 1.35; color: var(--navy); }

.bond-section { padding: 88px 0; color: white; background: var(--teal); overflow: hidden; }
.bond-grid { display: grid; grid-template-columns: .55fr 1.45fr; align-items: center; gap: 70px; }
.bond-copy h2 { margin: 0 0 22px; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.55rem); line-height: 1.08; font-weight: 500; }
.bond-copy > p:last-child { color: rgba(255,255,255,.74); font-family: var(--serif); font-style: italic; }
.bond-symbol { display: grid; place-items: center; }
.family-ring { width: 240px; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); position: relative; }
.family-ring::before, .family-ring::after { content: ''; position: absolute; border-radius: 50%; border: 1px solid rgba(212,173,116,.6); }
.family-ring::before { inset: 30px; }
.family-ring::after { inset: 62px; }
.family-ring span { position: absolute; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--cream); }
.family-ring span:nth-child(1) { left: 48px; top: 71px; }
.family-ring span:nth-child(2) { right: 48px; top: 71px; }
.family-ring span:nth-child(3) { left: 98px; bottom: 48px; width: 34px; height: 34px; }

.consultation-section { background: var(--cream-2); }
.consultation-section .section-heading.centered { color: var(--navy); }
.consultation-section .section-heading.centered > p:last-child { color: inherit; }
.consult-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 920px; margin: 0 auto; }
.consult-card { display: flex; gap: 24px; padding: 31px; border: 1px solid var(--line); border-radius: var(--radius-md); background: white; box-shadow: 0 18px 50px rgba(7,27,45,.06); }
.consult-icon { flex: 0 0 58px; width: 58px; height: 58px; padding: 12px; border-radius: 16px; color: var(--teal); background: rgba(29,98,101,.08); }
.card-kicker { margin: 0 0 4px; color: var(--gold); font-size: .73rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.consult-card h3 { margin: 0 0 7px; color: var(--navy); font: 1.55rem var(--serif); }
.consult-card p:last-child { margin: 0; color: var(--muted); }

.commitment-section { padding: 78px 0; background: var(--navy); color: white; }
.commitment-inner { text-align: center; max-width: 900px; }
.commitment-symbol { display: block; margin-bottom: 14px; color: var(--gold-light); font: 2.7rem var(--serif); }
.commitment-inner p { margin: 0; font: clamp(2rem, 4.1vw, 3.8rem)/1.12 var(--serif); }
.commitment-name { display: block; margin-top: 22px; color: rgba(255,255,255,.55); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }

.motto-section { padding: 90px 0; background: var(--cream); }
.motto-inner { display: grid; grid-template-columns: 180px 1fr; gap: 58px; align-items: center; }
.motto-inner img { width: 180px; height: 160px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); border: 1px solid rgba(181,132,75,.25); }
.motto-section h2 { max-width: 820px; }

.contact-section {
  color: white;
  background:
    radial-gradient(circle at 85% 30%, rgba(29,98,101,.32), transparent 30%),
    linear-gradient(135deg, #061827, #0a2238);
}
.contact-grid { display: grid; grid-template-columns: 1fr .85fr; gap: 90px; align-items: center; }
.contact-copy h2 { margin: 0; font: clamp(2.6rem, 5vw, 4.8rem)/.98 var(--serif); }
.contact-role { color: var(--gold-light); text-transform: uppercase; letter-spacing: .15em; font-size: .86rem; }
.contact-copy > p:last-child { color: rgba(255,255,255,.67); }
.contact-card { padding: 34px; border: 1px solid rgba(212,173,116,.25); border-radius: 25px; background: rgba(255,255,255,.055); box-shadow: 0 28px 70px rgba(0,0,0,.18); }
.contact-row { display: grid; gap: 6px; padding: 0 0 22px; margin-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.1); }
.contact-label { color: rgba(255,255,255,.48); font-size: .73rem; text-transform: uppercase; letter-spacing: .14em; }
.contact-row a, .contact-row strong { font-size: 1.1rem; text-decoration: none; color: white; }

.site-footer { padding: 28px 0; color: rgba(255,255,255,.68); background: #03101b; border-top: 1px solid rgba(255,255,255,.05); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr auto; gap: 28px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 54px; height: 48px; object-fit: cover; border-radius: 10px; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { color: white; font-family: var(--serif); font-weight: 500; }
.footer-brand span { font-size: .78rem; }
.footer-contact { display: grid; font-size: .82rem; }
.footer-contact a { color: var(--gold-light); text-decoration: none; }
.back-top { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; text-decoration: none; color: white; transition: transform .2s ease, border-color .2s ease; }
.back-top:hover { transform: translateY(-3px); border-color: var(--gold); }

.reveal { opacity: 1; visibility: visible; transform: none; }
.anim-ready .reveal { animation: revealUp .7s ease both; }
.anim-ready .delay-1 { animation-delay: .1s; }
.anim-ready .delay-2 { animation-delay: .18s; }
.anim-ready .delay-3 { animation-delay: .26s; }

@keyframes revealUp { from { opacity: .01; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@keyframes drift { 0%,100% { transform: translate3d(0,0,0); } 50% { transform: translate3d(-14px, 20px, 0); } }
@keyframes scrollCue { 0% { opacity: 0; transform: translate(-50%, 0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 18px); } }

@media (max-width: 1020px) {
  .main-nav { gap: 17px; }
  .main-nav a { font-size: .82rem; }
  .hero-grid { gap: 45px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .service-card { min-height: 275px; }
  .profile-grid, .children-grid { gap: 55px; }
}

@media (max-width: 840px) {
  .site-header { height: 76px; background: rgba(5,23,38,.95); }
  .site-header.scrolled { height: 68px; }
  .brand { width: 62px; height: 54px; }
  .menu-toggle {
    display: inline-grid;
    place-content: center;
    width: 45px;
    height: 45px;
    gap: 5px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px;
    background: rgba(255,255,255,.04);
  }
  .menu-toggle span { display: block; width: 21px; height: 1.5px; background: white; transition: transform .25s ease, opacity .25s ease; }
  .menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-toggle.open span:nth-child(2) { opacity: 0; }
  .menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .main-nav {
    position: fixed;
    top: 76px;
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 18px;
    background: rgba(5,23,38,.98);
    box-shadow: 0 20px 60px rgba(0,0,0,.24);
    transform: translateY(-12px) scale(.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease, transform .22s ease;
  }
  .site-header.scrolled .main-nav { top: 68px; }

  .no-js .menu-toggle { display: none; }
  .no-js .main-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }
  .main-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .main-nav a { padding: 13px 12px; font-size: .94rem; }
  .main-nav a::after { display: none; }
  .nav-cta { margin-top: 6px; text-align: center; }
  .hero { padding-top: 125px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { justify-self: start; width: 100%; max-width: 470px; }
  .profile-grid, .children-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .children-copy { padding-left: 24px; }
  .bond-grid { grid-template-columns: 1fr; gap: 38px; }
  .bond-symbol { justify-content: start; }
  .family-ring { width: 190px; }
  .family-ring span:nth-child(1) { left: 36px; top: 54px; }
  .family-ring span:nth-child(2) { right: 36px; top: 54px; }
  .family-ring span:nth-child(3) { left: 77px; bottom: 37px; }
  .consult-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr auto; }
  .footer-contact { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 28px, 1180px); }
  .section { padding: 78px 0; }
  .hero { padding: 112px 0 82px; }
  .hero h1 { font-size: clamp(3.2rem, 16vw, 5.1rem); }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-panel { border-radius: 24px; padding: 13px; }
  .hero-logo-card { border-radius: 18px; }
  .scroll-cue { display: none; }
  .section-heading.centered { text-align: left; margin-bottom: 38px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: auto; padding: 28px 24px; }
  .line-icon { margin-bottom: 28px; }
  .profile-grid, .children-grid, .contact-grid { gap: 38px; }
  .quote-card { padding: 24px 22px 24px 56px; }
  .quote-mark { left: 17px; }
  .children-copy { padding-left: 18px; }
  .bond-section { padding: 72px 0; }
  .motto-inner { grid-template-columns: 92px 1fr; gap: 22px; }
  .motto-inner img { width: 92px; height: 82px; border-radius: 16px; }
  .motto-section h2 { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .consult-card { padding: 24px; }
  .contact-card { padding: 25px; }
  .footer-grid { display: flex; align-items: flex-start; flex-wrap: wrap; }
  .footer-contact { width: calc(100% - 60px); order: 3; }
  .back-top { margin-left: auto; }
}

@media (max-width: 420px) {
  .hero-actions { grid-template-columns: 1fr; }
  .consult-card { display: grid; }
  .motto-inner { grid-template-columns: 1fr; }
  .motto-inner img { width: 112px; height: 100px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; visibility: visible; transform: none; animation: none !important; }
}
