@import "tailwindcss";

:root {
  --ink: #10224f;
  --ink-deep: #091632;
  --gold: #bd9b63;
  --gold-light: #dfcba7;
  --cream: #f5f1e9;
  --paper: #fbfaf7;
  --burgundy: #772e42;
  --muted: #647086;
  --line: rgba(16, 34, 79, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
svg { width: 1.2em; height: 1.2em; flex: 0 0 auto; }

.site-header {
  height: 84px;
  padding: 0 clamp(22px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  color: white;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.brand, .footer-brand { display: flex; align-items: center; gap: 12px; }
.brand-logo {
  display: block;
  width: clamp(132px, 14vw, 170px);
  height: auto;
  padding: 4px 7px;
  background: var(--paper);
}
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid currentColor;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  letter-spacing: -.07em;
}
.brand-copy { display: flex; flex-direction: column; }
.brand-copy strong { font-family: Georgia, "Times New Roman", serif; font-size: 17px; letter-spacing: .04em; }
.brand-copy small { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; opacity: .68; margin-top: 3px; }
.site-header nav { display: flex; gap: 32px; margin-left: auto; }
.site-header nav a { font-size: 13px; opacity: .76; transition: opacity .2s; }
.site-header nav a:hover { opacity: 1; }
.header-cta { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--ink-deep); background: var(--gold-light); padding: 12px 17px; }

.hero {
  min-height: 780px;
  color: white;
  background:
    radial-gradient(circle at 72% 18%, rgba(189,155,99,.20), transparent 30%),
    linear-gradient(122deg, var(--ink-deep), #122b64 58%, #182d59);
  position: relative;
  overflow: hidden;
  padding-top: 84px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to right, black, transparent 82%);
}
.hero-grid {
  max-width: 1250px;
  margin: 0 auto;
  padding: 76px clamp(22px, 5vw, 76px) 54px;
  display: grid;
  grid-template-columns: 1.12fr .78fr;
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.eyebrow { text-transform: uppercase; letter-spacing: .19em; font-size: 11px; font-weight: 700; display: flex; align-items: center; gap: 10px; color: var(--gold-light); }
.eyebrow span { width: 30px; height: 1px; background: currentColor; }
.hero h1, .section-heading h2, .decision-grid h2, .calculator-copy h2, .method-heading h2, .about-copy h2, .faq-heading h2, .triage-copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.035em;
}
.hero h1 { font-size: clamp(48px, 6vw, 80px); line-height: .99; max-width: 790px; margin: 24px 0 26px; }
.hero h1 em { color: var(--gold-light); font-weight: 400; }
.hero-lead { max-width: 650px; font-size: clamp(17px, 2vw, 20px); line-height: 1.65; color: rgba(255,255,255,.72); }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; gap: 11px; padding: 17px 22px; font-size: 14px; font-weight: 700; }
.button-primary { color: var(--ink-deep); background: var(--gold-light); box-shadow: 0 14px 36px rgba(0,0,0,.2); }
.text-link { border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 5px; font-size: 14px; }
.hero-note { font-size: 11px; text-transform: uppercase; letter-spacing: .11em; color: rgba(255,255,255,.45); margin-top: 26px; }
.hero-visual { position: relative; width: 100%; max-width: 430px; justify-self: end; }
.portrait-frame { position: relative; height: 530px; overflow: hidden; background: #d3d0ca; border: 1px solid rgba(255,255,255,.2); }
.portrait { object-fit: cover; object-position: center 23%; }
.portrait-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,14,35,.88), transparent 50%); }
.portrait-caption { position: absolute; left: 27px; bottom: 28px; display: flex; flex-direction: column; gap: 5px; }
.portrait-caption span { font-size: 10px; text-transform: uppercase; letter-spacing: .17em; color: var(--gold-light); }
.portrait-caption strong { font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 400; }
.experience-card { position: absolute; right: -38px; top: 36px; width: 164px; padding: 20px; color: var(--ink-deep); background: var(--gold-light); box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.experience-card strong { display: block; font: 52px/1 Georgia, serif; }
.experience-card span { font-size: 10px; line-height: 1.4; letter-spacing: .09em; text-transform: uppercase; }
.proof-bar {
  position: relative; z-index: 2;
  max-width: 1250px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.15);
  display: grid; grid-template-columns: repeat(3, 1fr);
  padding: 28px clamp(22px, 5vw, 76px) 30px;
}
.proof-bar > div { display: flex; flex-direction: column; padding: 0 28px; border-left: 1px solid rgba(255,255,255,.13); }
.proof-bar > div:first-child { padding-left: 0; border-left: 0; }
.proof-bar strong { font-family: Georgia, serif; font-size: 17px; font-weight: 400; color: var(--gold-light); }
.proof-bar span { margin-top: 6px; font-size: 11px; color: rgba(255,255,255,.55); }

