/* ============================================================
   DERMIC — Rebranding K-Beauty premium · Fase 1 completa
   Sistema de diseño lockeado (manual de marca oficial)
   ============================================================ */

:root {
  --navy-deep: #082744;
  --camel: #B08659;
  --cream: #F3EFE7;
  --pink-dust: #F2E1DD;
  --white: #FFFFFF;
  --black: #000000;

  --navy-alpha-10: rgba(8, 39, 68, 0.10);
  --navy-alpha-15: rgba(8, 39, 68, 0.15);
  --navy-alpha-30: rgba(8, 39, 68, 0.30);
  --navy-alpha-60: rgba(8, 39, 68, 0.60);
  --navy-alpha-75: rgba(8, 39, 68, 0.75);
  --navy-alpha-85: rgba(8, 39, 68, 0.85);
  --white-alpha-90: rgba(255, 255, 255, 0.90);
  --overlay-hero: linear-gradient(to top right, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.33) 38%, transparent 64%);

  /* Sistema tipográfico del manual de marca.
     Fallbacks Google TEMPORALES (Jost/Cormorant/Inter) hasta cargar los archivos reales en assets/fonts/. */
  --font-titulo: 'Quiche Sans', 'Jost', 'Helvetica Neue', sans-serif;       /* Quiche Sans — logo y títulos */
  --font-subtitulo: 'Minion Display', 'Cormorant Garamond', Georgia, serif;  /* Minion Display — subtítulos */
  --font-parrafo: 'Helvetica Neue', Helvetica, 'Inter', Arial, sans-serif;    /* Helvética Light — párrafos */
}

/* ============ TIPOGRAFÍAS DE MARCA (self-host) ============
   Cuando estén los archivos en assets/fonts/, descomentar y ajustar nombres de archivo:
@font-face { font-family: 'Quiche Sans';  src: url('assets/fonts/QuicheSans-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Quiche Sans';  src: url('assets/fonts/QuicheSans-Medium.woff2')  format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Minion Display'; src: url('assets/fonts/MinionDisplay.woff2')     format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Helvetica';    src: url('assets/fonts/Helvetica-Light.woff2')    format('woff2'); font-weight: 300; font-display: swap; }
============================================================ */

/* ============ RESET Y BASE ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-parrafo);
  font-weight: 300;
  background: var(--cream);
  color: var(--navy-deep);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ============ COMPONENTE: BOTÓN PÍLDORA ============ */
.btn-pill {
  display: inline-block;
  border-radius: 999px;
  font-family: var(--font-parrafo);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  padding: 18px 40px;
  transition: all 0.4s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-pill--light { background: var(--white); color: var(--navy-deep); }
.btn-pill--light:hover { background: var(--navy-deep); color: var(--white); transform: translateY(-2px); }
.btn-pill--camel { background: var(--camel); color: var(--navy-deep); }
.btn-pill--camel:hover { background: var(--white); color: var(--navy-deep); transform: translateY(-2px); }
.btn-pill--navy { background: var(--navy-deep); color: var(--cream); }
.btn-pill--navy:hover { background: var(--black); transform: translateY(-2px); }

/* ============ COMPONENTE: TÍTULO DE SECCIÓN + LABEL + LEAD ============ */
.section-title {
  font-family: var(--font-titulo);
  font-weight: 400;
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  color: var(--navy-deep);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
/* Primera letra de los titulares en mayúscula (regla de marca) */
.hero__title::first-letter,
.section-title::first-letter,
.popup__title::first-letter { text-transform: uppercase; }
.lead {
  font-family: var(--font-parrafo);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: var(--navy-alpha-75);
  line-height: 1.6;
  max-width: 480px;
}
/* Eyebrow chico reutilizable (label de sección) */
.manifiesto__label,
.servicios__label,
.medicina-estetica__label,
.nosotros__label,
.info__label,
.contacto__label {
  font-family: var(--font-parrafo);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-deep);
  opacity: 0.6;
}

/* ============================================================
   HEADER STICKY (top-bar + navbar)
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 50; }

/* --- Top bar (avisos rotativos) --- */
.topbar {
  position: relative;
  background: var(--pink-dust);
  border-bottom: 1px solid var(--navy-alpha-15);
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(40px, 6vw, 64px);
}
.topbar__viewport {
  position: relative;
  height: 20px;
  width: 100%;
  max-width: 760px;
  overflow: hidden;
}
.topbar__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(14px);
  filter: blur(3px);
  transition: opacity 0.85s cubic-bezier(0.22,1,0.36,1),
              transform 0.85s cubic-bezier(0.22,1,0.36,1),
              filter 0.85s cubic-bezier(0.22,1,0.36,1);
  font-family: var(--font-parrafo);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy-deep);
  white-space: nowrap;
  will-change: opacity, transform, filter;
}
.topbar__slide.is-active { opacity: 1; transform: translateY(0); filter: blur(0); }
.topbar__slide.is-leaving { opacity: 0; transform: translateY(-14px); filter: blur(3px); }
.topbar__slide a { text-decoration: underline; text-underline-offset: 3px; transition: color 0.3s ease; }
.topbar__slide a:hover { color: var(--camel); }
.topbar__close {
  position: absolute;
  right: clamp(16px, 3vw, 24px);
  top: 50%;
  transform: translateY(-50%);
  color: var(--navy-deep);
  font-size: 13px;
  line-height: 1;
  transition: opacity 0.3s ease;
}
.topbar__close:hover { opacity: 0.6; }

/* --- Navbar --- */
.navbar { position: relative; height: 80px; background: var(--cream); border-bottom: 1px solid var(--navy-alpha-15); }
.navbar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 80px;
  padding: 0 clamp(24px, 4vw, 48px);
}
.navbar__menu { display: flex; gap: 40px; list-style: none; align-items: center; }
.navbar__trigger {
  font-family: var(--font-parrafo);
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--navy-deep);
  padding: 30px 0;      /* área de hover generosa */
  transition: opacity 0.3s ease;
}
.navbar__trigger:hover { opacity: 0.6; }
.navbar__logo { display: flex; align-items: center; justify-content: center; }
.navbar__logo img { height: 30px; width: auto; display: block; }
.navbar__icons { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.navbar__icon-btn { color: var(--navy-deep); display: inline-flex; transition: opacity 0.3s ease; }
.navbar__icon-btn:hover { opacity: 0.6; }
.navbar__hamburger { display: none; color: var(--navy-deep); }

/* --- Mega-menus --- */
.megamenu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--navy-alpha-15);
  border-bottom: 1px solid var(--navy-alpha-15);
  box-shadow: 0 20px 40px rgba(8, 39, 68, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
  z-index: 40;
}
.megamenu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.megamenu__inner {
  display: grid;
  padding: 48px clamp(24px, 5vw, 80px);
  gap: 48px;
  max-width: 1400px;
  margin: 0 auto;
}
.megamenu__inner--wide { grid-template-columns: 1fr 1fr 1fr 1.2fr 1.2fr 1.2fr; }
.megamenu__inner--medium {
  grid-template-columns: 0.85fr 0.85fr 0.85fr 1fr 1fr 1fr;
  gap: clamp(20px, 2.5vw, 40px);
  padding: clamp(28px, 3.5vw, 48px);
  align-items: start;
}
@media (max-width: 1200px) {
  .megamenu__inner--medium { grid-template-columns: 1fr 1fr 1fr 1.1fr 1.1fr; }
  .megamenu__inner--medium .megamenu__feature:nth-of-type(3) { display: none; }
}
@media (max-width: 1024px) {
  .megamenu__inner--medium { grid-template-columns: 1fr 1fr 1fr 1.1fr; }
  .megamenu__inner--medium .megamenu__feature:nth-of-type(2) { display: none; }
}
@media (max-width: 900px) {
  .megamenu__inner--medium { grid-template-columns: 1fr 1fr 1fr; gap: 24px; }
  .megamenu__inner--medium .megamenu__feature { display: none; }
}
@media (max-width: 600px) {
  .megamenu__inner--medium { grid-template-columns: 1fr; }
}
.megamenu__inner--small { grid-template-columns: 1fr; padding: 32px 48px; max-width: 320px; margin: 0 0 0 clamp(24px, 4vw, 48px); }
.megamenu--small { right: auto; left: 0; max-width: 320px; }
.megamenu__label {
  font-family: var(--font-titulo);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-alpha-60);
  margin-bottom: 12px;
}
.megamenu__col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.megamenu__col a, .megamenu__simple-list a {
  font-family: var(--font-parrafo);
  font-weight: 300;
  font-size: 13px;
  color: var(--navy-deep);
  line-height: 1.6;
  transition: color 0.3s ease, padding 0.3s ease;
  display: inline-block;
}
.megamenu__col a:hover, .megamenu__simple-list a:hover { color: var(--camel); padding-left: 4px; }
.megamenu__col a.megamenu__ver-todo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--navy-alpha-15);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--navy-deep);
  transition: color 0.3s ease, gap 0.3s ease;
}
.megamenu__col a.megamenu__ver-todo:hover { color: var(--camel); padding-left: 0; gap: 11px; }
.megamenu__ver-todo svg { transition: transform 0.3s ease; }
.megamenu__ver-todo:hover svg { transform: translate(1px, -1px); }
.megamenu__simple-list { list-style: none; display: flex; flex-direction: column; gap: 16px; }
.megamenu__simple-list a { font-size: 15px; padding: 4px 0; }
.megamenu__feature { display: flex; flex-direction: column; gap: 8px; transition: transform 0.4s ease; }
.megamenu__feature:hover { transform: translateY(-4px); }
.megamenu__feature img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 3px; }
.megamenu__feature h5 { font-family: var(--font-subtitulo); font-weight: 400; font-size: clamp(1rem, 1.2vw, 1.15rem); color: var(--navy-deep); text-transform: lowercase; margin-top: 10px; letter-spacing: -0.005em; }
.megamenu__feature p { font-family: var(--font-parrafo); font-weight: 300; font-size: 11px; color: rgba(8, 39, 68, 0.70); margin-top: 2px; }

