/* =============================================================
   Asesores Asociados — pbv3
   Sin frameworks: CSS propio, fuentes autoalojadas.
   ============================================================= */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-latin-full-italic.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0E1B2C;
  --ink-2: #1F3A5F;
  --paper: #F6F2EA;
  --paper-2: #EDE6D8;
  --card: #FFFDF8;
  --line: rgba(14, 27, 44, .14);
  --muted: #55606E;
  --accent: #C4532F;
  --accent-ink: #A8421F;
  --accent-soft: #F4DED3;
  --sage: #6E8B67;
  --on-dark: #F6F2EA;
  --on-dark-muted: rgba(246, 242, 234, .66);
  --line-dark: rgba(246, 242, 234, .16);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 16px; }

/* ---------- tipografía ---------- */
h2, .hero__title, .contact__title, .footer__big {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 50, "opsz" 144;
  letter-spacing: -.02em;
  line-height: 1.02;
}
h2 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); }
h2 em, .hero__title em, .footer__big em { color: var(--accent); font-variation-settings: "SOFT" 100, "opsz" 144, "WONK" 1; }
h3 { font-family: var(--serif); font-variation-settings: "SOFT" 50, "opsz" 48; font-size: 1.6rem; line-height: 1.15; letter-spacing: -.01em; }