.section-shell { max-width: 1250px; margin: 0 auto; padding-left: clamp(22px, 5vw, 76px); padding-right: clamp(22px, 5vw, 76px); }
.section-kicker { color: var(--burgundy); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; }
.decision-section { padding-top: 105px; padding-bottom: 105px; }
.decision-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: start; margin-top: 28px; }
.decision-grid h2 { margin: 0; font-size: clamp(36px, 4.2vw, 58px); line-height: 1.08; }
.decision-list { border-top: 1px solid var(--line); }
.decision-list > div { padding: 18px 4px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; font-size: 14px; }
.decision-list svg { color: var(--burgundy); }

.calculator-section { color: white; background: var(--burgundy); padding: 88px 0; }
.calculator-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; }
.eyebrow-light { color: var(--gold-light); }
.calculator-copy h2 { font-size: clamp(36px, 4vw, 54px); line-height: 1.08; margin: 19px 0 18px; }
.calculator-copy > p:not(.eyebrow) { color: rgba(255,255,255,.67); max-width: 720px; line-height: 1.65; }
.calc-inputs { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 14px; margin-top: 32px; }
.calc-inputs label, .triage-form label { display: flex; flex-direction: column; gap: 9px; font-size: 10px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; }
.calc-inputs input { width: 100%; background: rgba(255,255,255,.08); color: white; border: 1px solid rgba(255,255,255,.24); padding: 15px; outline: 0; }
.calc-inputs input:focus { border-color: var(--gold-light); }
.result-card { background: var(--paper); color: var(--ink); padding: 35px; box-shadow: 0 24px 60px rgba(55,12,25,.24); }
.result-card > span { font-size: 10px; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); }
.result-card > strong { display: block; font: clamp(38px, 4.5vw, 58px)/1 Georgia, serif; margin: 17px 0 22px; color: var(--burgundy); }
.result-rule { width: 100%; height: 1px; background: var(--line); }
.result-card p { color: var(--muted); font-size: 11px; line-height: 1.6; margin: 20px 0; }
.result-card a, .linkedin-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }

.services-section { padding-top: 110px; padding-bottom: 120px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 50px; }
.section-heading h2 { font-size: clamp(38px, 4.5vw, 58px); line-height: 1.05; max-width: 680px; margin: 18px 0 0; }
.section-heading > p { max-width: 380px; color: var(--muted); font-size: 14px; line-height: 1.65; }
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { grid-column: span 2; min-height: 310px; padding: 27px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; transition: background .25s, transform .25s; }
.service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 3; }
.service-card:hover { background: white; transform: translateY(-3px); }
.service-top { display: flex; justify-content: space-between; align-items: center; }
.service-top > span { color: var(--burgundy); font: 17px Georgia, serif; }
.service-top small { text-transform: uppercase; letter-spacing: .13em; font-size: 9px; color: var(--muted); }
.service-card h3 { font: 27px/1.1 Georgia, serif; margin: 50px 0 17px; max-width: 250px; }
.service-card p { color: var(--muted); font-size: 13px; line-height: 1.65; max-width: 330px; }
.service-card > a { position: absolute; bottom: 25px; right: 25px; width: 37px; height: 37px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--burgundy); }

.method-section { padding: 104px 0 116px; color: white; background: var(--ink-deep); }
.section-kicker-light { color: var(--gold-light); }
.method-heading { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; margin: 22px 0 65px; }
.method-heading h2 { font-size: clamp(38px, 5vw, 62px); line-height: 1.04; margin: 0; max-width: 720px; }
.method-heading p { color: rgba(255,255,255,.58); font-size: 14px; line-height: 1.7; margin: 0; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.17); }
.step { padding: 30px 25px 0; border-left: 1px solid rgba(255,255,255,.17); }
.step:first-child { padding-left: 0; border-left: 0; }
.step > span { color: var(--gold-light); font: 16px Georgia, serif; }
.step h3 { font: 23px Georgia, serif; margin: 34px 0 13px; }
.step p { color: rgba(255,255,255,.5); font-size: 12px; line-height: 1.6; }

.about-section { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(50px, 8vw, 110px); padding-top: 120px; padding-bottom: 120px; align-items: center; }
.about-photo { position: relative; min-height: 610px; overflow: hidden; background: #d8d4cc; }
.about-copy h2 { font-size: clamp(38px, 4.5vw, 58px); line-height: 1.06; margin: 22px 0 30px; }
.about-lead { font-size: 18px !important; color: var(--ink) !important; }
.about-copy p { color: var(--muted); line-height: 1.75; font-size: 14px; max-width: 690px; }
.about-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 28px 0; }
.about-tags span { border: 1px solid var(--line); padding: 9px 12px; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.linkedin-link { color: var(--burgundy); }

.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; padding-top: 90px; padding-bottom: 110px; border-top: 1px solid var(--line); }
.faq-heading h2 { font-size: clamp(36px, 4vw, 52px); line-height: 1.05; margin: 20px 0; }
.faq-list details { border-top: 1px solid var(--line); padding: 22px 3px; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; font: 19px Georgia, serif; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--burgundy); font-family: Arial, sans-serif; font-weight: 300; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 650px; color: var(--muted); font-size: 13px; line-height: 1.7; margin: 18px 0 2px; }