/* ============================================================
   HERO REDISEÑADO
   ============================================================ */
.hero {
  min-height: calc(100vh - 80px);
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
  display: flex;
  align-items: flex-end;
}
.hero__image { position: absolute; inset: 0; z-index: 0; }
.hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (max-width: 640px) {
  .hero__image img { object-position: 78% center; }
}
.hero__overlay { position: absolute; inset: 0; background: var(--overlay-hero); z-index: 1; pointer-events: none; }

.hero__content {
  position: relative;
  z-index: 3;
  padding: 32px clamp(24px, 5vw, 80px) clamp(96px, 14vh, 160px);
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  color: var(--cream);
}

.hero__eyebrow {
  font-family: var(--font-titulo);
  font-weight: 500;
  font-size: clamp(11px, 1vw, 13px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(243, 239, 231, 0.85);
  line-height: 1.5;
  margin-bottom: 6px;
}

.hero__title {
  font-family: var(--font-titulo);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.2vw, 4.75rem);
  color: var(--cream);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .hero__title { white-space: normal; font-size: clamp(2.15rem, 8vw, 3rem); }
}

.hero__divider {
  display: none;
}

.hero__pills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.hero__pills li {
  font-family: var(--font-parrafo);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  color: rgba(243, 239, 231, 0.9);
  letter-spacing: 0.01em;
  position: relative;
  padding-right: 26px;
}
.hero__pills li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--camel);
}
.hero__pills li:last-child { padding-right: 0; }

.hero__ctas {
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  margin-top: 16px;
}
.hero__cta-primary,
.hero__cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 36px;
  font-family: var(--font-titulo);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.4s ease;
}
.hero__cta-primary {
  background: var(--navy-deep);
  color: var(--cream);
}
.hero__cta-primary:hover {
  background: var(--white);
  color: var(--navy-deep);
  transform: translateY(-2px);
}
.btn-pill--outline-light {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(243, 239, 231, 0.7);
}
.btn-pill--outline-light:hover {
  background: var(--cream);
  color: var(--navy-deep);
  border-color: var(--cream);
  transform: translateY(-2px);
}
.hero__cta-primary svg,
.hero__cta-secondary svg {
  transition: transform 0.3s ease;
}
.hero__cta-primary:hover svg,
.hero__cta-secondary:hover svg {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .hero__content {
    padding: 40px 24px;
    gap: 14px;
  }
  .hero__pills {
    gap: 14px;
    flex-direction: column;
  }
  .hero__pills li {
    padding-right: 0;
  }
  .hero__pills li::after {
    display: none !important;
  }
  .hero__ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero__cta-primary,
  .hero__cta-secondary {
    justify-content: center;
    width: 100%;
  }
}

/* ============================================================
   MANIFIESTO CON VIDEO
   ============================================================ */
.manifiesto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
  min-height: 80vh;
}
.manifiesto__visual {
  position: relative;
  background: transparent;
  overflow: hidden;
  display: block;
  padding: 0;
}
.manifiesto__pattern { display: none; }
.manifiesto__video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}
.manifiesto__video { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.manifiesto__content {
  padding: clamp(32px, 4vw, 64px) clamp(32px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  max-width: 640px;
}
.manifiesto__title {
  font-family: var(--font-titulo);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  color: var(--navy-deep);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .manifiesto__title { white-space: normal; font-size: clamp(1.5rem, 6vw, 2rem); }
}
.manifiesto__divider {
  display: none;
}
.manifiesto__text {
  font-family: var(--font-parrafo);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: var(--navy-alpha-85);
  line-height: 1.75;
  max-width: 620px;
  margin: 24px 0 0;
}
.manifiesto__text + .manifiesto__text {
  margin-top: 16px;
}
.manifiesto__text strong {
  font-weight: 500;
  color: var(--navy-deep);
}

/* ============================================================
   COSMETOLOGÍA
   ============================================================ */
.servicios { position: relative; padding: clamp(80px, 12vh, 140px) clamp(24px, 5vw, 80px); background: var(--cream); overflow: hidden; }
.servicios > * { position: relative; z-index: 1; }

/* ============================================
   OTROS SERVICIOS (nueva sección después de Cosmetología)
   ============================================ */
.otros-servicios {
  position: relative;
  background: var(--cream);
  padding: clamp(64px, 10vh, 120px) clamp(24px, 5vw, 80px);
}
.otros-servicios__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vh, 56px);
}
.otros-servicios__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.otros-servicios__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-titulo);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--navy-alpha-60);
}
.otros-servicios__title {
  font-family: var(--font-titulo);
  font-weight: 400;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  color: var(--navy-deep);
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
}
.otros-servicios__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
}
@media (max-width: 768px) {
  .otros-servicios__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.servicio-card-lg {
  display: block;
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  position: relative;
}
.servicio-card-lg:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(8, 39, 68, 0.12);
}
.servicio-card-lg__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}
.servicio-card-lg__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.servicio-card-lg:hover .servicio-card-lg__image img {
  transform: scale(1.04);
}
.servicio-card-lg__content {
  padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.servicio-card-lg__eyebrow {
  font-family: var(--font-titulo);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--camel);
}
.servicio-card-lg__title {
  font-family: var(--font-titulo);
  font-weight: 400;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  color: var(--navy-deep);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 2px 0 6px;
  text-transform: lowercase;
}
.servicio-card-lg__desc {
  font-family: var(--font-parrafo);
  font-weight: 300;
  font-size: clamp(0.9rem, 1vw, 0.95rem);
  color: var(--navy-alpha-75);
  line-height: 1.6;
  margin: 0 0 8px;
}
.servicio-card-lg__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-titulo);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-deep);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--navy-deep);
  width: fit-content;
  transition: color 0.3s, border-color 0.3s;
}
.servicio-card-lg__cta svg {
  transition: transform 0.3s ease;
}
.servicio-card-lg:hover .servicio-card-lg__cta {
  color: var(--camel);
  border-color: var(--camel);
}
.servicio-card-lg:hover .servicio-card-lg__cta svg {
  transform: translateX(3px);
}

/* ============================================
   NOSOTROS — grid de 4 diferenciales
   ============================================ */
.nosotros__diferenciales {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px clamp(24px, 3vw, 40px);
  margin: 16px 0 8px;
}
@media (max-width: 640px) {
  .nosotros__diferenciales {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.diferencial {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.diferencial__title {
  font-family: var(--font-titulo);
  font-weight: 500;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  color: var(--navy-deep);
  line-height: 1.3;
  letter-spacing: -0.005em;
}
.diferencial__text {
  font-family: var(--font-parrafo);
  font-weight: 300;
  font-size: clamp(0.9rem, 1vw, 0.95rem);
  color: var(--navy-alpha-75);
  line-height: 1.55;
}
.servicios__header { margin-bottom: 72px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.servicios__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.service-card {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
  display: block;
  cursor: pointer;
}
.service-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.35) 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}
.service-card__label {
  position: absolute;
  top: 32px;
  left: 32px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-subtitulo);
  font-weight: 400;
  font-size: clamp(1.75rem, 2.75vw, 2.75rem);
  color: var(--white);
  text-transform: lowercase;
  line-height: 1;
  z-index: 2;
}
.service-card__cta { position: absolute; bottom: 32px; left: 32px; padding: 12px 26px; font-size: 13px; z-index: 2; }
.service-card:hover img { transform: scale(1.05); }
.service-card:hover .service-card__cta { transform: translateY(-2px); }

/* ============================================================
   MEDICINA ESTÉTICA
   ============================================================ */
/* Wrap con altura extra: la sección se "queda" fija mientras se scrollea */
.medicina-estetica-wrap { position: relative; height: 200vh; background: var(--cream); }
.medicina-estetica {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
}
/* Imagen: siempre en su lugar, ocupando todo */
.medicina-estetica__image { position: absolute; inset: 0; z-index: 0; }
.medicina-estetica__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
/* Cortina crema: cubre imagen Y texto, y sube con el scroll (translateY controlado por JS).
   z-index alto para tapar también el contenido hasta que se descubre. */
.medicina-estetica::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cream);
  z-index: 4;
  transform: translateY(var(--curtain-y, 0%));
  will-change: transform;
  pointer-events: none;
}
/* Overlay removido a pedido — imagen sin tinte azul */
/* Contenido a la DERECHA (para no tapar la cara de la modelo) */
.medicina-estetica__content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  text-align: right;
  gap: 24px;
  padding-left: 0;
  padding-right: clamp(48px, 8vw, 120px);
  padding-top: clamp(48px, 6vw, 96px);
  padding-bottom: clamp(48px, 6vw, 96px);
  max-width: 620px;
  margin-left: auto;
}
.medicina-estetica__content .btn-pill { align-self: flex-end; }
.medicina-estetica__label {
  color: var(--cream);
  opacity: 0.85;
  margin-bottom: 8px;
}
.section-title--light { color: var(--white); }
.lead--light { color: rgba(255, 255, 255, 0.85); }


