/* ============================================================
   Parley Barbershop — hoja de estilos
   Dirección "La tregua": lienzo editorial, una foto grande por
   sección, tipografía condensada de gran tamaño, acentos dorados
   con moderación. Paleta y recursos gráficos según el Manual de Marca.
   ============================================================ */

:root {
  /* Paleta de marca */
  --navy:  #1C3F53;
  --black: #1F201F;
  --gold:  #B19564;
  --cream: #EFE5D4;
  --navy-deep: #0F1F29;

  /* Derivados */
  --cream-soft: #F6F0E4;
  --ink: #1F201F;
  --ink-soft: rgba(31, 32, 31, .72);
  --cream-ink-soft: rgba(239, 229, 212, .72);
  --line: rgba(31, 32, 31, .12);
  --line-light: rgba(239, 229, 212, .18);

  /* Tipografías
     El manual pide Alternate Gothic (comercial). League Gothic es una
     revisión libre de Alternate Gothic No. 1 y se usa como sustituto
     hasta licenciar la original. Inter para lectura, según el manual.
     El logotipo e isotipo se usan como imagen (assets/). */
  --font-display: "League Gothic", "Alternate Gothic", Impact, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1180px;
  --gutter: 16px;
  --radius: 8px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1; }
p { margin: 0 0 1em; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
em { font-style: italic; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* ---------- Tipos de texto ---------- */
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 6.4vw, 72px);
  letter-spacing: .02em;
  text-transform: uppercase;
}

h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -.01em;
}

/* ---------- Botón (solo el del menú) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
  border: 1.5px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn__arrow { font-family: var(--font-body); font-weight: 500; font-size: 16px; line-height: 1; transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--gold { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn--gold:hover { background: #C4A775; border-color: #C4A775; }

/* Enlace editorial con flecha: el llamado a la acción de todas las secciones */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 6px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  transition: color .2s, border-color .2s;
}
.link-arrow span { font-family: var(--font-body); font-weight: 500; font-size: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--gold); }
.link-arrow:hover span { transform: translateX(6px); }
.link-arrow--light { color: var(--cream); }
.link-arrow--light:hover { color: var(--gold); }

/* ---------- Marca (logotipo oficial) ---------- */
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand__img { height: 46px; width: auto; }
.brand__mark {
  display: block;
  width: 32px; height: 48px;
  background: var(--gold);
  -webkit-mask: url("assets/parley-mark.webp") center / contain no-repeat;
          mask: url("assets/parley-mark.webp") center / contain no-repeat;
  transition: background .2s;
}
.brand:hover .brand__mark { background: var(--cream); }

/* ---------- Navegación ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(31, 32, 31, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-light);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--cream);
}
.nav__links a:not(.btn) { position: relative; padding: 6px 0; opacity: .85; transition: opacity .2s; }
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: var(--gold); transition: right .3s var(--ease);
}
.nav__links a:not(.btn):hover { opacity: 1; }
.nav__links a:not(.btn):hover::after { right: 0; }
.nav__cta { padding: 11px 20px; font-size: 18px; }
.nav__cta .btn__arrow { font-size: 15px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer;
}
.nav__toggle span { display: block; width: 22px; height: 2px; background: var(--cream); transition: transform .3s, opacity .3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--black);
    border-bottom: 1px solid var(--line-light);
    padding: 8px var(--gutter) 20px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s;
  }
  .nav__links.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a:not(.btn) { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--line-light); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: 16px; }
}

/* ---------- Inicio: secuencia anclada al scroll ----------
   Arranca con el logo, la frase y la información básica centrados.
   Al scrollear, JS escribe --p (0 → 1) en .hero y el CSS interpola:
   el bloque de marca sube y se achica, entra una foto grande desde
   abajo y a su lado aparece el texto con la invitación. En mobile o
   con reduced-motion se muestra la composición final sin anclaje. */
.hero {
  --p: 0;
  --nav-h: 72px;
  position: relative;
  background: var(--black);
  color: var(--cream);
  isolation: isolate;
}
.hero__sticky {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
}
/* Floritura del isotipo como arquitectura del fondo, según el manual */
.hero__flourish {
  position: absolute;
  left: -22vw; bottom: -28vw;
  width: clamp(520px, 70vw, 1100px);
  height: auto;
  opacity: .05;
  transform: rotate(-12deg);
  pointer-events: none; user-select: none;
  z-index: 0;
}
.hero__stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: 56px 56px;
  gap: 48px;
}

