/* ============================================================
   ARTZE — estilos
   Paleta (del logo): azul pizarra, terracota, gris piedra y crema. Tipos: Cormorant Garamond / Inter.
   ============================================================ */
:root {
  --ink: #22303c;
  --ink-2: #5a6570;
  --cream: #f4efe7;
  --stone: #e6dfd3;
  --line: #d8d1c6;
  --slate: #405364;      /* azul pizarra del logo */
  --slate-2: #354655;
  --bronze: #9b5124;     /* terracota del logo (un tono más oscuro para texto legible) */
  --bronze-2: #efc4a4;   /* terracota claro, para texto sobre pizarra */
  --terra: #a65a29;      /* terracota exacto del logo */
  --gris: #878b8c;
  --white: #fff;
  --pad: clamp(20px, 5vw, 80px);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .9, .24, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
main > section[hidden] { display: none !important; }
.view-in { animation: viewIn .8s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(18px); } }
body.view-inicio .footer { display: none; }
.nav-links a.active::after { transform: scaleX(1); }
body { margin: 0; background: var(--cream); color: var(--ink); font: 300 1rem/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.lock { overflow: hidden; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1; letter-spacing: -.01em; margin: 0; }
h2 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 em, h1 em { font-style: italic; color: var(--bronze); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bronze); outline-offset: 3px; }

.kicker { font: 500 .72rem var(--sans); text-transform: uppercase; letter-spacing: .28em; color: var(--bronze); margin: 0 0 22px; }
.kicker.light { color: var(--bronze-2); }
.kicker::before { content: "[\00a0"; }
.kicker::after { content: "\00a0]"; }
.head-center { text-align: center; display: grid; justify-items: center; }
.head { margin-bottom: clamp(40px, 6vw, 80px); }

