/* =========================================================
   INVICTA WOODWORKS — styles.css
   Marca: marrón carpintería + dorado del logo.
   Orden: 1 Base · 2 Componentes · 3 Cabecera y hero · 4 Secciones
          5 Pie y elementos flotantes · 6 Página legal · 7 Móvil
   Los estados iniciales "ocultos" de las animaciones solo se aplican
   con la clase .js en <html>: sin JavaScript la página se ve completa.
   ========================================================= */

/* ---------- 1. Base ---------- */
:root {
  --espresso: #18100b;
  --walnut: #24170f;
  --wood: #6b4428;
  --oak: #a7774b;
  --bronze: #8a5a1c;      /* dorado oscuro: textos pequeños sobre fondo claro (contraste AA) */
  --gold: #c9973f;
  --gold-light: #e8c27a;
  --cream: #f6f1ea;
  --sand: #ece3d7;
  --ink: #221711;
  --muted: #6f5d50;
  --line: rgba(34, 23, 17, .12);
  --line-dark: rgba(232, 194, 122, .16);
  --wa: #25d366;
  --error: #b3392b;
  --focus: var(--wood);

  --font-head: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 84px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-color: #b59f88 var(--cream); }
body { font-family: var(--font-body); color: var(--ink); background: var(--cream); line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-variant-numeric: lining-nums; }
@supports (overflow: clip) { body { overflow-x: clip; } }
body.is-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; } /* height:auto respeta la proporción aunque la imagen lleve width/height */
picture { display: contents; }                          /* <picture> no altera la maquetación de su <img> */
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
button:disabled { cursor: default; }
ol, ul { list-style: none; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--espresso); }
.container { width: min(1240px, 100% - 48px); margin-inline: auto; }

/* Foco visible con teclado (el color cambia en las zonas oscuras) */
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
:focus:not(:focus-visible) { outline: none; }
main:focus, .form__done:focus { outline: none; }
.header, .hero, .section--dark, .banner, .footer, .lightbox, .mbar { --focus: var(--gold-light); }
.skip { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 12px 20px; border-radius: var(--radius); background: var(--gold); color: var(--espresso); font-size: .85rem; font-weight: 600; transform: translateY(-200%); }
.skip:focus { transform: none; }

@view-transition { navigation: auto; } /* fundido suave al cambiar de idioma */

/* ---------- Preloader (solo con JavaScript) ---------- */
.preloader { display: none; }
.js .preloader { position: fixed; inset: 0; z-index: 999; background: var(--espresso); display: grid; place-content: center; justify-items: center; gap: 26px; transition: opacity .7s var(--ease), visibility .7s; }
.preloader img { width: 104px; height: 104px; object-fit: contain; animation: breathe 1.6s ease-in-out infinite; }
.preloader__bar { width: 140px; height: 1px; background: var(--line-dark); overflow: hidden; }
.preloader__bar i { display: block; height: 100%; width: 40%; background: var(--gold); animation: loadbar 1.1s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.05); opacity: .85; } }
@keyframes loadbar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.js body:not(.is-loading) .preloader { opacity: 0; visibility: hidden; }
.js.is-return .preloader { display: none; } /* al cambiar de idioma no se repite la entrada */

/* ---------- Progreso de lectura + cursor ---------- */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); z-index: 120; }
.cursor { position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none; }
.cursor span { display: grid; place-items: center; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: var(--gold); color: var(--espresso); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; transform: scale(0); transition: transform .35s var(--ease-out); }
.cursor.is-on span { transform: scale(1); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- 2. Tipografía y componentes ---------- */
.eyebrow, .tag { font-size: .72rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--bronze); margin-bottom: 20px; display: flex; align-items: center; gap: 14px; }
.tag::before, .eyebrow::before { content: ""; flex: none; width: 34px; height: 1px; background: currentColor; }
.tag--center { justify-content: center; }
.tag--center::after { content: ""; flex: none; width: 34px; height: 1px; background: currentColor; }
.eyebrow, .section--dark .tag, .banner .tag { color: var(--gold); }
.title { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.1rem, 4.4vw, 3.5rem); line-height: 1.05; letter-spacing: -.012em; margin-bottom: 22px; text-wrap: balance; }
.title em { font-style: italic; color: var(--wood); }
.section--dark .title em { color: var(--gold-light); }
.subtitle { color: var(--muted); max-width: 560px; font-size: 1.05rem; }
.section--dark .subtitle { color: rgba(246,241,234,.72); }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; font-size: .78rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--wood); }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(6px); }

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 32px; border-radius: 999px; font-size: .78rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; text-align: center; overflow: hidden; isolation: isolate; transition: color .4s var(--ease), border-color .4s, transform .3s var(--ease-out); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease-out); }
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.btn--sm { padding: 11px 22px; font-size: .72rem; }
.btn--gold { background: var(--gold); color: var(--espresso); }
.btn--gold::before { background: var(--gold-light); }
.btn--ghost { border: 1px solid rgba(246,241,234,.45); color: var(--cream); }
.btn--ghost::before { background: var(--cream); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--espresso); border-color: var(--cream); }
.btn--dark { background: var(--espresso); color: var(--cream); }
.btn--dark::before { background: var(--wood); }
.btn--outline-dark { border: 1px solid var(--ink); color: var(--ink); }
.btn--outline-dark::before { background: var(--ink); }
.btn--outline-dark:hover, .btn--outline-dark:focus-visible { color: var(--cream); }