.eyebrow, .kicker {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker { margin-bottom: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 0 rgba(110, 139, 103, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(110, 139, 103, 0); } 100% { box-shadow: 0 0 0 0 rgba(110, 139, 103, 0); } }

/* ---------- botones ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: .92rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 10px 30px -10px rgba(196, 83, 47, .7); }
.btn--accent:hover { background: var(--accent-ink); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--ink-2); }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--card); }
.btn--ghost:hover svg { transform: none; }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }

.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link:hover svg { transform: translateX(4px); }

/* ---------- navegación ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background-color .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.is-scrolled { background: rgba(246, 242, 234, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink-2); }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__name { font-family: var(--sans); font-weight: 700; font-size: .78rem; line-height: 1.1; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.nav__links { display: flex; gap: 30px; }
.nav__links a { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--muted); position: relative; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__cta { display: flex; align-items: center; gap: 18px; }
.nav__tel { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: .95rem; font-variant-numeric: tabular-nums; }
.nav__tel svg { width: 18px; height: 18px; color: var(--accent); }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--ink); transition: transform .35s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }

.menu { position: fixed; inset: 76px 0 0; background: var(--paper); padding: 24px var(--gutter) 40px; display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-family: var(--serif); font-size: 2rem; text-decoration: none; padding: 12px 0; border-bottom: 1px solid var(--line); }
.menu__foot { display: flex; gap: 20px; flex-wrap: wrap; padding-top: 24px; }
.menu__foot a { font-weight: 600; font-size: 1.1rem; }

/* ---------- hero ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(48px, 7vw, 96px); position: relative; }
.hero__grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero__title { font-size: clamp(3rem, 7.4vw, 6.6rem); margin: 22px 0 26px; font-weight: 380; }
.hero__lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--muted); max-width: 36em; }
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 44px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; border-top: 1px solid var(--line); padding-top: 22px; }
.hero__facts li { display: flex; flex-direction: column; padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line); }
.hero__facts li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero__facts b { font-weight: 600; font-size: .98rem; }
.hero__facts span { font-size: .86rem; color: var(--muted); }

.hero__visual { position: relative; padding: 0 0 40px 30px; }
.arch { aspect-ratio: 4 / 5; border-radius: 999px 999px 26px 26px; overflow: hidden; background: var(--paper-2); box-shadow: 0 40px 80px -40px rgba(14, 27, 44, .45); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 38% center; transform: scale(1.06); transition: transform 1.6s var(--ease); }
.hero__visual.is-in .arch img { transform: scale(1); }
.seal { position: absolute; top: 4%; left: -6px; width: clamp(104px, 11vw, 140px); color: var(--ink-2); background: var(--paper); border-radius: 50%; padding: 6px; box-shadow: 0 10px 30px -12px rgba(14, 27, 44, .4); }
.seal text { font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 3.2px; fill: var(--ink-2); }
.seal text, .seal textPath { transform-origin: 100px 100px; }
.seal text { animation: spin 26s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.ticket {
  position: absolute; right: -10px; bottom: 0;
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "label label" "date count" "what count";
  column-gap: 22px; row-gap: 2px;
  width: min(330px, 92%); padding: 18px 22px;
  background: var(--card); border-radius: 18px; text-decoration: none;
  box-shadow: 0 30px 60px -24px rgba(14, 27, 44, .45), 0 0 0 1px var(--line);
  transition: transform .4s var(--ease);
}
.ticket:hover { transform: translateY(-4px) rotate(-.5deg); }
.ticket::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--accent); }
.ticket__label { grid-area: label; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--accent); margin-bottom: 6px; }
.ticket__date { grid-area: date; font-family: var(--serif); font-size: 1.45rem; line-height: 1.1; }
.ticket__what { grid-area: what; font-size: .84rem; color: var(--muted); line-height: 1.35; }
.ticket__count { grid-area: count; align-self: center; text-align: center; display: flex; flex-direction: column; line-height: 1; padding-left: 18px; border-left: 1px dashed var(--line); }
.ticket__count b { font-family: var(--serif); font-size: 2.6rem; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
.ticket__count span { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-top: 4px; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--card); padding: 18px 0; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-style: italic; font-variation-settings: "SOFT" 100, "opsz" 72; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--accent); font-size: 1.1rem; }
@keyframes marquee { to { transform: translateX(calc(-50% - 18px)); } }

/* ---------- secciones ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark .kicker { color: var(--on-dark-muted); }
.section--dark h2 em { color: #F08A63; }
.section--paper2 { background: var(--paper-2); }
.head { max-width: 860px; margin-bottom: clamp(40px, 6vw, 72px); }
.head__lead { margin-top: 22px; font-size: 1.12rem; color: var(--muted); max-width: 40em; }
.head--split { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: end; }
.head--split .head__lead { margin: 0; }

/* ---------- servicios ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.service {
  position: relative; padding: 34px 30px 38px 0; border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
}
.service:not(:nth-child(3n+1)) { padding-left: 30px; border-left: 1px solid var(--line); }
.service::before { content: ""; position: absolute; inset: 0; background: var(--card); opacity: 0; transition: opacity .4s; z-index: -1; }
.service:hover::before { opacity: 1; }
.service__n { font-family: var(--serif); font-size: .95rem; color: var(--accent); font-variant-numeric: tabular-nums; }
.service h3 { transition: transform .4s var(--ease); }
.service:hover h3 { transform: translateX(6px); }
.service p { color: var(--muted); font-size: .98rem; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.tags li { font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }

/* ---------- calendario ---------- */
.cal { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.cal__intro { position: sticky; top: 110px; }
.cal__intro > p:not(.kicker):not(.cal__note) { margin-top: 22px; color: var(--on-dark-muted); font-size: 1.08rem; }
.cal__note { margin-top: 18px; font-size: .82rem; color: var(--on-dark-muted); max-width: 32em; }
.seg { display: inline-flex; margin-top: 30px; padding: 5px; border-radius: 999px; background: rgba(246, 242, 234, .08); border: 1px solid var(--line-dark); }
.seg button { border: 0; background: transparent; color: var(--on-dark-muted); padding: 10px 20px; border-radius: 999px; font-weight: 600; font-size: .92rem; transition: background-color .3s, color .3s; }
.seg button[aria-selected="true"] { background: var(--paper); color: var(--ink); }
.seg button:hover:not([aria-selected="true"]) { color: var(--on-dark); }

.deadlines { display: flex; flex-direction: column; }
.dl {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 22px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--line-dark);
  animation: dlIn .6s var(--ease) both;
}
.dl:first-child { border-top: 1px solid var(--line-dark); }
@keyframes dlIn { from { opacity: 0; transform: translateY(10px); } }
.dl__date { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 16px; border: 1px solid var(--line-dark); line-height: 1; }
.dl__day { font-family: var(--serif); font-size: 2rem; font-weight: 500; }
.dl__mon { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 4px; }
.dl--next .dl__date { background: var(--accent); border-color: var(--accent); }
.dl--next .dl__mon { color: rgba(255, 255, 255, .85); }
.dl__models { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.dl__models span { font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 3px 9px; border-radius: 6px; background: rgba(246, 242, 234, .1); font-variant-numeric: tabular-nums; }
.dl__what { font-size: .98rem; line-height: 1.4; }
.dl__count { text-align: right; line-height: 1.05; white-space: nowrap; }
.dl__count b { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 500; font-variant-numeric: tabular-nums; }
.dl__count span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.dl__bar { grid-column: 2 / -1; height: 3px; border-radius: 3px; background: rgba(246, 242, 234, .1); overflow: hidden; margin-top: -8px; }
.dl__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--sage), #F08A63); border-radius: inherit; transform-origin: left; animation: grow 1.2s var(--ease) both .2s; }
@keyframes grow { from { transform: scaleX(0); } }

/* ---------- perfiles ---------- */
.profiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.profile {
  display: flex; flex-direction: column; gap: 18px;
  padding: 34px 30px; border-radius: var(--radius); background: var(--card);
  box-shadow: 0 0 0 1px var(--line);
  transition: transform .45s var(--ease), box-shadow .45s;
}
.profile:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(14, 27, 44, .35); }
.profile__tag { align-self: flex-start; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); }
.profile ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.profile li { position: relative; padding-left: 24px; color: var(--muted); font-size: .97rem; }
.profile li::before { content: ""; position: absolute; left: 0; top: .62em; width: 12px; height: 1.5px; background: var(--accent); }
.profile .link { margin-top: auto; align-self: flex-start; }
.profile--feature { background: var(--ink-2); color: var(--on-dark); box-shadow: none; }
.profile--feature li { color: var(--on-dark-muted); }
.profile--feature li::before { background: #F08A63; }
.profile--feature .profile__tag { background: rgba(246, 242, 234, .12); color: var(--on-dark); }

/* ---------- método ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; position: relative; }
.step { padding: 0 28px 0 0; position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step__n { display: block; font-family: var(--serif); font-size: clamp(3.6rem, 6vw, 5.2rem); line-height: 1; color: var(--accent); font-variation-settings: "SOFT" 100, "opsz" 144; font-weight: 300; margin-bottom: 18px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .97rem; }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(48px, 7vw, 80px); padding-top: 32px; border-top: 1px solid var(--line); }
.trust div { display: flex; flex-direction: column; }
.trust b { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; }
.trust span { color: var(--muted); font-size: .92rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq .head { position: sticky; top: 110px; margin-bottom: 0; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.3;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat;
  transition: transform .35s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--accent-soft); }
.faq summary:hover { color: var(--accent-ink); }
.faq details p { padding: 0 60px 26px 0; color: var(--muted); }

/* ---------- contacto ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.contact__title { font-size: clamp(4rem, 10vw, 8.5rem); margin-bottom: 24px; font-weight: 340; font-style: italic; font-variation-settings: "SOFT" 100, "opsz" 144, "WONK" 1; }
.contact__info > p:not(.kicker) { color: var(--on-dark-muted); font-size: 1.08rem; max-width: 30em; }
.contact__list { margin: 34px 0; display: flex; flex-direction: column; gap: 20px; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; }
.contact__list svg { width: 22px; height: 22px; color: #F08A63; margin-top: 4px; flex: none; }
.contact__list div { display: flex; flex-direction: column; }
.contact__list a { font-family: var(--serif); font-size: 1.6rem; text-decoration: none; line-height: 1.3; font-variant-numeric: tabular-nums; }
.contact__list a:hover { color: #F08A63; }
.contact__list span { font-size: 1.05rem; }

.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-dark); aspect-ratio: 16 / 9; position: relative; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.3) contrast(1.05); }
.map__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 20px; text-align: center; background: #13253B; color: var(--on-dark); }
.map__grid { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--on-dark); }
.map__pin { position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(196, 83, 47, .25); }
.map__pin svg { width: 22px; height: 22px; color: #fff; }
.map .btn, .map__hint { position: relative; }
.map__hint { font-size: .78rem; color: var(--on-dark-muted); max-width: 34em; }
.map__hint a { color: var(--on-dark); }

.form { background: var(--card); color: var(--ink); border-radius: 28px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 18px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); padding: 0; }
.opt { font-weight: 400; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink-2); background: #fff; box-shadow: 0 0 0 4px rgba(31, 58, 95, .1); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--accent); }
.field legend { margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-block; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: .9rem; font-weight: 500; transition: all .2s; }
.chips input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chips label:hover span { border-color: var(--ink); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.check a { color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { min-height: 1.4em; font-size: .92rem; font-weight: 500; }
.form__note.is-ok { color: #3F6B3A; }
.form__note.is-err { color: var(--accent-ink); }
.btn[disabled] { opacity: .65; pointer-events: none; }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--on-dark); padding: 40px 0 32px; border-top: 1px solid var(--line-dark); overflow: hidden; }
.footer__big { font-size: clamp(3rem, 12.5vw, 11rem); white-space: nowrap; line-height: .95; letter-spacing: -.04em; color: rgba(246, 242, 234, .92); margin-bottom: 48px; }
.footer__big em { color: #F08A63; }
.footer__row { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer__brand { display: flex; gap: 16px; align-items: center; max-width: 340px; color: var(--on-dark-muted); font-size: .95rem; }
.footer__brand .brand__mark { color: var(--on-dark); width: 52px; height: 52px; }
.footer__cols { display: flex; gap: clamp(32px, 6vw, 80px); flex-wrap: wrap; }
.footer__h { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 10px; font-weight: 600; }
.footer__cols p:not(.footer__h) { line-height: 1.8; }
.footer a { text-decoration: none; }
.footer a:hover { color: #F08A63; }
.footer__copy { padding-top: 24px; font-size: .82rem; color: var(--on-dark-muted); }

/* ---------- animación de entrada ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .burger { display: inline-block; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .services { grid-template-columns: 1fr 1fr; }
  .service:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .service:nth-child(even) { padding-left: 30px; border-left: 1px solid var(--line); }
  .cal, .faq, .contact__grid { grid-template-columns: 1fr; }
  .cal__intro, .faq .head { position: static; }
  .profiles { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .head--split { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .nav__tel { display: none; }
  .hero__facts { grid-template-columns: 1fr; gap: 14px; }
  .hero__facts li { border-right: 0; margin-right: 0; padding-right: 0; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__visual { padding-left: 0; padding-bottom: 72px; }
  .ticket { right: 0; left: 0; margin-inline: auto; width: calc(100% - 24px); }
  .seal { left: auto; right: -4px; top: -10px; }
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(even) { padding: 28px 0; border-left: 0; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 0 0 28px; border-left: 0; border-bottom: 1px solid var(--line); }
  .trust { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; }
  .dl { grid-template-columns: 64px 1fr; gap: 16px; }
  .dl__day { font-size: 1.6rem; }
  .dl__count { grid-column: 2; text-align: left; display: flex; align-items: baseline; gap: 8px; }
  .dl__count b { display: inline; font-size: 1.4rem; }
  .dl__bar { grid-column: 1 / -1; margin-top: 0; }
  .seg { display: flex; }
  .seg button { flex: 1; padding: 10px 8px; }
  .faq details p { padding-right: 0; }
  .footer__big { font-size: 13vw; }
  .marquee__track { animation-duration: 26s; }
}

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

/* ---------- páginas simples (legal, 404) ---------- */
.page { padding: clamp(40px, 8vw, 96px) 0 clamp(64px, 10vw, 120px); }
.page .wrap { max-width: 760px; }
.page h1 { font-family: var(--serif); font-variation-settings: "SOFT" 50, "opsz" 144; font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.05; letter-spacing: -.02em; margin: 14px 0 28px; }
.page h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.page p, .page li { color: var(--muted); margin-bottom: 12px; }
.page ul { list-style: disc; padding-left: 22px; }
.page a { color: var(--accent-ink); }
.todo { background: var(--accent-soft); color: var(--accent-ink); padding: 0 6px; border-radius: 4px; font-weight: 600; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound__n { font-family: var(--serif); font-style: italic; font-size: clamp(7rem, 24vw, 14rem); line-height: .9; color: var(--accent); font-variation-settings: "SOFT" 100, "opsz" 144, "WONK" 1; }
.notfound p { color: var(--muted); margin: 10px 0 30px; }
