/* Fisio Miguel Colorado — tokens en DESIGN.md (identidad/). */
:root {
  --navy: #0a2a4f;
  --navy-900: #061a33;
  --navy-700: #123a68;
  --oro: #d9a23f;
  --oro-claro: #f0c46e;
  --oro-tinta: #8a5c0e;
  --plata: #b9c1cb;
  --papel: #f5f1ea;
  --papel-2: #ebe5d9;
  --blanco: #ffffff;
  --tinta: #0d1b2e;
  --tinta-suave: #4a5668;
  --linea: #d9d1c2;

  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --step--1: clamp(.84rem, .8rem + .2vw, .95rem);
  --step-0: clamp(1rem, .96rem + .25vw, 1.12rem);
  --step-1: clamp(1.2rem, 1.08rem + .5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --step-3: clamp(2rem, 1.5rem + 2.4vw, 3.4rem);
  --step-h1: clamp(2.5rem, 1.6rem + 3.4vw, 4.9rem);

  --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-6: 1.5rem; --space-8: 2rem;
  --space-12: 3rem; --space-16: 4rem; --space-24: 6rem; --space-32: 8rem;
  --radius-sm: 4px; --radius-md: 10px; --radius-lg: 22px; --radius-full: 999px;
  --shadow-md: 0 6px 18px rgb(6 26 51 / .08), 0 2px 4px rgb(6 26 51 / .06);
  --shadow-lg: 0 30px 60px -22px rgb(6 26 51 / .45);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6; color: var(--tinta); background: var(--papel); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: .98; letter-spacing: -.01em; text-transform: uppercase; margin: 0 0 var(--space-4); text-wrap: balance; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 700; line-height: 1.1; }
p { margin: 0 0 var(--space-4); }
.wrap { width: min(1220px, 100% - 2.5rem); margin-inline: auto; }
.saltar { position: absolute; left: -999px; top: 8px; background: var(--oro); color: var(--navy-900); padding: 8px 14px; z-index: 100; border-radius: var(--radius-sm); }
.saltar:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--oro); outline-offset: 3px; }
.eyebrow { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: var(--step--1); color: var(--oro-tinta); margin-bottom: var(--space-3); display: flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
section { position: relative; }
section > .wrap { padding-block: clamp(4rem, 3rem + 4vw, 7.5rem); }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; padding: .85rem 1.5rem; border-radius: var(--radius-full); font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; transition: transform .2s var(--ease-out), background .2s, box-shadow .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--oro { background: var(--oro); color: var(--navy-900); box-shadow: 0 10px 24px -10px rgb(217 162 63 / .9); }
.btn--oro:hover { background: var(--oro-claro); }
.btn--navy { background: var(--navy); color: var(--blanco); }
.btn--navy:hover { background: var(--navy-700); }
.btn--linea { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--linea:hover { background: var(--navy); color: var(--blanco); }
.btn--linea-claro { border-color: rgb(255 255 255 / .5); color: var(--blanco); }
.btn--linea-claro:hover { background: var(--blanco); color: var(--navy); }
.enlace { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--oro); padding-bottom: 2px; }
.enlace svg { transition: transform .2s var(--ease-out); }
.enlace:hover svg { transform: translateX(4px); }
.enlace--claro { color: var(--blanco); }

/* Cabecera */
.nav { position: sticky; top: 0; z-index: 50; background: rgb(245 241 234 / .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--linea); }
.nav__in { width: min(1320px, 100% - 2rem); margin-inline: auto; height: var(--nav-h); display: flex; align-items: center; gap: 1.5rem; }
.nav__marca { display: flex; align-items: center; gap: .6rem; text-decoration: none; margin-right: auto; }
.nav__marca img { width: 56px; height: auto; }
.nav__nombre { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.3rem; letter-spacing: .01em; color: var(--navy); line-height: 1; }
.nav__nombre span { color: var(--oro-tinta); }
.nav__links { display: flex; align-items: center; gap: 1.6rem; font-weight: 600; font-size: .98rem; }
.nav__links > a, .nav__droplink { text-decoration: none; color: var(--tinta); padding-block: .4rem; border-bottom: 2px solid transparent; }
.nav__links a:hover, .nav__links [aria-current] { border-bottom-color: var(--oro); }
.nav__drop { position: relative; display: flex; align-items: center; gap: .15rem; }
.nav__droptoggle { background: none; border: 0; padding: .4rem; cursor: pointer; color: var(--tinta); display: grid; place-items: center; }
.nav__menu { position: absolute; top: calc(100% + 14px); left: -1rem; min-width: 290px; list-style: none; margin: 0; padding: .6rem; background: var(--blanco); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; translate: 0 6px; transition: opacity .2s, translate .2s var(--ease-out), visibility .2s; }
.nav__menu::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu, .nav__drop.is-open .nav__menu { opacity: 1; visibility: visible; translate: 0 0; }
.nav__menu a { display: block; padding: .6rem .8rem; border-radius: 6px; text-decoration: none; border: 0; }
.nav__menu a:hover, .nav__menu a[aria-current] { background: var(--papel); color: var(--navy); }
.nav__cta { display: inline-flex; align-items: center; gap: .5rem; background: var(--navy); color: var(--blanco); text-decoration: none; font-weight: 700; padding: .7rem 1.2rem; border-radius: var(--radius-full); font-size: .95rem; }
.nav__cta:hover { background: var(--navy-700); }
.nav__burger { display: none; width: 46px; height: 46px; border: 0; background: var(--navy); border-radius: 12px; cursor: pointer; padding: 13px 12px; flex-direction: column; justify-content: space-between; }
.nav__burger span { display: block; height: 2px; background: var(--blanco); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.migas { background: var(--papel-2); font-size: .9rem; }
.migas ol { list-style: none; display: flex; flex-wrap: nowrap; gap: .5rem; padding-block: .7rem; margin-block: 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.migas li + li::before { content: "›"; margin-right: .5rem; color: var(--oro-tinta); }
.migas a { color: var(--tinta-suave); text-decoration: none; }
.migas a:hover { color: var(--navy); text-decoration: underline; }
.migas [aria-current] { font-weight: 600; color: var(--navy); }

/* Hero */
.hero { background: var(--papel); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E"); }
.hero > .wrap { padding-block: clamp(2rem, 1rem + 3vw, 4.5rem) clamp(3rem, 2rem + 4vw, 6rem); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 4vw, 5rem); align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: var(--step-h1); color: var(--navy); margin-bottom: var(--space-3); max-width: 13ch; }
.hero__lema { font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: var(--step-2); color: var(--tinta-suave); margin-bottom: var(--space-4); line-height: 1.1; }
.hero__lema em { color: var(--oro-tinta); }
.hero__sub { max-width: 52ch; color: var(--tinta-suave); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-block: var(--space-6); }
.hero__datos { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--linea); padding-top: var(--space-4); }
.hero__datos li { flex: 1 1 0; min-width: 120px; font-size: .9rem; color: var(--tinta-suave); line-height: 1.25; padding-right: 1rem; }
.hero__datos li + li { border-left: 1px solid var(--linea); padding-left: 1rem; }
.hero__datos strong { display: block; font-family: var(--font-display); font-size: 2.4rem; color: var(--navy); line-height: 1; }
.hero__foto { position: relative; justify-self: end; width: min(100%, 470px); }
.hero__panel { position: absolute; inset: 9% -14% -6% 14%; background: var(--navy); border-radius: var(--radius-lg); }
.hero__panel::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgb(217 162 63 / .45); border-radius: calc(var(--radius-lg) - 8px); }
.hero__img { position: relative; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 630 / 900; object-fit: cover; object-position: 30% 0; width: 100%; }
.hero__sello { position: absolute; left: -2.2rem; bottom: 2.5rem; background: var(--navy-900); color: var(--blanco); border-radius: var(--radius-md); padding: .8rem 1rem; display: flex; align-items: center; gap: .7rem; font-family: var(--font-display); text-transform: uppercase; font-weight: 700; line-height: 1.05; letter-spacing: .03em; box-shadow: var(--shadow-lg); outline: 1px solid rgb(217 162 63 / .5); outline-offset: -6px; }
.hero__sello img { width: 52px; }

/* Cinta */
.cinta { background: var(--navy); color: var(--blanco); overflow: hidden; border-block: 1px solid var(--navy-700); }
.cinta__in { display: flex; gap: 2rem; width: max-content; padding-block: 1.1rem; animation: cinta 38s linear infinite; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.6rem; letter-spacing: .04em; }
.cinta i { color: var(--oro); font-style: normal; font-size: 1rem; align-self: center; }
@keyframes cinta { to { transform: translateX(-50%); } }

/* Por qué */
.porque { background: var(--blanco); }
.porque__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.porque__foto { margin: 0; position: relative; }
.porque__foto img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.porque__foto figcaption { position: absolute; right: -1rem; bottom: 1.5rem; background: var(--oro); color: var(--navy-900); font-weight: 700; font-size: .9rem; padding: .6rem 1rem; border-radius: var(--radius-sm); max-width: 230px; }
.porque h2 { color: var(--navy); max-width: 16ch; }
.lista-num { list-style: none; padding: 0; margin: var(--space-8) 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8) var(--space-6); }
.lista-num li { display: flex; gap: 1rem; }
.lista-num span { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--oro); line-height: .9; min-width: 2.4rem; }
.lista-num h3 { color: var(--navy); margin-bottom: .4rem; }
.lista-num p { color: var(--tinta-suave); margin: 0; font-size: .98rem; }