/* Aparición al hacer scroll */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* Foto que se descubre de arriba abajo. El recorte va en el hijo: si se recortara el propio
   bloque, el navegador lo daría por invisible y nunca avisaría de que ha entrado en pantalla. */
.js .reveal--clip { opacity: 1; transform: none; }
.js .reveal--clip > .parallax { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease-out); }
.js .reveal--clip.is-visible > .parallax { clip-path: inset(0); }
.js .reveal--clip > .about__badge { opacity: 0; transform: scale(.82); transition: opacity .6s var(--ease) .7s, transform .9s var(--ease-out) .7s; }
.js .reveal--clip.is-visible > .about__badge { opacity: 1; transform: none; }

/* ---------- 3. Cabecera ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); transition: background .4s, height .4s, transform .5s var(--ease); }
.header.is-scrolled { background: rgba(24,16,11,.94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); height: 70px; box-shadow: 0 1px 0 var(--line-dark); }
.header.is-hidden { transform: translateY(-100%); }
.header:focus-within { transform: none; } /* con teclado la cabecera nunca queda escondida */
.header--solid { position: sticky; top: 0; height: 70px; background: var(--espresso); box-shadow: 0 1px 0 var(--line-dark); }
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); }
.brand__logo { width: 48px; height: 48px; object-fit: contain; }
.brand__text { font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; letter-spacing: .1em; text-transform: uppercase; line-height: 1; color: var(--gold-light); }
.brand__text small { display: block; font-family: var(--font-body); font-size: .54rem; font-weight: 500; letter-spacing: .44em; margin-top: 5px; color: var(--cream); opacity: .8; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav__link { color: var(--cream); font-size: .84rem; font-weight: 500; letter-spacing: .03em; position: relative; opacity: .82; transition: opacity .3s; }
.nav__link::after { content: ""; position: absolute; left: 0; bottom: -8px; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav__link:hover, .nav__link.is-active { opacity: 1; }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__tools { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; gap: 2px; }
.lang__btn { padding: 6px 8px; font-size: .72rem; font-weight: 600; letter-spacing: .1em; color: var(--cream); opacity: .65; border-bottom: 1px solid transparent; transition: opacity .3s, border-color .3s, color .3s; }
.lang__btn:hover { opacity: 1; }
.lang__btn.is-active { opacity: 1; color: var(--gold-light); border-color: var(--gold); }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; width: 22px; height: 1.5px; background: var(--cream); transition: transform .35s var(--ease), opacity .3s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; display: flex; align-items: center; color: var(--cream); overflow: hidden; background: var(--espresso); }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { animation: kenburns 8s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.01); } }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,16,11,.9) 0%, rgba(24,16,11,.6) 50%, rgba(24,16,11,.2) 100%), linear-gradient(0deg, rgba(24,16,11,.78) 0%, transparent 45%); }
.hero__content { position: relative; padding-top: var(--header-h); }
.hero__title { font-family: var(--font-head); font-weight: 600; font-size: clamp(3rem, 7.6vw, 6.4rem); line-height: .98; letter-spacing: -.02em; margin-bottom: 30px; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { font-style: italic; color: var(--gold-light); }
.hero__text { font-size: 1.1rem; font-weight: 300; max-width: 540px; color: rgba(246,241,234,.88); margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
/* Entrada del texto (solo con JS; al volver de otro idioma aparece ya colocado) */
.js .hero__title .line > span { transform: translateY(110%); transition: transform 1.2s var(--ease-out); }
.js .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.js .hero__anim { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease-out); }
.js body.is-ready .hero__title .line > span { transform: none; }
.js body.is-ready .hero__anim { opacity: 1; transform: none; }
.js body.is-ready .hero__text { transition-delay: .35s; }
.js body.is-ready .hero__actions { transition-delay: .5s; }
.js.is-return .hero__title .line > span, .js.is-return .hero__anim { opacity: 1; transform: none; transition: none; }
.hero__controls { position: absolute; left: 0; right: 0; bottom: 38px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.hero__caption { display: flex; flex-direction: column; gap: 4px; font-size: .82rem; color: rgba(246,241,234,.8); }
.hero__count { font-family: var(--font-head); font-size: 1.3rem; color: var(--gold-light); letter-spacing: .1em; }
.hero__nav { display: flex; align-items: center; gap: 16px; }
.hero__pause { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(246,241,234,.35); display: grid; place-items: center; color: var(--cream); transition: background .3s, border-color .3s; }
.hero__pause:hover { background: rgba(246,241,234,.12); border-color: var(--cream); }
.hero__pause svg { width: 12px; height: 12px; }
.hero__pause .i-pause { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.hero__pause .i-play { display: none; fill: currentColor; }
.hero__pause[aria-pressed="true"] .i-pause { display: none; }
.hero__pause[aria-pressed="true"] .i-play { display: block; }
.hero__dots { display: flex; gap: 10px; }
.hero__dots button { width: 54px; height: 24px; display: flex; align-items: center; }
.hero__dots button i { display: block; width: 100%; height: 2px; background: rgba(246,241,234,.28); position: relative; overflow: hidden; }
.hero__dots button i::after { content: ""; position: absolute; inset: 0; background: var(--gold-light); transform: scaleX(0); transform-origin: left; }
.hero__dots button.is-active i::after { animation: dotfill 7s linear forwards; }
.hero__dots.is-paused button.is-active i::after { animation: none; transform: scaleX(1); }
@keyframes dotfill { to { transform: scaleX(1); } }
.hero__scroll { position: absolute; bottom: 34px; left: 50%; margin-left: -12px; width: 24px; height: 54px; overflow: hidden; }
.hero__scroll::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 100%; background: rgba(246,241,234,.2); }
.hero__scroll span { position: absolute; left: 50%; top: 0; width: 1px; height: 40%; background: var(--gold-light); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--gold); color: var(--espresso); overflow: hidden; padding: 18px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__track span { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; font-style: italic; white-space: nowrap; padding: 0 28px; display: flex; align-items: center; gap: 56px; }
.marquee__track span::after { content: "✦"; font-style: normal; font-size: .9rem; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 4. Secciones ---------- */
.section { padding: 140px 0; position: relative; }
.section--dark { background: var(--espresso); color: var(--cream); }
.section--sand { background: var(--sand); }
/* Textura muy sutil en las zonas oscuras: evita el negro plano */
.section--dark::before, .footer::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 .9  0 0 0 0 .75  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); }
.section--dark > *, .footer > * { position: relative; }
.section__head { text-align: center; margin-bottom: 72px; }
.section__head .tag { justify-content: center; }
.section__head .subtitle { margin-inline: auto; }
.section__head--split { text-align: left; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.section__head--split .tag { justify-content: flex-start; }
.section__head--split .subtitle { margin: 0 0 26px; }

/* Presentación */
.intro__statement { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.8rem, 3.8vw, 3.2rem); line-height: 1.2; letter-spacing: -.01em; max-width: 1080px; }
.intro__statement .w { opacity: .16; transition: opacity .4s; }
.intro__statement .w.on { opacity: 1; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 90px 0 120px; border-top: 1px solid var(--line); }
.fact { padding: 30px 24px 0 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact strong { display: block; font-family: var(--font-head); font-size: clamp(3rem, 6vw, 4.8rem); font-weight: 600; line-height: 1; color: var(--wood); margin-bottom: 10px; font-variant-numeric: lining-nums tabular-nums; }
.fact > span { font-size: .9rem; color: var(--muted); }

/* Sobre nosotros */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 100px; align-items: center; }
.parallax { overflow: hidden; border-radius: var(--radius); }
.parallax img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.about__media { position: relative; }
.about__media .parallax { aspect-ratio: 4/3.3; }
.about__badge { position: absolute; right: -30px; bottom: -30px; background: var(--espresso); color: var(--cream); width: 168px; height: 168px; border-radius: 50%; display: grid; place-content: center; text-align: center; border: 1px solid var(--line-dark); box-shadow: 0 24px 50px -24px rgba(24,16,11,.7); }
.about__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 36s linear infinite; }
.about__ring text { fill: var(--gold-light); font-family: var(--font-body); font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }
.about__badge strong { position: relative; font-family: var(--font-head); font-size: 2.5rem; color: var(--gold-light); line-height: 1; }
.about__badge span { position: relative; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; opacity: .8; }
.about__text p { color: var(--muted); margin-bottom: 16px; }

