/* Taller Garrofé · demo de taller mecánico · sistema en design.md de ejemplos/taller */
:root {
  --ink: #141517;        /* carbón: bloques oscuros, texto principal */
  --ink-2: #1F2124;      /* grafito: tarjetas sobre oscuro */
  --ink-3: #2C2F33;
  --bg: #FFFFFF;
  --grey: #F1F1EF;       /* gris claro: secciones alternas */
  --line: #E1E1DE;
  --line-dark: #34373B;
  --text: #141517;
  --text-2: #464A50;     /* párrafos (8,9:1 sobre blanco) */
  --muted: #676C72;      /* notas (5,3:1) */
  --on-dark: #FFFFFF;
  --on-dark-2: #B9BDC2;  /* párrafos sobre carbón (9:1) */
  --orange: #FF6B1A;     /* naranja de marca: botón, detalles, texto sobre oscuro */
  --orange-hover: #FF8540;
  --orange-ink: #C2410C; /* naranja para texto sobre blanco (5,2:1) */
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gut: 20px;
  --cut: 44px;           /* alto del escalón en diagonal */
  --nav-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --bleed: max(var(--gut), calc((100vw - var(--wrap)) / 2)); /* distancia del contenedor al borde de la pantalla */
}
* , *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--font); font-stretch: 100%; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, h4, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr:focus { position: fixed; z-index: 100; left: 12px; top: 12px; width: auto; height: auto; clip: auto; background: #fff; padding: 10px 14px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }

/* ---------- Barra de desenvolupamentweb.com (design.md de la raíz) ---------- */
.dw-bar { background: #F0F2F4; color: #10213D; font: 500 14px/1.3 system-ui, sans-serif; border-bottom: 1px solid #E0E3E6; position: relative; z-index: 60; }
.dw-bar[hidden] { display: none; }
.dw-bar__in { display: flex; align-items: center; gap: 12px; justify-content: center; padding: 8px 44px 8px 16px; position: relative; flex-wrap: wrap; text-align: center; }
.dw-bar__btn { background: #303133; color: #fff; text-decoration: none; border-radius: 999px; padding: 7px 16px; font-weight: 600; white-space: nowrap; }
.dw-bar__btn:hover { background: #10213D; }
.dw-bar__close { position: absolute; right: 8px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border: 0; background: none; cursor: pointer; font-size: 20px; color: #50585C; border-radius: 50%; }
.dw-bar__close:hover { background: #E0E3E6; }
@media (max-width: 700px) { .dw-bar__txt-long { display: none; } .dw-bar { font-size: 13px; } .dw-bar__in { gap: 8px; } .dw-bar__btn { padding: 6px 12px; } }

/* ---------- Tipografía ---------- */
.h1, .h2, .h3, .h4, .scard__t, .pack__t, .member__n, .logo__name { font-family: var(--font); text-transform: uppercase; text-wrap: balance; }
.h1 { font-size: clamp(34px, 5vw, 72px); font-weight: 850; font-stretch: 112%; line-height: .98; letter-spacing: -.01em; }
.h1--page { font-size: clamp(38px, 4.8vw, 68px); }
.h2 { font-size: clamp(30px, 3.5vw, 50px); font-weight: 800; font-stretch: 110%; line-height: 1.02; letter-spacing: -.005em; }
.h3 { font-size: clamp(22px, 2vw, 26px); font-weight: 800; font-stretch: 108%; line-height: 1.1; }
.h4 { font-size: 17px; font-weight: 800; font-stretch: 108%; letter-spacing: .02em; line-height: 1.2; margin: 28px 0 10px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 14px; line-height: 1.3; }
.dark .eyebrow { color: var(--orange); }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--text-2); max-width: 56ch; }
.dark .lead { color: var(--on-dark-2); }
p + p { margin-top: 14px; }
.split__txt > p, .head-row__txt, .story__txt > p, .cta__txt > p, .prose > p, .faq-wrap > div > p { color: var(--text-2); }
.dark .story__txt > p, .dark .cta__txt > p { color: var(--on-dark-2); }

/* ---------- Botones ---------- */
.btns { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 24px; border: 2px solid transparent; border-radius: 2px;
  font: 700 14px/1.1 var(--font); font-stretch: 108%; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s; }
.btn svg { width: 18px; height: 18px; flex: none; transition: translate .2s var(--ease); }
.btn:hover svg:last-child { translate: 3px 0; }
.btn--main { background: var(--orange); color: var(--ink); }
.btn--main:hover { background: var(--orange-hover); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--ghost { border-color: rgb(255 255 255 / .85); color: #fff; background: transparent; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--sm { min-height: 42px; padding: 10px 16px; font-size: 13px; }
.btn--block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }

/* ---------- Cabecera ---------- */
/* El desenfoque va en ::before: un backdrop-filter en .nav la convertiría en el contenedor del menú móvil (position: fixed) */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); color: #fff; }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(20 21 23 / .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.nav.is-scrolled::before, .nav.is-open::before { border-color: var(--line-dark); }
.nav.is-open::before { background: var(--ink); }
.nav__in { height: 100%; display: flex; align-items: center; gap: 36px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; }
.logo__mark { width: 16px; height: 30px; background: var(--orange); transform: skewX(-18deg); flex: none; }
.logo__name { display: grid; gap: 5px; font-size: 25px; font-weight: 900; font-stretch: 125%; line-height: .9; letter-spacing: .01em; }
.logo__name small { font-size: 10.5px; font-weight: 600; font-stretch: 100%; letter-spacing: .14em; color: var(--on-dark-2); }
.nav__links { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.nav__links > a { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav__links > a:hover, .nav__links > a[aria-current="page"] { border-color: var(--orange); }
.nav__links-tel { display: none !important; }
.nav__right { display: flex; align-items: center; gap: 22px; }
.nav__tel { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; }
.nav__tel svg { width: 18px; color: var(--orange); }
.nav__cta { min-height: 44px; padding: 10px 18px; }
.nav__menu-btn { display: none; width: 46px; height: 46px; border: 0; background: var(--orange); cursor: pointer; position: relative; border-radius: 2px; }
.nav__menu-btn span, .nav__menu-btn span::before, .nav__menu-btn span::after { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); content: ""; transition: rotate .3s, translate .3s, background-color .3s; }
.nav__menu-btn span { top: 50%; margin-top: -1px; }
.nav__menu-btn span::before { left: 0; right: 0; translate: 0 -7px; }
.nav__menu-btn span::after { left: 0; right: 0; translate: 0 7px; }
.nav__menu-btn[aria-expanded="true"] span { background: transparent; }
.nav__menu-btn[aria-expanded="true"] span::before { translate: 0; rotate: 45deg; }
.nav__menu-btn[aria-expanded="true"] span::after { translate: 0; rotate: -45deg; }
@media (max-width: 1180px) { .nav__tel span { display: none; } .nav__links { gap: 22px; } .nav__in { gap: 24px; } }
@media (max-width: 960px) {
  .nav__in { justify-content: space-between; }
  .nav__menu-btn { display: block; }
  .nav__tel { display: none; }
  .nav__links {
    position: fixed; left: 0; right: 0; top: var(--nav-top, var(--nav-h)); bottom: 0; background: var(--ink); margin: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 40px; overflow-y: auto;
    opacity: 0; visibility: hidden; translate: 0 -8px; transition: opacity .3s, translate .3s var(--ease), visibility 0s .3s;
  }
  .nav__links > a { font-size: 24px; font-weight: 800; font-stretch: 110%; letter-spacing: .01em; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
  .nav__links > a[aria-current="page"] { color: var(--orange); border-color: var(--line-dark); }
  .nav__links-tel { display: flex !important; align-items: center; gap: 10px; font-size: 17px !important; color: var(--orange); }
  .nav__links-tel svg { width: 20px; }
  .nav__links.is-open { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .3s, translate .3s var(--ease); }
}
@media (max-width: 420px) {
  :root { --nav-h: 68px; }
  .logo__name { font-size: 21px; } .logo__name small { font-size: 9px; letter-spacing: .1em; } .logo__mark { width: 13px; height: 26px; }
  .nav__right { gap: 8px; } .nav__menu-btn { width: 44px; height: 44px; }
}

/* ---------- Marcador de imagen ---------- */
.ph { position: relative; overflow: hidden; background: linear-gradient(160deg, #2A2C30, #18191C); aspect-ratio: var(--ar, 4/3); }
.dev .ph.is-missing { background: repeating-linear-gradient(135deg, #2C2F33 0 14px, #24272A 14px 28px); }
.ph::after { display: none; }
.dev .ph.is-missing::after {
  display: block; content: attr(data-id) "\A" attr(data-file); white-space: pre; position: absolute; inset: auto 10px 10px 10px; text-align: center;
  font: 600 12px/1.4 var(--font); color: var(--ink); background: rgb(255 255 255 / .92); padding: 6px 8px; overflow: hidden; text-overflow: ellipsis; z-index: 3;
}
.dev .ph.is-missing::before { content: ""; position: absolute; left: 10px; top: 10px; width: 10px; height: 18px; background: var(--orange); transform: skewX(-18deg); }
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* ---------- Secciones, cortes en diagonal y palabra vertical ---------- */
.section { padding: 120px 0; position: relative; }
.section--tight { padding-top: 40px; }
.section--grey { background: var(--grey); }
.section--flush { padding: 0; }
.dark { background: var(--ink); color: var(--on-dark); }
/* Escalón con diagonal en el borde (observado en la referencia) */
.cut-b { clip-path: polygon(0 0, 100% 0, 100% 100%, 46% 100%, calc(46% - 14px) calc(100% - var(--cut)), 0 calc(100% - var(--cut))); padding-bottom: calc(var(--pb, 120px) + var(--cut)); }
.cut-t { clip-path: polygon(0 0, 50% 0, calc(50% - 14px) var(--cut), 100% var(--cut), 100% 100%, 0 100%); padding-top: calc(var(--pt, 120px) + var(--cut)); }
.cut-t.cut-b { clip-path: polygon(0 0, 50% 0, calc(50% - 14px) var(--cut), 100% var(--cut), 100% 100%, 46% 100%, calc(46% - 14px) calc(100% - var(--cut)), 0 calc(100% - var(--cut))); }
.cut-t-light { clip-path: polygon(0 0, 50% 0, calc(50% - 14px) var(--cut), 100% var(--cut), 100% 100%, 0 100%); padding-top: calc(120px + var(--cut)); }
.cut-t-light + .section, .cut-b + .section { margin-top: 0; }
.has-ghost { overflow: clip; position: relative; }
.ghost { position: absolute; right: -14px; top: 90px; writing-mode: vertical-rl; font: 900 150px/1 var(--font); font-stretch: 118%; text-transform: uppercase; letter-spacing: .02em;
  color: rgb(20 21 23 / .045); pointer-events: none; user-select: none; white-space: nowrap; z-index: 0; }
.has-ghost--left .ghost { right: auto; left: -14px; rotate: 180deg; }
.dark .ghost { color: rgb(255 255 255 / .05); }
.has-ghost > .wrap { position: relative; z-index: 1; }
@media (max-width: 1360px) { .ghost { font-size: 110px; right: -24px; } .has-ghost--left .ghost { left: -24px; } }
@media (max-width: 900px) {
  .section { padding: 80px 0; }
  .section--tight { padding-top: 24px; }
  :root { --cut: 32px; }
  .cut-b { --pb: 80px; } .cut-t { --pt: 80px; } .cut-t-light { padding-top: calc(80px + var(--cut)); }
  .ghost { font-size: 72px; right: -10px; top: 60px; }
  .has-ghost--left .ghost { left: -10px; }
}
@media (max-width: 640px) { .ghost { display: none; } }

.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: 48px; flex-wrap: wrap; }
.head-row > div { max-width: 640px; }
.head-row .btns { margin-top: 0; }
.head-row__txt { max-width: 44ch; }
.head-row--center { justify-content: center; text-align: center; }
.head-row--center > div { margin-inline: auto; }
@media (max-width: 640px) { .head-row { margin-bottom: 36px; } .head-row .btns { width: 100%; } .head-row .btns .btn { flex: 1 1 200px; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; --pb: 120px; padding-top: 110px; min-height: 680px; display: flex; flex-direction: column; justify-content: center; }
.hero--page { min-height: 600px; }
.hero__ph { position: absolute; top: 0; bottom: 0; right: 0; width: 64%; clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%); }
.hero__ph .ph { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.hero__ph::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgb(20 21 23 / .55), transparent 45%); }
.hero__in { position: relative; z-index: 2; }
.hero__in > * { max-width: 600px; }
.hero__in > .h1 { max-width: 780px; }
.hero .lead { margin-top: 24px; max-width: 46ch; }
.hero__note { margin-top: 24px; font-size: 15px; }
@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: 72px; --pb: 72px; }
  .hero__ph { width: 100%; clip-path: none; }
  .hero__ph::after { background: linear-gradient(180deg, rgb(20 21 23 / .6), rgb(20 21 23 / .82) 55%, rgb(20 21 23 / .94)); }
  .hero .btns .btn { flex: 1 1 220px; }
}

/* ---------- Abierto ahora ---------- */
.open-now { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.open-now:empty { display: none; }
.open-now::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #2FB565; box-shadow: 0 0 0 4px rgb(47 181 101 / .2); flex: none; }
.open-now.is-closed::before { background: var(--orange); box-shadow: 0 0 0 4px rgb(255 107 26 / .2); }

/* ---------- Carrusel ---------- */
/* La pista se sale del contenedor hasta el borde derecho de la pantalla, como en la referencia */
.slider__track { margin-right: calc(-1 * var(--bleed)); padding-right: var(--bleed); scroll-padding-right: var(--bleed); display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 18px) / 2.25); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__item { scroll-snap-align: start; display: flex; }
.slider__item > * { flex: 1; }
.slider--op .slider__track { grid-auto-columns: calc((100% - 18px) / 1.6); }
.slider__ctrl { display: flex; align-items: center; gap: 20px; margin-top: 26px; }
.slider__bar { flex: 1; height: 2px; background: var(--line); position: relative; overflow: hidden; }
.slider__bar span { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w, 30%); translate: var(--x, 0) 0; background: var(--ink); transition: translate .2s; }
.arrow { width: 46px; height: 46px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; flex: none; color: var(--ink); }
.arrow svg { width: 24px; }
.arrow:hover:not(:disabled) { color: var(--orange-ink); }
.arrow:disabled { opacity: .3; cursor: default; }
@media (max-width: 900px) { .slider__track, .slider--op .slider__track { grid-auto-columns: 84%; } }
.slider__item:last-child { scroll-snap-align: end; }

/* ---------- Tarjeta de servicio numerada ---------- */
.scard { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 560px; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.scard__ph { position: absolute; inset: 0; aspect-ratio: auto; z-index: -1; }
.scard__ph img { transition: scale .6s var(--ease); }
.scard:hover .scard__ph img { scale: 1.04; }
.scard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(20 21 23 / .35) 0%, rgb(20 21 23 / 0) 30%, rgb(20 21 23 / .55) 52%, rgb(20 21 23 / .94) 78%); }
.scard__n { position: absolute; left: 28px; top: 22px; font: 900 56px/1 var(--font); font-stretch: 115%; }
.scard__body { padding: 28px; display: flex; flex-direction: column; flex: none; }
.scard__t { font-size: 30px; font-weight: 850; font-stretch: 112%; line-height: 1; margin-bottom: 12px; }
.scard__body > p { color: #D5D8DC; font-size: 16px; line-height: 1.55; }
.scard__from { margin-top: 12px !important; font-weight: 800; color: var(--orange) !important; letter-spacing: .04em; text-transform: uppercase; font-size: 14px !important; }
.scard .btn { margin-top: 20px; align-self: flex-start; }
.scards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: stretch; }
.scards > div { display: flex; } .scards > div > .scard { flex: 1; }
@media (max-width: 900px) { .scard { min-height: 480px; } .scards { grid-template-columns: 1fr; } .scard__t { font-size: clamp(20px, 6.2vw, 28px); font-stretch: 104%; } .scard__n { font-size: 46px; left: 22px; } .scard__body { padding: 22px; } }

/* ---------- Dos columnas con foto inclinada ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: center; }
.split--rev .split__ph { order: 2; }
.split--op { grid-template-columns: .8fr 1.4fr; }
.split__txt .h2 { margin-bottom: 22px; }
.split__ph .ph { height: 100%; }
.slant .ph { clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%, 0 62%, 7% 62%); aspect-ratio: 4/5; }
.split__ph--stack { display: grid; gap: 18px; }
/* Foto a sangre: ocupa la mitad de la sección hasta el borde de la pantalla, de arriba abajo */
@media (min-width: 901px) {
  .split--bleed-r .split__ph, .split--bleed-l .split__ph { position: absolute; top: 0; bottom: 0; width: calc(50% - 36px); }
  .split--bleed-r, .split--bleed-l, .has-ghost > .split--bleed-r, .has-ghost > .split--bleed-l { position: static; }
  .split--bleed-r .split__txt, .split--bleed-l .split__txt, .split--bleed-r .split__ph, .split--bleed-l .split__ph { z-index: 1; }
  .split--bleed-r .split__txt, .split--bleed-l .split__txt { position: relative; }
  .split--bleed-r .split__ph { right: 0; }
  .split--bleed-l .split__ph { left: 0; }
  .split--bleed-l .split__txt { grid-column: 2; }
  .split--bleed-r .split__txt, .split--bleed-l .split__txt { padding-block: 40px; }
  .split--bleed-r .split__ph .ph, .split--bleed-l .split__ph .ph { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
  .split--bleed-r.slant .ph, .split--bleed-r .slant .ph { clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%, 0 62%, 7% 62%); }
  .split--bleed-l .split__ph .ph { clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%); }
  .split--bleed-r .split__ph--stack, .split--bleed-l .split__ph--stack { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
  .split__ph--stack .ph { position: relative !important; inset: auto !important; }
}
@media (max-width: 900px) {
  .split, .split--op { grid-template-columns: 1fr; gap: 40px; }
  .split--rev .split__ph { order: 0; }
  .slant .ph { aspect-ratio: 4/3.4; clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%); }
}

/* ---------- Por qué nosotros ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: 36px; }
.why h3, .vals h3 { font-size: 17px; font-weight: 800; font-stretch: 108%; text-transform: uppercase; letter-spacing: .02em; line-height: 1.25; margin: 14px 0 6px; }
.why p { font-size: 15.5px; color: var(--text-2); line-height: 1.55; }
.why__ic { width: 48px; height: 48px; display: grid; place-items: center; background: var(--ink); color: var(--orange); }
.why__ic svg { width: 24px; }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }

/* ---------- Bloque oscuro con foto (historia y llamada final) ---------- */
.story, .cta { position: relative; overflow: hidden; --pt: 120px; --pb: 120px; }
.story:not(.cut-t) { padding-top: 120px; }
.cta { padding-bottom: 120px; }
.story__ph, .cta__ph { position: absolute; top: 0; bottom: 0; width: 46%; }
.story__ph { left: 0; clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%); }
.cta__ph { right: 0; clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%); }
.story__ph .ph, .cta__ph .ph { position: absolute; inset: 0; aspect-ratio: auto; }
.story__in { display: flex; justify-content: flex-end; }
.story__txt, .cta__txt { position: relative; z-index: 2; max-width: 520px; }
.story__txt .h2, .cta__txt .h2 { margin-bottom: 22px; }
@media (max-width: 900px) {
  .story, .cta { --pt: 0px; --pb: 72px; }
  .story:not(.cut-t) { padding-top: 0; }
  .story__ph, .cta__ph { position: relative; width: 100%; height: 320px; clip-path: none; }
  .story.cut-t, .cta.cut-t { padding-top: 0; }
  .story__in, .cta__in { padding-top: 48px; }
  .cta { padding-bottom: 80px; }
  .cta__in { display: block; }
}

/* ---------- Revisiones (paquetes) ---------- */
.packs { display: grid; gap: 28px; }
.pack { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: #fff; }
.pack__ph { height: 100%; aspect-ratio: auto; min-height: 340px; }
.pack__body { padding: 40px 44px; display: flex; flex-direction: column; }
.pack__top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 12px; flex-wrap: wrap; }
.pack__t { font-size: 28px; font-weight: 850; font-stretch: 110%; line-height: 1; }
.pack__p { font-size: 24px; font-weight: 850; font-stretch: 108%; white-space: nowrap; }
.pack__body > p { color: var(--text-2); font-size: 16px; }
.pack__h { margin-top: 20px !important; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; color: var(--text) !important; }
.pack__list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; margin: 10px 0 26px; font-size: 15px; }
.pack__list li, .ticks li, .checks li { display: flex; gap: 10px; align-items: flex-start; }
.pack__list svg, .ticks svg, .checks svg { width: 18px; height: 18px; flex: none; color: var(--orange-ink); margin-top: 3px; }
.pack .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) {
  .pack { grid-template-columns: 1fr; }
  .pack__ph { min-height: 0; aspect-ratio: 4/3; }
  .pack__body { padding: 26px 22px; }
  .pack__t { font-size: 24px; } .pack__p { font-size: 21px; }
}
@media (max-width: 420px) { .pack__list { grid-template-columns: 1fr; } }