/* Servicios bento */
.servicios { background: var(--papel); }
.sec-cab { max-width: 680px; margin-bottom: var(--space-12); }
.sec-cab h2 { color: var(--navy); }
.sec-cab p:last-child { color: var(--tinta-suave); }
.sec-cab--claro h2 { color: var(--blanco); }
.sec-cab--claro .eyebrow { color: var(--oro); }
.servicios__grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(150px, auto); gap: 1.1rem; }
.serv { position: relative; display: grid; text-decoration: none; color: var(--blanco); border-radius: var(--radius-lg); overflow: hidden; min-height: 330px; isolation: isolate; background: var(--navy); }
.serv figure { margin: 0; position: absolute; inset: 0; z-index: -1; }
.serv figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.serv::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(6 26 51 / 0) 25%, rgb(6 26 51 / .92) 82%); }
.serv:hover figure img { transform: scale(1.05); }
.serv__txt { align-self: end; padding: 1.5rem; }
.serv__num { font-family: var(--font-display); font-weight: 700; color: var(--oro); letter-spacing: .1em; }
.serv h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); margin: .2rem 0 .4rem; }
.serv p { margin: 0 0 .9rem; color: rgb(255 255 255 / .85); font-size: .98rem; max-width: 38ch; }
.serv__pie { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid rgb(255 255 255 / .2); padding-top: .8rem; flex-wrap: wrap; }
.serv__precio { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; }
.serv__precio small { font-family: var(--font-body); font-size: .8rem; font-weight: 500; opacity: .8; }
.serv__ir { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .92rem; color: var(--oro-claro); }
.serv--1 { grid-column: span 4; grid-row: span 2; min-height: 520px; }
.serv--1 figure img { object-position: 50% 30%; }
.serv--2 { grid-column: span 2; grid-row: span 2; }
.serv--3 { grid-column: span 2; }
.serv--4 { grid-column: span 2; }
.serv--5 { grid-column: span 2; }
.serv--6 { grid-column: span 6; min-height: 260px; }
.serv--6 { min-height: 340px; }
.serv--6 figure img { object-position: 60% 35%; }
.serv--6::after { background: linear-gradient(90deg, rgb(6 26 51 / .94) 20%, rgb(6 26 51 / .2) 70%); }
.serv--6 .serv__txt { max-width: 560px; }