/* Servicios */
.svc { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: start; }
.svc__item { border-top: 1px solid var(--line-dark); }
.svc__item:last-child { border-bottom: 1px solid var(--line-dark); }
.svc__btn { width: 100%; display: grid; grid-template-columns: 56px 1fr 24px; align-items: center; gap: 12px; padding: 28px 0; text-align: left; }
.svc__n { font-family: var(--font-head); font-size: 1rem; color: var(--gold); }
.svc__t { font-family: var(--font-head); font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 600; line-height: 1.1; color: rgba(246,241,234,.6); transition: color .4s, transform .5s var(--ease-out); }
.svc__item.is-active .svc__t, .svc__btn:hover .svc__t { color: var(--cream); transform: translateX(10px); }
.svc__plus { position: relative; width: 16px; height: 16px; }
.svc__plus::before, .svc__plus::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1px; background: var(--gold); transition: transform .4s var(--ease); }
.svc__plus::after { transform: rotate(90deg); }
.svc__item.is-active .svc__plus::after { transform: rotate(0); }
.svc__body { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .5s var(--ease-out), visibility 0s .5s; }
.svc__body > * { overflow: hidden; min-height: 0; }
.svc__item.is-active .svc__body { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.svc__body p { padding: 0 0 28px 68px; max-width: 520px; color: rgba(246,241,234,.74); }
.svc__body img { display: none; }
.svc__visual { position: sticky; top: 110px; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius); background: var(--walnut); }
.svc__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s var(--ease), transform 1.4s var(--ease-out); }
.svc__visual img.is-active { opacity: 1; transform: none; }