/* ---------- Botones ---------- */
.btn-line { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; font: 500 .8rem var(--sans); letter-spacing: .2em; text-transform: uppercase; padding: 6px 0; }
.btn-line i { width: 48px; height: 1px; background: currentColor; position: relative; transition: width .5s var(--ease); }
.btn-line i::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn-line:hover i { width: 80px; }
.btn-line.light { color: var(--white); }
.btn-solid { background: var(--bronze); color: var(--white); border: 0; padding: 18px 28px; font: 500 .8rem var(--sans); letter-spacing: .2em; text-transform: uppercase; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; transition: color .4s; }
.btn-solid::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); z-index: -1; }
.btn-solid:hover { color: var(--ink); }
.btn-solid:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--slate); color: var(--cream); display: grid; place-content: center; gap: 22px; transition: transform 1.1s var(--ease-io); }
.loader.done { transform: translateY(-100%); }
.loader-word { display: flex; gap: .12em; font: 400 clamp(3rem, 9vw, 6rem) var(--serif); letter-spacing: .1em; overflow: hidden; }
.loader-word span { display: inline-block; transform: translateY(110%); animation: up .9s var(--ease) forwards; }
.loader-word span:nth-child(2) { animation-delay: .06s; } .loader-word span:nth-child(3) { animation-delay: .12s; }
.loader-word span:nth-child(4) { animation-delay: .18s; } .loader-word span:nth-child(5) { animation-delay: .24s; }
.loader-logo { width: min(300px, 62vw); height: auto; color: var(--white); clip-path: inset(0 0 100% 0); animation: logoIn 1.1s var(--ease) .1s forwards; }
@keyframes logoIn { to { clip-path: inset(0 0 0 0); } }
.loader-line { height: 1px; background: var(--bronze); transform: scaleX(0); animation: grow 1.4s var(--ease) .3s forwards; }
@keyframes up { to { transform: none; } }
@keyframes grow { to { transform: scaleX(1); } }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 28px var(--pad); color: var(--white); transition: background .5s, padding .5s, color .5s; }
.nav.scrolled { background: rgb(64 83 100 / .97); color: var(--white); padding-block: 12px; box-shadow: 0 10px 30px -18px rgb(0 0 0 / .5); }
.logo { display: block; color: var(--white); line-height: 0; transition: color .5s; }
.logo-svg { display: block; height: 74px; width: auto; transition: height .5s var(--ease); }
.nav.scrolled .logo { color: var(--white); }
.nav.scrolled .logo-svg { height: 54px; }
.nav.open .logo { color: var(--cream); }
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a { text-decoration: none; font: 400 .78rem var(--sans); letter-spacing: .18em; text-transform: uppercase; position: relative; padding: 4px 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { border: 1px solid currentColor; padding: 10px 20px !important; transition: background .3s, color .3s; }
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--white); color: var(--ink); }
.nav.scrolled .nav-cta:hover { background: var(--white); color: var(--slate); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; z-index: 2; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.nav-toggle span:first-child { top: 18px; } .nav-toggle span:last-child { top: 26px; }
.nav.open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.nav.open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 640px; overflow: hidden; color: var(--white); background: var(--slate); }
.hero-slides, .hero-slide, .hero-shade { position: absolute; inset: 0; }
.hero-slide { background-size: cover; background-position: center; opacity: 0; transform: scale(1.12); transition: opacity 1.6s ease, transform 7.5s linear; }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-shade { background: linear-gradient(180deg, rgb(0 0 0 / .45) 0%, rgb(0 0 0 / .1) 35%, rgb(0 0 0 / .25) 60%, rgb(0 0 0 / .75) 100%); }
.hero-content { position: absolute; left: var(--pad); right: var(--pad); bottom: clamp(70px, 12vh, 130px); z-index: 2; }
.hero-title { font-size: clamp(2.8rem, min(9.5vw, 13svh), 9.5rem); line-height: .92; margin-bottom: 40px; }
.hero-title em { color: var(--bronze-2); }
.hero .kicker { color: var(--bronze-2); text-shadow: 0 1px 12px rgb(0 0 0 / .5); }
.hl { display: block; overflow: hidden; padding-bottom: .08em; }
.hl > span { display: inline-block; transform: translateY(110%); }
body.ready .hl > span { animation: up 1.3s var(--ease) var(--d) forwards; }
.hero-in { opacity: 0; transform: translateY(20px); }
body.ready .hero-in { animation: fadeUp 1.2s var(--ease) var(--d) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.hero-bottom { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: 1100px; }
.hero-bottom p { max-width: 40ch; margin: 0; font-size: 1.05rem; color: rgb(255 255 255 / .85); }
.hero-meta { position: absolute; right: var(--pad); top: 50%; z-index: 2; display: grid; gap: 16px; justify-items: end; }
.hero-count { font: 400 .85rem var(--sans); letter-spacing: .15em; color: rgb(255 255 255 / .7); }
.hero-count b { font-weight: 500; color: var(--white); }
.hero-bars { display: flex; gap: 8px; }
.hero-bars span { width: 44px; height: 2px; background: rgb(255 255 255 / .25); position: relative; cursor: pointer; overflow: hidden; }
.hero-bars span::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.hero-bars span.done::after { transform: scaleX(1); }
.hero-bars span.on::after { animation: bar 6s linear forwards; }
@keyframes bar { to { transform: scaleX(1); } }
.hero-scroll { position: absolute; left: 50%; bottom: 26px; translate: -50% 0; z-index: 2; font: 400 .65rem var(--sans); letter-spacing: .3em; text-transform: uppercase; padding-bottom: 48px; color: rgb(255 255 255 / .7); }
.hero-scroll::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 38px; background: rgb(255 255 255 / .6); transform-origin: top; animation: drip 2s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.img-reveal { overflow: hidden; margin: 0; }
.img-reveal img { clip-path: inset(100% 0 0 0); transform: scale(1.3); transition: clip-path 1.5s var(--ease-io), transform 2s var(--ease); width: 100%; height: 100%; object-fit: cover; }
.img-reveal.in img { clip-path: inset(0 0 0 0); transform: scale(1); }

/* ---------- Intro / manifiesto ---------- */
.page-head[hidden] { display: none; }
.page-head { position: relative; height: clamp(320px, 52vh, 520px); display: grid; place-items: center; text-align: center; color: var(--white); overflow: hidden; background: var(--slate); }
.page-head-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); animation: headZoom 8s var(--ease) forwards; }
.page-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(41 54 67 / .55), rgb(41 54 67 / .35) 50%, rgb(41 54 67 / .6)); }
@keyframes headZoom { to { transform: scale(1); } }
.page-head-in { position: relative; z-index: 1; padding: 80px var(--pad) 0; }
.page-head h1 { font-size: clamp(3rem, 8vw, 6.4rem); font-weight: 400; }
.crumbs { margin: 14px 0 0; display: flex; align-items: center; justify-content: center; gap: 14px; font: 500 .72rem var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.crumbs a { text-decoration: none; opacity: .85; }
.crumbs a:hover { opacity: 1; }
.crumbs i { display: flex; gap: 4px; }
.crumbs i::before, .crumbs i::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--bronze-2); }
.intro { padding: clamp(70px, 10vw, 130px) var(--pad) clamp(80px, 10vw, 140px); display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.manifesto { font-size: clamp(1.9rem, 3.6vw, 3.3rem); line-height: 1.18; }
.manifesto .w { color: rgb(34 48 60 / .16); transition: color .6s ease; }
.manifesto .w.lit { color: var(--ink); }
.manifesto .mbreak { display: block; height: .55em; }
.intro-images { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.intro-images figure { aspect-ratio: 3 / 4; }
.intro-images .tall { margin-top: 30%; aspect-ratio: 3 / 4.6; }

/* ---------- Servicios: paneles ---------- */
.services-wrap { padding: clamp(60px, 8vw, 100px) var(--pad) clamp(100px, 12vw, 160px); }
.panels { display: flex; gap: 12px; height: clamp(480px, 70vh, 680px); }
.panel { position: relative; flex: 1; overflow: hidden; cursor: pointer; transition: flex 1s var(--ease); background: var(--slate); color: var(--white); outline-offset: -4px; }
.panel.active { flex: 3.4; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.6s var(--ease), filter 1s; filter: brightness(.55) grayscale(.35); }
.panel.active img { transform: scale(1); filter: brightness(.78) grayscale(0); }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgb(0 0 0 / .7)); }
.panel-body { position: absolute; inset: 28px 28px 30px; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; }
.panel-num { font: 400 .78rem var(--sans); letter-spacing: .2em; color: var(--bronze-2); }
.panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.6rem); margin: 10px 0 0; white-space: nowrap; }
.panel p { max-width: 38ch; margin: 14px 0 0; color: rgb(255 255 255 / .85); opacity: 0; transform: translateY(14px); transition: opacity .6s, transform .8s var(--ease); }
.panel.active p { opacity: 1; transform: none; transition-delay: .35s; }
.panel:not(.active) h3 { writing-mode: vertical-rl; position: absolute; top: 0; left: -6px; margin: 0; font-size: clamp(1.4rem, 2vw, 2rem); }
.panel:not(.active) .panel-num { opacity: 0; }