/* Historia amputados */
.historia { background: var(--papel-2); }
.historia__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.historia__fotos { position: relative; min-height: 560px; }
.historia__a { position: absolute; left: 0; top: 0; width: 62%; border-radius: var(--radius-lg); aspect-ratio: 3 / 4; object-fit: cover; box-shadow: var(--shadow-md); }
.historia__b { position: absolute; right: 0; bottom: 0; width: 52%; border-radius: var(--radius-lg); aspect-ratio: 3 / 4; object-fit: cover; border: 8px solid var(--papel-2); box-shadow: var(--shadow-lg); }
.historia h2 { color: var(--navy); }
.historia blockquote { margin: var(--space-6) 0; padding: 1.4rem 1.6rem 1.4rem 4.2rem; position: relative; background: var(--blanco); font-family: var(--font-display); font-weight: 600; font-style: italic; font-size: var(--step-1); line-height: 1.25; color: var(--navy); border-radius: var(--radius-md); }
.historia blockquote::before { content: "“"; position: absolute; left: 1.1rem; top: .9rem; font-size: 4.2rem; line-height: 1; color: var(--oro); font-style: normal; }

/* Proceso */
.proceso { background: var(--navy); color: var(--blanco); overflow: hidden; }
.proceso::before { content: "MC"; position: absolute; right: -2rem; bottom: -5rem; font-family: var(--font-display); font-weight: 800; font-size: clamp(14rem, 30vw, 28rem); color: rgb(255 255 255 / .03); line-height: 1; pointer-events: none; }
.proceso__pasos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: p; }
.proceso__pasos li { border-top: 2px solid rgb(217 162 63 / .55); padding-top: 1.4rem; position: relative; }
.proceso__n { font-family: var(--font-display); font-weight: 800; font-size: 4.5rem; line-height: .8; color: var(--oro); display: block; margin-bottom: 1rem; }
.proceso h3 { font-size: var(--step-2); }
.proceso p { color: rgb(255 255 255 / .78); margin: 0; }