.triage-section { color: white; background: var(--burgundy); padding: 100px 0; }
.triage-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: center; }
.triage-copy h2 { font-size: clamp(40px, 5vw, 61px); line-height: 1.04; margin: 22px 0; }
.triage-copy > p:not(.eyebrow) { color: rgba(255,255,255,.64); line-height: 1.7; max-width: 530px; }
.contact-lines { display: flex; flex-direction: column; gap: 8px; margin-top: 28px; font-size: 13px; }
.triage-form { background: var(--paper); color: var(--ink); padding: 38px; }
.triage-form label { color: var(--muted); margin-bottom: 18px; }
.triage-form input, .triage-form select, .triage-form textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: var(--ink); padding: 11px 0; outline: 0; text-transform: none; letter-spacing: normal; font-weight: 400; }
.triage-form select { cursor: pointer; }
.triage-form textarea { resize: vertical; line-height: 1.5; }
.triage-form input:focus, .triage-form select:focus, .triage-form textarea:focus { border-color: var(--burgundy); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-guidance { align-self: center; color: var(--muted); font-size: 10px; line-height: 1.55; }
.triage-form button { width: 100%; border: 0; background: var(--ink-deep); color: white; padding: 17px 19px; display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; cursor: pointer; }
.triage-form small { display: block; text-align: center; color: var(--muted); margin-top: 13px; font-size: 10px; }

footer { background: #070f23; color: white; padding: 38px clamp(22px, 5vw, 76px); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 30px; }
.footer-brand strong { font: 17px Georgia, serif; font-weight: 400; }
footer > p { color: rgba(255,255,255,.5); text-align: center; font-size: 11px; }
.footer-links { display: flex; justify-content: flex-end; gap: 20px; color: rgba(255,255,255,.54); font-size: 11px; }

@media (max-width: 950px) {
  .site-header nav { display: none; }
  .hero-grid { grid-template-columns: 1fr .72fr; gap: 30px; }
  .hero h1 { font-size: 52px; }
  .portrait-frame { height: 460px; }
  .experience-card { right: -10px; }
  .decision-grid, .calculator-grid, .method-heading, .triage-grid { gap: 45px; }
  .service-card { grid-column: span 3; }
  .service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 3; }
}

@media (max-width: 760px) {
  .site-header { height: 72px; }
  .brand-copy small { display: none; }
  .header-cta { padding: 11px 13px; }
  .hero { padding-top: 72px; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 54px; }
  .hero h1 { font-size: clamp(44px, 13vw, 60px); }
  .hero-visual { max-width: 100%; }
  .portrait-frame { height: 480px; }
  .experience-card {
    position: relative;
    inset: auto;
    width: 100%;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: none;
  }
  .experience-card strong { font-size: 40px; }
  .proof-bar { grid-template-columns: 1fr; gap: 0; }
  .proof-bar > div { padding: 17px 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .proof-bar > div:first-child { border-top: 0; }
  .decision-section, .services-section, .about-section { padding-top: 80px; padding-bottom: 80px; }
  .decision-grid, .calculator-grid, .method-heading, .about-section, .faq-section, .triage-grid { grid-template-columns: 1fr; gap: 44px; }
  .calc-inputs { grid-template-columns: 1fr; }
  .section-heading { align-items: start; flex-direction: column; gap: 18px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 1; min-height: 285px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-left: 0; padding: 27px 20px 20px 0; border-top: 1px solid rgba(255,255,255,.11); }
  .about-photo { min-height: 520px; }
  .faq-section { gap: 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  footer { grid-template-columns: 1fr; text-align: left; }
  footer > p { text-align: left; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 430px) {
  .site-header { padding: 0 16px; gap: 10px; }
  .brand-mark { width: 37px; height: 37px; }
  .brand-copy strong { font-size: 14px; }
  .header-cta { font-size: 0; }
  .header-cta::before { content: "Diagnóstico"; font-size: 12px; }
  .hero-grid { padding-left: 18px; padding-right: 18px; }
  .portrait-frame { height: 430px; }
  .experience-card { width: 100%; }
  .experience-card strong { font-size: 44px; }
  .steps { grid-template-columns: 1fr; }
  .triage-form, .result-card { padding: 27px 22px; }
  .footer-links { flex-direction: column; gap: 8px; }
}

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