:root {
  --ink: #21495B;
  --ink-2: #292D2F;
  --teal: #21495B;
  --teal-light: #EFE9D8;
  --gold: #A58B3C;
  --sage: #D8D1C3;
  --cream: #F7F4EC;
  --sand: #D8D1C3;
  --paper: #F7F4EC;
  --white: #ffffff;
  --graphite: #292D2F;
  --muted: #64686A;
  --line: rgba(33, 73, 91, .16);
  --shadow: 0 24px 70px rgba(33, 73, 91, .13);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--graphite);
  background: var(--paper);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.section { padding: 108px 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 1000; background: var(--white); padding: 12px 18px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(33, 73, 91, .97);
  border-bottom: 1px solid rgba(165, 139, 60, .55);
  backdrop-filter: blur(16px);
}
.header-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-crop { position: relative; display: block; overflow: hidden; background: transparent; }
.brand-crop img { position: absolute; display: block; max-width: none; }
.brand-crop-header, .brand-crop-footer { width: 240px; height: 68px; }
.brand-crop-header img, .brand-crop-footer img { width: 418px; left: -89px; top: -175px; }
.brand-crop-footer { width: 252px; }
.brand-crop-footer img { left: -83px; }
nav { display: flex; align-items: center; gap: 30px; }
nav a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--cream); transition: color .2s ease, border-color .2s ease; }
nav a:hover { color: var(--white); }
.nav-cta { padding: 11px 18px; border: 1px solid var(--gold); border-radius: 100px; }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 740px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 80% 22%, rgba(165, 139, 60, .12), transparent 30%),
    linear-gradient(135deg, var(--paper) 0%, #FFFFFF 58%, #EEE9DF 100%);
}
.hero::before { content: ""; position: absolute; width: 460px; height: 460px; right: -250px; bottom: -220px; border: 1px solid rgba(165,139,60,.24); border-radius: 50%; box-shadow: 0 0 0 80px rgba(165,139,60,.03), 0 0 0 160px rgba(33,73,91,.02); }
.hero-grid { display: grid; grid-template-columns: 1.18fr .82fr; align-items: center; gap: 86px; position: relative; z-index: 1; }
.eyebrow { display: inline-flex; gap: 10px; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--teal); }
.eyebrow > span { width: 28px; height: 1px; background: var(--gold); }
.hero h1 { max-width: 720px; margin: 23px 0 25px; font: 600 clamp(52px, 5.7vw, 80px)/.98 var(--font-display); letter-spacing: -.035em; }
.hero h1 em { font-style: normal; color: var(--teal); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 2px; right: 0; bottom: -5px; height: 8px; background: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 5.5C45 1.5 104 1 159 4' stroke='%23A58B3C' stroke-width='2' fill='none'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.hero-lead { max-width: 650px; color: #596065; font-size: 18px; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 34px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 24px; border: 0; border-radius: 5px; font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--white); box-shadow: 0 12px 28px rgba(33,73,91,.2); border-bottom: 3px solid var(--gold); }
.button-primary:hover { background: var(--graphite); box-shadow: 0 16px 32px rgba(33,73,91,.24); }
.text-link { text-underline-offset: 5px; font-size: 14px; font-weight: 700; }
.profile-card { overflow: hidden; background: rgba(255,255,255,.88); border: 1px solid rgba(33,73,91,.12); box-shadow: var(--shadow); }
.profile-visual { height: 310px; position: relative; overflow: hidden; background: var(--ink); border-bottom: 4px solid var(--gold); }
.profile-visual::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, transparent 65%, rgba(33,73,91,.18) 100%); pointer-events: none; }
.profile-photo { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 30%; }
.photo-accent { position: absolute; z-index: 2; left: 0; bottom: -4px; width: 34%; height: 4px; background: var(--cream); }
.profile-content { padding: 31px 34px 33px; }
.mini-label { font-size: 10px; text-transform: uppercase; font-weight: 700; letter-spacing: .15em; color: var(--teal); }
.profile-content h2 { margin: 9px 0 10px; font: 600 34px var(--font-display); letter-spacing: -.02em; }
.profile-role { margin: 0; font-size: 13px; line-height: 1.65; color: var(--muted); }
.experience-highlight { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 15px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.experience-highlight strong { flex: 0 0 auto; color: var(--ink); font: 600 29px/1 var(--font-display); }
.experience-highlight span { color: var(--muted); font-size: 10px; line-height: 1.45; text-transform: uppercase; letter-spacing: .07em; }
.profile-points { display: grid; gap: 10px; margin: 17px 0 0; padding: 0; list-style: none; }
.profile-points li { position: relative; padding-left: 16px; color: #4D5559; font-size: 11px; line-height: 1.5; }
.profile-points li::before { content: ""; position: absolute; left: 0; top: .65em; width: 6px; height: 1px; background: var(--gold); }
.hero-line { position: absolute; bottom: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--ink) 0 40%, var(--gold) 40% 68%, var(--sand) 68%); }