/* Proyectos destacados (carrusel) */
.featured { padding-bottom: 110px; }
.slider-nav { display: flex; gap: 10px; margin-bottom: 26px; }
.slider-btn { width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(34,23,17,.3); font-size: 1.1rem; transition: background .3s, color .3s, border-color .3s, opacity .3s; }
.slider-btn:hover:not(:disabled) { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.slider-btn:disabled { opacity: .3; }
.feat { --edge: max(24px, calc((100vw - 1240px) / 2)); display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--edge); scroll-padding-inline: var(--edge); scrollbar-width: none; cursor: grab; }
.feat::-webkit-scrollbar { display: none; }
.feat.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.feat.is-dragging * { pointer-events: none; }
.feat__card { display: block; flex: 0 0 clamp(280px, 32vw, 440px); scroll-snap-align: start; -webkit-user-drag: none; }
.feat__img { display: block; aspect-ratio: 4/5; overflow: hidden; border-radius: var(--radius); margin-bottom: 18px; background: var(--sand); }
.feat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); user-select: none; -webkit-user-drag: none; }
.feat__card:hover .feat__img img { transform: scale(1.06); }
.feat__cat { display: block; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--bronze); margin-bottom: 4px; }
.feat__name { display: block; font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; line-height: 1.15; }
.feat__bar { height: 2px; background: var(--line); margin-top: 44px; overflow: hidden; }
.feat__bar i { display: block; height: 100%; width: 20%; background: var(--ink); will-change: transform; }

/* Porqué Invicta (el texto cambia la fotografía) */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.why__sticky { position: sticky; top: 110px; align-self: start; }
.why__visual { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; margin-top: 30px; background: var(--walnut); }
.why__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .8s var(--ease), transform 1.4s var(--ease-out); }
.why__visual img.is-active { opacity: 1; transform: none; }
.why__visual::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent, rgba(24,16,11,.7)); }
.why__count { position: absolute; z-index: 1; left: 20px; bottom: 14px; color: rgba(246,241,234,.8); font-size: .78rem; letter-spacing: .14em; }
.why__count b { font-family: var(--font-head); font-size: 1.9rem; font-weight: 600; color: var(--gold-light); letter-spacing: 0; }
.why__list { padding-top: 120px; }
.why__item { min-height: 52vh; padding: 40px 0; border-top: 1px solid var(--line); opacity: .38; transition: opacity .6s var(--ease); }
.why__item.is-active { opacity: 1; }
.why__n { font-family: var(--font-head); font-size: 1.1rem; color: var(--bronze); }
.why__item h3 { font-family: var(--font-head); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; line-height: 1.1; margin: 8px 0 16px; }
.why__item p { color: var(--muted); font-size: 1.05rem; max-width: 460px; margin-bottom: 26px; }

/* Proceso */
.steps-wrap { position: relative; }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; padding-top: 34px; }
.steps__line { position: absolute; top: 6px; left: 0; right: 0; height: 1px; background: var(--line); }
.steps__line i { position: absolute; inset: 0; background: var(--gold); transform-origin: left; transform: scaleX(0); }
.step { position: relative; }
.js .step { opacity: .4; transition: opacity .6s var(--ease); }
.js .step.on { opacity: 1; }
.step__dot { position: absolute; top: -34px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--cream); border: 1px solid var(--oak); transition: background .4s, border-color .4s, box-shadow .4s; z-index: 1; }
.step.on .step__dot { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(201,151,63,.18); }
.step__n { display: block; font-family: var(--font-head); font-size: 3rem; font-weight: 600; color: var(--oak); opacity: .6; line-height: 1; }
.step h3 { font-family: var(--font-head); font-size: 1.45rem; font-weight: 600; margin: 14px 0 8px; line-height: 1.15; }
.step p { font-size: .92rem; color: var(--muted); }

/* Dónde trabajamos / mapa */
.locations { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.locations__lead { color: rgba(246,241,234,.74); margin-bottom: 34px; }
.loc-tabs { display: grid; border-top: 1px solid var(--line-dark); }
.loc-tab { display: flex; align-items: center; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); text-align: left; transition: padding .4s var(--ease-out); }
.loc-tab span { flex: 0 0 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; font-size: .74rem; font-weight: 600; letter-spacing: .1em; color: var(--gold-light); transition: background .3s, color .3s, border-color .3s; }
.loc-tab b { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: rgba(246,241,234,.66); transition: color .3s; }
.loc-tab:hover b, .loc-tab.is-active b { color: var(--cream); }
.loc-tab.is-active { padding-left: 10px; }
.loc-tab.is-active span { background: var(--gold); border-color: var(--gold); color: var(--espresso); }
.loc-desc { margin-top: 24px; min-height: 5.1em; color: rgba(246,241,234,.8); }
.map { position: relative; }
.map svg { width: 100%; height: auto; display: block; }
#dots circle { fill: rgba(232,194,122,.3); }
.map::before { content: ""; position: absolute; inset: -8%; background: radial-gradient(ellipse at 55% 45%, rgba(232,194,122,.07), transparent 68%); pointer-events: none; }
.map__route { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 6 8; opacity: .85; animation: dash 30s linear infinite; }
.map__route--eu { opacity: .35; transition: opacity .5s; }
.map[data-active="eu"] .map__route--eu { opacity: .9; }
@keyframes dash { to { stroke-dashoffset: -600; } }
.pin { cursor: pointer; }
.pin__dot { fill: var(--gold-light); stroke: var(--espresso); stroke-width: 3; }
.pin__pulse { fill: var(--gold); opacity: 0; transform-origin: center; transform-box: fill-box; }
.pin.is-active .pin__pulse { animation: pulse 2s var(--ease) infinite; }
.pin.is-active .pin__dot { fill: var(--gold); }
.pin text { fill: var(--cream); font-family: var(--font-body); font-size: 14px; font-weight: 500; letter-spacing: .04em; opacity: .6; transition: opacity .3s; }
.pin.is-active text, .pin:hover text { opacity: 1; }
@keyframes pulse { 0% { opacity: .5; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.6); } }
.map__note { position: absolute; right: 0; bottom: 0; font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(246,241,234,.62); }