/* ============================================================
   NOSOTROS
   ============================================================ */
.nosotros { display: grid; grid-template-columns: 1fr 1fr; min-height: 60vh; background: var(--pink-dust); }
.nosotros__image { overflow: hidden; }
.nosotros__image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(30%); }
.nosotros__text {
  padding: clamp(32px, 4vw, 64px) clamp(32px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

/* ============================================================
   INFO GENERAL + MAPA
   ============================================================ */
.info { display: grid; grid-template-columns: 1fr 1fr; min-height: 60vh; background: var(--cream); }
.info__map { min-height: 400px; background: var(--navy-alpha-10); order: 2; }  /* mapa a la derecha */
.info__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(20%) contrast(1.05); display: block; }
.info__text {
  padding: clamp(48px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}
.info__details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 12px; }
.info__detail h4 {
  font-family: var(--font-parrafo);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy-deep);
  margin-bottom: 12px;
}
.info__detail p, .info__detail a {
  font-family: var(--font-parrafo);
  font-weight: 300;
  font-size: 14px;
  color: var(--navy-alpha-75);
  line-height: 1.7;
  transition: color 0.3s;
}
.info__detail a:hover { color: var(--camel); }

/* ============================================================
   FORMULARIO CONTACTO
   ============================================================ */
.contacto { padding: clamp(140px, 20vh, 220px) clamp(24px, 5vw, 80px) clamp(80px, 12vh, 140px); background: var(--cream); }
.contacto__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 6vw, 96px);
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
}
.contacto__intro { display: flex; flex-direction: column; gap: 20px; }
.contacto__label { display: block; margin-bottom: 20px; }
.contacto__form { display: flex; flex-direction: column; gap: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label {
  font-family: var(--font-parrafo);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy-alpha-75);
}
.form-field input, .form-field select, .form-field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--navy-alpha-30);
  padding: 12px 0;
  font-family: var(--font-parrafo);
  font-weight: 300;
  font-size: 15px;
  color: var(--navy-deep);
  outline: none;
  transition: border-color 0.3s ease;
  resize: none;
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23082744' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--navy-deep); }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--navy-alpha-30); }
.contacto__error {
  font-family: var(--font-parrafo);
  font-weight: 400;
  font-size: 13px;
  color: #a5423a;
}
.contacto__submit { align-self: flex-start; margin-top: 12px; }

/* ============================================================
   POP-UP NEWSLETTER
   ============================================================ */
.popup { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; }
.popup[hidden] { display: none; }
.popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.popup__modal {
  position: relative;
  z-index: 2;
  width: min(920px, 92vw);
  height: min(560px, 88vh);
  background: var(--cream);
  border-radius: 8px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.popup__image img { width: 100%; height: 100%; object-fit: cover; }
.popup__content { padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.popup__title { font-family: var(--font-titulo); font-weight: 400; font-size: clamp(1.75rem, 3vw, 2.5rem); color: var(--navy-deep); line-height: 1.1; }
.popup__text { font-family: var(--font-parrafo); font-weight: 300; font-size: 15px; color: var(--navy-alpha-85); line-height: 1.5; }
.popup__form { display: flex; flex-direction: column; gap: 16px; }
.popup__input {
  background: transparent;
  border: 1px solid var(--navy-alpha-30);
  border-radius: 999px;
  padding: 16px 24px;
  font-family: var(--font-parrafo);
  font-weight: 300;
  font-size: 15px;
  color: var(--navy-deep);
  width: 100%;
  outline: none;
  transition: border-color 0.3s ease;
}
.popup__input:focus { border-color: var(--navy-deep); }
.popup__input::placeholder { color: var(--navy-alpha-30); }
.popup__submit { width: 100%; padding: 18px; text-align: center; }
.popup__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.popup__feedback { font-family: var(--font-parrafo); font-weight: 400; font-size: 14px; color: var(--navy-deep); line-height: 1.4; }
.popup__feedback.is-error { color: #b3261e; }
.popup__submit[disabled] { opacity: 0.6; cursor: wait; }
.popup__submit[hidden] { display: none; }
.popup__legal { font-family: var(--font-parrafo); font-weight: 300; font-size: 12px; color: var(--navy-alpha-30); }
.popup__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 3;
  background: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--navy-deep);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}
.popup__close:hover { transform: rotate(90deg); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--cream);
  color: var(--navy-deep);
  padding: clamp(72px, 10vw, 120px) clamp(24px, 5vw, 64px) 0;
  overflow: hidden;
  position: relative;
}
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; padding: 72px 0; }
.footer__col h5 {
  font-family: var(--font-parrafo);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy-deep);
  margin-bottom: 20px;
}
.footer__col ul { list-style: none; }
.footer__col li, .footer__col p, .footer__col a {
  font-family: var(--font-parrafo);
  font-weight: 300;
  font-size: 14px;
  color: rgba(8, 39, 68, 0.75);
  line-height: 1.8;
  transition: color 0.3s ease;
}
.footer__col a:hover { color: var(--camel); }
.footer__col--about p { margin-bottom: 16px; }
.footer__korean {
  font-family: var(--font-subtitulo);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  color: var(--camel);
  display: block;
  margin-top: 24px;
  letter-spacing: 0.1em;
}
.footer__legal {
  display: flex;
  justify-content: space-between;
  padding: 32px 0 48px;
  border-top: 1px solid rgba(8, 39, 68, 0.15);
  font-family: var(--font-parrafo);
  font-weight: 300;
  font-size: 12px;
  color: rgba(8, 39, 68, 0.6);
}
.footer__legal a { color: rgba(8, 39, 68, 0.75); text-decoration: underline; }
.footer__logomark {
  width: 100%;
  overflow: hidden;
  height: clamp(40px, 5.5vw, 82px);
  margin-top: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.footer__logomark img { width: min(920px, 74vw); height: auto; display: block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* --- Tablet (<1024px) --- */
@media (max-width: 1023px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* --- Manifiesto / productos / info / contacto: stack a 900px --- */
@media (max-width: 900px) {
  .megamenu { display: none; }  /* mobile: drawer lateral pendiente (Fase 2) */
  .manifiesto { grid-template-columns: 1fr; }
  .manifiesto__visual { aspect-ratio: 16 / 12; }
  .info { grid-template-columns: 1fr; }
  .info__details { grid-template-columns: 1fr; gap: 24px; }
  .contacto__inner { grid-template-columns: 1fr; }
}

/* --- Mobile (<768px) --- */
@media (max-width: 767px) {
  /* Top bar compacta */
  .topbar { padding: 0 36px; min-height: 40px; }
  .topbar__slide { font-size: 10.5px; letter-spacing: 0.08em; }

  /* Navbar mobile: hamburguesa izq, logo, íconos der */
  .navbar__icons { gap: 16px; }
  .navbar__inner { grid-template-columns: auto 1fr auto; }
  .navbar__hamburger { display: inline-flex; }
  .navbar__logo { justify-content: flex-start; }
  .navbar__logo img { height: 24px; }
  .navbar__menu {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--navy-alpha-15);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .navbar__menu.is-open { max-height: 280px; }
  .navbar__item { width: 100%; text-align: center; border-top: 1px solid var(--navy-alpha-15); }
  .navbar__trigger { display: block; width: 100%; padding: 20px 0; }

  /* Cosmetología: 1 columna */
  .servicios__grid { grid-template-columns: 1fr; gap: 20px; }

  /* Manifiesto: texto arriba, visual abajo */
  .manifiesto__content { order: 2; }

  /* Medicina estética: overlay desde abajo, texto abajo */
  .medicina-estetica-wrap { height: 170vh; }
  .medicina-estetica { min-height: 520px; }
  .medicina-estetica::after {
    background: linear-gradient(to top, rgba(8,39,68,0.65) 0%, rgba(8,39,68,0.35) 50%, transparent 75%);
  }
  .medicina-estetica__content {
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    padding-bottom: 56px;
    padding-left: 32px;
    padding-right: 32px;
    max-width: 100%;
  }
  .medicina-estetica__content .btn-pill { align-self: flex-start; }

  /* Nosotros: stack */
  .nosotros { grid-template-columns: 1fr; }
  .nosotros__image { aspect-ratio: 4/5; }

  /* Contacto: nombre/apellido en 1 columna */
  .form-row { grid-template-columns: 1fr; }

  /* Popup: stack */
  .popup__modal { grid-template-columns: 1fr; grid-template-rows: 200px 1fr; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__legal { flex-direction: column; gap: 12px; text-align: center; }
}

/* --- Mobile chico (<480px) --- */
@media (max-width: 479px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   SUBPÁGINAS (/faq.html y /contacto.html)
   ============================================================ */

/* --- Page hero (banner con título subrayado) --- */
.page-hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-hero__image { position: absolute; inset: 0; z-index: 0; }
.page-hero__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8,39,68,0.15) 0%, rgba(8,39,68,0.10) 50%, rgba(8,39,68,0.20) 100%);
  z-index: 1;
}
.page-hero__overlay--light {
  background: linear-gradient(to bottom, rgba(243,239,231,0.15) 0%, rgba(243,239,231,0.30) 100%);
}
.page-hero__title {
  position: relative;
  z-index: 2;
  font-family: var(--font-titulo);
  font-weight: 400;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--white);
  text-align: center;
  padding: 0 24px;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.page-hero__title--dark { color: var(--navy-deep); }
.page-hero__title::first-letter { text-transform: uppercase; }
.page-hero__underline-wrap { position: relative; display: inline-block; padding-bottom: 12px; }
.page-hero__underline { position: absolute; bottom: -4px; left: 0; width: 100%; height: auto; pointer-events: none; }

/* --- Eyebrow label reutilizable --- */
.eyebrow-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-parrafo);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-deep);
  opacity: 0.7;
  margin-bottom: 24px;
}
.eyebrow-label__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--navy-deep); }
.eyebrow-label--light { color: var(--cream); opacity: 0.9; }
.eyebrow-label__dot--camel { background: var(--camel); }