/* ---------- Opiniones ---------- */
.op { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 540px; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.op__ph { position: absolute; inset: 0; aspect-ratio: auto; z-index: -1; }
.op::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(20 21 23 / 0) 25%, rgb(20 21 23 / .7) 52%, rgb(20 21 23 / .96) 80%); }
.op__body { padding: 28px; }
.op blockquote { font-size: 17px; line-height: 1.5; margin: 12px 0 18px; }
.op figcaption { display: grid; gap: 2px; font-size: 14px; }
.op figcaption b { font-size: 21px; font-weight: 850; font-stretch: 112%; text-transform: uppercase; line-height: 1.1; }
.op figcaption span { color: var(--on-dark-2); }
.flag { display: inline-block; justify-self: start; margin-top: 10px; padding: 4px 8px; background: rgb(255 255 255 / .12); color: #fff !important; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.stars { color: var(--orange); letter-spacing: 3px; font-size: 16px; }
.rating { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 22px !important; font-size: 15px; }
.rating b { font-size: 22px; font-weight: 850; }
.section--grey .slider__bar { background: #D6D6D2; }
@media (max-width: 900px) { .op { min-height: 500px; } .op__body { padding: 22px; } }

/* ---------- Dónde estamos ---------- */
.visit { position: relative; display: grid; color: #fff; isolation: isolate; }
.visit__ph { grid-area: 1 / 1; aspect-ratio: auto; height: 620px; z-index: -1; }
.visit::after { content: ""; grid-area: 1 / 1; z-index: -1; background: linear-gradient(180deg, rgb(20 21 23 / 0) 30%, rgb(20 21 23 / .92) 85%); }
.visit__card { grid-area: 1 / 1; align-self: end; width: min(var(--wrap), 100% - 2 * var(--gut)); margin: 0 auto; padding-bottom: 52px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: end; }
.visit__t { font-size: 32px; font-weight: 850; font-stretch: 112%; text-transform: uppercase; line-height: 1; margin-bottom: 14px; }
.visit__col > p { color: #D5D8DC; }
.visit__col .open-now { margin-top: 16px; }
.visit__list { display: grid; gap: 14px; font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.visit__list li { display: flex; gap: 12px; align-items: flex-start; }
.visit__list svg { width: 20px; color: var(--orange); flex: none; margin-top: 2px; }
.visit__list a { text-decoration: none; }
.visit__list a:hover { color: var(--orange); }
@media (max-width: 900px) {
  .visit { color: #fff; background: var(--ink); }
  .visit::after { display: none; }
  .visit__ph { grid-area: auto; height: auto; aspect-ratio: 16/10; }
  .visit__card { grid-area: auto; grid-template-columns: 1fr; padding: 32px 0 44px; }
  .visit__t { font-size: 26px; }
}

/* ---------- Preguntas frecuentes ---------- */
.faq-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.faq-wrap .h2 { margin-bottom: 18px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0;
  font-weight: 800; font-stretch: 106%; font-size: 17px; text-transform: uppercase; letter-spacing: .01em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { width: 34px; height: 34px; flex: none; position: relative; background: var(--ink); transition: background-color .2s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 10px; right: 10px; top: 50%; height: 2px; margin-top: -1px; background: #fff; transition: rotate .3s var(--ease); }
.faq__icon::after { rotate: 90deg; }
.faq details[open] .faq__icon { background: var(--orange); }
.faq details[open] .faq__icon::before, .faq details[open] .faq__icon::after { background: var(--ink); }
.faq details[open] .faq__icon::after { rotate: 0deg; }
.faq summary:hover .faq__icon { background: var(--orange); }
.faq summary:hover .faq__icon::before, .faq summary:hover .faq__icon::after { background: var(--ink); }
.faq details p { padding: 0 54px 24px 0; color: var(--text-2); }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 36px; } .faq summary { font-size: 16px; } .faq details p { padding-right: 0; } }

/* ---------- Horario ---------- */
.hours { display: grid; border-top: 1px solid var(--line); }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.hours li span:last-child { text-align: right; color: var(--text-2); }
.hours li.is-today { font-weight: 800; }
.hours li.is-today span:first-child::after { content: " · hoy"; color: var(--orange-ink); }
.hours li.is-today span:last-child { color: var(--text); }

/* ---------- Cabeceras de página ---------- */
.page-head { padding: 110px 0 0; text-align: center; overflow: clip; background: linear-gradient(180deg, var(--ink) 0 calc(100% - 300px), var(--bg) calc(100% - 300px)); }
.page-head__in { position: relative; z-index: 1; }
.page-head__in .lead { margin: 22px auto 0; }
.page-head__in .h1 { max-width: 900px; margin-inline: auto; }
.page-head__cards { margin-top: 64px; position: relative; z-index: 1; text-align: left; }
.page-head--form { padding-bottom: 170px; background: var(--ink); }
.section--form { padding-top: 0; }
.section--form .cita, .section--form .confirm { margin-top: -120px; position: relative; z-index: 2; }
@media (max-width: 900px) {
  .page-head { padding-top: 72px; background: linear-gradient(180deg, var(--ink) 0 calc(100% - 220px), var(--bg) calc(100% - 220px)); }
  .page-head--form { padding-bottom: 130px; background: var(--ink); }
  .page-head__cards { margin-top: 44px; }
  .section--form .cita, .section--form .confirm { margin-top: -90px; }
}

/* ---------- Lista de precios ---------- */
.cat-nav { position: sticky; top: var(--nav-h); z-index: 5; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 12px 0; margin-bottom: 24px; background: var(--grey); }
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav a { flex: none; padding: 9px 14px; border: 1.5px solid var(--ink); text-decoration: none; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.cat-nav a:hover, .cat-nav a.is-active { background: var(--ink); color: #fff; }
.cat { display: grid; grid-template-columns: 340px 1fr; gap: 40px; padding: 40px 0; border-top: 2px solid var(--ink); scroll-margin-top: calc(var(--nav-h) + 72px); }
.cat__head { display: flex; gap: 18px; align-items: flex-start; }
.cat__n { font: 900 44px/1 var(--font); font-stretch: 115%; color: var(--orange-ink); }
.cat__head p { color: var(--text-2); font-size: 15.5px; margin-top: 8px; }
.svcs { display: grid; }
.svc { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; border-bottom: 1px solid #D9D9D5; }
.svc:first-child { padding-top: 0; }
.svc__name { font-size: 18px; font-weight: 800; line-height: 1.3; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.svc__desc { color: var(--text-2); font-size: 15.5px; margin-top: 4px; max-width: 60ch; }
.svc__meta { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); margin-top: 6px; }
.svc__meta svg { width: 16px; }
.svc__side { display: flex; align-items: center; gap: 20px; flex: none; }
.svc__price { font-size: 20px; font-weight: 850; font-stretch: 108%; white-space: nowrap; min-width: 110px; text-align: right; }
.tag { display: inline-block; padding: 3px 8px; background: var(--orange); color: var(--ink); font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; line-height: 1.4; }
@media (max-width: 900px) {
  .cat { grid-template-columns: 1fr; gap: 20px; padding: 32px 0; }
  .svc { flex-direction: column; align-items: stretch; gap: 12px; }
  .svc__side { justify-content: space-between; }
  .svc__price { text-align: left; min-width: 0; }
}

/* ---------- Pre-ITV ---------- */
.prose-row { display: grid; grid-template-columns: 1.4fr .8fr; gap: 72px; align-items: start; }
.prose .h2 { margin-bottom: 22px; }
.prose > p { max-width: 62ch; }
.ticks { display: grid; gap: 12px; margin-top: 14px; color: var(--text); }
.split__txt .ticks { margin-top: 24px; }
.price-box { background: var(--ink); color: #fff; padding: 36px; position: sticky; top: calc(var(--nav-h) + 24px); }
.price-box .eyebrow { color: var(--orange); }
.price-box .price-box__p { color: #fff; font-size: 72px; font: 900 72px/1 var(--font); font-stretch: 115%; margin: 4px 0 10px; }
.price-box > p { color: var(--on-dark-2); font-size: 15.5px; }
.price-box__line { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-dark); margin-top: 0 !important; color: #fff !important; }
.price-box__line:first-of-type { margin-top: 20px !important; }
.price-box .btn { margin-top: 22px; }
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.checks__g { border: 1px solid var(--line); padding: 28px; }
.checks__g h3 { font-size: 18px; font-weight: 850; font-stretch: 110%; text-transform: uppercase; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 2px solid var(--orange); }
.checks ul { display: grid; gap: 8px; font-size: 15.5px; }
.steps { counter-reset: s; display: grid; gap: 22px; margin-top: 28px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 2px 16px; }
.steps li::before { content: "0" counter(s); grid-row: span 2; font: 900 34px/1 var(--font); font-stretch: 115%; color: var(--orange-ink); }
.steps b { font-size: 17px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.steps span { color: var(--text-2); font-size: 15.5px; }
.faq-wrap svg { display: inline; width: 16px; vertical-align: -2px; margin-right: 4px; color: var(--orange-ink); }
@media (max-width: 900px) {
  .prose-row { grid-template-columns: 1fr; gap: 40px; }
  .price-box { position: static; padding: 28px 22px; }
  .checks { grid-template-columns: 1fr; }
  .checks__g { padding: 22px; }
}
@media (min-width: 640px) and (max-width: 900px) { .checks { grid-template-columns: 1fr 1fr; } }

/* ---------- Calculadora ITV ---------- */
.itv { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); }
.itv__fields { padding: 36px; display: grid; gap: 18px; align-content: start; }
.itv__fields .btn { justify-self: start; }
.itv__out { background: var(--ink); color: #fff; padding: 36px; display: flex; flex-direction: column; justify-content: center; min-height: 320px; }
.itv__hint { color: var(--on-dark-2); }
.itv__k { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); }
.itv__date { font: 900 clamp(34px, 4vw, 52px)/1 var(--font); font-stretch: 112%; text-transform: uppercase; margin: 10px 0 14px; }
.itv__txt { color: var(--on-dark-2); }
.itv__out .btns { margin-top: 24px; }
.itv__out.is-late .itv__date { color: var(--orange); }
@media (max-width: 900px) { .itv { grid-template-columns: 1fr; } .itv__fields, .itv__out { padding: 26px 22px; } .itv__out { min-height: 0; } }

/* ---------- Formularios ---------- */
.field { display: grid; gap: 7px; }
.field label, .field__lab { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.field__lab { margin: 22px 0 10px; }
.field__lab span { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); font-size: 14px; }
input:not([type=checkbox]):not([type=radio]), select, textarea {
  width: 100%; min-height: 52px; padding: 13px 14px; border: 1.5px solid #CFCFCB; border-radius: 2px; background: #fff; font-size: 16px; transition: border-color .2s;
}
textarea { min-height: 0; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #9A9DA1; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(255 107 26 / .35); }
::placeholder { color: #8A8E93; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 52px; cursor: pointer; text-overflow: ellipsis; }
.select::after { content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); rotate: 45deg; pointer-events: none; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.step .grid2 + .field { margin-top: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin-top: 18px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }

/* ---------- Cita ---------- */
.cita { display: grid; grid-template-columns: 1fr 360px; background: #fff; box-shadow: 0 30px 60px rgb(20 21 23 / .14); border: 1px solid var(--line); }
.cita__main { padding: 44px; display: grid; gap: 40px; min-width: 0; }
.step legend { display: flex; align-items: center; gap: 14px; font-size: 22px; font-weight: 850; font-stretch: 110%; text-transform: uppercase; margin-bottom: 22px; padding: 0; }
.step__n { width: 38px; height: 38px; display: grid; place-items: center; background: var(--ink); color: var(--orange); font-size: 18px; flex: none; }
.step > .field + .field__lab { margin-top: 24px; }
.symps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.symp input, .turno input { position: absolute; opacity: 0; pointer-events: none; }
.symp span { display: inline-block; padding: 10px 14px; border: 1.5px solid #CFCFCB; font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .15s, border-color .15s; }
.symp span:hover { border-color: var(--ink); }
.symp input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.symp input:focus-visible + span, .turno input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.days { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.day { display: grid; justify-items: center; gap: 2px; padding: 10px 4px; border: 1.5px solid #CFCFCB; background: #fff; cursor: pointer; font-size: 13px; line-height: 1.2; }
.day b { font-size: 22px; font-weight: 850; }
.day i { font-style: normal; color: var(--muted); font-size: 12px; }
.day:hover:not(:disabled) { border-color: var(--ink); }
.day[aria-checked="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.day[aria-checked="true"] i { color: var(--orange); }
.day:disabled { background: var(--grey); color: #A2A5A9; border-color: var(--grey); cursor: not-allowed; }
.day:disabled i { color: #A2A5A9; }
.turnos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.turnos--sm { max-width: 400px; margin-top: 0; }
.turno span { display: grid; gap: 2px; padding: 14px 16px; border: 1.5px solid #CFCFCB; cursor: pointer; height: 100%; }
.turno small { color: var(--muted); font-size: 14px; }
.turno input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); background: #FFF3EB; }
.turno { position: relative; }
.step__msg { margin-top: 12px; font-size: 15px; font-weight: 600; color: var(--orange-ink); }
.step__msg:empty { display: none; }
.cita__side { background: var(--ink); color: #fff; }
.summary { position: sticky; top: calc(var(--nav-h) + 20px); padding: 36px 30px; }
.summary__title { font-size: 22px; font-weight: 850; font-stretch: 110%; text-transform: uppercase; margin-bottom: 18px; }
.summary dl { display: grid; margin-bottom: 24px; }
.summary dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-dark); font-size: 15px; }
.summary dt { color: var(--on-dark-2); flex: none; }
.summary dd { text-align: right; font-weight: 600; }
.summary__total dd { color: var(--orange); font-weight: 850; font-size: 18px; }
.summary__note { margin-top: 16px; font-size: 14px; color: var(--on-dark-2); }
@media (max-width: 980px) {
  .cita { grid-template-columns: 1fr; }
  .cita__main { padding: 28px 20px; }
  .summary { position: static; padding: 28px 20px; }
  .step legend { font-size: 19px; }
}

.confirm { background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px rgb(20 21 23 / .14); padding: 48px; max-width: 820px; }
.confirm[hidden] { display: none; }
.confirm .h2 { margin-bottom: 16px; }
.confirm__txt { color: var(--text-2); }
.wa { margin-top: 28px; background: var(--grey); padding: 20px; }
.wa__head { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-2); margin-bottom: 14px; }
.wa__head svg { width: 20px; color: var(--ink); }
.wa__msg { background: #fff; padding: 16px 18px; max-width: 520px; font-size: 15.5px; border-left: 4px solid var(--orange); }
.wa__msg p + p { margin-top: 10px; }
.wa__msg small { color: var(--muted); }
@media (max-width: 640px) { .confirm { padding: 28px 20px; } }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: 1.1fr 1fr .9fr; gap: 48px; align-items: start; }
.contact__list { display: grid; gap: 22px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list svg { width: 22px; color: var(--orange-ink); flex: none; margin-top: 2px; }
.contact__list small { display: block; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact__list a { font-weight: 700; text-decoration: none; }
.contact__list a:hover { color: var(--orange-ink); }
.contact__hours .h4 { margin-top: 0; }
.contact__hours .open-now { margin-top: 16px; }
.contact__note { font-size: 14px; color: var(--muted); margin-top: 12px !important; }
@media (max-width: 980px) { .contact { grid-template-columns: 1fr 1fr; } .contact__ph { grid-column: 1 / -1; } .contact__ph .ph { aspect-ratio: 4/3; } }
@media (max-width: 640px) { .contact { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- El taller ---------- */
.nums { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.nums li { padding: 10px 20px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; }
.nums li + li { border-left: 1px solid var(--line); }
.nums b { display: flex; justify-content: center; align-items: baseline; gap: 8px; font: 900 clamp(56px, 7vw, 92px)/1 var(--font); font-stretch: 118%; margin-bottom: 8px; }
.nums b span { font-size: 18px; font-stretch: 108%; color: var(--orange-ink); }
.values { --pt: 110px; --pb: 110px; }
.vals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.vals .why__ic { margin-inline: auto; background: var(--orange); color: var(--ink); width: 58px; height: 58px; }
.vals .why__ic svg { width: 28px; }
.vals h3 { font-size: 20px; margin-top: 20px; }
.vals p { color: var(--on-dark-2); font-size: 15.5px; max-width: 32ch; margin-inline: auto; }
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.member { display: grid; grid-template-columns: .9fr 1fr; border: 1px solid var(--line); background: #fff; }
.member__ph { aspect-ratio: auto; height: 100%; min-height: 400px; }
.member__body { padding: 30px 28px; display: flex; flex-direction: column; }
.member__n { font-size: 26px; font-weight: 850; font-stretch: 112%; line-height: 1; margin-bottom: 14px; }
.member__body > p:not(.eyebrow) { color: var(--text-2); font-size: 15.5px; }
.member .eyebrow { margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 18px; }
.chips li { padding: 5px 10px; background: var(--grey); font-size: 13px; font-weight: 700; }
@media (max-width: 1080px) { .team { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .nums { grid-template-columns: 1fr; }
  .nums li + li { border-left: 0; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 14px; }
  .vals { grid-template-columns: 1fr; gap: 36px; }
  .member { grid-template-columns: 1fr; }
  .member__ph { min-height: 0; aspect-ratio: 4/5; }
  .member__body { padding: 24px 20px; }
}

/* ---------- Pie ---------- */
.footer { background: var(--ink); color: #fff; padding: calc(96px + var(--cut)) 0 0; clip-path: polygon(0 0, 50% 0, calc(50% - 14px) var(--cut), 100% var(--cut), 100% 100%, 0 100%); margin-top: -1px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr 1.1fr; gap: 40px; padding-bottom: 64px; }
.footer__h { font-size: 19px; font-weight: 850; font-stretch: 112%; text-transform: uppercase; margin-bottom: 18px; padding-bottom: 8px; display: inline-block; border-bottom: 2px solid var(--orange); }
.footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer nav .footer__h { margin-bottom: 8px; }
.footer nav a, .footer__txt a { text-decoration: none; font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.footer nav a:hover, .footer__txt a:hover, .footer__legal a:hover { color: var(--orange); }
.footer__txt { color: var(--on-dark-2); font-size: 15px; margin-top: 18px; }
.footer__txt + .footer__txt { margin-top: 12px; }
.footer__grid > div:last-child .footer__txt:first-of-type { margin-top: 0; }
.footer__txt a { color: #fff; }
.footer__legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding: 24px 0 32px; border-top: 1px solid var(--line-dark); font-size: 14px; color: var(--on-dark-2); }
.footer__legal a { color: #fff; }
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer { padding-top: calc(64px + var(--cut)); } .footer__grid { grid-template-columns: 1fr; gap: 32px; } .footer__legal { flex-direction: column; padding-bottom: 96px; } }

/* ---------- Barra fija en el móvil ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .nav__cta { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1.5fr; gap: 8px; position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgb(20 21 23 / .12); }
  .mbar .btn { min-height: 50px; padding: 12px 10px; }
  .p-cita .mbar { grid-template-columns: 1fr; }
  .p-cita .mbar .btn--main { display: none; }
}

/* ---------- Aviso de demo ---------- */
dialog.demo { border: 0; border-radius: 2px; padding: 44px 34px 36px; max-width: 470px; width: calc(100% - 32px); background: #fff; color: var(--text); text-align: center; border-top: 6px solid var(--orange); }
dialog.demo::backdrop { background: rgb(20 21 23 / .7); }
dialog.demo h2 { font: 850 28px/1.05 var(--font); font-stretch: 110%; text-transform: uppercase; margin-bottom: 14px; }
dialog.demo p { color: var(--text-2); }
dialog.demo .demo__sum { margin-top: 14px; padding: 12px; background: var(--grey); color: var(--text); font-weight: 700; font-size: 15px; }
dialog.demo .demo__sum:empty { display: none; }
dialog.demo .btns { justify-content: center; margin-top: 26px; }
dialog.demo .btn--dw { background: #D9231F; color: #fff; border-radius: 999px; text-transform: none; letter-spacing: 0; font-size: 15px; }
dialog.demo .btn--dw:hover { background: #B81C18; }
dialog.demo .btn--line { text-transform: none; letter-spacing: 0; font-size: 15px; border-radius: 999px; border-width: 1.5px; }

/* ---------- Movimiento ---------- */
.fx [data-reveal] { opacity: 0; translate: 0 16px; transition: opacity .6s var(--ease) var(--d, 0ms), translate .6s var(--ease) var(--d, 0ms); }
.fx [data-reveal].is-in { opacity: 1; translate: 0 0; }
.captura * { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