/* ---------- Banda parallax ---------- */
.band { position: relative; height: clamp(460px, 80vh, 760px); overflow: hidden; display: grid; place-items: center; text-align: center; color: var(--white); }
.band-img, .contact-bg { position: absolute; inset: -12% 0; background-size: cover; background-position: center; will-change: transform; }
.band::before { content: ""; position: absolute; inset: 0; background: rgb(53 70 85 / .62); z-index: 1; }
.band-text { position: relative; z-index: 2; padding: 0 var(--pad); }
.band blockquote { margin: 0; font: italic 400 clamp(2.2rem, 5.5vw, 5rem)/1.08 var(--serif); }

/* ---------- Proceso ---------- */
.process { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); padding: clamp(100px, 14vw, 180px) var(--pad); }
.process-sticky { position: sticky; top: 12vh; height: 76vh; overflow: hidden; background: var(--slate); }
.pm { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity 1s ease, transform 1.8s var(--ease); }
.pm.active { opacity: 1; transform: scale(1); }
.process-index { position: absolute; left: 26px; bottom: 10px; font: 400 clamp(5rem, 11vw, 9rem)/1 var(--serif); color: var(--white); mix-blend-mode: overlay; opacity: .9; }
.process-steps { padding-bottom: 20vh; }
.pstep { padding: 46px 0; border-top: 1px solid var(--line); opacity: .3; transition: opacity .6s; min-height: 34vh; }
.pstep.on { opacity: 1; }
.pstep span { font: 500 .75rem var(--sans); letter-spacing: .2em; color: var(--bronze); }
.pstep h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); margin: 12px 0 14px; }
.pstep p { color: var(--ink-2); max-width: 42ch; margin: 0; font-size: 1.05rem; }