.hero__brand { display: flex; flex-direction: column; align-items: center; }
.hero__logo { line-height: 0; }
.hero__logo-img { width: min(78vw, 520px); height: auto; }
.hero__tagline {
  margin: 28px 0 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  letter-spacing: .04em;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--cream);
}
/* Información inmediata: dónde, cuándo y cómo */
.hero__info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 0;
  margin: 22px 0 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--cream-ink-soft);
}
.hero__info span + span::before { content: "·"; margin: 0 14px; color: var(--gold); }
.hero__scroll {
  display: none;
  margin: 36px 0 0;
  font-size: 11px; font-weight: 600; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold);
  flex-direction: column; align-items: center; gap: 10px;
}
.hero__scroll-line { width: 1px; height: 44px; background: linear-gradient(var(--gold), transparent); animation: scrollhint 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes scrollhint { 0%, 100% { transform: scaleY(.3); opacity: .4 } 50% { transform: scaleY(1); opacity: 1 } }

/* Composición final: una foto grande y el texto al costado */
.hero__feature {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  width: 100%;
  max-width: 960px;
  text-align: left;
}
.feature__photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  background: var(--navy-deep);
}
.feature__photo img { width: 100%; height: 100%; object-fit: cover; }
/* Marco tipo paspartú: una línea dorada por fuera de la foto, sin pisarla */
.feature__photo,
.about__photo,
.gallery__frame { outline: 1px solid rgba(177,149,100,.45); outline-offset: 10px; }
.feature__text { display: flex; flex-direction: column; align-items: flex-start; }
.kicker {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 18px;
  font-family: var(--font-body); font-weight: 600;
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold);
}
.kicker span { width: 40px; height: 1px; background: var(--gold); }
.feature__text h2 { color: var(--cream); font-size: clamp(40px, 4.6vw, 60px); line-height: .95; }
.feature__lead { margin: 14px 0 0; font-size: 15px; line-height: 1.6; color: var(--cream-ink-soft); max-width: 44ch; }
.feature__list {
  margin: 20px 0 0;
  width: 100%;
  border-top: 1px solid var(--line-light);
}
.feature__list li {
  display: flex; align-items: baseline; gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cream);
}
.feature__list em { font-style: normal; font-size: 13px; letter-spacing: .2em; color: var(--gold); }