/* Galería */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.filter { padding: 10px 20px; border-radius: 999px; border: 1px solid rgba(34,23,17,.22); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: background .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease); }
.filter sup { font-size: .62rem; margin-left: 2px; opacity: .8; }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.masonry { columns: 3; column-gap: 14px; }
.shot { display: block; break-inside: avoid; margin-bottom: 14px; position: relative; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; background: var(--sand); animation: shotIn .6s var(--ease-out) both; }
@keyframes shotIn { from { opacity: 0; transform: translateY(20px); } }
.shot img { width: 100%; height: auto; transition: transform 1s var(--ease-out); }
.shot__cap { position: absolute; inset: auto 0 0; padding: 50px 18px 16px; background: linear-gradient(transparent, rgba(24,16,11,.9)); color: var(--cream); transform: translateY(10px); opacity: 0; transition: opacity .4s, transform .5s var(--ease-out); }
.shot__cap small { display: block; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); }
.shot__cap span { display: block; font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; line-height: 1.2; }
.shot:hover img, .shot:focus-visible img { transform: scale(1.05); }
.shot:hover .shot__cap, .shot:focus-visible .shot__cap { opacity: 1; transform: none; }
.shot:focus-visible { outline-offset: -4px; outline-color: var(--gold-light); }
.shot.is-hidden { display: none; }
.more { text-align: center; margin-top: 44px; }
.more.is-done { display: none; }

/* Banner de Instagram */
.banner { position: relative; padding: 170px 0; color: var(--cream); overflow: hidden; background: var(--espresso); }
.banner__bg { position: absolute; inset: 0; border-radius: 0; overflow: hidden; }
.banner__bg img { height: 125%; object-position: center 30%; }
.banner__bg video { width: 100%; height: 100%; object-fit: cover; }
.banner__overlay { position: absolute; inset: 0; background: rgba(24,16,11,.72); }
.banner__content { position: relative; text-align: center; max-width: 760px; }
.banner h2 { font-family: var(--font-head); font-size: clamp(2.2rem, 4.8vw, 3.8rem); font-weight: 600; line-height: 1.05; margin-bottom: 20px; text-wrap: balance; }
.banner h2 em { font-style: italic; color: var(--gold-light); }
.banner p:not(.tag) { color: rgba(246,241,234,.85); margin-bottom: 36px; font-size: 1.05rem; }

/* Preguntas frecuentes */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.faq__head p:not(.tag) { color: var(--muted); }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; padding: 26px 50px 26px 0; position: relative; font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; line-height: 1.25; transition: color .3s; }
.qa summary:hover { color: var(--wood); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::before, .qa summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 1px; background: var(--wood); transition: transform .4s var(--ease); }
.qa summary::after { transform: rotate(90deg); }
.qa[open] summary::after { transform: rotate(0); }
.qa p { padding: 0 50px 26px 0; color: var(--muted); animation: qaIn .5s var(--ease-out); }
@keyframes qaIn { from { opacity: 0; transform: translateY(-8px); } }