/* ---------- Galería ---------- */
.gallery-wrap { padding: clamp(70px, 9vw, 120px) var(--pad); background: var(--cream); color: var(--ink); }
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin-top: 34px; }
.filter { position: relative; z-index: 0; background: transparent; color: var(--ink-2); border: 0; padding: 8px 6px; font: 500 .74rem var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; transition: color .3s; }
.filter sup { font-size: .6rem; letter-spacing: 0; margin-left: 3px; color: var(--bronze); }
.filter::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 6px; height: 6px; background: var(--bronze-2); opacity: .7; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); z-index: -1; }
.filter:hover { color: var(--ink); }
.filter.active { color: var(--ink); }
.filter.active::after { transform: scaleX(1); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; max-width: 1300px; margin: 0 auto; }
.g-item { position: relative; margin: 0; aspect-ratio: 1; overflow: hidden; cursor: zoom-in; background: var(--slate); opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.g-item.in { opacity: 1; transform: none; }
.g-item.hide { display: none; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.g-item:hover img { transform: scale(1.06); }
.g-item::after { content: ""; position: absolute; inset: 0; background: rgb(53 70 85 / .8); opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.g-item:hover::after, .g-item:focus-visible::after { opacity: 1; }
.g-item figcaption { z-index: 1; position: absolute; inset: 0; display: grid; place-content: center; gap: 10px; padding: 20px; text-align: center; color: var(--white); opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.g-item figcaption b { font: 500 1.6rem/1.1 var(--serif); }
.g-item figcaption span { font: 500 .66rem var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--bronze-2); }
.g-item:hover figcaption, .g-item:focus-visible figcaption { opacity: 1; transform: none; }
.gallery-note { margin: 30px 0 0; text-align: center; font-size: .8rem; letter-spacing: .05em; color: var(--ink-2); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 150; background: rgb(41 54 67 / .97); display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; opacity: 0; pointer-events: none; transition: opacity .5s; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox figure { margin: 0; display: grid; justify-items: center; gap: 16px; }
.lightbox img { max-height: 82vh; max-width: 100%; object-fit: contain; transform: scale(.96); transition: transform .6s var(--ease); }
.lightbox.open img { transform: none; }
.lightbox figcaption { color: var(--cream); font: 400 1.3rem var(--serif); }
.lb-close, .lb-nav { background: none; border: 0; color: var(--cream); cursor: pointer; font: 300 2.6rem/1 var(--sans); opacity: .7; transition: opacity .3s; }
.lb-close:hover, .lb-nav:hover { opacity: 1; }
.lb-close { position: absolute; top: 20px; right: 28px; }

/* ---------- Valores ---------- */
.values { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); padding: clamp(100px, 14vw, 180px) var(--pad); align-items: center; }
.values-img { aspect-ratio: 4 / 5; }
.value { padding: 30px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1.3fr; gap: 20px; align-items: baseline; }
.value h3 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); }
.value p { margin: 0; color: var(--ink-2); }

/* ---------- Contacto ---------- */
.contact { position: relative; overflow: hidden; color: var(--white); padding: clamp(100px, 14vw, 180px) var(--pad); }
.contact::before { content: ""; position: absolute; inset: 0; background: rgb(53 70 85 / .8); z-index: 1; }
.contact-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.contact h2 em { color: var(--bronze-2); }
.contact-list { list-style: none; padding: 0; margin: 50px 0 0; display: grid; gap: 22px; }
.contact-list li { display: grid; gap: 4px; padding-bottom: 18px; border-bottom: 1px solid rgb(255 255 255 / .18); }
.contact-list span { font: 500 .68rem var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--bronze-2); }
.contact-list a, .contact-list b { font: 400 1.6rem var(--serif); text-decoration: none; color: var(--white); }
.contact-list a:hover { color: var(--bronze-2); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 22px; background: rgb(53 70 85 / .55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: clamp(26px, 4vw, 48px); border: 1px solid rgb(255 255 255 / .12); }
.contact-form label { display: grid; gap: 6px; font: 500 .68rem var(--sans); letter-spacing: .2em; text-transform: uppercase; color: rgb(255 255 255 / .7); }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea { font: 300 1.05rem var(--sans); letter-spacing: 0; text-transform: none; color: var(--white); background: transparent; border: 0; border-bottom: 1px solid rgb(255 255 255 / .35); padding: 10px 0; border-radius: 0; resize: vertical; transition: border-color .3s; }
.contact-form select option { color: var(--ink); background: var(--white); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--bronze-2); }
.contact-form .btn-solid { margin-top: 8px; }

