/* =========================================================
   DAMARA MÃRMOLES â€” Landing
   Paleta y tipografÃ­as segÃºn Tablero de marca DAMARA SRL
   ========================================================= */

/* Exo 2 Light (libre, SIL OFL 1.1): reemplazo gratuito de Mainlux para tÃ­tulos */
@font-face { font-family: "Exo 2"; src: url("../assets/fonts/exo2-light.woff2") format("woff2"); font-weight: 300; font-display: swap; }

:root {
  /* Marca â€” paleta oficial (Tablero de marca DAMARA SRL) */
  --azul-oscuro: #16305B;
  --indigo: #2D4262;
  --deep-purple: #363237;
  --slate: #626D71;
  --ceramic: #CDCDC0;

  /* Roles */
  --navy: var(--azul-oscuro);
  --navy-2: var(--indigo);
  --navy-dark: #0E2140;   /* Azul Oscuro sombreado (fondos profundos) */
  --sky: var(--ceramic);  /* acento sobre fondos oscuros; en fondos claros pasa a Slate */
  --stone: var(--deep-purple);
  --stone-2: #423D44;     /* Deep Purple aclarado (tarjetas) */
  --cream: #F3F3EE;       /* Ceramic muy claro */
  --white: #FFFFFF;
  --ink: #1C1C1E;
  --muted: var(--slate);
  --line: rgba(22, 48, 91, .12);

  /* TipografÃ­a */
  --f-display: "Exo 2", "Montserrat", system-ui, sans-serif;
  --f-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Escala fluida */
  --fs-h1: clamp(2.4rem, 1.4rem + 4.6vw, 5rem);
  --fs-h2: clamp(1.9rem, 1.3rem + 2.6vw, 3.25rem);
  --fs-h3: clamp(1.1rem, 1rem + .4vw, 1.3rem);
  --fs-lead: clamp(1rem, .95rem + .3vw, 1.15rem);

  --radius: 4px;
  --header-h: 76px;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* En fondos claros el acento Ceramic no contrasta: se usa Slate */
.header.is-scrolled, .about, .clients, .process, .works, .contact { --sky: var(--slate); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
figure { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); font-weight: 300; line-height: 1.08; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ---------- Utilidades de texto ---------- */
.eyebrow {
  font-size: .75rem; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .75rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--sky); }
.eyebrow--light { color: var(--sky); }
.eyebrow.center { display: flex; justify-content: center; }
.title { font-size: var(--fs-h2); color: var(--navy); margin-bottom: 1.25rem; }
.title em, .hero__title em { font-style: normal; font-weight: 300; color: var(--sky); }
.title--light { color: var(--white); }
.section__head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section__lead { font-size: var(--fs-lead); color: var(--muted); }
.materials .section__lead, .sinks .section__lead { color: rgba(255,255,255,.7); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem 1.75rem; border-radius: var(--radius);
  font: 600 .8rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid transparent; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ceramic); color: var(--navy-dark); }