/* Sobre */
.sobre { background: var(--blanco); }
.sobre__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.sobre__fotos { position: relative; min-height: 540px; }
.sobre__a { position: absolute; left: 0; bottom: 0; width: 78%; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow-md); }
.sobre__b { position: absolute; right: 0; top: 0; width: 40%; border-radius: var(--radius-lg); aspect-ratio: 1 / 1; object-fit: cover; border: 8px solid var(--blanco); box-shadow: var(--shadow-lg); }
.sobre h2 { color: var(--navy); }
.sobre__txt > p { color: var(--tinta-suave); }
.credenciales { list-style: none; padding: 0; margin: var(--space-6) 0 var(--space-8); }
.credenciales li { padding: .8rem 0 .8rem 2rem; border-bottom: 1px solid var(--linea); position: relative; color: var(--tinta-suave); font-size: .98rem; }
.credenciales li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 12px; height: 12px; border: 2px solid var(--oro); transform: rotate(45deg); }
.credenciales strong { color: var(--navy); }

/* Opiniones */
.opiniones { background: var(--papel); }
.opiniones__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; align-items: start; }
.op { margin: 0; background: var(--blanco); border-radius: var(--radius-md); padding: 1.6rem 1.4rem; box-shadow: var(--shadow-md); }
.op:nth-child(2) { margin-top: 2.5rem; background: var(--navy); }
.op:nth-child(2) blockquote { color: var(--blanco); }
.op:nth-child(2) figcaption { color: rgb(255 255 255 / .7); }
.op:nth-child(4) { margin-top: 2.5rem; }
.op blockquote { margin: 0 0 1rem; font-size: 1.08rem; line-height: 1.45; color: var(--tinta); }
.op blockquote::before { content: "“"; display: block; font-family: var(--font-display); font-size: 3.5rem; line-height: .6; color: var(--oro); margin-bottom: .4rem; }
.op figcaption { font-size: .85rem; color: var(--tinta-suave); }
.opiniones__mas { margin-top: var(--space-8); }

/* Seguros + promo */
.seguros { background: var(--blanco); }
.seguros__grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.seguros h2 { color: var(--navy); }
.seguros p { color: var(--tinta-suave); max-width: 56ch; }
.chips { list-style: none; padding: 0; margin: var(--space-6) 0 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.chips li { border: 1px solid var(--linea); background: var(--papel); border-radius: var(--radius-full); padding: .45rem 1rem; font-weight: 600; font-size: .92rem; color: var(--navy); }
.promo { background: var(--oro); color: var(--navy-900); border-radius: var(--radius-lg); padding: 2rem; position: relative; overflow: hidden; }
.promo::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 30px solid rgb(255 255 255 / .18); right: -80px; top: -80px; }
.promo__eti { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; letter-spacing: .14em; font-size: .85rem; margin-bottom: .5rem; }
.promo h3 { font-size: 2.2rem; margin-bottom: .3rem; }
.promo p { color: var(--navy-900); }
.promo hr { border: 0; border-top: 1px solid rgb(6 26 51 / .25); margin: 1.2rem 0; }