/* ---------- Footer ---------- */
.footer { background: var(--slate); color: rgb(244 239 231 / .75); padding: 80px var(--pad) 32px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 50px; max-width: 1300px; margin: 0 auto; }
.footer-brand { max-width: 460px; }
.footer-logo { display: block; width: 190px; height: auto; color: var(--cream); margin-bottom: 26px; }
.footer-brand p { margin: 0; font-size: .92rem; }
.footer-contact { text-align: right; }
.footer-contact h3 { font-size: 1.7rem; color: var(--cream); margin-bottom: 20px; }
.footer-contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; justify-items: end; }
.footer-contact li { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: var(--cream); }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: var(--bronze-2); }
.footer-contact svg { width: 18px; height: 18px; fill: none; stroke: var(--bronze-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; max-width: 1300px; margin: 60px auto 0; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .14); font-size: .82rem; }
.footer-row p { margin: 0; }
.footer-row a:hover { color: var(--bronze-2); }
.to-top { position: fixed; right: 30px; bottom: 96px; z-index: 59; width: 44px; height: 44px; border: 0; background: var(--bronze); color: var(--white); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .4s, transform .4s var(--ease), background .3s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--slate); }
.to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- WhatsApp ---------- */
.whats-float { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: var(--slate); color: var(--white); display: grid; place-items: center; border: 1px solid rgb(255 255 255 / .2); box-shadow: 0 10px 30px -10px rgb(0 0 0 / .5); transition: background .4s, transform .4s var(--ease); opacity: 0; transform: translateY(20px); }
body.ready .whats-float { opacity: 1; transform: none; transition-delay: 1.6s; }
.whats-float:hover { background: #25d366; transform: scale(1.08); transition-delay: 0s; }
.whats-float svg { width: 26px; height: 26px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .intro, .process, .values, .contact-inner { grid-template-columns: 1fr; }
  .process-media { display: none; }
  .pstep { min-height: auto; opacity: 1; }
  .panels { flex-direction: column; height: auto; }
  .panel, .panel.active { flex: none; height: 300px; }
  .panel p { opacity: 1; transform: none; }
  .panel img { filter: brightness(.7); }
  .panel:not(.active) h3 { writing-mode: horizontal-tb; position: static; margin-top: 10px; font-size: clamp(1.6rem, 2.6vw, 2.6rem); }
  .panel:not(.active) .panel-num { opacity: 1; }
  .value { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .g-item::after { opacity: 1; background: linear-gradient(transparent 45%, rgb(41 54 67 / .85)); }
  .g-item figcaption { opacity: 1; transform: none; place-content: end start; text-align: left; gap: 4px; padding: 12px; }
  .g-item figcaption b { font-size: 1.1rem; }
  .g-item figcaption span { font-size: .56rem; }
  .footer-contact { text-align: left; }
  .footer-contact ul { justify-items: start; }
  .logo-svg { height: 58px; }
  .nav.scrolled .logo-svg { height: 46px; }
  .nav-toggle { display: block; }
  .nav-links { position: fixed; inset: 0; background: var(--slate); color: var(--cream); flex-direction: column; justify-content: center; gap: 30px; clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io); }
  .nav-links a { font: 400 2.4rem var(--serif); letter-spacing: .02em; text-transform: none; }
  .nav.open { color: var(--cream); background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom-color: transparent; }
  .nav.open .nav-links { clip-path: inset(0 0 0 0); }
  .hero-meta { top: auto; bottom: 30px; right: var(--pad); }
  .hero-content { bottom: 90px; }
  .hero-scroll { display: none; }
  .hero-bars span { width: 26px; }
  .hero .kicker { display: none; }
  .hero-count { display: none; }
  .hero-meta { left: var(--pad); right: auto; bottom: 34px; }
  .hero-shade { background: linear-gradient(180deg, rgb(0 0 0 / .45) 0%, rgb(0 0 0 / .15) 30%, rgb(0 0 0 / .55) 60%, rgb(0 0 0 / .85) 100%); }
  .contact-form { grid-template-columns: 1fr; }
  .lightbox { grid-template-columns: 44px 1fr 44px; }
  .intro-images .tall { margin-top: 20%; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .g-item, .hero-in { opacity: 1; transform: none; }
  .view-in { animation: none; }
  .img-reveal img { clip-path: none; transform: none; }
  .hl > span { transform: none; }
}
