/* ==========================================================================
   AlfaVet — hoja de estilos
   Paleta y tipografía del Manual de Marca:
     Turquesa  #3AA8B8  (Pantone 7710 U — confianza + esperanza)
     Teal      #417078  (Pantone 7715 U)
     Ocre      #AF7534  (almohadilla de la huella)
     Carbón    #2E2724  (trazo del imagotipo / texto)
   Tipografía: Montserrat (Black / SemiBold / Regular)
   ========================================================================== */

:root {
  --turquesa: #3AA8B8;
  --turquesa-d: #2f8e9c;
  --teal: #417078;
  --ocre: #AF7534;
  --ocre-d: #99631f;
  --carbon: #2E2724;
  --crema: #F7F3EC;   /* neutro cálido sesgado al ocre */
  --nube: #E7F1F2;    /* neutro claro sesgado al turquesa */
  --blanco: #ffffff;
  --texto: #33322f;
  --muted: #6f7877;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(46, 39, 36, .35);
  --shadow-soft: 0 10px 30px -18px rgba(46, 39, 36, .28);
  --wrap: 1480px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }

body {
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--texto);
  background: var(--blanco);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: min(var(--wrap), 92%); margin-inline: auto; }

h1, h2, h3, h4 { font-weight: 900; line-height: 1.08; letter-spacing: -.01em; color: var(--carbon); text-wrap: balance; }
em { font-style: normal; color: var(--turquesa); }