.btn--primary:hover { background: #E0E0D6; }
.header.is-scrolled .btn--primary, .contact .btn--primary { background: var(--navy); color: var(--white); }
.header.is-scrolled .btn--primary:hover, .contact .btn--primary:hover { background: var(--indigo); }
.btn--ghost { border-color: rgba(255,255,255,.55); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--sm { padding: .7rem 1.15rem; font-size: .7rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.header.is-scrolled { background: rgba(255,255,255,.96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); --header-h: 64px; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: flex; align-items: center; transition: opacity .35s var(--ease); }
/* Arriba de todo el logo grande estÃ¡ en la portada; el del header aparece al scrollear */
.header:not(.is-scrolled) .brand { opacity: 0; pointer-events: none; }
body.menu-open .header .brand { opacity: 1; pointer-events: auto; }
.brand__logo { height: 46px; width: auto; transition: height .35s var(--ease); }
.brand__logo--dark { display: none; }
.header.is-scrolled .brand__logo { height: 40px; }
.header.is-scrolled .brand__logo--light { display: none; }
.header.is-scrolled .brand__logo--dark { display: block; }
body.menu-open .brand__logo--light { display: block; position: relative; z-index: 60; }
body.menu-open .brand__logo--dark { display: none; }
@media (max-width: 600px) { .brand__logo, .header.is-scrolled .brand__logo { height: 36px; } }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a:not(.btn) {
  color: var(--white); font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  position: relative; padding: .25rem 0;
}
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: var(--sky); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.header.is-scrolled .nav a:not(.btn) { color: var(--navy); }

.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; z-index: 60; }
.burger span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px auto; transition: transform .3s var(--ease), opacity .3s; }
.header.is-scrolled .burger span { background: var(--navy); }

@media (max-width: 960px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; background: var(--navy-dark);
    flex-direction: column; justify-content: center; gap: 1.75rem;
    opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav a:not(.btn), .header.is-scrolled .nav a:not(.btn) { color: var(--white); font-size: 1rem; }
  .nav__cta { margin-top: 1rem; }
  body.menu-open .nav { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }
  body.menu-open .burger span { background: var(--white); }
  body.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .burger span:nth-child(2) { opacity: 0; }
  body.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: var(--white); background: var(--navy-dark); overflow: hidden;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(14,33,64,.72) 0%, rgba(14,33,64,.86) 70%),
    linear-gradient(0deg, rgba(14,33,64,.6) 0%, transparent 40%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__inner { position: relative; z-index: 1; }
.hero__content { max-width: 760px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__logo { width: clamp(260px, 52vw, 620px); height: auto; margin-bottom: clamp(2rem, 4vw, 3rem); filter: drop-shadow(0 6px 24px rgba(0,0,0,.25)); }
.hero__title { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.6rem); margin-bottom: 1.25rem; }
.hero__lead { font-size: var(--fs-lead); color: rgba(255,255,255,.82); max-width: 580px; margin-bottom: 2.25rem; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.hero__scroll { position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%); width: 24px; height: 40px; border: 1px solid rgba(255,255,255,.5); border-radius: 12px; z-index: 1; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; background: var(--white); border-radius: 2px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 600px) {
  .hero__media::after { background: linear-gradient(0deg, rgba(14,33,64,.95) 0%, rgba(14,33,64,.75) 55%, rgba(14,33,64,.45) 100%); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
}

/* ---------- Stats ---------- */
.stats { background: var(--navy); color: var(--white); }
.stats__grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: 2.25rem 1.25rem; border-left: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; gap: .4rem; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); color: var(--sky); line-height: 1; }
.stat__label { font-size: .85rem; color: rgba(255,255,255,.75); line-height: 1.45; }
@media (max-width: 960px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1.75rem 1rem; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .stat:last-child { grid-column: 1 / -1; }
}

/* ---------- Secciones ---------- */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

/* Nosotros */
.about__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about__text p { color: #3E4549; }
.about__text strong { color: var(--navy); font-weight: 600; }
.quote {
  margin: 2rem 0 0; padding: 1.25rem 0 1.25rem 1.5rem; border-left: 2px solid var(--sky);
  font-family: var(--f-display); font-weight: 300; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); color: var(--navy); line-height: 1.3;
}
.about__media { position: relative; aspect-ratio: 4 / 5; }
.about__img { position: absolute; overflow: hidden; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(14,33,64,.45); }
.about__img img { width: 100%; height: 100%; object-fit: cover; }
.about__img--a { inset: 0 22% 18% 0; }
.about__img--b { inset: 42% 0 0 46%; border: 6px solid var(--cream); }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; width: 100%; margin: 0 auto; }
}

/* Clientes */
.clients { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.clients__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 3rem; margin-top: .5rem; }
.clients__list li { display: flex; align-items: center; gap: .75rem; font-weight: 500; color: var(--navy); letter-spacing: .04em; }
.clients__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--sky); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 600px) {
  .clients__list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
}