/* --- FAQ intro --- */
.faq-intro {
  padding: clamp(80px, 12vh, 140px) clamp(24px, 5vw, 80px) 48px;
  background: var(--cream);
  text-align: center;
}
.faq-intro__text {
  font-family: var(--font-parrafo);
  font-weight: 300;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--navy-alpha-85);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto;
}

/* --- FAQ acordeones --- */
.faq-content {
  padding: 48px clamp(24px, 5vw, 80px) clamp(80px, 12vh, 140px);
  background: var(--cream);
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 72px;
}
.faq-group__title {
  font-family: var(--font-titulo);
  font-weight: 400;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--navy-deep);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.faq-group__title::first-letter { text-transform: uppercase; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border-radius: 6px; overflow: hidden; transition: box-shadow 0.3s ease; }
.faq-item:hover { box-shadow: 0 8px 24px rgba(8,39,68,0.06); }
.faq-item summary {
  padding: 24px 32px;
  font-family: var(--font-parrafo);
  font-weight: 500;
  font-size: 16px;
  color: var(--navy-deep);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  user-select: none;
  transition: background 0.3s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4l6 6 6-6' stroke='%23082744' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item[open] summary { background: rgba(176,134,89,0.05); }
.faq-item__body {
  padding: 0 32px 24px;
  font-family: var(--font-parrafo);
  font-weight: 300;
  font-size: 15px;
  color: var(--navy-alpha-75);
  line-height: 1.65;
  animation: faqFadeIn 0.35s ease-out;
}
.faq-item__body strong { font-weight: 500; color: var(--navy-deep); }
.faq-item__body p + p { margin-top: 12px; }
@keyframes faqFadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* --- FAQ CTA cierre --- */
.faq-cta { background: var(--navy-deep); padding: clamp(80px, 12vh, 140px) clamp(24px, 5vw, 80px); text-align: center; }
.faq-cta__inner { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.faq-cta__buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }

/* --- Contacto intro --- */
.contacto-intro {
  padding: clamp(80px, 12vh, 140px) clamp(24px, 5vw, 80px) 48px;
  background: var(--cream);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.contacto-intro__text {
  font-family: var(--font-parrafo);
  font-weight: 300;
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  color: var(--navy-alpha-85);
  line-height: 1.6;
  max-width: 620px;
}
.contacto-social { display: flex; gap: 20px; margin-top: 12px; }
.contacto-social a { color: var(--navy-deep); padding: 10px; transition: opacity 0.3s, transform 0.3s; }
.contacto-social a:hover { opacity: 0.6; transform: translateY(-2px); }

/* --- Contacto formulario full --- */
.contacto-form-section { padding: 48px clamp(24px, 5vw, 80px) clamp(80px, 12vh, 140px); background: var(--cream); }
.contacto-form-full { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px; }
.contacto-form-full__submit { align-self: center; margin-top: 12px; padding: 20px 56px; }

/* --- Contacto info local + mapa --- */
.contacto-local { display: grid; grid-template-columns: 1fr 1fr; min-height: 60vh; background: var(--pink-dust); }
.contacto-local__map { min-height: 400px; background: var(--navy-alpha-10); order: 2; }  /* mapa a la derecha */
.contacto-local__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(20%) contrast(1.05); display: block; }
.contacto-local__text {
  padding: clamp(48px, 6vw, 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}
.contacto-local__details { display: grid; grid-template-columns: 1fr; gap: 24px; }
.contacto-local__details h4 {
  font-family: var(--font-parrafo);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy-deep);
  margin-bottom: 8px;
}
.contacto-local__details p, .contacto-local__details a {
  font-family: var(--font-parrafo);
  font-weight: 300;
  font-size: 15px;
  color: var(--navy-alpha-75);
  line-height: 1.7;
  transition: color 0.3s;
}
.contacto-local__details a:hover { color: var(--camel); }

@media (max-width: 900px) {
  .contacto-local { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .page-hero { height: 56vh; min-height: 380px; }
  .faq-cta__buttons { flex-direction: column; width: 100%; }
  .faq-cta__buttons .btn-pill { width: 100%; text-align: center; }
}

/* ============================================================
   SUBPÁGINA TRATAMIENTOS
   ============================================================ */
/* Header (izquierda, denso) */
.tratamientos-header { position: relative; background: var(--cream); overflow: hidden; }
.tratamientos-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/TEXTURA-COSMETOLOGIA.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.10;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
.tratamientos-header > * { position: relative; z-index: 1; }
.tratamientos-header__inner { padding: clamp(56px, 8vh, 88px) clamp(24px, 5vw, 64px) 40px; max-width: 1440px; margin: 0 auto; }
.tratamientos-header__intro { max-width: 1100px; display: flex; flex-direction: column; gap: 20px; margin-bottom: 48px; }
.tratamientos-header__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-parrafo); font-weight: 500; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy-deep); opacity: 0.7; }
.tratamientos-header__title { font-family: var(--font-titulo); font-weight: 500; font-size: clamp(2rem, 4.5vw, 3.75rem); color: var(--navy-deep); line-height: 1.05; letter-spacing: -0.02em; text-transform: lowercase; }
.tratamientos-header__lead-wrap { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.tratamientos-header__lead { font-family: var(--font-parrafo); font-weight: 300; font-size: clamp(0.95rem, 1.1vw, 1.05rem); color: var(--navy-alpha-75); line-height: 1.6; max-width: 800px; white-space: pre-line; overflow: hidden; transition: max-height 0.5s ease; }
.tratamientos-header__lead.is-clamped { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; max-height: 5em; }
.tratamientos-header__lead.is-expanded { display: block; max-height: 60em; }
.tratamientos-header__toggle { background: transparent; border: none; padding: 4px 0; font-family: var(--font-parrafo); font-weight: 500; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy-deep); cursor: pointer; border-bottom: 1px solid var(--navy-deep); transition: color 0.3s ease, border-color 0.3s ease; }
.tratamientos-header__toggle:hover { color: var(--camel); border-color: var(--camel); }

/* Filtros con círculos alineados a la izquierda, más chicos */
.filtros { display: flex; gap: clamp(20px, 3vw, 40px); justify-content: flex-start; flex-wrap: wrap; margin: 0; padding: 0; max-width: none; }
.filtro { background: transparent; border: none; padding: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 12px; transition: transform 0.3s ease; }
.filtro:hover { transform: translateY(-3px); }
.filtro__circle { width: clamp(90px, 8vw, 110px); height: clamp(90px, 8vw, 110px); border-radius: 50%; overflow: hidden; border: 2px solid transparent; transition: border-color 0.3s ease, box-shadow 0.3s ease; position: relative; background: var(--navy-alpha-10); }
.filtro__circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.filtro__circle--all { background: var(--navy-deep); display: flex; align-items: center; justify-content: center; color: var(--cream); font-family: var(--font-parrafo); font-weight: 500; font-size: clamp(0.8rem, 0.95vw, 0.9rem); letter-spacing: 0.05em; text-align: center; line-height: 1.1; text-transform: lowercase; }
.filtro__label { font-family: var(--font-parrafo); font-weight: 500; font-size: clamp(11px, 0.8vw, 13px); color: var(--navy-deep); letter-spacing: 0.02em; text-align: center; max-width: 110px; line-height: 1.25; transition: opacity 0.3s ease; }
.filtro:not(.is-active) .filtro__label { opacity: 0.55; }
.filtro.is-active .filtro__circle { border-color: var(--navy-deep); box-shadow: 0 6px 18px rgba(8, 39, 68, 0.1); }
.filtro.is-active .filtro__label { opacity: 1; }