/* FAQ */
.faq { background: var(--papel); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq__lista details { border-bottom: 1px solid var(--linea); }
.faq__lista summary { cursor: pointer; list-style: none; padding: 1.3rem 2.5rem 1.3rem 0; font-weight: 700; font-size: 1.1rem; color: var(--navy); position: relative; }
.faq__lista summary::-webkit-details-marker { display: none; }
.faq__lista summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; translate: 0 -50%; font-size: 1.8rem; font-weight: 400; color: var(--oro-tinta); transition: rotate .2s; }
.faq__lista details[open] summary::after { rotate: 45deg; }
.faq__lista details p { color: var(--tinta-suave); padding-right: 2rem; }

/* Contacto */
.contacto { background: var(--navy-900); color: var(--blanco); }
.contacto__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.contacto h2 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4.4rem); }
.contacto .eyebrow { color: var(--oro); }
.contacto p { color: rgb(255 255 255 / .8); max-width: 50ch; }
.datos { margin: 0; display: grid; gap: 1.4rem; }
.datos div { border-left: 3px solid var(--oro); padding-left: 1.1rem; }
.datos dt { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; letter-spacing: .12em; font-size: .85rem; color: var(--oro); margin-bottom: .3rem; }
.datos dd { margin: 0; font-size: 1.05rem; }
.contacto .enlace { color: var(--blanco); margin-top: .4rem; }
.datos--claro dt { color: var(--oro-tinta); }
.datos--claro dd a:not(.enlace) { color: var(--navy); font-weight: 700; }

/* Páginas de servicio */
.shero { background: var(--papel); }
.shero > .wrap { padding-block: clamp(2rem, 1rem + 3vw, 4.5rem); }
.shero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.shero h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 4.4rem); color: var(--navy); max-width: 14ch; margin-bottom: var(--space-3); }
.shero__foto { margin: 0; position: relative; }
.shero__foto::before { content: ""; position: absolute; inset: 6% -5% -5% 6%; background: var(--navy); border-radius: var(--radius-lg); }
.shero__foto img { position: relative; border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow-lg); }
.shero__precio { font-size: .98rem; color: var(--tinta-suave); margin: 0; }
.shero__precio strong { font-family: var(--font-display); font-size: 1.5rem; color: var(--navy); }
.sdet { background: var(--blanco); }
.sdet__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); }
.sdet h2 { color: var(--navy); font-size: var(--step-2); margin-top: var(--space-8); }
.sdet__bloque > h2:first-child { margin-top: 0; }
.sdet p { color: var(--tinta-suave); }
.lista-check { list-style: none; padding: 0; margin: 0; }
.lista-check li { padding: .85rem 0 .85rem 2.2rem; border-bottom: 1px solid var(--linea); position: relative; font-weight: 600; color: var(--tinta); }
.lista-check li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 20px; height: 20px; border-radius: 50%; background: var(--oro) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23061a33' stroke-width='3' d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.sdatos { background: var(--navy); color: var(--blanco); }
.sdatos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.sdatos > .wrap { padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.sdatos .eyebrow { color: var(--oro); }
.sdatos p { color: rgb(255 255 255 / .82); }
.sdatos__big { font-family: var(--font-display); font-weight: 800; font-size: 3.2rem; color: var(--blanco) !important; line-height: 1; }
.sdatos__big small { font-family: var(--font-body); font-size: .95rem; font-weight: 500; }
.linea-tiempo { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--oro); }
.linea-tiempo li { padding: 0 0 1.6rem 1.4rem; position: relative; }
.linea-tiempo li::before { content: ""; position: absolute; left: -7px; top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--navy); border: 2px solid var(--oro); }
.linea-tiempo span { font-family: var(--font-display); font-weight: 700; color: var(--oro-tinta); letter-spacing: .08em; }
.linea-tiempo p { margin: .2rem 0 0; color: var(--tinta-suave); }
.linea-tiempo strong { color: var(--navy); }
.cta-final { background: var(--navy-900); color: var(--blanco); text-align: center; }
.cta-final__in { max-width: 760px; }
.cta-final h2 { font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); }
.cta-final p { color: rgb(255 255 255 / .8); }
.otros { background: var(--papel); }
.otros h2 { color: var(--navy); font-size: var(--step-2); }
.otros__lista { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .8rem; }
.otros__lista a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; background: var(--blanco); border-radius: var(--radius-md); text-decoration: none; font-weight: 700; color: var(--navy); border: 1px solid var(--linea); transition: border-color .2s, transform .2s var(--ease-out); }
.otros__lista a:hover { border-color: var(--oro); transform: translateY(-2px); }
.galeria { background: var(--papel); }
.galeria__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 1rem; }
.galeria__grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); }
.galeria__grid img:first-child { grid-row: span 2; }
.galeria__grid img:nth-child(4) { grid-column: span 2; }