/* Materiales */
.materials { background: var(--stone); color: var(--white); }
.materials::before {
  content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background: url("../assets/img/mat-via-lactea.jpg") center / cover;
}
.materials .container { position: relative; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter {
  background: transparent; color: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.25);
  padding: .6rem 1.2rem; border-radius: 999px; font: 500 .78rem var(--f-body); letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
  transition: all .25s var(--ease);
}
.filter:hover { border-color: var(--sky); color: var(--white); }
.filter.is-active { background: var(--sky); border-color: var(--sky); color: var(--navy-dark); }
.mat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.mat { cursor: default; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.mat.is-hidden { display: none; }
.mat__swatch { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 3px solid rgba(255,255,255,.12); background: var(--stone-2); }
.mat__swatch img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mat:hover .mat__swatch img { transform: scale(1.12); }
.mat__swatch--plain { background: linear-gradient(135deg, #fbfbf9, #ecebe7); }
.mat__swatch--pending { display: grid; place-items: center; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.45); background: repeating-linear-gradient(45deg, #3B363C 0 10px, #423D44 10px 20px); }
.mat__name { margin-top: .7rem; font-size: .95rem; font-weight: 500; }
.mat__type { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); }
@media (max-width: 1000px) { .mat-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px) { .mat-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (max-width: 480px) { .mat-grid { grid-template-columns: repeat(2, 1fr); } }

/* Proceso */
.process { background: var(--cream); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.step { padding: 2rem 2rem 2rem 0; border-bottom: 1px solid var(--line); }
.step:not(:nth-child(3n+1)) { padding-left: 2rem; border-left: 1px solid var(--line); }
.step__n { font-family: var(--f-display); font-weight: 300; font-size: 2.2rem; color: var(--sky); line-height: 1; display: block; margin-bottom: 1rem; }
.step h3 { font-family: var(--f-body); font-size: var(--fs-h3); font-weight: 600; color: var(--navy); margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }
.process__gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.process__gallery figure { position: relative; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius); }
.process__gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.process__gallery figure:hover img { transform: scale(1.06); }
.process__gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(14,33,64,.85)); color: var(--white);
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step, .step:not(:nth-child(3n+1)) { padding: 1.5rem 1.25rem 1.5rem 0; border-left: 0; }
  .step:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--line); }
  .process__gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .step:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* Por quÃ© */
.why { color: var(--white); background: var(--navy-dark); overflow: hidden; }
.why__bg { position: absolute; inset: 0; }
.why__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; }
.why__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(22,48,91,.95), rgba(14,33,64,.75)); }
.why__inner { position: relative; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.why__item { padding: 2rem 1.5rem; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.03); backdrop-filter: blur(2px); transition: border-color .3s, background .3s; }
.why__item:hover { border-color: var(--sky); background: rgba(205,205,192,.08); }
.why__item h3 { font-size: 1.45rem; margin-bottom: .75rem; color: var(--white); }
.why__item p { color: rgba(255,255,255,.72); font-size: .93rem; margin: 0; }
@media (max-width: 960px) { .why__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .why__grid { grid-template-columns: 1fr; } }

/* Obras */
.works { background: var(--white); }
.works__grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 1rem; }
.work { position: relative; overflow: hidden; border-radius: var(--radius); background: #ddd; }
.work--tall { grid-row: span 2; }
.work img { width: 100%; height: 100%; object-fit: cover; object-position: center 70%; transition: transform .8s var(--ease); }
.work:hover img { transform: scale(1.05); }
.work figcaption {
  position: absolute; left: 1rem; bottom: 1rem; background: rgba(255,255,255,.94); color: var(--navy);
  padding: .55rem .9rem; border-radius: var(--radius); font-family: var(--f-display); font-weight: 300; font-size: 1.05rem; line-height: 1.1;
}
.work figcaption span { display: block; font-family: var(--f-body); font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sky); }
@media (max-width: 860px) { .works__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; } }
@media (max-width: 520px) {
  .works__grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .work--tall { grid-row: span 1; }
  .work--tall img { object-position: center 60%; }
}

