/* Databe V1.2 — el móvil define la base; las pantallas amplias añaden columnas. */
:root {
  --paper: #f4f1e8;
  --ink: #183d35;
  --muted: #52625a;
  --line: #c9ccc0;
  --lime: #cfdb86;
  --peach: #e5b391;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
  --gutter: 22px;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 120px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 22px; line-height: 1.7; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2 { font-family: var(--serif); letter-spacing: -.04em; text-wrap: balance; }
h1 { font-size: clamp(36px, 10.2vw, 48px); line-height: 1.08; }
h1 em { font-weight: 400; }
.hero-opening, .hero-outcome { display: block; text-wrap: balance; }
h2 { font-size: clamp(31px, 8.4vw, 40px); line-height: 1.16; }
h3 { font: 400 28px/1.2 var(--serif); letter-spacing: -.025em; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 5px; }
::selection { background: var(--lime); color: var(--ink); }
.wrap { max-width: 1320px; padding-inline: var(--gutter); margin-inline: auto; }
.header {
  position: sticky; top: 0; z-index: 10;
  max-width: none; background: var(--paper); border-bottom: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 2px; padding-top: 10px; padding-bottom: 4px;
}
.brand { min-height: 40px; display: inline-flex; align-items: center; gap: 6px; font-size: 32px; font-weight: 700; letter-spacing: -2.3px; }
.brand span { font-size: 21px; letter-spacing: 0; margin: 0 0 6px 3px; }
nav { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 12px; }
nav a { display: inline-flex; align-items: center; min-height: 44px; }
nav a:hover, .hero-bottom a:hover, .footer>a:last-child:hover { text-decoration: underline; text-underline-offset: 5px; }
.nav-contact { display: flex; gap: 18px; font-weight: 700; }
.nav-contact span { font-size: 18px; }
.skip { position: fixed; top: -100px; left: 20px; padding: 14px; background: var(--ink); color: white; z-index: 20; }
.skip:focus { top: 12px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 32px; }
.eyebrow, .section-label { font-size: 10px; letter-spacing: .1em; font-weight: 700; line-height: 1.6; }
.hero .eyebrow { max-width: 300px; margin-bottom: 20px; }
.intro { margin-top: 24px; max-width: 535px; font-size: 16px; }
.intro p { margin-bottom: 24px; }
.button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 54px; gap: 30px; padding: 17px 20px; background: var(--ink); color: var(--paper); border: 1px solid var(--ink); font-size: 14px; transition: background .2s, color .2s; }
.button span { font-size: 22px; line-height: .8; }
.button:hover { background: var(--lime); color: var(--ink); }
.hero-art { width: 100%; max-width: 460px; margin: 0 auto; padding: 20px; background: var(--lime); }
.art-top { display: flex; justify-content: space-between; align-items: center; font-size: 10px; letter-spacing: .12em; font-weight: 700; }
.art-top>span:last-child { font-size: 21px; line-height: 1; }
.hero-art svg { display: block; width: 100%; height: 210px; margin: 6px 0 12px; }
.hero-art figcaption { display: flex; justify-content: space-between; gap: 18px; font-size: 11px; line-height: 1.5; }
.hero-art figcaption>span:first-child { max-width: 125px; }
.art-caption { max-width: 155px; font-size: 12px; }
.hero-bottom { display: flex; justify-content: space-between; align-items: center; gap: 18px; border-top: 1px solid var(--line); padding: 10px 0; font-size: 11px; line-height: 1.6; }
.hero-bottom>span { max-width: 220px; }
.hero-bottom a { min-height: 44px; display: inline-flex; align-items: center; white-space: nowrap; }
.hero-bottom a span { margin-left: 12px; }
.section { padding-top: 52px; padding-bottom: 52px; }
.section-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.section-label>span:last-child { font-size: 22px; font-weight: 400; }
.story-grid, .business-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; }
.prose { font-size: 16px; max-width: 550px; }
.prose p:last-child { margin-bottom: 0; }
.margin-note { display: flex; gap: 14px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.65; }
.margin-note>span { font-size: 25px; color: var(--ink); }
.business { background: var(--ink); color: var(--paper); }
.business .section-label { color: var(--lime); }
.business-bottom { display: flex; align-items: center; gap: 16px; margin-top: 32px; font: 24px/1.2 var(--serif); }
.connecting-line { height: 1px; background: #728579; flex: 1; position: relative; }
.connecting-line:before, .connecting-line:after { content: ''; position: absolute; top: -3px; width: 7px; height: 7px; background: var(--lime); border-radius: 50%; }
.connecting-line:after { right: 0; }
.method h2 { max-width: 710px; margin-bottom: 30px; }
.method-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 25px 0; border-top: 1px solid var(--line); }
.method-row:last-child { border-bottom: 1px solid var(--line); }
.step-name { display: flex; align-items: baseline; gap: 16px; }
.step-number { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; font-size: 10px; color: var(--muted); }
.method-row p { margin: 0; max-width: 550px; font-size: 16px; }
.diagnosis-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 27px 22px; background: #e7e5db; border: 1px solid var(--line); }
.diagnosis .eyebrow { margin-bottom: 18px; }
.diagnosis h2 { font-size: clamp(30px, 8vw, 38px); }
.diagnosis-mark { display: none; }
.contact { max-width: 940px; padding-top: 62px; padding-bottom: 60px; }
.contact .eyebrow { margin-bottom: 20px; }
.contact h2 { max-width: 720px; margin-bottom: 24px; font-size: clamp(34px, 9vw, 44px); }
.contact-copy { max-width: 650px; font-size: 16px; }
.contact .button { margin-top: 24px; }
.contact-email { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; text-decoration: underline; text-underline-offset: 4px; }
.contact-status { padding: 20px 0 0; margin-top: 26px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.8; }
.contact-status>span:last-child { color: var(--muted); font-size: 12px; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: var(--ink); border-radius: 50%; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; border-top: 1px solid var(--line); padding-top: 22px; padding-bottom: 24px; }
.footer .brand { font-size: 30px; }
.footer p { margin: 0; font-size: 11px; line-height: 1.6; }
.footer>a:last-child { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; padding-top: 8px; border-top: 1px solid var(--line); font-size: 12px; }
@media (min-width: 480px) {
  :root { --gutter: 30px; }
  .header { flex-wrap: nowrap; gap: 24px; padding-top: 14px; padding-bottom: 14px; }
  nav { width: auto; gap: 24px; font-size: 13px; }
  html { scroll-padding-top: 100px; }
  .hero { padding-top: 40px; }
  .hero-copy { max-width: 640px; }
  h1 { font-size: clamp(46px, 7.5vw, 59px); }
  .button { display: inline-flex; width: auto; min-width: 240px; }
  .hero-art { transform: rotate(1deg); padding: 25px; }
  .hero-art svg { height: 300px; }
  .intro, .prose, .method-row p, .contact-copy { font-size: 16px; }
  .section { padding-top: 65px; padding-bottom: 65px; }
  .contact { text-align: center; }
  .contact h2, .contact-copy { margin-inline: auto; }
  .contact-status { width: fit-content; margin-inline: auto; }
}
@media (min-width: 900px) {
  :root { --gutter: 40px; }
  .header { padding-inline: max(var(--gutter), calc((100vw - 1208px)/2)); }
  .brand { font-size: 39px; letter-spacing: -2.8px; }
  .brand span { font-size: 24px; }
  nav { gap: 32px; font-size: 14px; }
  .nav-contact { min-width: 96px; border-bottom: 1px solid var(--ink); font-weight: 400; justify-content: space-between; }
  .hero { grid-template-columns: 1.38fr 1fr; gap: 48px; padding-top: 65px; }
  .hero-copy { max-width: none; }
  .hero .eyebrow { max-width: 330px; margin-bottom: 28px; }
  .eyebrow, .section-label { font-size: 11px; }
  h1 { font-size: clamp(52px, 4.4vw, 64px); line-height: 1.04; max-width: 710px; }
  h2 { font-size: clamp(40px, 3.8vw, 53px); line-height: 1.12; }
  .intro { margin-top: 30px; }
  .hero-art { align-self: center; margin-top: 10px; transform: rotate(2deg); }
  .hero-art svg { height: auto; margin: 4px 0; }
  .hero-art figcaption { align-items: end; }
  .art-caption { font-size: 13px; }
  .hero-bottom { grid-column: 1/-1; margin-top: 26px; padding: 16px 0; font-size: 12px; }
  .hero-bottom>span { max-width: none; }
  .section { padding-top: 95px; padding-bottom: 95px; }
  .section-label { margin-bottom: 50px; }
  .story-grid, .business-grid, .method-row { grid-template-columns: 1fr 1fr; gap: 70px; }
  .margin-note { margin-top: 55px; padding-top: 25px; font-size: 14px; }
  .business-grid h2 { max-width: 550px; }
  .business-bottom { margin-top: 64px; gap: 25px; font-size: 30px; }
  .method h2 { margin-bottom: 52px; }
  .method-row { padding: 29px 0; }
  .step-name { gap: 24px; }
  h3 { font-size: 30px; }
  .diagnosis-inner { grid-template-columns: 1fr 1fr; gap: 70px; padding: 50px; }
  .diagnosis h2 { font-size: 44px; }
  .diagnosis .prose { padding-top: 40px; }
  .diagnosis-mark { display: block; margin-top: 30px; font-size: 70px; line-height: 1; }
  .contact { padding-top: 110px; padding-bottom: 100px; }
  .contact h2 { font-size: clamp(50px, 5vw, 67px); }
  .contact-copy { font-size: 17px; }
  .contact-status { font-size: 14px; }
  .footer { flex-wrap: nowrap; padding-top: 30px; padding-bottom: 35px; gap: 24px; }
  .footer .brand { font-size: 34px; }
  .footer p { font-size: 12px; }
  .footer>a:last-child { width: auto; border: 0; padding: 0; gap: 24px; }
}
@media (min-width: 1200px) { :root { --gutter: 56px; } .story-grid, .business-grid, .method-row { gap: 95px; } }
@media (prefers-reduced-motion: reduce) { .button { transition: none; } }

.legal-links { display: flex; flex-wrap: wrap; gap: 12px 30px; padding-block: 12px 24px; border-top: 1px solid var(--line); font-size: 13px; }
.legal-links a, .legal-back { display: inline-flex; align-items: center; min-height: 44px; }
.legal-back { gap: 14px; font-size: 13px; }
.legal-page { max-width: 850px; padding-block: 56px 70px; }
.legal-page h1 { margin-bottom: 30px; }
.legal-page h2 { font: 400 28px/1.2 var(--serif); margin-block: 38px 18px; }
.legal-page p, .legal-page dd { font-size: 16px; line-height: 1.7; }
.legal-page a:not(.button) { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.legal-page dt { margin-top: 16px; font-size: 13px; color: var(--muted); }
.legal-page dd { margin: 4px 0 0; overflow-wrap: anywhere; }
.draft-notice { border: 1px solid var(--line); padding: 20px; background: var(--lime); line-height: 1.6; }