@media (min-width: 640px) {
  .hero__feature { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
}

/* Ornamento de secciones: florituras del isotipo en grande, recortadas por el
   borde, como en la portada del manual ("Formas del logotipo") */
.section__ornament {
  position: absolute;
  width: clamp(420px, 55vw, 900px);
  height: auto;
  opacity: .07;
  pointer-events: none; user-select: none;
  right: -12vw; bottom: -14vw;
  z-index: 0;
}
.section__ornament--left {
  right: auto; bottom: auto;
  left: -16vw; top: -10vw;
  width: clamp(380px, 46vw, 760px);
  opacity: .13;
  transform: rotate(14deg);
}
.section .container { position: relative; z-index: 1; }

/* Versión anclada: desktop y sin reduced-motion */
@media (min-width: 900px) and (prefers-reduced-motion: no-preference) {
  .hero { height: 205vh; }
  .hero__sticky {
    position: sticky;
    top: var(--nav-h);
    height: calc(100vh - var(--nav-h));
    min-height: 0;
  }
  .hero__stage {
    height: 100%;
    padding: 0 var(--gutter);
    gap: 0;
    justify-content: flex-end;
    padding-bottom: 5vh;
  }

  /* progreso por tramo */
  .hero {
    --p1: clamp(0, calc(var(--p) / .5), 1);              /* marca sube y se achica */
    --pf: clamp(0, calc((var(--p) - .14) / .46), 1);     /* foto entra desde abajo */
    --pt: clamp(0, calc((var(--p) - .5) / .4), 1);       /* texto aparece */
  }

  .hero__brand {
    position: absolute;
    left: 0; right: 0;
    top: calc(50% - var(--p1) * (50% - 2vh));
    transform: translateY(calc(-50% * (1 - var(--p1)))) scale(calc(1 - .5 * var(--p1)));
    transform-origin: top center;
    will-change: transform, top;
  }
  .hero__logo-img { width: min(44vw, 560px); }
  /* al scrollear queda solo el logo: frase, info y pista se desvanecen enseguida */
  .hero__tagline, .hero__info { opacity: max(0, calc(1 - var(--p1) * 2.2)); }
  .hero__scroll { display: flex; opacity: calc(1 - var(--p1) * 4); }

  .hero__feature {
    height: 54vh;
    max-width: 1000px;
    grid-template-columns: calc(54vh * .8) 1fr;
    gap: 64px;
    margin-bottom: 0;
    align-items: end;
  }
  .feature__photo {
    aspect-ratio: auto;
    height: 100%;
    background: transparent; /* sin fondo: la foto se revela sobre el negro, sin rectángulo previo */
    opacity: var(--pf);
    transform: translateY(calc((1 - var(--pf)) * 60vh));
    will-change: transform, opacity;
  }
  .feature__photo img { clip-path: inset(calc((1 - var(--pf)) * 100%) 0 0 0); transform: scale(calc(1.1 - .1 * var(--pf))); }
  .feature__photo { outline-color: rgba(177,149,100, calc(.45 * var(--pf))); } /* el marco aparece con la foto */
  .feature__text {
    opacity: var(--pt);
    transform: translateY(calc((1 - var(--pt)) * 40px));
    will-change: transform, opacity;
  }
}

/* Notebooks con poco alto: comprimir la composición final */
@media (min-width: 900px) and (max-height: 820px) and (prefers-reduced-motion: no-preference) {
  .hero__brand { transform: translateY(calc(-50% * (1 - var(--p1)))) scale(calc(1 - .6 * var(--p1))); }
  .hero__feature { height: 54vh; grid-template-columns: calc(54vh * .8) 1fr; gap: 48px; }
  .feature__text h2 { font-size: 42px; }
  .feature__lead { margin-top: 10px; font-size: 14px; }
  .feature__list { margin: 14px 0 0; }
  .feature__list li { padding: 7px 0; font-size: 19px; }
  .kicker { margin-bottom: 8px; }
  .hero__stage { padding-bottom: 3vh; }
}

/* ---------- Cinta de información ---------- */
.marquee {
  background: var(--gold);
  color: var(--black);
  overflow: hidden;
  padding: 11px 0;
  border-block: 1px solid rgba(31,32,31,.15);
}
.marquee__track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: marquee 36s linear infinite;
  will-change: transform;
}
.marquee__track i { font-style: normal; font-size: 11px; opacity: .6; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Secciones ---------- */
.section { position: relative; padding-block: clamp(72px, 10vw, 136px); overflow: hidden; }
.section--cream { background: var(--cream); color: var(--ink); }
.section--navy  { background: var(--navy);  color: var(--cream); }
.section--dark  { background: var(--black); color: var(--cream); }

.section__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
  margin-bottom: clamp(44px, 6vw, 80px);
}
.section__head .num {
  font-family: var(--font-display);
  font-size: clamp(72px, 10vw, 128px);
  line-height: .8;
  color: var(--navy);
  padding-right: 20px;
  border-right: 1.5px solid var(--line);
}
.section__head h2 { color: var(--navy); margin-top: 4px; }
.section__head p { margin: 12px 0 0; color: var(--ink-soft); max-width: 48ch; }
/* Separador: línea fina con rombo ("Líneas y detalles" del manual) */
.divider {
  display: flex; align-items: center; gap: 12px;
  width: min(100%, 240px);
  margin-top: 20px;
  color: var(--gold);
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .6; }
.divider i { font-style: normal; font-size: 10px; line-height: 1; }
.section__head--light .num { color: var(--cream); border-color: var(--line-light); }
.section__head--light h2 { color: var(--cream); }
.section__head--light p { color: var(--cream-ink-soft); }

.section__note {
  margin-top: 44px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 60ch;
}
.section__note .link-arrow { margin-top: 14px; font-size: 20px; }

/* ---------- Servicios: carta editorial ---------- */
.menu { border-top: 1px solid var(--line); counter-reset: none; }
.menu__item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 20px 24px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.menu__idx {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: .15em;
  color: var(--gold);
}
.menu__body h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 3.6vw, 48px);
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--navy);
  transition: color .25s;
}
.menu__item:hover h3 { color: var(--gold); }
.menu__body p { margin: 8px 0 0; font-size: 15px; color: var(--ink-soft); max-width: 58ch; }
.menu__meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--navy);
  white-space: nowrap;
}
@media (max-width: 600px) {
  .menu__item { grid-template-columns: 36px 1fr; gap: 10px 16px; }
  .menu__meta { grid-column: 2; }
}

/* ---------- Nosotros ---------- */
.about {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
.about__text p { font-size: 17px; line-height: 1.7; color: var(--cream); max-width: 52ch; }
.about__text em { color: var(--gold); }

.origin {
  margin-top: 28px;
  padding: 20px 22px;
  border-left: 2px solid var(--gold);
  background: rgba(15, 31, 41, .35);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.origin h3 { font-family: var(--font-display); font-weight: 400; font-size: 24px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.origin p { font-size: 15px; margin: 0; color: var(--cream-ink-soft); }

.values {
  margin-top: 36px;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-light);
}
.values li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
}
.values strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: .06em;
  color: var(--gold);
  text-transform: uppercase;
}
.values span { color: var(--cream-ink-soft); font-size: 15px; align-self: center; }