/* Meta row (counter + promo) con separadores */
.tratamientos-header__meta { border-top: 1px solid var(--navy-alpha-15); border-bottom: 1px solid var(--navy-alpha-15); }
.tratamientos-header__meta-inner { padding: 14px clamp(24px, 5vw, 64px); max-width: 1440px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-parrafo); font-weight: 500; font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--navy-deep); }
.tratamientos-header__promo { color: var(--camel); }
@media (max-width: 640px) {
  .tratamientos-header__meta-inner { flex-direction: row; justify-content: flex-start; text-align: left; padding: 8px 20px; font-size: 10px; letter-spacing: 0.12em; }
  .tratamientos-header__promo { display: none; }

  /* Filtros mobile: por defecto (cosmetología → 5) todos en 1 línea */
  .filtros {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 8px;
    padding: 0;
  }
  .filtro { min-width: 0; flex: 1 1 0; gap: 8px; }
  .filtro__circle { width: 56px; height: 56px; }
  .filtro__label { font-size: 10px; max-width: 100%; line-height: 1.2; }
  .filtro__circle--all { font-size: 10.5px; letter-spacing: 0.03em; }

  /* Medicina estética: 7 filtros → 2 líneas (4 + 3), grid con misma columna que cosmetología, alineado a la izquierda */
  body[data-page="medicina-estetica"] .filtros {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px 8px;
    justify-items: start;
  }
  body[data-page="medicina-estetica"] .filtro {
    flex: none;
    width: 100%;
    align-items: center;
  }
  body[data-page="medicina-estetica"] .filtro__circle { width: 62px; height: 62px; }

  .tratamientos-header__inner { padding: clamp(20px, 4vh, 40px) clamp(20px, 5vw, 40px) 24px; }
  .tratamientos-header__intro { gap: 14px; margin-bottom: 24px; }
}

/* Grid de tratamientos — cards separadas con aire (fila y columna) */
.tratamientos-grid { background: var(--cream); display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(44px, 5vw, 64px) clamp(16px, 2vw, 28px); padding: clamp(24px, 3vw, 40px) clamp(24px, 5vw, 64px) clamp(56px, 8vw, 96px); }
@media (max-width: 1024px) { .tratamientos-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .tratamientos-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .tratamientos-grid { grid-template-columns: 1fr; } }
.tratamiento-card { display: flex; flex-direction: column; cursor: pointer; transition: transform 0.4s ease, box-shadow 0.4s ease; overflow: hidden; background: var(--cream); border-radius: 4px; }
.tratamiento-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(8, 39, 68, 0.1); }
/* Imagen cuadrada (altura controlada, ya no estirada) */
.tratamiento-card__image { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--pink-dust); }
.tratamiento-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 0.6s ease; display: block; }
.tratamiento-card:hover .tratamiento-card__image img { transform: scale(1.04); }
/* Tags micro sobre la imagen, arriba-izquierda */
.tratamiento-card__tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 4px; flex-wrap: wrap; z-index: 2; max-width: calc(100% - 24px); }
.tratamiento-card__tags .tag { font-family: var(--font-parrafo); font-weight: 500; font-size: 8.5px; letter-spacing: 0.12em; text-transform: uppercase; padding: 3px 6px; background: rgba(255, 255, 255, 0.92); color: var(--navy-deep); border-radius: 2px; border: none; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
/* Franja de info abajo — jerarquía cuidada */
.tratamiento-card__meta { padding: 16px 12px 8px; display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; background: var(--cream); min-height: 96px; justify-content: flex-start; }
.tratamiento-card__name { font-family: var(--font-parrafo); font-weight: 500; font-size: clamp(12.5px, 1vw, 14px); color: var(--navy-deep); line-height: 1.35; letter-spacing: 0.01em; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tratamiento-card__note { font-family: var(--font-parrafo); font-weight: 300; font-size: 11px; color: var(--navy-alpha-60); line-height: 1.4; min-height: 1.4em; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; font-style: italic; }
.tratamiento-card__price { font-family: var(--font-parrafo); font-weight: 500; font-size: clamp(12.5px, 1.05vw, 14px); color: var(--navy-deep); letter-spacing: 0.005em; line-height: 1.35; margin-top: 6px; word-break: break-word; }
.tratamiento-card__price-sub { font-family: var(--font-parrafo); font-weight: 400; font-size: 10px; color: rgba(8, 39, 68, 0.42); letter-spacing: 0.02em; line-height: 1.3; margin: 2px 0 0; }

/* Asesoramiento */
.asesoramiento { background: var(--navy-deep); padding: clamp(72px, 12vh, 120px) clamp(24px, 5vw, 80px); text-align: center; }
.asesoramiento__inner { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; }

/* ============================================
   MODAL DE DETALLE — centrado, 2 columnas
   ============================================ */
.tratamiento-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: clamp(16px, 3vw, 40px); }
.tratamiento-modal[hidden] { display: none; }
.tratamiento-modal__overlay { position: absolute; inset: 0; background: rgba(8, 39, 68, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.tratamiento-modal__panel { position: relative; z-index: 2; background: var(--cream); border-radius: 8px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; width: min(1080px, 100%); max-height: calc(100vh - 40px); box-shadow: 0 30px 80px rgba(8, 39, 68, 0.25); }
@media (max-width: 900px) {
  .tratamiento-modal__panel { grid-template-columns: 1fr; grid-template-rows: auto 1fr; max-height: calc(100vh - 32px); overflow-y: auto; }
}
.tratamiento-modal__close { position: absolute; top: 16px; right: 16px; z-index: 5; background: var(--white); width: 40px; height: 40px; border-radius: 50%; color: var(--navy-deep); display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.tratamiento-modal__close:hover { transform: rotate(90deg); }

/* Columna izquierda: imagen(es) con carrusel */
.tratamiento-modal__image { position: relative; min-height: 400px; background: var(--pink-dust); overflow: hidden; }
@media (max-width: 900px) { .tratamiento-modal__image { min-height: 300px; aspect-ratio: 4 / 3; } }
.tratamiento-modal__slides { position: relative; width: 100%; height: 100%; }
.tratamiento-modal__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s ease; }
.tratamiento-modal__slide.is-active { opacity: 1; }
.tratamiento-modal__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tratamiento-modal__slide--placeholder { background: linear-gradient(135deg, var(--pink-dust) 0%, rgba(176, 134, 89, 0.15) 100%); }
.modal-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 40px 32px; text-align: center; }
.modal-placeholder span { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400; font-size: clamp(1.4rem, 1.8vw, 1.75rem); color: var(--navy-alpha-60); line-height: 1.25; }

/* Carrusel controls */
.modal-carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; background: rgba(255,255,255,0.85); border: none; width: 40px; height: 40px; border-radius: 50%; color: var(--navy-deep); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.3s, transform 0.3s; backdrop-filter: blur(4px); }
.modal-carousel-btn:hover { background: var(--white); transform: translateY(-50%) scale(1.05); }
.modal-carousel-btn--prev { left: 12px; }
.modal-carousel-btn--next { right: 12px; }
.modal-carousel-btn[hidden] { display: none; }
.modal-carousel-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 6px; }
.modal-carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.55); border: none; cursor: pointer; padding: 0; transition: background 0.3s, transform 0.3s; }
.modal-carousel-dot.is-active { background: var(--white); transform: scale(1.25); }

/* Columna derecha: contenido con scroll interno */
.tratamiento-modal__content { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; overflow-y: auto; max-height: calc(100vh - 40px); }
@media (max-width: 900px) { .tratamiento-modal__content { overflow-y: visible; max-height: none; } }

.modal-badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.modal-category-badge { font-family: var(--font-parrafo); font-weight: 500; font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--camel); }
.modal-category { font-family: var(--font-parrafo); font-weight: 500; font-size: 10px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--navy-alpha-60); }
.tratamiento-modal__title { font-family: var(--font-titulo); font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--navy-deep); line-height: 1.15; letter-spacing: -0.015em; margin-top: 2px; }
.tratamiento-modal__price { font-family: var(--font-titulo); font-weight: 500; font-size: clamp(1.15rem, 1.8vw, 1.4rem); color: var(--navy-deep); letter-spacing: 0.005em; margin-top: 4px; }
.tratamiento-modal__price[hidden] { display: none; }
.tratamiento-modal__divider { height: 1px; background: var(--navy-alpha-15); margin: 8px 0; }
.tratamiento-modal__note { font-family: var(--font-parrafo); font-weight: 300; font-style: italic; font-size: 13px; color: var(--navy-alpha-75); line-height: 1.5; }
.tratamiento-modal__note[hidden] { display: none; }