/* Legales */
.legal-doc { max-width: 72ch; padding-block: clamp(2.5rem, 2rem + 3vw, 5rem); }
.legal-doc h1 { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); color: var(--navy); }
.legal-doc h2 { font-size: var(--step-1); color: var(--navy); margin-top: var(--space-8); }
.legal-doc li { margin-bottom: .4rem; }
.legal-fecha { color: var(--tinta-suave); font-size: .9rem; }
.tabla { overflow-x: auto; }
.tabla table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.tabla th, .tabla td { text-align: left; padding: .7rem; border-bottom: 1px solid var(--linea); vertical-align: top; }
.tabla th { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .06em; color: var(--navy); }

/* Pie */
.pie { background: var(--navy-900); color: rgb(255 255 255 / .78); font-size: .95rem; }
.pie__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: 4rem 2.5rem; }
.pie__marca img { width: 84px; margin-bottom: 1rem; }
.pie__nombre { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; color: var(--blanco); margin-bottom: .4rem; }
.pie__redes { display: flex !important; gap: .6rem !important; margin-top: 1.2rem !important; }
.pie .pie__redes a { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 1px solid rgb(255 255 255 / .25); color: var(--blanco); transition: background .2s, color .2s, border-color .2s; }
.pie .pie__redes a:hover { background: var(--oro); border-color: var(--oro); color: var(--navy-900); text-decoration: none; }
.pie__tit { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--oro); font-size: .9rem; }
.pie ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .15rem; }
.pie li a { display: inline-block; padding-block: .35rem; }
.pie a { color: rgb(255 255 255 / .85); text-decoration: none; }
.pie a:hover { color: var(--oro-claro); text-decoration: underline; }
.pie__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid rgb(255 255 255 / .12); padding-block: 1.4rem; font-size: .85rem; }
.pie__legal p { margin: 0; }

/* Barra fija móvil */
.mbar { display: none; }