/* Piletas */
.sinks { background: var(--stone); color: var(--white); }
.sinks__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.sink { background: var(--stone-2); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease); }
.sink:hover { transform: translateY(-4px); }
.sink__img { aspect-ratio: 4 / 3; background: var(--white); overflow: hidden; }
.sink__img img { width: 100%; height: 100%; object-fit: cover; }
.sink__body { padding: 1.4rem 1.5rem 1.6rem; border-top: 2px solid var(--sky); }
.sink h3 { font-size: 1.6rem; color: var(--white); margin-bottom: .35rem; }
.sink__code { font-size: .75rem; letter-spacing: .2em; color: var(--sky); margin: 0 0 .2rem; }
.sink__size { font-size: .9rem; color: rgba(255,255,255,.7); margin: 0; letter-spacing: .06em; }
@media (max-width: 1100px) { .sinks__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .sinks__grid { grid-template-columns: 1fr; } }

/* Contacto */
.contact { background: var(--cream); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact__info > p:not(.eyebrow) { color: var(--muted); font-size: var(--fs-lead); }
.contact__list { margin-top: 2rem; display: grid; gap: 1.25rem; }
.contact__list li { display: flex; gap: 1rem; align-items: center; }
.contact__list small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.contact__list a, .contact__list span { font-weight: 500; color: var(--navy); word-break: break-word; }
.contact__list a:hover { color: var(--sky); }
.contact__ic { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; }
.contact__ic svg { width: 20px; height: 20px; fill: var(--white); color: var(--white); }

.form { background: var(--white); padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius); box-shadow: 0 30px 60px -40px rgba(14,33,64,.35); display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: grid; gap: .45rem; font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.form input, .form select, .form textarea {
  width: 100%; font: 400 1rem var(--f-body); color: var(--ink); background: var(--cream);
  border: 1px solid transparent; border-radius: var(--radius); padding: .85rem 1rem;
  transition: border-color .2s, background .2s; letter-spacing: 0; text-transform: none;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sky); background: var(--white); }
.form .is-invalid { border-color: #d9534f; }
.form textarea { resize: vertical; min-height: 110px; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form__row { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: var(--navy-dark); color: rgba(255,255,255,.7); padding: 3.5rem 0 2.5rem; }
.footer__inner { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; }
.footer__brand { display: flex; align-items: center; }
.footer__logo { height: 56px; width: auto; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem 1.75rem; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.footer__nav a:hover { color: var(--sky); }
.footer__copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; margin: 0; font-size: .8rem; }
@media (max-width: 700px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__nav { justify-content: flex-start; }
}

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: grid; place-items: center; box-shadow: 0 10px 25px -8px rgba(0,0,0,.45);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* AnimaciÃ³n de entrada */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero__media img { animation: none; transform: none; }
}

/* ---------- ImÃ¡genes ampliables ---------- */
[data-zoom] { cursor: zoom-in; }
[data-zoom]:focus-visible { outline: 2px solid var(--sky); outline-offset: -4px; }
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center;
  padding: 4rem 4.5rem; background: rgba(14,33,64,.97);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
body.lb-open { overflow: hidden; }
.lightbox__fig { margin: 0; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
.lightbox__fig img { max-width: 100%; max-height: calc(100% - 3rem); object-fit: contain; border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.lightbox__fig figcaption { color: var(--white); font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-align: center; }
.lightbox__close, .lightbox__nav {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.25); color: var(--white);
  font: 300 2rem/1 var(--f-body); cursor: pointer; transition: background .25s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.2); }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
.lightbox.is-single .lightbox__nav { display: none; }
@media (max-width: 600px) {
  .lightbox { padding: 4.5rem 1rem 5.5rem; }
  .lightbox__nav { top: auto; bottom: 1.25rem; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { right: calc(50% - 60px); }
}