/* Contacto */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.contact__sub { color: var(--muted); margin-bottom: 40px; }
.contact__list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; padding: 20px 0; border-top: 1px solid var(--line); }
.contact__list li:last-child { border-bottom: 1px solid var(--line); }
.contact__label { flex: 0 0 100px; font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); }
.contact__list a { font-family: var(--font-head); font-size: 1.45rem; font-weight: 600; transition: color .3s; overflow-wrap: anywhere; }
.contact__list a:hover { color: var(--wood); }
.contact__list .contact__wa, .contact__copy { font-family: var(--font-body); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-left: auto; padding: 6px 0; }
.contact__list .contact__wa { color: #0f7a37; }
.contact__copy { color: var(--bronze); transition: color .3s; }
.contact__copy:hover { color: var(--ink); }
.contact__copy.is-done { color: #0f7a37; }

.form { position: relative; background: #fff; padding: 50px; border-radius: var(--radius); box-shadow: 0 40px 80px -50px rgba(34,23,17,.45); border: 1px solid var(--line); }
.form__title { font-family: var(--font-head); font-size: 2rem; font-weight: 600; line-height: 1.15; margin-bottom: 26px; }
.chips { border: 0; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; min-width: 0; }
.chips legend { width: 100%; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.chips label { position: relative; }
.chips input { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: 10px 18px; border-radius: 999px; border: 1px solid #cdbfae; font-size: .84rem; cursor: pointer; transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.chips span:hover { border-color: var(--ink); }
.chips input:checked + span { background: var(--espresso); color: var(--cream); border-color: var(--espresso); }
.chips input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: block; position: relative; margin-bottom: 24px; padding-top: 16px; }
.field > span { position: absolute; left: 0; top: 30px; font-size: .95rem; color: var(--muted); pointer-events: none; transition: top .3s var(--ease), font-size .3s var(--ease), color .3s var(--ease), letter-spacing .3s var(--ease); }
.field input, .field select, .field textarea { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid #a8998a; background: transparent; font: inherit; color: var(--ink); border-radius: 0; transition: border-color .3s, box-shadow .3s; }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--wood); box-shadow: 0 1px 0 var(--wood); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field--select > span { top: 0; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bronze); }
.field select { cursor: pointer; -webkit-appearance: none; appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236f5d50' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 4px center; }
.field.has-error input, .field.has-error textarea { border-color: var(--error); box-shadow: 0 1px 0 var(--error); }
.field__error { display: block; font-style: normal; font-size: .78rem; color: var(--error); margin-top: 4px; }
.field__error:empty { display: none; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.form__actions .btn { flex: 1 1 200px; }
.form__note { margin-top: 18px; font-size: .78rem; line-height: 1.55; color: var(--muted); }
.form__note a { color: var(--wood); text-decoration: underline; text-underline-offset: 3px; }
.form__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } /* solo para lectores de pantalla */
.form__done { text-align: center; padding: 34px 0 20px; animation: qaIn .6s var(--ease-out); }
.form__done p { color: var(--muted); max-width: 400px; margin: 0 auto 28px; }
.form__done .link-arrow { display: flex; width: max-content; margin: 22px auto 0; }
.form__check { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 24px; border-radius: 50%; background: var(--gold); }
.form__check svg { width: 34px; height: 34px; fill: none; stroke: var(--espresso); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.form__check path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: check .6s .25s var(--ease-out) forwards; }
@keyframes check { to { stroke-dashoffset: 0; } }

/* ---------- 5. Pie de página ---------- */
.footer { position: relative; background: var(--espresso); color: var(--cream); overflow: hidden; }
.footer__cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding: 90px 0 70px; border-bottom: 1px solid var(--line-dark); }
.footer__cta h2 { font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 4.2rem); font-weight: 600; line-height: 1; }
.footer__ctasub { margin-top: 14px; color: rgba(246,241,234,.68); letter-spacing: .02em; }
.footer__inner { display: grid; grid-template-columns: 1.35fr .9fr 1.15fr 1fr; gap: 50px; padding: 70px 0 50px; }
.footer__brandrow { display: flex !important; align-items: center; gap: 16px; width: max-content; margin-bottom: 20px; }
.footer__brandrow img { width: 86px; height: 86px; object-fit: contain; filter: drop-shadow(0 6px 18px rgba(0,0,0,.45)); }
.footer__brandrow .brand__text { font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cream); line-height: 1.1; display: flex; flex-direction: column; }
.footer__brandrow .brand__text small { font-size: .62rem; letter-spacing: .44em; color: var(--gold-light); font-family: var(--font-body); font-weight: 500; margin-top: 5px; }
.footer__brand p { max-width: 340px; color: rgba(246,241,234,.7); font-size: .92rem; }
.footer__social { display: flex; gap: 12px; margin-top: 24px; }
.footer__social a { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 0; border: 1px solid var(--line-dark); border-radius: 50%; color: var(--gold-light); transition: background .3s, color .3s, border-color .3s, transform .3s; }
.footer__social a:hover, .footer__social a:focus-visible { background: var(--gold); border-color: var(--gold); color: var(--espresso); transform: translateY(-3px); }
.footer h3 { font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer h3.footer__sub { margin-top: 30px; }
.footer__inner a { display: block; width: max-content; max-width: 100%; color: rgba(246,241,234,.76); font-size: .92rem; margin-bottom: 10px; transition: color .3s; overflow-wrap: anywhere; }
.footer__inner a:hover { color: var(--gold-light); }
.footer__langs { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.footer__mark { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.6rem, 10.4vw, 11rem); line-height: .82; letter-spacing: -.01em; text-align: center; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(232,194,122,.28); user-select: none; padding: 10px 0 .16em; }
.footer__mark em { font-style: italic; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line-dark); padding: 24px 0; font-size: .78rem; color: rgba(246,241,234,.66); }
.footer--slim .footer__bottom { border-top: 0; }

/* Visor de fotografías */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(12,8,5,.96); display: flex; align-items: center; justify-content: center; padding: 60px 80px; opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s; }
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; max-width: 100%; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 170px); max-height: calc(100dvh - 170px); width: auto; object-fit: contain; border-radius: var(--radius); transition: opacity .25s; }
.lightbox img.is-loading { opacity: 0; }
.lightbox figcaption { display: flex; gap: 24px; justify-content: space-between; align-items: baseline; width: 100%; color: var(--cream); margin-top: 16px; }
.lightbox__cap { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.2; }
.lightbox__count { flex: none; font-size: .8rem; letter-spacing: .16em; color: var(--gold-light); }
.lightbox__close { position: absolute; top: 14px; right: 22px; width: 48px; height: 48px; font-size: 2.4rem; color: var(--cream); line-height: 1; border-radius: 50%; transition: background .3s; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(246,241,234,.3); font-size: 2rem; color: var(--cream); line-height: 1; transition: background .3s; }
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(246,241,234,.12); }
.lightbox__prev { left: 16px; } .lightbox__next { right: 16px; }