/* Bloques info con íconos */
.tratamiento-modal__info { background: var(--pink-dust); border-radius: 6px; padding: 20px; display: flex; flex-direction: column; gap: 16px; margin-top: 6px; }
.info-block { display: flex; flex-direction: column; gap: 4px; }
.info-block__header { display: flex; align-items: center; gap: 8px; }
.info-block__icon { color: var(--navy-deep); flex-shrink: 0; }
.info-block__title { font-family: var(--font-parrafo); font-weight: 500; font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy-deep); }
.info-block__text { font-family: var(--font-parrafo); font-weight: 300; font-size: 12.5px; color: var(--navy-alpha-85); line-height: 1.55; padding-left: 26px; }
.info-block__text--promo { font-weight: 500; color: var(--camel); margin-top: 4px; }
.info-block__text--promo[hidden] { display: none; }

.tratamientos-empty { padding: 80px 24px; text-align: center; }
.tratamientos-empty[hidden] { display: none; }
.tratamientos-empty .lead { color: var(--navy-alpha-60); font-style: italic; }

.tratamiento-modal__cta { margin-top: 8px; width: 100%; text-align: center; padding: 16px 24px; }
.tratamiento-modal__original { font-family: var(--font-parrafo); font-weight: 300; font-size: 12px; color: var(--navy-alpha-60); text-decoration: underline; text-align: center; transition: color 0.3s ease; }
.tratamiento-modal__original:hover { color: var(--navy-deep); }
.tratamiento-modal__original[hidden] { display: none; }

/* ============================================================
   Botón outline (2 CTAs en home nosotros)
   ============================================================ */
.nosotros__cta-group { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.btn-pill--outline-navy {
  display: inline-block;
  background: transparent;
  color: var(--navy-deep);
  border: 1px solid var(--navy-deep);
  padding: 17px 40px;
  border-radius: 999px;
  font-family: var(--font-parrafo);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  white-space: nowrap;
  transition: all 0.4s ease;
}
.btn-pill--outline-navy:hover { background: var(--navy-deep); color: var(--cream); transform: translateY(-2px); }

/* ============================================================
   SUBPÁGINA NOSOTROS
   ============================================================ */
.nosotros-intro { padding: clamp(80px, 12vh, 140px) clamp(24px, 5vw, 80px) 32px; background: var(--cream); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.nosotros-intro__tagline { font-family: var(--font-subtitulo); font-style: italic; font-weight: 400; font-size: clamp(1.25rem, 2vw, 1.75rem); color: var(--navy-deep); line-height: 1.4; max-width: 720px; letter-spacing: 0.005em; }

.nosotros-historia { padding: 24px clamp(24px, 5vw, 80px) clamp(80px, 12vh, 120px); background: var(--cream); }
.nosotros-historia__inner { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.nosotros-historia__paragraph { font-family: var(--font-parrafo); font-weight: 300; font-size: clamp(1rem, 1.2vw, 1.15rem); color: var(--navy-alpha-85); line-height: 1.75; letter-spacing: 0.005em; }

.nosotros-video { padding: clamp(48px, 8vh, 96px) clamp(24px, 5vw, 80px); background: var(--pink-dust); position: relative; overflow: hidden; }
.nosotros-video__inner { max-width: 1000px; margin: 0 auto; position: relative; }
.nosotros-video__pattern { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.nosotros-video__pattern svg { width: 100%; height: 100%; display: block; }
.nosotros-video__frame { position: relative; z-index: 1; width: 100%; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: var(--cream); box-shadow: 0 20px 60px rgba(8, 39, 68, 0.15); }
.nosotros-video__player { width: 100%; height: 100%; object-fit: cover; display: block; }
.nosotros-video__placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: var(--navy-alpha-60); background: linear-gradient(135deg, rgba(243, 239, 231, 0.9), rgba(242, 225, 221, 0.9)); }
.nosotros-video__placeholder p { font-family: var(--font-parrafo); font-weight: 500; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--navy-alpha-60); }

.nosotros-quote { padding: clamp(96px, 14vh, 160px) clamp(24px, 5vw, 80px); background: var(--cream); text-align: center; }
.nosotros-quote__inner { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.nosotros-quote__text { font-family: var(--font-subtitulo); font-style: italic; font-weight: 400; font-size: clamp(1.75rem, 4vw, 3rem); color: var(--navy-deep); line-height: 1.3; letter-spacing: -0.005em; }
.nosotros-quote__attribution { font-family: var(--font-parrafo); font-weight: 500; font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--camel); }

.nosotros-cta { background: var(--navy-deep); padding: clamp(80px, 12vh, 140px) clamp(24px, 5vw, 80px); text-align: center; }
.nosotros-cta__inner { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.nosotros-cta__buttons { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 20px; }
@media (max-width: 767px) {
  .nosotros-cta__buttons { flex-direction: column; width: 100%; }
  .nosotros-cta__buttons .btn-pill { width: 100%; text-align: center; }
}

/* ============================================================
   WHATSAPP FLOTANTE (global)
   ============================================================ */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 900;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(8, 39, 68, 0.22), 0 2px 6px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
  animation: wa-pop 0.5s ease-out 1s both;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 12px 30px rgba(8, 39, 68, 0.28), 0 3px 10px rgba(37, 211, 102, 0.5); }
.wa-float:active { transform: scale(0.96); }
.wa-float svg { display: block; }
@keyframes wa-pop { from { opacity: 0; transform: scale(0) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@media (max-width: 767px) { .wa-float { width: 52px; height: 52px; } .wa-float svg { width: 26px; height: 26px; } }
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }

/* ============================================================
   BUSCADOR EN FOOTER (global)
   ============================================================ */
.footer__search {
  padding: clamp(32px, 5vw, 56px) clamp(24px, 5vw, 80px);
  border-bottom: 1px solid rgba(8, 39, 68, 0.14);
}
.footer__search-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.footer__search-label {
  font-family: var(--font-subtitulo);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--navy-deep);
  letter-spacing: 0.01em;
}
.footer__search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 560px;
  background: rgba(8, 39, 68, 0.05);
  border: 1px solid rgba(8, 39, 68, 0.22);
  border-radius: 100px;
  padding: 6px 6px 6px 20px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.footer__search-form:focus-within { border-color: var(--camel); background: rgba(8, 39, 68, 0.08); }
.footer__search-form svg { color: rgba(8, 39, 68, 0.55); flex-shrink: 0; }
.footer__search-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--navy-deep);
  font-family: var(--font-parrafo);
  font-size: 15px;
  padding: 10px 4px;
}
.footer__search-form input::placeholder { color: rgba(8, 39, 68, 0.45); }
.footer__search-form button {
  background: var(--navy-deep);
  color: var(--cream);
  border: none;
  border-radius: 100px;
  padding: 11px 24px;
  font-family: var(--font-parrafo);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}
.footer__search-form button:hover { background: var(--camel); color: var(--white); }
@media (max-width: 560px) {
  .footer__search-form { flex-wrap: wrap; border-radius: 20px; padding: 12px; }
  .footer__search-form input { min-width: 0; }
  .footer__search-form button { width: 100%; }
}

/* ============================================================
   PÁGINA DE BÚSQUEDA (buscar.html)
   ============================================================ */
.buscar-hero {
  background: var(--cream);
  padding: clamp(48px, 8vw, 96px) clamp(24px, 5vw, 80px) clamp(32px, 5vw, 56px);
}
.buscar-hero__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.buscar-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-parrafo);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-alpha-60);
  margin-bottom: 20px;
}
.buscar-hero__title {
  font-family: var(--font-titulo);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--navy-deep);
  line-height: 1.05;
  margin-bottom: 32px;
}
.buscar-hero__form {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--navy-alpha-15);
  border-radius: 100px;
  padding: 8px 8px 8px 22px;
  max-width: 600px;
  margin: 0 auto;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.buscar-hero__form:focus-within { border-color: var(--camel); box-shadow: 0 6px 22px rgba(8,39,68,0.08); }
.buscar-hero__icon { color: var(--navy-alpha-30); flex-shrink: 0; }
.buscar-hero__form input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-parrafo);
  font-size: 16px;
  color: var(--navy-deep);
  padding: 12px 4px;
}
.buscar-hero__form input::placeholder { color: var(--navy-alpha-30); }
.buscar-hero__submit {
  background: var(--navy-deep);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 13px 30px;
  font-family: var(--font-parrafo);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.3s ease;
  flex-shrink: 0;
}
.buscar-hero__submit:hover { background: var(--camel); }

.buscar-resultados { padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 80px) clamp(64px, 9vw, 120px); max-width: 1400px; margin: 0 auto; }
.buscar-resultados__meta {
  font-family: var(--font-parrafo);
  font-size: 15px;
  color: var(--navy-alpha-60);
  margin-bottom: 36px;
  text-align: center;
}
.buscar-resultados__meta strong { color: var(--navy-deep); font-weight: 500; }
.buscar-resultados__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}
.buscar-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.35s ease;
}
.buscar-card:hover { transform: translateY(-4px); }
.buscar-card__image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream);
  border-radius: 4px;
}
.buscar-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.buscar-card:hover .buscar-card__image img { transform: scale(1.05); }
.buscar-card__tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.buscar-card__cat {
  font-family: var(--font-parrafo);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--camel);
}
.buscar-card__name {
  font-family: var(--font-titulo);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--navy-deep);
  line-height: 1.25;
  margin-top: 2px;
}
.buscar-card__note { font-family: var(--font-parrafo); font-weight: 300; font-size: 13px; color: var(--navy-alpha-60); }
.buscar-card__price { font-family: var(--font-parrafo); font-weight: 500; font-size: 15px; color: var(--navy-deep); margin-top: 2px; }