.methodology { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--paper), #F1EDE4); }
.methodology::before { content: "CPA"; position: absolute; right: -45px; top: 70px; color: rgba(33,73,91,.035); font: 600 240px/.8 var(--font-display); letter-spacing: -.08em; }
.methodology-heading { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 86px; }
.methodology-heading h2, .diagnostic-copy h2 { margin: 20px 0 0; font: 600 clamp(42px, 4.4vw, 58px)/1.02 var(--font-display); letter-spacing: -.03em; }
.methodology-summary { padding-left: 28px; border-left: 2px solid var(--gold); }
.methodology-summary > p { margin: 13px 0 0; color: var(--muted); font-size: 16px; line-height: 1.72; }
.methodology-summary .methodology-note { margin-top: 14px; color: #707577; font-size: 13px; }
.methodology-pillars { position: relative; z-index: 1; display: grid; gap: 22px; margin: 68px 0 0; padding: 0; list-style: none; }
.methodology-pillar { display: grid; grid-template-columns: .42fr 1fr; overflow: hidden; position: relative; background: rgba(255,255,255,.86); border: 1px solid var(--line); box-shadow: 0 16px 42px rgba(33,73,91,.07); }
.methodology-pillar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 4px; background: var(--gold); }
.pillar-heading { display: flex; align-items: flex-start; gap: 21px; padding: 45px 32px 42px 38px; border-right: 1px solid var(--line); }
.pillar-letter { width: 58px; height: 58px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--ink); font-size: 20px; font-weight: 700; }
.pillar-kicker { color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.pillar-heading h3 { margin: 7px 0 0; color: var(--ink); font: 600 32px/1.02 var(--font-display); letter-spacing: -.02em; }
.pillar-body { display: flex; flex-direction: column; justify-content: center; padding: 39px 42px 35px; }
.pillar-intro { max-width: 760px; margin: 0; color: #50575A; font-size: 16px; line-height: 1.72; }
.pillar-result { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: #596065; font-size: 16px; line-height: 1.65; }
.pillar-result strong { color: var(--ink); }
.methodology-pillar.featured { background: var(--ink); border-color: var(--ink); color: var(--white); }
.methodology-pillar.featured::before { background: var(--gold); }
.featured .pillar-heading { border-color: rgba(255,255,255,.14); }
.featured .pillar-letter { color: var(--white); }
.featured .pillar-heading h3 { color: var(--white); }
.featured .pillar-intro { color: rgba(255,255,255,.76); }
.featured .pillar-result { border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.69); }
.featured .pillar-result strong { color: var(--white); }

.diagnostic { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.diagnostic::before { content: ""; position: absolute; width: 480px; height: 480px; border: 1px solid rgba(165,139,60,.18); border-radius: 50%; left: -260px; bottom: -220px; box-shadow: 0 0 0 100px rgba(255,255,255,.018), 0 0 0 200px rgba(165,139,60,.018); }
.diagnostic-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 86px; align-items: start; position: relative; z-index: 1; }
.eyebrow.light { color: var(--cream); }
.diagnostic-copy { position: sticky; top: 120px; padding-top: 20px; }
.diagnostic-copy h2 { font-size: 43px; }
.diagnostic-copy > p { margin-top: 22px; color: rgba(255,255,255,.63); line-height: 1.75; font-size: 15px; }
.privacy-note { display: flex; align-items: center; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.11); color: rgba(255,255,255,.5); font-size: 12px; }
.whatsapp-alternative { margin-top: 24px; }
.whatsapp-alternative p { margin: 0 0 14px; color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.55; }
.whatsapp-link { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 20px; background: var(--cream); border-bottom: 3px solid var(--gold); color: var(--ink); font-size: 13px; font-weight: 700; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.whatsapp-link:hover { transform: translateY(-2px); background: var(--white); }
.whatsapp-link:focus-visible { outline: 3px solid rgba(247,244,236,.42); outline-offset: 4px; }
.forms-shell { overflow: hidden; background: var(--white); border-top: 4px solid var(--gold); box-shadow: 0 26px 70px rgba(0,0,0,.18); }
.forms-heading { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 28px; border-bottom: 1px solid var(--line); }
.forms-heading span { color: var(--ink); font: 600 28px var(--font-display); }
.forms-heading strong { color: var(--muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.forms-frame { display: block; width: 100%; height: 1120px; border: 0; background: var(--cream); }
.forms-fallback { margin: 0; padding: 18px 28px 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.6; text-align: center; }
.forms-fallback a { color: var(--ink); font-weight: 700; text-underline-offset: 4px; }
.quiz-shell { min-height: 600px; padding: 42px 46px; background: var(--white); color: var(--graphite); border-top: 4px solid var(--gold); box-shadow: 0 26px 70px rgba(0,0,0,.18); }
.quiz-progress > div:first-child { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); }
.progress-track { height: 3px; margin-top: 12px; background: #ECE8DE; overflow: hidden; }
.progress-track span { display: block; height: 100%; width: 25%; background: var(--gold); transition: width .35s ease; }
.quiz-step { display: none; padding: 0; margin: 43px 0 0; border: 0; min-width: 0; animation: stepIn .35s ease both; }
.quiz-step.active { display: block; }
@keyframes stepIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.quiz-step legend { padding: 0; font: 600 34px/1.15 var(--font-display); letter-spacing: -.02em; }
.question-help { margin: 10px 0 23px; color: var(--muted); font-size: 13px; }
.option-list { display: grid; gap: 10px; }
.option-list label { min-height: 62px; display: grid; grid-template-columns: 32px 1fr 16px; gap: 13px; align-items: center; padding: 12px 17px; border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.option-list label:hover { border-color: var(--gold); transform: translateX(3px); }
.option-list label:has(input:focus-visible) { outline: 3px solid rgba(165,139,60,.2); outline-offset: 2px; }
.option-list label:has(input:checked) { background: var(--cream); border-color: var(--gold); }
.option-list input { position: absolute; opacity: 0; pointer-events: none; }
.option-letter { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--cream); font-size: 11px; font-weight: 700; }
.option-list label:has(input:checked) .option-letter { background: var(--ink); color: var(--white); }
.option-list label > span:nth-child(3) { font-size: 13px; line-height: 1.45; }
.option-list i { font-style: normal; color: var(--ink); }
.quiz-controls { min-height: 26px; display: flex; justify-content: space-between; align-items: center; margin-top: 24px; }
.back-button, .restart-button { background: none; border: 0; color: var(--ink); font-size: 12px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.back-button:disabled { opacity: 0; pointer-events: none; }
.quiz-hint { color: #8a9898; font-size: 11px; }
.quiz-result { display: none; text-align: center; padding-top: 33px; animation: stepIn .4s ease both; }
.quiz-result.active { display: block; }
.result-badge { display: inline-flex; padding: 8px 13px; border-radius: 100px; background: var(--teal-light); color: var(--ink); text-transform: uppercase; letter-spacing: .11em; font-size: 9px; font-weight: 700; }
.quiz-result h3 { margin: 20px auto 12px; max-width: 520px; font: 600 36px/1.08 var(--font-display); letter-spacing: -.02em; }
.quiz-result > p { max-width: 540px; margin: 0 auto; color: var(--muted); font-size: 13px; line-height: 1.65; }
.recommendations { display: grid; gap: 8px; margin: 25px 0; text-align: left; }
.recommendation-item { display: flex; gap: 13px; align-items: center; padding: 12px 15px; background: var(--cream); color: var(--graphite); font-size: 12px; border-left: 2px solid var(--gold); }
.recommendation-item span { width: 24px; height: 24px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--white); font-size: 10px; font-weight: 700; }
.button-whatsapp { width: 100%; background: var(--ink); color: var(--white); border-bottom: 3px solid var(--gold); }
.button-whatsapp svg { width: 18px; fill: currentColor; }
.restart-button { margin-top: 18px; }

footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 34px 0 22px; border-top: 1px solid rgba(165,139,60,.5); }
.footer-inner { display: grid; grid-template-columns: 252px minmax(0, 1fr); align-items: center; gap: 48px; }
.brand-footer { color: var(--white); }
.footer-contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.footer-contact-item { min-width: 0; display: flex; align-items: center; gap: 11px; padding: 13px 14px; border: 1px solid rgba(255,255,255,.13); background: rgba(255,255,255,.035); color: var(--white); text-decoration: none; transition: border-color .25s ease, background .25s ease, transform .25s ease; }
.footer-contact-item:hover { border-color: rgba(165,139,60,.8); background: rgba(255,255,255,.07); transform: translateY(-2px); }
.footer-contact-icon { width: 34px; height: 34px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(165,139,60,.65); color: #d9c27d; }
.footer-contact-icon svg { width: 17px; height: 17px; }
.footer-contact-copy { min-width: 0; display: grid; gap: 3px; }
.footer-contact-label { color: #d9c27d; font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.footer-contact-value { font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.footer-bottom { margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom p { font-size: 11px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .section { padding: 84px 0; }
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy { max-width: 740px; }
  .profile-card { max-width: 600px; display: grid; grid-template-columns: .8fr 1.2fr; }
  .profile-visual { height: 300px; min-height: 0; }
  .profile-content { display: flex; flex-direction: column; justify-content: center; }
  .methodology-heading { grid-template-columns: 1fr; gap: 28px; }
  .methodology-summary { max-width: 760px; }
  .methodology-pillar { grid-template-columns: 1fr; }
  .pillar-heading { padding: 32px 34px; border-right: 0; border-bottom: 1px solid var(--line); }
  .featured .pillar-heading { border-color: rgba(255,255,255,.14); }
  .pillar-body { padding: 34px; }
  .diagnostic-layout { grid-template-columns: 1fr; gap: 46px; }
  .diagnostic-copy { position: static; max-width: 680px; }
  .footer-inner { grid-template-columns: 1fr; align-items: start; gap: 26px; }
  .footer-contact { width: 100%; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 30px, 620px); }
  .section { padding: 66px 0; }
  .header-inner { min-height: 70px; gap: 12px; }
  .site-header nav a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 8px 10px; font-size: 10px; }
  .brand-crop-header, .brand-crop-footer { width: 162px; height: 47px; }
  .brand-crop-header img, .brand-crop-footer img { width: 280px; left: -59px; top: -117px; }
  .brand-crop-footer { width: 174px; }
  .brand-crop-footer img { left: -53px; }
  .hero { padding-top: 76px; }
  .hero h1 { font-size: clamp(40px, 12vw, 58px); }
  .hero-lead { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 20px; }
  .button-primary { width: 100%; }
  .text-link { text-align: center; }
  .profile-card { display: block; }
  .profile-visual { height: 310px; min-height: 0; }
  .profile-content { padding: 27px 25px; }
  .methodology-heading h2, .diagnostic-copy h2 { font-size: 34px; }
  .methodology-summary { padding: 20px 0 0; border-left: 0; border-top: 2px solid var(--gold); }
  .methodology-summary > p { font-size: 15px; }
  .methodology-pillars { gap: 18px; margin-top: 42px; }
  .pillar-heading { gap: 16px; padding: 26px 22px 24px 26px; }
  .pillar-letter { width: 48px; height: 48px; font-size: 17px; }
  .pillar-heading h3 { font-size: 27px; }
  .pillar-body { padding: 25px 20px 26px; }
  .pillar-intro { font-size: 15px; }
  .quiz-shell { min-height: 640px; padding: 31px 20px; }
  .forms-heading { min-height: 0; align-items: flex-start; flex-direction: column; gap: 5px; padding: 17px 18px; }
  .forms-heading span { font-size: 25px; }
  .forms-frame { height: 1250px; }
  .forms-fallback { padding: 16px 18px 20px; }
  .quiz-step { margin-top: 34px; }
  .quiz-step legend { font-size: 22px; }
  .option-list label { grid-template-columns: 30px 1fr 12px; padding: 12px; }
  .quiz-hint { max-width: 130px; text-align: right; }
  .quiz-result h3 { font-size: 25px; }
  .footer-contact { width: 100%; grid-template-columns: 1fr; gap: 9px; }
  .footer-contact-item { padding: 13px 15px; }
}

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