/* WhatsApp flotante + volver arriba */
.wa { position: fixed; right: 22px; bottom: 22px; z-index: 90; }
.wa__btn { width: 56px; height: 56px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; box-shadow: 0 12px 28px rgba(0,0,0,.28); transition: transform .3s var(--ease-out); --focus: var(--ink); }
.wa__btn:hover { transform: scale(1.07); }
.wa__btn svg { width: 28px; height: 28px; fill: #fff; }
.wa__menu { position: absolute; right: 0; bottom: 70px; width: 250px; background: #fff; border-radius: 12px; padding: 16px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); opacity: 0; visibility: hidden; transform: translateY(10px) scale(.96); transform-origin: bottom right; transition: opacity .3s, transform .4s var(--ease-out), visibility 0s .4s; }
.wa.is-open .wa__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.wa__menu p { font-size: .78rem; color: var(--muted); margin-bottom: 8px; }
.wa__menu a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 8px; font-size: .92rem; transition: background .25s; }
.wa__menu a:hover { background: var(--sand); }
.wa__menu b { flex: none; width: 32px; height: 32px; border-radius: 50%; background: #128c4b; color: #fff; display: grid; place-items: center; font-size: .7rem; }
.to-top { position: fixed; right: 28px; bottom: 92px; z-index: 89; width: 44px; height: 44px; display: grid; place-items: center; color: var(--gold-light); background: var(--espresso); border-radius: 50%; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s, bottom .4s var(--ease-out); }
.to-top.is-visible { opacity: 1; visibility: visible; transition-delay: 0s; }
.to-top svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke-width: 2; }
.to-top span { position: relative; }
.to-top__track { stroke: var(--line-dark); }
.to-top__ring { stroke: var(--gold); stroke-dasharray: 125.7; stroke-dashoffset: 125.7; }

/* Barra de contacto rápido (solo móvil) y sugerencia de idioma */
.mbar { display: none; }
.suggest { position: fixed; left: 22px; bottom: 22px; z-index: 96; display: flex; align-items: center; gap: 14px; max-width: min(400px, calc(100vw - 110px)); padding: 14px 46px 14px 18px; background: #fff; color: var(--ink); border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease-out), bottom .4s var(--ease-out); }
.suggest.is-visible { opacity: 1; transform: none; }
.suggest p { font-size: .88rem; line-height: 1.4; }
.suggest .btn { flex: none; }
.suggest__close { position: absolute; top: 4px; right: 6px; width: 34px; height: 34px; font-size: 1.4rem; line-height: 1; color: var(--muted); border-radius: 50%; }
.suggest__close:hover { color: var(--ink); background: var(--sand); }

/* ---------- 6. Página legal ---------- */
.page-legal { background: var(--cream); }
.legal { padding: 70px 0 110px; }
.legal__inner { width: min(780px, 100% - 48px); }
.legal__back { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 44px; font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--wood); }
.legal__back::before { content: "←"; transition: transform .3s var(--ease); }
.legal__back:hover::before { transform: translateX(-5px); }
.legal__updated { color: var(--muted); font-size: .88rem; margin-bottom: 44px; }
.legal section { padding: 34px 0; border-top: 1px solid var(--line); }
.legal h2 { font-family: var(--font-head); font-size: 1.75rem; font-weight: 600; line-height: 1.15; margin-bottom: 12px; }
.legal section p { color: #4f4137; max-width: 68ch; }
.legal section p + p { margin-top: 12px; }
.legal section p a:not(.link-arrow), .legal__data a { color: var(--wood); text-decoration: underline; text-underline-offset: 3px; }
.legal__data { margin-top: 22px; border-bottom: 1px solid var(--line); }
.legal__data div { display: grid; grid-template-columns: 170px 1fr; gap: 6px 20px; padding: 12px 0; border-top: 1px solid var(--line); }
.legal__data dt { font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--bronze); padding-top: 4px; }
.legal__data dd { overflow-wrap: anywhere; }
.legal .btn { margin-top: 30px; }

/* ---------- 7. Adaptación a pantallas ---------- */
@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .nav__link { font-size: .8rem; }
  .about, .svc, .why, .locations, .contact, .faq { gap: 56px; }
  .footer__inner { grid-template-columns: 1fr 1fr 1fr; gap: 44px; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 960px) {
  .burger { display: block; }
  .header, .header.is-scrolled { background: rgba(24,16,11,.96); -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; height: 70px; } /* sin filtros ni transform: el menú fijo puede ocupar toda la pantalla */
  .nav { position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100dvh; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px; background: var(--espresso); padding: 90px 32px 40px; overflow-y: auto; clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .6s var(--ease-out), visibility 0s .6s; z-index: -1; }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition-delay: 0s; }
  .nav__link { font-family: var(--font-head); font-size: 2.2rem; font-weight: 600; line-height: 1.35; opacity: 1; }
  .nav__link.is-active { color: var(--gold-light); }
  .nav__link::after { display: none; }
  .nav__cta { margin-top: 26px; }

  .section { padding: 100px 0; }
  .about, .svc, .why, .locations, .contact, .faq { grid-template-columns: 1fr; }
  .about__badge { right: 14px; bottom: -44px; width: 140px; height: 140px; }
  .about__badge strong { font-size: 2rem; }
  .about__text { margin-top: 30px; }
  .facts { grid-template-columns: 1fr 1fr; margin: 60px 0 80px; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 26px; }

  .svc__visual { display: none; }
  .svc__body img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); margin-bottom: 26px; }
  .svc__body p { padding-left: 0; }

  .why__sticky { position: static; }
  .why__visual { display: none; }
  .why__list { padding-top: 0; }
  .why__item { min-height: 0; opacity: 1; }

  .steps { grid-template-columns: 1fr; gap: 34px; padding: 0 0 0 40px; }
  .steps__line { top: 0; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; }
  .steps__line i { transform-origin: top; transform: scaleY(0); }
  .step__dot { top: 6px; left: -40px; }

  .masonry { columns: 2; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 70px; }
  .container { width: calc(100% - 32px); }
  .legal__inner { width: calc(100% - 32px); }
  .brand__text { font-size: 1.15rem; }
  .brand__text small { display: none; }
  .brand__logo { width: 40px; height: 40px; }
  .hero { min-height: 600px; }
  .hero__title { font-size: clamp(2.6rem, 12.5vw, 3.6rem); }
  .hero__text { font-size: 1rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__controls { bottom: 22px; }
  .hero__caption span:last-child { display: none; }
  .hero__nav { gap: 12px; }
  .hero__dots { gap: 6px; }
  .hero__dots button { width: 30px; }
  .hero__scroll { display: none; }
  .marquee__track span { font-size: 1.2rem; }
  .section { padding: 84px 0; }
  .section__head { margin-bottom: 50px; }
  .fact { padding-right: 10px; }
  .fact + .fact { padding-left: 16px; }
  .fact:nth-child(3) { padding-left: 0; }
  .feat__card { flex-basis: 78vw; }
  .slider-nav { display: none; }
  .masonry { column-gap: 8px; }
  .shot { margin-bottom: 8px; }
  .shot__cap { opacity: 1; transform: none; padding: 30px 10px 8px; }
  .shot__cap span { font-size: .95rem; }
  .shot__cap small { display: none; }
  .map__note { position: static; margin-top: 12px; text-align: right; }
  .banner { padding: 120px 0; }
  .form { padding: 30px 20px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .contact__label { flex-basis: 100%; }
  .contact__list .contact__wa, .contact__copy { margin-left: 0; }
  .qa summary { font-size: 1.2rem; }
  .footer__cta { padding: 70px 0 54px; }
  .footer__inner { grid-template-columns: 1fr; gap: 36px; padding: 54px 0 40px; }
  .footer__bottom { padding-bottom: 28px; }
  .lightbox { padding: 64px 10px 84px; }
  .lightbox__nav { top: auto; bottom: 16px; transform: none; }
  .lightbox figcaption { flex-direction: column; gap: 4px; }
  .legal { padding: 44px 0 80px; }
  .legal__data div { grid-template-columns: 1fr; }

  /* En móvil la barra inferior sustituye al botón flotante de WhatsApp */
  .wa { display: none; }
  .to-top { right: 16px; bottom: 20px; }
  .has-mbar .to-top { bottom: 82px; }
  .suggest { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .has-mbar .suggest { bottom: 78px; }
  .mbar { position: fixed; inset: auto 0 0; z-index: 95; display: grid; grid-template-columns: 1fr 1fr 1.5fr; background: var(--espresso); border-top: 1px solid var(--line-dark); box-shadow: 0 -14px 30px -18px rgba(0,0,0,.6); padding-bottom: env(safe-area-inset-bottom, 0px); transform: translateY(105%); visibility: hidden; transition: transform .45s var(--ease-out), visibility 0s .45s; }
  .mbar.is-visible { transform: none; visibility: visible; transition-delay: 0s; }
  .is-locked .mbar { transform: translateY(105%); visibility: hidden; }
  .mbar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 60px; padding: 8px 6px; color: var(--cream); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
  .mbar a + a { border-left: 1px solid var(--line-dark); }
  .mbar svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--gold-light); stroke-width: 1.6; stroke-linejoin: round; }
  .mbar .mbar__main { background: var(--gold); color: var(--espresso); border-left: 0; --focus: var(--cream); }
  .mbar a:focus-visible { outline-offset: -4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  @view-transition { navigation: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero__anim, .js .reveal--clip > .about__badge { opacity: 1; transform: none; }
  .js .reveal--clip > .parallax { clip-path: none; }
  .js .hero__title .line > span { transform: none; }
  .js .step { opacity: 1; }
  .intro__statement .w { opacity: 1; }
  .hero__slide img { transform: none; }
  .hero__dots button.is-active i::after { transform: scaleX(1); }
  .form__check path { stroke-dashoffset: 0; }
  .marquee__track { flex-wrap: wrap; width: auto; justify-content: center; }
}

@media print {
  .header, .preloader, .progress, .cursor, .wa, .to-top, .mbar, .suggest, .lightbox, .marquee, .hero__controls, .hero__scroll { display: none !important; }
  .js .reveal, .js .hero__anim, .js .hero__title .line > span, .js .step, .js .reveal--clip > * { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .shot.is-hidden { display: block; }
}