.ic { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  font-weight: 700; font-size: .98rem;
  padding: .85em 1.5em; border-radius: 999px;
  cursor: pointer; border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn .ic { width: 1.3em; height: 1.3em; }
.btn-solid { background: var(--turquesa); color: #fff; }
.btn-solid:hover { background: var(--turquesa-d); }
.btn-ghost { background: transparent; color: var(--carbon); border-color: rgba(46,39,36,.2); }
.btn-ghost:hover { border-color: var(--turquesa); color: var(--turquesa); }
.btn-wa { background: var(--turquesa); color: #fff; }
.btn-wa:hover { background: var(--turquesa-d); }
.btn-lg { font-size: 1.08rem; padding: 1em 1.9em; }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--teal);
  margin-bottom: 1rem;
}
.eyebrow--ocre { color: var(--ocre); }
.eyebrow--light { color: rgba(255,255,255,.85); }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section-head p { color: var(--muted); margin-top: .9rem; font-size: 1.05rem; }

/* ==================== TOPBAR ==================== */
.topbar {
  background: var(--teal);
  color: rgba(255,255,255,.9);
  font-size: .88rem; font-weight: 500;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; }
.topbar-loc { display: inline-flex; align-items: center; gap: .55em; color: #fff; font-weight: 600; transition: color .2s; }
.topbar-loc .ic { width: 1.45em; height: 1.45em; color: #fff; flex: none; filter: drop-shadow(0 1px 2px rgba(0,0,0,.35)); }
.topbar-loc:hover { color: #ffe0b8; }
.topbar-loc:hover .ic { color: #ffe0b8; }
.topbar-right { display: flex; align-items: center; gap: 1.1rem; }
.topbar-hours { display: inline-flex; align-items: center; gap: .5em; color: rgba(255,255,255,.85); }
.topbar-hours .ic { width: 1.1em; height: 1.1em; }
.topbar-right > a { display: inline-grid; place-content: center; color: rgba(255,255,255,.9); transition: color .2s, transform .2s var(--ease); }
.topbar-right > a .ic { width: 1.15em; height: 1.15em; }
.topbar-right > a:hover { color: #fff; transform: translateY(-1px); }

/* ==================== HEADER ==================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(46,39,36,.07);
}
.header-inner { display: flex; align-items: center; gap: 1.8rem; padding: 1.05rem 0; }
.brand-logo { height: 60px; width: auto; }
.nav { display: flex; gap: 2.3rem; margin-left: auto; }
.nav a { font-weight: 700; font-size: 1.05rem; color: var(--carbon); position: relative; padding: .3em 0; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 3px; border-radius: 3px; background: var(--turquesa); transition: width .3s var(--ease); }
.nav a:hover { color: var(--turquesa); }
.nav a:hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: .7rem; }
.header-cta { padding: .78em 1.5em; font-size: 1rem; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 0 11px; border: 0; cursor: pointer;
  background: var(--crema); border-radius: 12px;
}
.nav-toggle span { display: block; width: 100%; height: 2.5px; border-radius: 2px; background: var(--carbon); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ==================== HERO ==================== */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 120% at 85% -10%, #4bb9c9 0%, var(--turquesa) 45%, var(--teal) 120%);
  color: #fff;
  padding: clamp(3rem, 6vw, 5.5rem) 0 0; /* sin padding inferior: la imagen va al ras */
}
/* Patrón de huellas ordenado (tile repetido) */
.hero::before, .promo::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: url('../img/paw-pattern.svg');
  background-size: 128px 128px;
  opacity: .09;
}

.hero-inner {
  position: relative; z-index: 1;
  min-height: 54vh; /* altura de referencia del hero */
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(1.5rem, 3vw, 3.5rem);
  align-items: stretch;
}
.hero-copy { align-self: center; padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.hero-copy h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4rem); margin: .3rem 0 1.2rem; }
.hero-copy h1 em { color: #ffe6c7; }
.hero .eyebrow { color: rgba(255,255,255,.8); }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.94); max-width: 34ch; }
.lead strong { color: #fff; font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.8rem 0 1.6rem; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.hero .btn-ghost:hover { background: #fff; color: var(--teal); border-color: #fff; }
.hero-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 1.6rem; font-weight: 600; font-size: .95rem; }
.hero-meta li { display: flex; align-items: center; gap: .5em; color: rgba(255,255,255,.92); }

.hero-media {
  position: relative; align-self: stretch;
  display: flex; align-items: flex-end; justify-content: flex-end;
}
.hero-img {
  display: block; width: 100%; height: auto; max-width: none; /* imagen apaisada: llena el ancho de su columna */
  object-fit: contain; object-position: bottom center;
  margin-bottom: -4px; /* al ras del borde inferior */
  filter: drop-shadow(0 24px 30px rgba(0,0,0,.28));
}

/* ==================== PILARES (Nuestro compromiso) ==================== */
.pilares { padding: clamp(3.5rem, 6vw, 6rem) 0; background: var(--crema); position: relative; }
.pilar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pilares-fondo-movil { display: none; }

/* Desktop: foto de fondo con las mascotas a la derecha, contenido a la izquierda */
@media (min-width: 901px) {
  .pilares {
    background-image: url('../../fondoseccion.png');
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    min-height: 860px;              /* más altura para que la imagen del fondo se vea grande */
    display: flex; align-items: center;
  }
  .pilares .section-head { text-align: left; margin-left: 0; margin-right: auto; max-width: 600px; }
  .pilares .pilar-grid { max-width: 66%; }
}

/* Móvil: sin fondo ancho; la imagen va debajo de las tarjetas */
.pilares-fondo-movil {
  width: 100%; max-width: 480px; margin: 2.2rem auto 0; display: block; border-radius: 18px;
}
@media (min-width: 901px) { .pilares-fondo-movil { display: none; } }
.pilar-card {
  position: relative; background: #fff; border-radius: var(--radius);
  padding: 2.4rem 1.9rem 2rem; box-shadow: var(--shadow-soft);
  border: 1px solid rgba(46,39,36,.05);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pilar-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--turquesa); }
.pilar-card--detectar::before { background: var(--teal); }
.pilar-card--tratar::before { background: var(--ocre); }
.pilar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pilar-num { position: absolute; top: 1.4rem; right: 1.6rem; font-weight: 900; font-size: 2.4rem; color: rgba(46,39,36,.06); }
.pilar-icon {
  width: 62px; height: 62px; border-radius: 16px; display: grid; place-content: center;
  background: var(--nube); color: var(--turquesa); margin-bottom: 1.3rem;
}
.pilar-icon .ic { width: 30px; height: 30px; }
.pilar-card--detectar .pilar-icon { background: #e3edee; color: var(--teal); }
.pilar-card--tratar .pilar-icon { background: #f4ead9; color: var(--ocre); }
.pilar-card h3 { font-size: 1.4rem; margin-bottom: .6rem; }
.pilar-card p { color: var(--muted); }

/* ==================== SERVICIOS ==================== */
.servicios { padding: clamp(3.5rem, 6vw, 6rem) 0; }
.serv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.serv-card {
  border-radius: 22px; background: #fff;
  border: 1px solid rgba(46,39,36,.06);
  box-shadow: 0 12px 34px -20px rgba(46,39,36,.3);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  display: flex; flex-direction: column;
}
.serv-card:hover { transform: translateY(-7px); box-shadow: 0 30px 55px -26px rgba(46,39,36,.42); }
/* la imagen (misma altura en todas) con su propio recorte para el zoom */
.serv-media { position: relative; }
.serv-img { aspect-ratio: 16 / 11; overflow: hidden; border-radius: 22px 22px 0 0; position: relative; }
.serv-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.serv-card:hover .serv-img img { transform: scale(1.07); }
.serv-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(46,39,36,.28), transparent 46%); }
/* ícono flotante — ya NO se corta (fuera del contenedor con overflow) */
.serv-ico {
  position: absolute; left: 1.2rem; bottom: -26px; z-index: 3;
  display: grid; place-content: center; width: 58px; height: 58px;
  border-radius: 17px; background: #fff; color: var(--ocre);
  box-shadow: 0 10px 22px -8px rgba(46,39,36,.4);
}
.serv-ico .ic { width: 28px; height: 28px; }
.serv-body { padding: 2.6rem 1.7rem 2rem; }
.serv-card h3 { font-size: 1.24rem; margin-bottom: .45rem; }
.serv-card p { color: var(--muted); font-size: .97rem; }

/* ==================== ESPECIALIDADES ==================== */
.especialidades { padding: clamp(3.5rem, 6vw, 6rem) 0; background: var(--crema); }
.esp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.esp-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 2rem 1.5rem; border-radius: var(--radius);
  background: #fff; border: 1px solid rgba(46,39,36,.06);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.esp-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.esp-ico {
  display: grid; place-content: center; width: 66px; height: 66px; border-radius: 50%;
  background: var(--nube); color: var(--turquesa); margin-bottom: 1rem;
}
.esp-ico .ic { width: 32px; height: 32px; }
.esp-card h3 { font-size: 1.25rem; margin-bottom: .4rem; }
.esp-card p { color: var(--muted); font-size: .96rem; margin-bottom: 1.6rem; }
.esp-cta {
  margin-top: auto; display: inline-flex; align-items: center; gap: .5em;
  font-weight: 700; font-size: .9rem; padding: .62em 1.4em; border-radius: 999px;
  border: 2px solid var(--turquesa); color: var(--turquesa); background: #fff;
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.esp-cta .ic { width: 1.15em; height: 1.15em; }
.esp-cta:hover { background: var(--turquesa); color: #fff; transform: translateY(-2px); }
.esp-card--more { background: var(--turquesa); color: #fff; justify-content: center; }
.esp-card--more .esp-cta { border-color: #fff; color: #fff; background: transparent; }
.esp-card--more .esp-cta:hover { background: #fff; color: var(--turquesa); }
.esp-card--more h3, .esp-card--more p { color: #fff; }
.esp-card--more p { opacity: .92; }
.esp-more-plus {
  display: grid; place-content: center; width: 66px; height: 66px; border-radius: 50%;
  background: rgba(255,255,255,.18); color: #fff; font-size: 2.2rem; font-weight: 900;
  line-height: 1; margin-bottom: 1rem;
}

/* ==================== PELUQUERÍA ==================== */
.peluqueria { padding: clamp(3.5rem, 6vw, 6rem) 0; background: var(--nube); }
.peluqueria-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.pelu-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.pelu-copy p { color: var(--muted); margin-top: 1rem; }
.pelu-copy .check-list { margin-bottom: 1.8rem; }
.pelu-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pelu-gallery img {
  width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px;
  box-shadow: var(--shadow-soft); display: block;
}
.pelu-gallery img:nth-child(1), .pelu-gallery img:nth-child(3) { margin-top: 26px; }

/* ==================== HISTORIAS DESTACADAS ==================== */
.historias { padding: clamp(3.5rem, 6vw, 6rem) 0; background: #fff; }
.hist-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.9rem 1.5rem; }
.hist-item {
  display: flex; flex-direction: column; align-items: center; gap: .7rem; width: 96px;
  background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
}
.hist-ring {
  width: 92px; height: 92px; border-radius: 50%;
  background: linear-gradient(45deg, var(--ocre), var(--turquesa) 55%, var(--teal));
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s var(--ease);
}
.hist-cover {
  width: 86px; height: 86px; border-radius: 50%; border: 3px solid #fff;
  background: var(--nube); color: var(--turquesa);
  display: flex; align-items: center; justify-content: center;
}
.hist-cover .ic { width: 36px; height: 36px; }
.hist-item:hover .hist-ring, .hist-item:focus-visible .hist-ring { transform: translateY(-4px) scale(1.04); }
.hist-label { font-size: .86rem; font-weight: 600; color: var(--texto); text-align: center; }
.hist-cta { text-align: center; margin-top: 2.5rem; }

/* ---- Visor de historias (overlay) ---- */
.stories { position: fixed; inset: 0; z-index: 200; display: none; }
.stories.is-open { display: block; }
.stories__backdrop { position: absolute; inset: 0; background: rgba(20, 24, 25, .82); backdrop-filter: blur(4px); }
.stories__card {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: min(92vw, 400px); height: min(88vh, 720px);
  border-radius: 20px; overflow: hidden; color: #fff;
  display: flex; flex-direction: column;
  background: linear-gradient(160deg, var(--turquesa), var(--teal));
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.6);
}
.stories__card.theme-1 { background: linear-gradient(160deg, var(--teal), var(--ocre)); }
.stories__card.theme-2 { background: linear-gradient(160deg, var(--ocre), var(--turquesa)); }
/* Escenario: media o info */
.stories__stage { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; }
.stories__media { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.stories__card.has-media { background: #000; }
.stories__info {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 1rem; padding: 1.5rem 2rem 3rem; width: 100%; height: 100%;
}
.stories__icon {
  display: flex; align-items: center; justify-content: center;
  width: 92px; height: 92px; border-radius: 50%; background: rgba(255,255,255,.18); margin-bottom: .4rem;
}
.stories__icon .ic { width: 46px; height: 46px; }
.stories__title { color: #fff; font-size: 1.7rem; line-height: 1.15; }
.stories__text { color: rgba(255,255,255,.94); font-size: 1.02rem; max-width: 28ch; }
.stories__cta {
  margin-top: .6rem; background: #fff; color: var(--teal); font-weight: 700;
  padding: .8em 1.6em; border-radius: 999px; display: inline-block;
  position: relative; z-index: 4; transition: transform .2s var(--ease);
}
.stories__cta:hover { transform: translateY(-2px); }
/* velo superior para legibilidad de barras/label sobre media */
.stories__scrim { position: absolute; inset: 0 0 auto 0; height: 120px; z-index: 2;
  background: linear-gradient(to bottom, rgba(0,0,0,.45), transparent); pointer-events: none; opacity: 0; }
.stories__card.has-media .stories__scrim { opacity: 1; }

.stories__bars { display: flex; gap: 5px; padding: 12px 14px 4px; position: relative; z-index: 3; }
.stories__bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.35); overflow: hidden; }
.stories__bar > i { display: block; height: 100%; width: 0; background: #fff; }
.stories__head { display: flex; align-items: center; gap: .5rem; padding: 6px 16px 0; position: relative; z-index: 3; }
.stories__label { font-weight: 700; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-right: auto; }
.stories__sound { background: rgba(255,255,255,.2); border: 0; color: #fff; font-size: 1rem; line-height: 1; cursor: pointer; width: 32px; height: 32px; border-radius: 50%; }
.stories__close { background: none; border: 0; color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer; padding: 0 4px; opacity: .9; }
.stories__close:hover { opacity: 1; }
.stories__zone { position: absolute; top: 44px; bottom: 0; width: 35%; background: none; border: 0; cursor: pointer; z-index: 2; }
.stories__zone--prev { left: 0; }
.stories__zone--next { right: 0; width: 65%; }

/* ==================== GALERÍA (carrusel infinito) ==================== */
.galeria { padding: clamp(3.5rem, 6vw, 6rem) 0; background: #fff; }
.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 14px; overflow-x: auto; overflow-y: hidden;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
  padding: 6px 2px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item {
  flex: 0 0 auto; height: clamp(280px, 42vw, 460px);
  border: 0; padding: 0; background: none; cursor: pointer; scroll-snap-align: center;
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-soft); position: relative; line-height: 0;
}
.carousel__item img { height: 100%; width: auto; max-width: none; display: block; object-fit: cover; transition: transform .5s var(--ease); }
.carousel__item::after { content: ''; position: absolute; inset: 0; background: rgba(46,39,36,0); transition: background .3s; }
.carousel__item:hover img, .carousel__item:focus-visible img { transform: scale(1.05); }
.carousel__item:hover::after, .carousel__item:focus-visible::after { background: rgba(46,39,36,.1); }
.carousel__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
  background: #fff; color: var(--carbon); box-shadow: var(--shadow);
  display: grid; place-content: center; font-size: 1.3rem; line-height: 1;
  transition: background .2s, color .2s, transform .2s var(--ease);
}
.carousel__nav:hover { background: var(--turquesa); color: #fff; }
.carousel__nav--prev { left: -8px; }
.carousel__nav--next { right: -8px; }
.carousel__nav--prev:hover { transform: translateY(-50%) scale(1.08); }
.carousel__nav--next:hover { transform: translateY(-50%) scale(1.08); }
@media (max-width: 600px) { .carousel__nav { width: 42px; height: 42px; } .carousel__nav--prev { left: 2px; } .carousel__nav--next { right: 2px; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 210; display: none; }
.lightbox.is-open { display: block; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(16,20,21,.92); }
.lightbox__stage {
  position: absolute; inset: 0; margin: auto; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .8rem; padding: 4vh 8vw; pointer-events: none;
}
.lightbox__img {
  max-width: 100%; max-height: 82vh; border-radius: 12px; object-fit: contain;
  box-shadow: 0 20px 60px -15px rgba(0,0,0,.7); background: #000;
}
.lightbox__count { color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.lightbox__btn {
  position: absolute; z-index: 2; background: rgba(255,255,255,.14); color: #fff; border: 0;
  cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font-size: 1.4rem; line-height: 1;
  display: grid; place-content: center; transition: background .2s, transform .2s var(--ease);
}
.lightbox__btn:hover { background: rgba(255,255,255,.28); }
.lightbox__close { top: 18px; right: 18px; font-size: 1.8rem; }
.lightbox__prev { left: 2vw; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 2vw; top: 50%; transform: translateY(-50%); }
.lightbox__prev:hover { transform: translateY(-50%) scale(1.08); }
.lightbox__next:hover { transform: translateY(-50%) scale(1.08); }

/* ==================== NOSOTROS ==================== */
.nosotros { padding: clamp(3.5rem, 6vw, 6rem) 0; background: var(--nube); }
.nosotros-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: stretch; }
.nosotros-media { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-soft); min-height: 380px; }
.nosotros-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.nosotros-copy { align-self: center; }
.nosotros-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.nosotros-copy p { color: var(--muted); margin-top: 1rem; }
.nosotros-copy strong { color: var(--carbon); }
.check-list { list-style: none; margin-top: 1.6rem; display: grid; gap: .8rem; }
.check-list li { display: flex; align-items: center; gap: .7em; font-weight: 600; }
.check-list .ic { color: #fff; background: var(--turquesa); border-radius: 50%; padding: 4px; width: 26px; height: 26px; }

/* ==================== PROMO ==================== */
.promo {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(100deg, var(--teal) 0%, var(--turquesa) 100%);
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}
.promo-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.promo-text h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
.promo-text p { color: rgba(255,255,255,.9); margin-top: .6rem; }
.promo-price { color: #ffe0b8; }
.promo .btn-solid { background: #fff; color: var(--teal); }
.promo .btn-solid:hover { background: var(--ocre); color: #fff; }

/* ==================== CONTACTO ==================== */
.contacto { padding: clamp(3.5rem, 6vw, 6rem) 0; }
.contacto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.contact-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: .3rem;
  padding: 2rem 1.8rem; border-radius: var(--radius);
  background: var(--crema); border: 1px solid rgba(46,39,36,.06);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.contact-card .ic { width: 40px; height: 40px; padding: 8px; border-radius: 12px; color: #fff; margin-bottom: .6rem; }
.contact-card--wa .ic { background: #25d366; }
.contact-card--ig .ic { background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); }
.contact-card--fb .ic { background: #1877f2; }
.contact-card h3 { font-size: 1.2rem; }
.contact-card p { color: var(--muted); font-weight: 600; }
.contact-cta { margin-top: .8rem; font-weight: 700; color: var(--turquesa); font-size: .95rem; }

/* ==================== FOOTER ==================== */
.site-footer { background: var(--carbon); color: rgba(255,255,255,.82); padding-top: 3.5rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 3rem; flex-wrap: wrap; padding-bottom: 2.5rem; }
.footer-logo { height: 56px; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.footer-brand { max-width: 320px; }
.footer-brand p { color: rgba(255,255,255,.6); }
.footer-social { display: flex; gap: .7rem; margin-top: 1.3rem; }
.footer-social a {
  display: grid; place-content: center; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff; transition: background .25s, transform .25s var(--ease);
}
.footer-social a .ic { width: 20px; height: 20px; }
.footer-social a:hover { background: var(--turquesa); transform: translateY(-3px); }
.footer-cols { display: flex; gap: 4rem; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: .95rem; letter-spacing: .06em; margin-bottom: 1.1rem; text-transform: uppercase; }
.footer-col a, .footer-hours {
  display: flex; align-items: center; gap: .6em; padding: .38rem 0;
  color: rgba(255,255,255,.7); font-size: .95rem; transition: color .2s;
}
.footer-col a .ic, .footer-hours .ic { width: 17px; height: 17px; color: var(--turquesa); flex: none; }
.footer-col a:hover { color: #fff; }
.footer-col a:hover .ic { color: var(--ocre); }
.footer-hours { color: rgba(255,255,255,.55); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.2rem 0; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; color: rgba(255,255,255,.5); }
.footer-credit { padding-right: 4.5rem; } /* deja libre el botón flotante de WhatsApp */
.footer-credit a { color: var(--turquesa); font-weight: 700; transition: color .2s; }
.footer-credit a:hover { color: var(--ocre); }

/* ==================== ANIMACIONES REVEAL (estética Framer) ==================== */
.has-reveal .section-head,
.has-reveal .pilar-card,
.has-reveal .serv-card,
.has-reveal .esp-card,
.has-reveal .hist-item,
.has-reveal .carousel,
.has-reveal .nosotros-media,
.has-reveal .nosotros-copy,
.has-reveal .pelu-copy,
.has-reveal .pelu-gallery,
.has-reveal .contact-card,
.has-reveal .promo-inner {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  will-change: opacity, transform;
}
.has-reveal .is-visible { opacity: 1; transform: none; }

/* ==================== WHATSAPP FLOTANTE ==================== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--turquesa); color: #fff; display: grid; place-content: center;
  box-shadow: none;
  transition: transform .25s var(--ease), background .25s;
  animation: wa-pulse 2.6s infinite;
}
.wa-float .ic { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); background: var(--turquesa-d); }
@keyframes wa-pulse { /* anillo de atención (sin sombra de elevación) */
  0% { box-shadow: 0 0 0 0 rgba(58,168,184,.45); }
  70% { box-shadow: 0 0 0 14px rgba(58,168,184,0); }
  100% { box-shadow: 0 0 0 0 rgba(58,168,184,0); }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .header-actions { margin-left: auto; } /* empuja WhatsApp + hamburguesa al borde derecho (el nav ya no lo hace por ser absolute) */
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: #fff; box-shadow: var(--shadow);
    border-top: 1px solid rgba(46,39,36,.08);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .35s var(--ease), visibility .35s;
  }
  .nav.is-open { max-height: 80vh; visibility: visible; overflow: auto; }
  .nav a { font-size: 1.08rem; padding: 1rem 6%; border-bottom: 1px solid rgba(46,39,36,.06); }
  .nav a::after { display: none; }
  .header-cta span { display: none; }          /* CTA compacto: solo ícono WhatsApp */
  .header-cta { padding: .7em; }
  .header-cta .ic { width: 1.5em; height: 1.5em; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { align-self: auto; }
  .hero-media { max-width: 440px; margin-inline: auto; }
  .hero-img { height: auto; width: 100%; } /* en móvil ocupa el ancho, no el 80% de altura */
  .nosotros-inner { grid-template-columns: 1fr; }
  .nosotros-media { max-width: 460px; }
  .peluqueria-inner { grid-template-columns: 1fr; }
  .pelu-gallery { max-width: 460px; }
  .pelu-gallery img:nth-child(1), .pelu-gallery img:nth-child(3) { margin-top: 0; }
  .pilar-grid, .serv-grid, .esp-grid, .contacto-grid { grid-template-columns: 1fr; }
  .lead { max-width: none; }
}
@media (max-width: 620px) {
  .hist-row { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: .6rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .hist-item { flex: 0 0 auto; scroll-snap-align: start; }
  .topbar-hours { display: none; }
  .topbar { font-size: .72rem; }
  .topbar-inner { min-height: 36px; gap: .6rem; }
  .topbar-loc { gap: .4em; }
  .topbar-loc .ic { width: 1.15em; height: 1.15em; }
  .topbar-loc > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 72vw; }
  .topbar-city { display: none; } /* en pantallas chicas solo "Plaza Sambocity, La Aurora" */
  .topbar-right { gap: .8rem; }
}
@media (min-width: 620px) and (max-width: 900px) {
  .serv-grid, .esp-grid, .contacto-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .btn:hover, .pilar-card:hover, .serv-card:hover, .contact-card:hover { transform: none; }
}