.about__photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 900px) {
  .about { grid-template-columns: 1.1fr .9fr; gap: 72px; }
}

/* ---------- El local: tríptico ----------
   Tres fotos verticales (2:3, casi el original de celular) del mismo
   tamaño, alineadas arriba, con los pies de foto a la misma altura.
   El mismo marco interior dorado que las fotos del inicio y Nosotros. */
.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
.gallery__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  aspect-ratio: 2 / 3;
}
.gallery__frame img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--ink-soft);
}
.gallery figcaption::before { content: "✦"; margin-right: 10px; font-size: 9px; color: var(--gold); vertical-align: middle; }
.gallery__cta { margin-top: 56px; }

@media (min-width: 720px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: start;
  }
}

/* ---------- Contacto ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.contact .section__head h2 { font-size: clamp(40px, 4.8vw, 60px); }
.contact__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 24px;
  margin-bottom: 40px;
}
.contact__list dt {
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: .18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.contact__list dd { margin: 0; color: var(--cream); line-height: 1.5; }
.contact__list dd a { border-bottom: 1px solid rgba(239,229,212,.3); transition: border-color .2s; }
.contact__list dd a:hover { border-color: var(--gold); }

.contact__map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  background: var(--navy-deep);
  border: 1px solid var(--line-light);
}
.contact__map iframe {
  width: 100%; height: 100%; min-height: 360px; border: 0; display: block;
  filter: grayscale(1) invert(.92) contrast(.9) hue-rotate(180deg) brightness(.9);
}
.map__pin {
  position: absolute;
  left: 50%; top: 50%;
  width: 40px; height: 60px;
  transform: translate(-50%, -100%);
  pointer-events: none;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.5));
  animation: pindrop .8s var(--ease) both;
  transition: opacity .35s var(--ease);
}
.map__pin svg { display: block; }
.map__pin::after {
  content: ""; position: absolute; left: 50%; bottom: -5px;
  width: 26px; height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  transform: translateX(-50%);
  opacity: .8;
  animation: pinpulse 2.2s ease-out infinite;
}
@keyframes pindrop { from { transform: translate(-50%, -140%); opacity: 0 } to { transform: translate(-50%, -100%); opacity: 1 } }
@keyframes pinpulse { 0% { transform: translateX(-50%) scale(.6); opacity: .9 } 100% { transform: translateX(-50%) scale(2.2); opacity: 0 } }
/* al interactuar con el mapa, el pin dorado se retira y queda el de Google */
.contact__map.is-touched .map__pin { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .map__pin, .map__pin::after { animation: none; } }

@media (min-width: 900px) {
  .contact { grid-template-columns: 1fr 1fr; gap: 72px; align-items: stretch; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: var(--cream-ink-soft);
  border-top: 1px solid var(--line-light);
  padding: 56px 0 100px;
  text-align: center;
}
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.brand--footer .brand__img { height: 72px; }
.footer p { margin: 0; font-size: 14px; max-width: 46ch; }
.footer__copy { font-size: 12px; opacity: .6; margin-top: 12px; }
.social { display: flex; gap: 10px; margin-top: 6px; }
.social a {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line-light);
  color: var(--cream);
  transition: border-color .2s, color .2s, transform .25s var(--ease);
}
.social a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: 18px; bottom: 18px;
  z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 20px 13px 16px;
  border-radius: 999px;
  background: var(--black);
  color: var(--cream);
  border: 1.5px solid var(--gold);
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: 0 10px 30px -8px rgba(0,0,0,.6);
  transition: transform .25s var(--ease), background .25s, color .25s;
}
.wa-float:hover { transform: translateY(-3px); background: var(--gold); color: var(--black); }
.wa-float svg { flex: none; }
@media (max-width: 480px) {
  .wa-float { padding: 12px 16px 12px 14px; font-size: 17px; right: 14px; bottom: 14px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Cortina: el recorte va en la imagen, no en el contenedor. Si el contenedor
   se recorta a altura cero, IntersectionObserver nunca lo ve entrar en pantalla. */
.reveal--clip { transform: none; transition: opacity .5s var(--ease); }
.reveal--clip img {
  clip-path: inset(0 0 100% 0);
  transform: scale(1.12);
  transition: clip-path 1.1s var(--ease), transform 1.4s var(--ease);
}
.reveal--clip.is-visible img { clip-path: inset(0 0 0 0); transform: none; }
.gallery__item.reveal--clip.is-visible:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal--clip { opacity: 1; transform: none; transition: none; }
  .reveal--clip img { transform: none; clip-path: none; transition: none; }
  html { scroll-behavior: auto; }
}