.buscar-resultados__empty { text-align: center; padding: 40px 0; }
.buscar-resultados__empty p { font-family: var(--font-parrafo); color: var(--navy-alpha-60); font-size: 16px; }
.buscar-resultados__empty-hint { margin-top: 8px; font-size: 14px; }
.buscar-resultados__empty-hint a { color: var(--camel); text-decoration: underline; }

@media (max-width: 1024px) { .buscar-resultados__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) {
  .buscar-resultados__grid { grid-template-columns: repeat(2, 1fr); }
  .buscar-hero__form { flex-wrap: wrap; border-radius: 20px; padding: 14px; }
  .buscar-hero__submit { width: 100%; }
}
@media (max-width: 460px) { .buscar-resultados__grid { grid-template-columns: 1fr; } }

/* ============================================================
   PÁGINA PRODUCTOS (productos.html)
   ============================================================ */
/* Barra de filtros por categoría (pills) */
.prod-filtros { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.prod-filtro {
  font-family: var(--font-parrafo);
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--navy-alpha-60);
  background: transparent;
  border: 1px solid var(--navy-alpha-15);
  border-radius: 100px;
  padding: 9px 18px;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.prod-filtro:hover { color: var(--navy-deep); border-color: var(--navy-alpha-30); }
.prod-filtro.is-active { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--cream); }

/* Grid de productos */
.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
  padding: 0 clamp(24px, 5vw, 80px) clamp(56px, 8vw, 100px);
  max-width: 1500px;
  margin: 0 auto;
}
/* Reset de los bordes que la card usa en el grid de la home */
.prod-grid .product-card { border-right: none; padding: 12px 12px 24px; border: 1px solid transparent; border-radius: 6px; }
.prod-grid .product-card:hover { background: rgba(176, 134, 89, 0.06); border-color: var(--navy-alpha-10); }
.prod-grid .product-card__meta { text-align: left; padding: 0 6px; }
.prod-grid .product-card__meta h4 { font-size: 15px; }

.prod-empty { text-align: center; padding: 40px 24px 90px; }
.prod-empty p { font-family: var(--font-parrafo); color: var(--navy-alpha-60); font-size: 16px; }
.prod-empty__hint { margin-top: 8px; }
.prod-empty__hint a { color: var(--camel); text-decoration: underline; }

@media (max-width: 1024px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .prod-grid { grid-template-columns: repeat(2, 1fr); } .prod-filtros { gap: 8px; } .prod-filtro { padding: 8px 14px; font-size: 12px; } }
@media (max-width: 400px)  { .prod-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }

/* ============================================
   FEATURES EDITORIAL — mosaic + items numerados
   ============================================ */
.features-editorial {
  position: relative;
  background: var(--cream);
  padding: clamp(140px, 18vh, 220px) clamp(24px, 5vw, 80px);
}
.wave-divider {
  position: absolute;
  left: 0;
  width: 100%;
  height: clamp(80px, 10vw, 120px);
  display: block;
  z-index: 2;
  pointer-events: none;
}
.wave-divider--top { top: 0; transform: translateY(-99%); }
.wave-divider--bottom { bottom: 0; transform: translateY(99%); }
@media (max-width: 640px) {
  .wave-divider { height: 60px; }
  .features-editorial { padding: 100px clamp(20px, 5vw, 40px); }
}
.features-editorial__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: stretch;
}
@media (max-width: 900px) { .features-editorial__inner { align-items: start; } }
@media (max-width: 900px) {
  .features-editorial__inner { grid-template-columns: 1fr; gap: 48px; }
}

/* Mosaic izquierdo: 3 columnas × 2 filas asimétricas */
.features-editorial__mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
  aspect-ratio: 1.05 / 1;
  min-height: 480px;
}
.mosaic-cell { border-radius: 4px; overflow: hidden; position: relative; }
.mosaic-cell--img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mosaic-cell--tall { grid-column: 1; grid-row: 1 / span 2; }
.mosaic-cell--small { grid-column: 2; grid-row: 1; }
.mosaic-cell--pink-1 { grid-column: 3; grid-row: 1; background: #B08659; }
.mosaic-cell--pink-2 { grid-column: 2; grid-row: 2; background: #D4B48F; }
.mosaic-cell--tall-right { grid-column: 3; grid-row: 2; }

@media (max-width: 640px) {
  .features-editorial__mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    aspect-ratio: 1 / 1.2;
    min-height: 380px;
  }
  .mosaic-cell--tall { grid-column: 1; grid-row: 1 / span 2; }
  .mosaic-cell--small { grid-column: 2; grid-row: 1; }
  .mosaic-cell--pink-1 { grid-column: 2; grid-row: 2; }
  .mosaic-cell--pink-2 { grid-column: 1; grid-row: 3; }
  .mosaic-cell--tall-right { grid-column: 2; grid-row: 3; }
}

/* Items numerados derecha — compactos, distribuidos dentro del alto del mosaic */
.features-editorial__items { display: flex; flex-direction: column; justify-content: flex-start; gap: clamp(16px, 1.8vw, 22px); padding-top: clamp(28px, 3.4vw, 56px); }
.feature-item { display: flex; flex-direction: column; gap: 2px; }
.feature-item__number {
  font: 500 clamp(1.15rem, 1.35vw, 1.42rem) 'Cormorant Garamond';
  color: var(--navy-deep); letter-spacing: 0.01em; line-height: 1; margin-bottom: 0;
}
.feature-item__title {
  font: 500 clamp(0.98rem, 1.1vw, 1.12rem) var(--font-titulo);
  color: var(--navy-deep); letter-spacing: -0.005em; margin-bottom: 1px;
}
.feature-item__text {
  font: 300 clamp(0.8rem, 0.92vw, 0.94rem) 'Inter';
  color: var(--navy-alpha-75); line-height: 1.44; max-width: 520px;
}
@media (max-width: 900px) {
  .features-editorial__items { justify-content: flex-start; gap: 26px; }
  .feature-item__text { font-size: 0.92rem; line-height: 1.55; }
}

/* ============================================
   MEGAMENU — ver todos (see-all)
   ============================================ */
.megamenu__see-all {
  display: inline-block;
  margin-top: 14px;
  font: 500 10px var(--font-titulo);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--camel);
  transition: color 0.3s, transform 0.3s;
}
.megamenu__see-all:hover { color: var(--navy-deep); transform: translateX(4px); }

/* ============================================
   TOGGLE COSMETOLOGÍA / MEDICINA ESTÉTICA
   ============================================ */
.treatment-toggle {
  background: var(--cream);
  padding: 24px clamp(24px, 5vw, 64px) 0;
  border-bottom: 1px solid var(--navy-alpha-15);
}
.treatment-toggle__inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  padding-bottom: 24px;
}
.treatment-toggle__link {
  font: 400 clamp(1.1rem, 2vw, 1.75rem) 'Cormorant Garamond';
  color: rgba(8, 39, 68, 0.55);
  letter-spacing: -0.01em;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
  text-decoration: none;
}
.treatment-toggle__link:not(.is-active)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 30%;
  height: 1.5px;
  background: var(--camel);
  transition: transform 0.35s ease;
  transform-origin: center;
}
.treatment-toggle__link:not(.is-active):hover { color: var(--navy-deep); }
.treatment-toggle__link:not(.is-active):hover::after { transform: translateX(-50%) scaleX(1); }
.treatment-toggle__link.is-active { color: var(--navy-deep); }
.treatment-toggle__link.is-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background: var(--camel);
}
.treatment-toggle__divider { color: rgba(8, 39, 68, 0.40); font: 400 1.5rem 'Cormorant Garamond'; }
@media (max-width: 640px) {
  .treatment-toggle { padding: 14px 0; }
  .treatment-toggle__inner {
    flex-wrap: nowrap;
    gap: 6px 8px;
    justify-content: center;
    padding: 0 6px;
    white-space: nowrap;
  }
  .treatment-toggle__link { font-size: clamp(13px, 3.6vw, 16px); white-space: nowrap; }
  .treatment-toggle__divider { font-size: 1.15rem; }
}

/* Modal: descripción larga (medicina estética) */
.tratamiento-modal__description {
  font: 300 13.5px 'Inter';
  color: var(--navy-alpha-85);
  line-height: 1.65;
  letter-spacing: 0.005em;
  margin-top: 4px;
}
.tratamiento-modal__description[hidden] { display: none; }

/* ============================================
   MODAL v2.0 — precio consultar + secciones colapsables
   ============================================ */
.tratamiento-modal__price-consult { font-family: var(--font-parrafo); font-weight: 500; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--camel); margin-top: 4px; }
.tratamiento-modal__price-consult[hidden] { display: none; }
.tratamiento-modal__price-extra { font-family: var(--font-parrafo); font-weight: 300; font-size: 12px; color: var(--navy-alpha-60); line-height: 1.4; margin-top: 2px; }
.tratamiento-modal__price-extra[hidden] { display: none; }