/* Animaciones de entrada */
.anim .revela { opacity: 0; translate: 0 28px; transition: opacity .8s var(--ease-out), translate .8s var(--ease-out); }
.anim .revela.visto { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ───── Tablet y móvil ───── */
@media (max-width: 1080px) {
  .nav__links { gap: 1.1rem; }
  .servicios__grid { grid-template-columns: repeat(2, 1fr); }
  .serv--1, .serv--2, .serv--3, .serv--4, .serv--5, .serv--6 { grid-column: span 1; grid-row: auto; min-height: 380px; }
  .serv--1, .serv--6 { grid-column: span 2; }
  .opiniones__grid { grid-template-columns: repeat(2, 1fr); }
  .proceso__pasos { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .pie__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --nav-h: 64px; }
  .nav__cta, .nav__droptoggle { display: none; }
  .nav__burger { display: flex; }
  .nav__nombre { font-size: 1.15rem; }
  .nav__marca img { width: 46px; }
  .nav__links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--papel); border-bottom: 1px solid var(--linea); padding: .5rem 1.25rem 1.2rem; max-height: calc(100dvh - var(--nav-h)); overflow: auto; display: none; box-shadow: var(--shadow-lg); }
  .nav__links.is-open { display: flex; }
  .nav__links > a, .nav__droplink { padding: .9rem 0; border-bottom: 1px solid var(--linea); font-size: 1.1rem; }
  .nav__drop { flex-direction: column; align-items: stretch; }
  .nav__menu { position: static; opacity: 1; visibility: visible; translate: none; box-shadow: none; background: transparent; padding: .2rem 0 .4rem 1rem; min-width: 0; }
  .nav__menu::before { display: none; }
  .nav__menu a { padding: .55rem .6rem; }

  .hero__grid, .shero__grid, .porque__grid, .historia__grid, .sobre__grid, .seguros__grid, .faq__grid, .contacto__grid, .sdet__grid { grid-template-columns: 1fr; }
  .hero > .wrap { padding-top: 1.4rem; }
  .hero h1 { max-width: none; }
  .hero__lema { font-size: 1.4rem; }
  .hero__ctas { margin-block: 1.1rem; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__foto { justify-self: center; width: min(100%, 380px); margin-top: 1rem; }
  .hero__panel { inset: 8% -4% -4% 10%; }
  .hero__datos { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero__datos li { min-width: 0; padding-right: .6rem; font-size: .82rem; }
  .hero__datos li + li { padding-left: .8rem; }
  .hero__datos strong { font-size: 2rem; }
  .faq .sec-cab { margin-bottom: 1rem; }
  .sobre__fotos { aspect-ratio: 1 / .9; }
  .hero__sello { left: -.5rem; bottom: 1.2rem; font-size: .85rem; }
  .shero__foto { max-width: 420px; }
  .porque__foto { max-width: 460px; }
  .porque__foto figcaption { right: .6rem; }
  .lista-num { grid-template-columns: 1fr; }
  .historia__fotos, .sobre__fotos { min-height: 0; aspect-ratio: 1 / 1.05; }
  .sdatos__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .galeria__grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 200px; }
  .galeria__grid img:first-child { grid-row: span 2; }

}

@media (max-width: 760px) {
  .pie { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .serv--6::after { background: linear-gradient(180deg, rgb(6 26 51 / 0) 25%, rgb(6 26 51 / .92) 82%); }
  .serv--6 figure img { object-position: 62% 50%; }
  .wrap { width: calc(100% - 2.5rem); }
  .servicios__grid { grid-template-columns: 1fr; }
  .serv--1, .serv--6 { grid-column: auto; }
  .serv, .serv--1, .serv--6 { min-height: 400px; }
  /* Servicios: carrusel horizontal con el dedo */
  .servicios__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: .9rem; margin-inline: -1.25rem; padding: 0 1.25rem 1rem; scrollbar-width: none; }
  .serv { flex: 0 0 84%; scroll-snap-align: start; min-height: 440px; }
  .opiniones__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -1.25rem; padding: 0 1.25rem 1rem; scrollbar-width: none; }
  .op { flex: 0 0 82%; scroll-snap-align: start; margin-top: 0 !important; }
  .proceso__pasos { grid-template-columns: 1fr; }
  .proceso__n { font-size: 3.4rem; }
  .pie__grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .mbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; gap: .6rem; padding: 10px 84px calc(10px + env(safe-area-inset-bottom)) 12px; background: rgb(6 26 51 / .96); backdrop-filter: blur(8px); transition: translate .25s ease; }
  .mbar.is-off { translate: 0 calc(100% + 24px); visibility: hidden; }
  .mbar a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; border-radius: var(--radius-full); font-weight: 700; text-decoration: none; }
  .mbar__wa { background: var(--oro); color: var(--navy-900); }
  .mbar__tel { border: 2px solid rgb(255 255 255 / .4); color: var(--blanco); }
  .cinta__in { font-size: 1.25rem; }
}

@media (max-width: 380px) {
  .nav__nombre { font-size: 1rem; }
  .hero h1 { font-size: 2.3rem; }
  .hero__datos strong { font-size: 2rem; }
}