.modal-section[hidden] { display: none; }

.modal-collapsible { border-top: 1px solid var(--navy-alpha-15); padding: 12px 0; }
.modal-collapsible[hidden] { display: none; }
.modal-collapsible summary { font-family: var(--font-parrafo); font-weight: 500; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--navy-deep); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 6px 0; user-select: none; }
.modal-collapsible summary::-webkit-details-marker { display: none; }
.modal-collapsible summary::after { content: '+'; font-size: 18px; transition: transform 0.3s ease; font-weight: 400; }
.modal-collapsible[open] summary::after { transform: rotate(45deg); }

.modal-list { list-style: none; padding: 8px 0 4px 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.modal-list li { font-family: var(--font-parrafo); font-weight: 300; font-size: 13px; color: var(--navy-alpha-85); line-height: 1.55; padding-left: 16px; position: relative; }
.modal-list li::before { content: '•'; position: absolute; left: 0; color: var(--camel); font-weight: bold; }

.modal-tech-list { padding: 8px 0 4px 0; display: flex; flex-direction: column; gap: 10px; }
.modal-tech-item { padding: 8px 12px; background: rgba(176, 134, 89, 0.08); border-radius: 4px; }
.modal-tech-item__name { font-family: var(--font-parrafo); font-weight: 500; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--camel); display: block; margin-bottom: 4px; }
.modal-tech-item__desc { font-family: var(--font-parrafo); font-weight: 300; font-size: 12.5px; color: var(--navy-alpha-85); line-height: 1.5; }

/* ============================================
   CARD PLACEHOLDER (servicios sin imagen)
   ============================================ */
.tratamiento-card__image--placeholder { background: linear-gradient(135deg, var(--pink-dust) 0%, rgba(176, 134, 89, 0.15) 100%); }
.card-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 32px 24px; text-align: center; }
.card-placeholder span { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 400; font-size: clamp(1.1rem, 1.4vw, 1.4rem); color: var(--navy-alpha-60); line-height: 1.25; }
.tratamiento-card__price--consult { color: var(--camel); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; }

/* ============================================
   KOREAN MEDICAL PROTOCOL™ INTRO — home
   ============================================ */
.korean-protocol-intro {
  background: var(--cream);
  padding: clamp(56px, 8vh, 96px) clamp(24px, 5vw, 80px);
  position: relative;
}
.korean-protocol-intro__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vh, 56px);
}

.korean-protocol-intro__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto;
}
.korean-protocol-intro__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-titulo);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--navy-deep);
  opacity: 0.7;
}
.korean-protocol-intro__title {
  font-family: var(--font-titulo);
  font-weight: 400;
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  color: var(--navy-deep);
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
}
.korean-protocol-intro__title sup {
  font-size: 0.45em;
  vertical-align: super;
  letter-spacing: 0;
  margin-left: 2px;
}
.korean-protocol-intro__subtitle {
  font-family: var(--font-titulo);
  font-weight: 500;
  font-size: clamp(9px, 0.7vw, 10.5px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--camel);
  line-height: 1.5;
  max-width: none;
  margin: 4px 0 0;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .korean-protocol-intro__subtitle { white-space: normal; font-size: clamp(9px, 1.6vw, 11px); }
}
.korean-protocol-intro__divider {
  display: none;
}
.korean-protocol-intro__description {
  font-family: var(--font-parrafo);
  font-weight: 300;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: var(--navy-alpha-85);
  line-height: 1.75;
  letter-spacing: 0.005em;
  margin: 0;
}
.korean-protocol-intro__description strong {
  font-weight: 500;
  color: var(--navy-deep);
}

.korean-protocol-intro__pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(32px, 4vw, 56px);
  padding: 0 clamp(0px, 2vw, 24px);
}
@media (max-width: 900px) {
  .korean-protocol-intro__pillars {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
}
@media (max-width: 480px) {
  .korean-protocol-intro__pillars {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 16px;
    padding: 0 12px;
  }
  .pillar { padding: 0; gap: 12px; }
  .pillar__title { font-size: clamp(11px, 3vw, 13px); }
  .pillar__text { font-size: clamp(11px, 2.9vw, 12px); }
}

.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 0 8px;
}
.pillar__icon {
  width: clamp(64px, 6vw, 76px);
  height: clamp(64px, 6vw, 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}
.pillar:hover .pillar__icon {
  transform: translateY(-4px);
}
.pillar__icon svg {
  width: 100%;
  height: 100%;
}
.pillar__title {
  font-family: var(--font-titulo);
  font-weight: 500;
  font-size: clamp(0.95rem, 1.15vw, 1.1rem);
  color: var(--navy-deep);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.25;
  margin: 4px 0 0;
}
.pillar__text {
  font-family: var(--font-parrafo);
  font-weight: 300;
  font-size: clamp(0.85rem, 1vw, 0.95rem);
  color: rgba(8, 39, 68, 0.70);
  line-height: 1.55;
  max-width: 220px;
}

.korean-protocol-intro__cta-wrap {
  display: flex;
  justify-content: center;
}
.korean-protocol-intro__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 18px 40px;
  transition: transform 0.3s ease;
}
.korean-protocol-intro__cta:hover {
  transform: translateY(-2px);
}
.korean-protocol-intro__cta svg {
  transition: transform 0.3s ease;
}
.korean-protocol-intro__cta:hover svg {
  transform: translateX(3px);
}

/* ============================================
   HEADER de subpágina — con video de fondo (cosmetología / medicina)
   ============================================ */
.tratamientos-header--with-video {
  position: relative;
  overflow: hidden;
  min-height: auto;
  padding-top: clamp(56px, 8vh, 96px);
  padding-bottom: 0;
}
.header-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
}
.header-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(243, 239, 231, 0.92) 0%,
    rgba(243, 239, 231, 0.70) 40%,
    rgba(243, 239, 231, 0.60) 70%,
    rgba(243, 239, 231, 0.78) 100%
  );
}
.tratamientos-header--with-video .tratamientos-header__inner,
.tratamientos-header--with-video .tratamientos-header__meta {
  position: relative;
  z-index: 2;
}
.tratamientos-header--with-video .tratamientos-header__meta {
  background: var(--cream);
}
@media (max-width: 640px) {
  .tratamientos-header--with-video { padding-top: clamp(16px, 3vh, 32px); }
}

/* ============================================
   NOSOTROS — imagen vertical (reemplaza slot de video)
   ============================================ */
.nosotros-image-vertical {
  position: relative;
  z-index: 1;
  max-width: 320px;
  margin: clamp(40px, 6vh, 72px) auto 0;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.nosotros-image-vertical img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .nosotros-image-vertical { max-width: 240px; }
}

/* ============================================
   INSTAGRAM FEED — marquee auto-scroll con fades laterales
   ============================================ */
.instagram-feed {
  background: var(--cream);
  padding: clamp(120px, 16vh, 200px) 0 clamp(120px, 16vh, 200px);
  overflow: hidden;
}
.instagram-feed__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 8vh, 88px);
}

.instagram-feed__header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0 clamp(24px, 5vw, 80px);
}
.instagram-feed__eyebrow {
  font: 500 11px 'Instrument Sans';
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--camel);
}
.instagram-feed__title {
  font: 400 clamp(1.75rem, 3.5vw, 2.75rem) 'Cormorant Garamond';
  color: var(--navy-deep);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
}
.instagram-feed__handle {
  color: var(--navy-deep);
  transition: color 0.3s ease;
  text-decoration: none;
}
.instagram-feed__handle:hover {
  color: var(--camel);
}
.instagram-feed__handle em {
  font-style: italic;
  font-weight: 500;
}
.instagram-feed__subtitle {
  font: 500 11px 'Instrument Sans';
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy-alpha-60);
  margin: 4px 0 0;
}

/* Track del carrusel — marquee continuo */
.instagram-feed__carousel {
  position: relative;
  overflow: hidden;
}

/* Dos bloques de fondo laterales — fade con gradient del cream */
.instagram-feed__carousel::before,
.instagram-feed__carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(80px, 14vw, 220px);
  z-index: 2;
  pointer-events: none;
}
.instagram-feed__carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--cream) 0%, transparent 100%);
}
.instagram-feed__carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--cream) 0%, transparent 100%);
}

.instagram-feed__track {
  display: flex;
  gap: clamp(14px, 1.8vw, 24px);
  width: max-content;
  will-change: transform;
}

/* Card de Instagram */
.ig-card {
  flex-shrink: 0;
  width: clamp(220px, 20vw, 300px);
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: var(--pink-dust);
  transition: transform 0.5s ease;
}
.ig-card:hover {
  transform: translateY(-4px);
}
.ig-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}
.ig-card:hover img {
  transform: scale(1.05);
}

/* Overlay con ícono de Instagram al hover */
.ig-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 39, 68, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.ig-card:hover .ig-card__overlay {
  opacity: 1;
}

/* Mobile */
@media (max-width: 640px) {
  .ig-card {
    width: 62vw;
    max-width: 280px;
  }
  .instagram-feed__carousel::before,
  .instagram-feed__carousel::after {
    width: 40px;
  }
}
