/* GROOM PERÚ — Landing styles */

:root {
  --black: #1A1A1A;
  --black-soft: #2A2A2A;
  --navy: #1A4365;
  --navy-light: #2B6F94;
  --yellow: #FFE500;
  --yellow-dark: #C9B900;
  --yellow-soft: #FFF6A8;
  --cream: #FFFCF2;
  --white: #FFFFFF;
  --ink: #1A1A1A;
  --ink-2: #4A4A4A;
  --ink-3: #8A8A8A;
  --line: #E8E5DE;
  --gray: #F5F3EE;
  --teal: #3DA5C9;
  --teal-soft: #E6F2F9;
  --teal-dark: #2B6F94;
  --green: #25D366;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --shadow-sm: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-md: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-yellow: 0 8px 28px rgba(255,229,0,0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--yellow); color: var(--black); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--yellow); border-radius: 4px; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ─── TYPE ─── */
.eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow.yellow { color: var(--yellow); }
.eyebrow.dark { color: var(--black); }

.display {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.display em { font-style: italic; font-weight: 400; }
.display .y { color: var(--yellow); }
.display .hl {
  background: var(--yellow);
  color: var(--black);
  padding: 0 .18em;
  border-radius: 8px;
  font-style: normal;
}

.h2 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.h2 em { font-style: normal; font-weight: 600; color: var(--ink-2); }

.lead {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.6;
  font-weight: 500;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }

.btn-yellow { background: var(--yellow); color: var(--black); box-shadow: var(--shadow-yellow); }
.btn-yellow:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(255,229,0,0.55); }

.btn-dark { background: var(--black); color: var(--yellow); }
.btn-dark:hover { background: #000; transform: translateY(-2px); }

.btn-wa { background: var(--green); color: white; box-shadow: 0 6px 24px rgba(37,211,102,0.4); }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,211,102,0.55); }

.btn-ghost-light { background: transparent; color: white; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); border-color: white; }

.btn-ghost-dark { background: transparent; color: var(--black); border: 1.5px solid var(--line); }
.btn-ghost-dark:hover { border-color: var(--black); }

/* ─── PROMO STRIP ─── */
.promo {
  background: var(--yellow);
  color: var(--black);
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 101;
}
.promo b { font-weight: 900; }
.promo .code {
  background: var(--black);
  color: var(--yellow);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2px;
}

/* ─── NAV ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000; border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-inner { max-width: 1280px; margin: 0 auto; padding: 14px 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { height: 56px; width: auto; display: block; }


.nav-inner2 {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  height: 80px;   /* barra fija */
}


.nav-logo2 img {
  height: 200px;     /* tamaño correcto */
  width: auto;
  display: block;
  padding: 0;       /* ✅ quita ese padding gigante */
}

@media (max-width: 800px) {
  .nav-logo2 img {
    height: 200px;   /* ✅ más pequeño en mobile */
  }
}



.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.78); font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: var(--radius-pill); transition: all .2s; }
.nav-links a:hover { color: var(--yellow); }

/* Special "Dermatología" link with yellow accent + NUEVO pill */
.nav-link-derm {
  color: var(--yellow) !important;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.nav-link-derm:hover { color: white !important; }
.nav-new {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1px;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  line-height: 1.2;
  vertical-align: middle;
  box-shadow: 0 0 0 2px rgba(255,229,0,0.18), 0 0 8px rgba(255,229,0,0.4);
  animation: nav-new-pulse 2.4s ease-in-out infinite;
}
@keyframes nav-new-pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255,229,0,0.18), 0 0 8px rgba(255,229,0,0.4); }
  50%      { box-shadow: 0 0 0 3px rgba(255,229,0,0.30), 0 0 16px rgba(255,229,0,0.60); }
}
.mobile-menu-links .nav-new { font-size: 11px; padding: 3px 10px; margin-left: 12px; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.sede-switch { display: flex; align-items: center; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--radius-pill); padding: 4px; gap: 2px; }
.sede-switch button {
  background: transparent;
  border: 2px solid transparent;
  color: rgba(255,255,255,0.7);
  font-family: inherit;
  font-weight: 800;
  font-size: 12px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all .2s;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}
.sede-switch button:not(.on) {
  border-color: var(--yellow);
  color: var(--yellow);
  box-shadow: 0 0 0 2px rgba(255,229,0,0.18), 0 0 12px rgba(255,229,0,0.35);
  animation: sede-glow 2.4s ease-in-out infinite;
}
@keyframes sede-glow {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255,229,0,0.18), 0 0 10px rgba(255,229,0,0.35); }
  50%      { box-shadow: 0 0 0 3px rgba(255,229,0,0.30), 0 0 20px rgba(255,229,0,0.55); }
}
.sede-switch button.on { background: var(--yellow); color: var(--black); box-shadow: 0 2px 8px rgba(255,229,0,0.4); animation: none; border-color: var(--yellow); }
.sede-switch .dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.4); }
.sede-switch button.on .dot { background: var(--black); }
.nav-cta { background: var(--yellow); color: var(--black); padding: 10px 18px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 900; display: inline-flex; align-items: center; gap: 6px; transition: all .2s; white-space: nowrap; }
.nav-cta:hover { background: white; transform: translateY(-1px); }
.nav-burger {
  display: none;
  background: rgba(255,229,0,0.08);
  border: 2px solid var(--yellow);
  border-radius: 12px;
  width: 42px; height: 42px;
  color: var(--yellow);
  cursor: pointer;
  padding: 0;
  align-items: center; justify-content: center;
  transition: all .2s;
  box-shadow: 0 0 0 2px rgba(255,229,0,0.18), 0 0 12px rgba(255,229,0,0.35);
  animation: burger-glow 2.4s ease-in-out infinite;
}
@keyframes burger-glow {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255,229,0,0.18), 0 0 10px rgba(255,229,0,0.35); }
  50%      { box-shadow: 0 0 0 3px rgba(255,229,0,0.30), 0 0 20px rgba(255,229,0,0.55); }
}
.nav-burger:hover { background: rgba(255,229,0,0.18); }
.nav-burger .ico-close { display: none; }
.nav-burger[aria-expanded="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.nav-burger[aria-expanded="true"] .ico-burger { display: none; }
.nav-burger[aria-expanded="true"] .ico-close { display: block; }

/* ─── MOBILE DRAWER MENU ─── */
.mobile-menu { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #000; z-index: 95; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s ease, transform .25s ease, visibility .25s; padding-top: 0; overflow-y: auto; }
.mobile-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu-inner { max-width: 480px; margin: 0 auto; padding: 140px 24px 24px; display: flex; flex-direction: column; gap: 24px; min-height: 100vh; }
.mobile-menu-links { list-style: none; display: flex; flex-direction: column; gap: 0; border-top: 1px solid rgba(255,255,255,0.08); }
.mobile-menu-links li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-menu-links a { display: flex; align-items: center; padding: 20px 4px; font-family: 'Fraunces', serif; font-size: 28px; font-weight: 600; color: white; letter-spacing: -0.01em; transition: color .2s, padding .2s; }
.mobile-menu-links a:hover { color: var(--yellow); padding-left: 14px; }
.mobile-menu-footer { margin-top: auto; padding-top: 16px; display: flex; flex-direction: column; gap: 18px; }
.mobile-menu-social { display: flex; justify-content: center; padding-top: 8px; }
.mobile-menu-social a { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.6); font-size: 14px; font-weight: 700; transition: color .2s; }
.mobile-menu-social a:hover { color: var(--yellow); }

/* ─── HERO (full-bleed) ─── */
.hero { position: relative; background: #000; color: white; min-height: clamp(720px, 92vh, 900px); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-bg .hero-slide.on { opacity: 1; }
.hero-bg .hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 38%, rgba(0,0,0,0) 70%), linear-gradient(180deg, rgba(0,0,0,0.30) 0%, transparent 25%, rgba(0,0,0,0.55) 100%); z-index: 1; pointer-events: none; }
.hero-grid { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; padding: 80px 32px 200px; height: 100%; display: flex; align-items: center; }
.hero-content { max-width: 600px; }
.hero-eye { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--yellow); margin-bottom: 24px; }
.hero-eye::before { content: ''; display: block; width: 28px; height: 1px; background: var(--yellow); }
.hero-title { color: white; margin-bottom: 24px; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.72); line-height: 1.6; max-width: 480px; margin-bottom: 36px; font-weight: 500; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 5; }
.hero-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: all .25s; }
.hero-dots span.on { background: var(--yellow); width: 32px; border-radius: 999px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; background: rgba(0,0,0,0.45); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; color: white; cursor: pointer; z-index: 5; display: flex; align-items: center; justify-content: center; font-size: 22px; transition: all .2s; }
.hero-arrow:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.hero-arrow.left { left: 20px; }
.hero-arrow.right { right: 20px; }

.hero-stats-bar { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); padding: 24px 0 56px; }
.hero-stats-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; gap: 48px; flex-wrap: wrap; }
.hero-stat { display: flex; align-items: center; gap: 14px; }
.hero-stat-num { font-family: 'Fraunces', serif; font-weight: 600; font-size: 44px; line-height: 1; color: white; }
.hero-stat-num .y { color: var(--yellow); }
.hero-stat-num.trophy { font-size: 36px; }
.hero-stat-label { font-size: 11px; font-weight: 800; color: rgba(255,255,255,0.7); letter-spacing: 1.5px; text-transform: uppercase; line-height: 1.3; }
.hero-stat-label b { display: block; font-size: 13px; font-weight: 900; color: white; letter-spacing: 0.5px; text-transform: none; margin-bottom: 2px; }

.amp-em { color: var(--yellow); }
.amp-em em { font-family: 'Fraunces', serif; font-style: normal; font-weight: 600; color: var(--yellow); }
.amp-char { font-family: 'Fraunces', serif; font-style: normal; font-weight: 600; color: var(--yellow); margin-right: .06em; }

/* ─── MARQUEE ─── */
.marquee { background: var(--yellow); border-top: 3px solid var(--black); border-bottom: 3px solid var(--black); padding: 16px 0; overflow: hidden; position: relative; }
.marquee-track { display: flex; gap: 0; width: max-content; animation: scroll 32s linear infinite; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-item { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 18px; text-transform: uppercase; letter-spacing: 2.5px; color: var(--black); padding: 0 28px; white-space: nowrap; display: flex; align-items: center; gap: 28px; }
.marquee-item::after { content: ''; width: 8px; height: 8px; background: var(--black); border-radius: 50%; display: inline-block; }

/* ─── SECTIONS ─── */
section { position: relative; }
.section { padding: 100px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head .eyebrow { margin-bottom: 14px; display: inline-block; }
.section-head .lead { margin-top: 16px; }

/* ─── PROCESO ─── */
.proceso { background: var(--cream); }
.proceso-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.proceso-card { background: white; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 32px 24px; position: relative; transition: all .3s; }
.proceso-card:hover { border-color: var(--yellow); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.proceso-num { font-family: 'Fraunces', serif; font-size: 56px; font-style: italic; color: var(--yellow); line-height: 1; margin-bottom: 16px; font-weight: 500; }
.proceso-title { font-weight: 900; font-size: 17px; margin-bottom: 6px; }
.proceso-desc { font-size: 14px; color: var(--ink-3); line-height: 1.55; font-weight: 500; }

/* ─── SERVICIOS (base — overrides al final aplican turquesa) ─── */
.servicios { background: var(--black); color: white; }
.servicios .h2 { color: white; }
.servicios .h2 em { color: rgba(255,255,255,0.55); }
.servicios .eyebrow { color: var(--yellow); }
.sede-banner { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 36px; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.7); flex-wrap: wrap; }
.sede-banner b { color: var(--yellow); font-weight: 800; }
.servicios-tabs { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.tab { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); padding: 12px 22px; border-radius: var(--radius-pill); font-family: inherit; font-weight: 800; font-size: 13px; cursor: pointer; transition: all .2s; display: flex; align-items: center; gap: 8px; }
.tab:hover { color: white; }
.tab.on { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.servicios-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: stretch; }
.service-panel { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); padding: 32px; }
.service-panel h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 36px; color: white; margin-bottom: 10px; display: flex; align-items: baseline; gap: 12px; }
.service-panel h3 .lvl { font-size: 11px; font-weight: 800; letter-spacing: 2px; background: var(--yellow); color: var(--black); padding: 4px 10px; border-radius: var(--radius-pill); font-family: 'Nunito', sans-serif; }
.service-panel .desc { color: rgba(255,255,255,0.65); font-size: 15px; line-height: 1.6; margin-bottom: 28px; }
.includes { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; margin-bottom: 28px; }
.includes li { font-size: 13px; color: rgba(255,255,255,0.85); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.includes li::before { content: ''; width: 18px; height: 18px; background: var(--yellow); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%231A1A1A' d='M6.5 11.5L3 8l1.4-1.4 2.1 2.1L11.6 3.5 13 4.9z'/></svg>"); background-size: 14px; background-repeat: no-repeat; background-position: center; }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th { text-align: left; font-size: 10px; font-weight: 800; letter-spacing: 2px; color: rgba(255,255,255,0.45); text-transform: uppercase; padding: 0 0 12px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.price-table th:nth-child(2), .price-table th:nth-child(3) { text-align: right; }
.price-table td { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-weight: 700; font-size: 14px; color: white; }
.price-table td:nth-child(2), .price-table td:nth-child(3) { text-align: right; font-family: 'Fraunces', serif; font-weight: 500; font-size: 18px; color: var(--yellow); }
.price-table tr:last-child td { border-bottom: 0; }
.service-side { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.service-side-img { flex-shrink: 0; height: 360px; position: relative; overflow: hidden; }
.service-side-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.service-side-body { flex: 1; display: flex; flex-direction: column; padding: 28px; }
.service-side-body .btn { margin-top: auto; }
.service-side-body h4 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 22px; margin-bottom: 12px; color: white; }
.service-side-body p { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }

.extras-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.extra-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius); padding: 24px; transition: all .25s; }
.extra-card:hover { border-color: rgba(255,229,0,0.4); }
.extra-card .eyebrow { color: var(--yellow); margin-bottom: 12px; display: block; }
.extra-card h4 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 22px; color: white; margin-bottom: 10px; }
.extra-card p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.55; margin-bottom: 16px; font-weight: 500; }
.extra-price { font-family: 'Fraunces', serif; color: var(--yellow); font-size: 18px; font-weight: 500; }
.extra-price span { font-size: 12px; color: rgba(255,255,255,0.5); font-family: 'Nunito',sans-serif; font-weight: 600; }

/* ─── GUARDERIA / HOSPEDAJE (JM only) ─── */
.lodging { background: var(--yellow); color: var(--black); position: relative; overflow: hidden; }
.lodging::after { content: 'JESÚS MARÍA'; position: absolute; bottom: -32px; right: -20px; font-family: 'Fraunces', serif; font-style: italic; font-weight: 600; font-size: 200px; color: rgba(0,0,0,0.05); letter-spacing: -0.05em; pointer-events: none; line-height: 1; white-space: nowrap; }
.lodging .h2 em { color: rgba(0,0,0,0.5); }
.lodging-only { display: inline-flex; align-items: center; gap: 8px; background: var(--black); color: var(--yellow); padding: 6px 14px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 900; letter-spacing: 1.5px; margin-bottom: 18px; }
.lodging-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; margin-top: 48px; position: relative; z-index: 2; }
.lodging-card {
  background: var(--black);
  color: white;
  border-radius: var(--radius-lg); padding: 36px; position: relative; overflow: hidden; }
.lodging-card .label { font-size: 11px; font-weight: 800; letter-spacing: 3px; color: var(--yellow); text-transform: uppercase; margin-bottom: 16px; }
.lodging-card h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 38px; color: white; margin-bottom: 12px; line-height: 1.05; }
.lodging-card .sub { color: rgba(255,255,255,0.65); font-size: 14px; line-height: 1.6; margin-bottom: 28px; font-weight: 500; }
.lodging-rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.lodging-row { padding: 0; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 14px; font-weight: 700; font-size: 14px; overflow: hidden; transition: background .2s, border-color .2s; }
.lodging-row[open] { background: rgba(255,255,255,0.07); border-color: rgba(255,229,0,0.35); }
.lodging-row summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; cursor: pointer; list-style: none; gap: 12px; }
.lodging-row summary::-webkit-details-marker { display: none; }
.lodging-row .duration { color: white; }
.lodging-row .duration small { display: block; font-size: 11px; color: rgba(255,255,255,0.5); font-weight: 600; margin-top: 2px; }
.lodging-row .row-right { display: flex; align-items: center; gap: 16px; }
.lodging-row .price { font-family: 'Fraunces', serif; font-size: 22px; font-weight: 500; color: var(--yellow); }
.lodging-row .price small { font-size: 12px; color: rgba(255,255,255,0.5); font-family: 'Nunito', sans-serif; font-weight: 700; margin-left: 2px; }
.row-toggle { position: relative; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12); transition: all .25s; flex-shrink: 0; }
.row-toggle::before, .row-toggle::after { content: ''; position: absolute; background: white; border-radius: 1px; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: transform .25s ease; }
.row-toggle::before { width: 12px; height: 2px; }
.row-toggle::after  { width: 2px; height: 12px; }
.lodging-row[open] .row-toggle { background: var(--yellow); border-color: var(--yellow); }
.lodging-row[open] .row-toggle::before { background: var(--black); }
.lodging-row[open] .row-toggle::after { background: var(--black); transform: translate(-50%, -50%) rotate(90deg); }
.lodging-includes { list-style: none; padding: 16px 20px 18px; display: flex; flex-direction: column; gap: 8px; animation: lodging-expand .25s ease; border-top: 1px dashed rgba(255,255,255,0.10); }
@keyframes lodging-expand { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.lodging-includes li { font-size: 13px; color: rgba(255,255,255,0.78); font-weight: 500; line-height: 1.5; padding-left: 18px; position: relative; }
.lodging-includes li::before { content: ''; position: absolute; left: 0; top: 9px; width: 8px; height: 2px; background: var(--yellow); }
.lodging-card.alt { background: white; color: var(--black); }
.lodging-card.alt .label { color: var(--black); }
.lodging-card.alt h3 { color: var(--black); }
.lodging-card.alt .sub { color: var(--ink-2); }
.lodging-card.alt .lodging-row { background: var(--cream); border-color: var(--line); }
.lodging-card.alt .lodging-row[open] { background: white; border-color: rgba(0,0,0,0.18); }
.lodging-card.alt .lodging-row .duration { color: var(--black); }
.lodging-card.alt .lodging-row .duration small { color: var(--ink-3); }
.lodging-card.alt .lodging-row .price { color: var(--black); }
.lodging-card.alt .lodging-row .price small { color: var(--ink-3); }
.lodging-card.alt .row-toggle { background: rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.10); }
.lodging-card.alt .row-toggle::before, .lodging-card.alt .row-toggle::after { background: var(--black); }
.lodging-card.alt .lodging-row[open] .row-toggle { background: var(--black); border-color: var(--black); }
.lodging-card.alt .lodging-row[open] .row-toggle::before, .lodging-card.alt .lodging-row[open] .row-toggle::after { background: var(--yellow); }
.lodging-card.alt .lodging-includes { border-top-color: rgba(0,0,0,0.10); }
.lodging-card.alt .lodging-includes li { color: var(--ink-2); }
.lodging-card.alt .lodging-includes li::before { background: var(--black); }
.lodging-note { background: rgba(255,255,255,0.06); border: 1px dashed rgba(255,255,255,0.18); border-radius: 12px; padding: 12px 16px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.85); }
.lodging-card.alt .lodging-note { background: var(--yellow-soft); border-color: rgba(0,0,0,0.18); color: var(--black); }

/* ─── SERVICIOS ESPECIALIZADOS JM ─── */
.servicios-jm-inner { margin-top: 56px; padding-top: 56px; border-top: 1px solid rgba(255,255,255,0.10); position: relative; }
.jm-divider { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.jm-divider .lodging-only { margin-bottom: 12px; display: inline-flex; }
.jm-divider-text { max-width: 560px; }
.jm-divider-text h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(28px, 3.4vw, 42px); color: white; line-height: 1.05; letter-spacing: -0.01em; margin-bottom: 8px; }
.jm-divider-text h3 em { font-style: normal; color: rgba(255,255,255,0.55); font-weight: 600; }
.jm-divider-text p { color: rgba(255,255,255,0.6); font-size: 14px; font-weight: 500; line-height: 1.55; max-width: 520px; }
.jm-table-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); padding: 32px; transition: border-color .25s; }
.jm-table-card:hover { border-color: rgba(255,229,0,0.4); }
.jm-card-head { margin-bottom: 24px; }
.jm-card-tag { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--yellow); margin-bottom: 12px; }
.jm-table-card h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 32px; color: white; line-height: 1.05; margin-bottom: 10px; }
.jm-card-head p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.55; font-weight: 500; }
.jm-table { width: 100%; border-collapse: collapse; }
.jm-table th { text-align: left; font-size: 10px; font-weight: 800; letter-spacing: 2px; color: rgba(255,255,255,0.45); text-transform: uppercase; padding: 0 0 12px; border-bottom: 1px solid rgba(255,255,255,0.10); }
.jm-table th:not(:first-child) { text-align: right; }
.jm-table td { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.06); font-size: 14px; color: white; }
.jm-table td:not(:first-child) { text-align: right; font-family: 'Fraunces', serif; font-weight: 500; font-size: 17px; color: var(--yellow); }
.jm-table tr:last-child td { border-bottom: 0; }
.jm-tag { display: inline-block; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); color: white; padding: 4px 12px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.jm-tabs { margin-top: 8px; margin-bottom: 24px; }
.jm-tab { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.7); padding: 12px 22px; border-radius: var(--radius-pill); font-family: inherit; font-weight: 800; font-size: 13px; cursor: pointer; transition: all .2s; display: flex; align-items: center; gap: 8px; }
.jm-tab:hover { color: white; }
.jm-tab.on { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.jm-tab-panels { margin-bottom: 80px; }
.jm-tab-panel { display: none; }
.jm-tab-panel.on { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 1100px) { .jm-tratamientos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) {
  .jm-table-card { padding: 20px 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .servicios .servicios-jm-inner { padding: 24px 16px; margin-top: 40px; }
  .jm-table-card h3 { font-size: 26px; }
  .jm-card-head p { font-size: 13px; }
  .jm-table { min-width: 100%; table-layout: auto; }
  .jm-table th, .jm-table td { font-size: 12px; padding: 10px 6px; white-space: nowrap; }
  .jm-table td:not(:first-child) { font-size: 15px; padding-left: 12px; }
  .jm-table th:not(:first-child) { padding-left: 12px; }
  .jm-tag { padding: 3px 8px; font-size: 10px; letter-spacing: 0.5px; }
  .servicios .service-panel { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .price-table th, .price-table td { white-space: nowrap; font-size: 12px; padding: 10px 6px; }
  .price-table td:not(:first-child) { padding-left: 12px; }
}

/* ─── GALERÍA ─── */
.galeria { background: var(--cream); }
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.gal-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--line);
  cursor: pointer;
  transition: transform .35s ease;
}
.gal-item:hover { transform: translateY(-4px); }
.gal-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.gal-item:hover img { transform: scale(1.04); }
.gal-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .25s;
}
.gal-item:hover::after { opacity: 1; }
.gal-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  color: white;
  opacity: 0;
  transform: translateY(8px);
  transition: all .3s;
  z-index: 2;
}
.gal-item:hover .gal-caption { opacity: 1; transform: translateY(0); }
.gal-caption .name {
  font-weight: 900;
  font-size: 16px;
  margin-bottom: 2px;
}
.gal-caption .breed {
  font-size: 12px;
  opacity: 0.85;
  font-weight: 600;
}

.gal-1 { grid-column: span 4; aspect-ratio: 3/4; }
.gal-2 { grid-column: span 4; aspect-ratio: 3/4; }
.gal-3 { grid-column: span 4; aspect-ratio: 3/4; }
.gal-4 { grid-column: span 3; aspect-ratio: 3/4; }
.gal-5 { grid-column: span 3; aspect-ratio: 3/4; }
.gal-6 { grid-column: span 3; aspect-ratio: 3/4; }
.gal-7 { grid-column: span 3; aspect-ratio: 3/4; }
.gal-feature {
  width: 100%;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 0;
  background: var(--black);
  color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 24px 0 32px;
  min-height: 320px;
  align-items: stretch;
}
.gal-feature-img { position: relative; overflow: hidden; min-height: 320px; }
.gal-feature-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.gal-feature-body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.gal-feature-body .eyebrow { color: var(--yellow); margin-bottom: 16px; }
.gal-feature-body h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 42px; line-height: 1.05; margin-bottom: 20px; }
.gal-feature-body h3 em { font-style: italic; color: var(--yellow); }
.gal-feature-body p { color: rgba(255,255,255,0.7); font-size: 15px; line-height: 1.65; margin-bottom: 24px; }
.gal-feature-stats { display: flex; gap: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; }
.gal-feature-stats div { font-size: 11px; color: rgba(255,255,255,0.55); font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.gal-feature-stats b { display: block; font-family: 'Fraunces', serif; font-weight: 600; font-size: 28px; color: var(--yellow); margin-bottom: 4px; letter-spacing: 0; text-transform: none; word-break: break-word; }

@media (max-width: 900px) {
  .gal-feature { display: flex; flex-direction: column; }
  .gal-feature-img { order: 1; }
  .gal-feature-body { order: 2; padding: 32px 20px; }
}
@media (max-width: 800px) {
  .gal-feature-stats { display: grid; grid-template-columns: 1fr; gap: 16px; }
  .gal-feature-stats div { display: flex; justify-content: space-between; align-items: baseline; width: 100%; min-width: 0; }
  .gal-feature-stats b { font-size: 22px; }
}

/* ─── GALLERY SLIDER (carrusel con track) ─── */
.gal-slider-wrap { position: relative; margin-top: 24px; }
.gal-slider-viewport { overflow: hidden; border-radius: var(--radius); }
.gal-slider-track { display: flex; gap: 16px; transition: transform .55s cubic-bezier(0.22, 0.61, 0.36, 1); will-change: transform; }
.gal-card { flex: 0 0 calc((100% - 32px) / 3); aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; background: var(--line); position: relative; transition: transform .35s ease; }
.gal-card:hover { transform: translateY(-4px); }
.gal-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; display: block; }
.gal-card:hover img { transform: scale(1.05); }
.gal-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; background: white; border: 1.5px solid var(--line); border-radius: 50%; color: var(--ink); cursor: pointer; z-index: 5; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 600; line-height: 1; padding: 0 0 4px; box-shadow: 0 8px 24px rgba(0,0,0,0.10); transition: all .2s; }
.gal-arrow:hover { background: var(--yellow); border-color: var(--yellow); transform: translateY(-50%) scale(1.08); }
.gal-arrow:disabled { opacity: 0.35; cursor: not-allowed; transform: translateY(-50%); }
.gal-arrow.gal-prev { left: -22px; right: auto; }
.gal-arrow.gal-next { right: -22px; left: auto; }
.gal-dots { display: flex; justify-content: center; gap: 8px; margin-top: 28px; flex-wrap: wrap; }
.gal-dots span { width: 8px; height: 8px; border-radius: 50%; background: rgba(0,0,0,0.18); cursor: pointer; transition: all .25s; }
.gal-dots span.on { background: var(--yellow); width: 28px; border-radius: 999px; box-shadow: 0 0 0 2px rgba(255,229,0,0.25); }
@media (max-width: 800px) {
  .gal-card { flex-basis: calc((100% - 16px) / 2); }
  .gal-slider-track { gap: 12px; }
  .gal-arrow { width: 44px; height: 44px; font-size: 22px; }
  .gal-arrow.gal-prev { left: -8px; }
  .gal-arrow.gal-next { right: -8px; }
}
@media (max-width: 480px) {
  .gal-card { flex-basis: calc((100% - 10px) / 2); }
  .gal-slider-track { gap: 10px; }
  .gal-arrow { width: 40px; height: 40px; font-size: 20px; }
}

/* ═══════════════════════════════════════════════════════
   PAGE: DERMATOLOGÍA (turquesa palette)
   ═══════════════════════════════════════════════════════ */

.page-derm { background: var(--teal-soft); }

/* ─── Generic image placeholders ─── */
.img-placeholder {
  background: white;
  border: 2px dashed rgba(61,165,201,0.35);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  min-height: 180px;
  color: var(--teal-dark);
  text-align: center;
  position: relative;
}
.img-placeholder-icon {
  width: 56px; height: 56px;
  background: var(--teal-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
}
.img-placeholder-icon.play-icon { color: white; background: var(--teal-dark); }
.img-placeholder-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal-dark);
  opacity: 0.65;
  line-height: 1.4;
}
.img-placeholder-large { min-height: 420px; aspect-ratio: 4/5; }
.img-placeholder-tall { min-height: 480px; aspect-ratio: 4/5; }
.img-placeholder-video {
  aspect-ratio: 16/10;
  background: var(--teal-dark);
  border: 0;
  position: relative;
}
.img-placeholder-video .img-placeholder-label { color: rgba(255,255,255,0.8); }
.img-placeholder-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
  border-radius: inherit;
}

/* ─── Buttons specific ─── */
.btn-derm-primary {
  background: var(--green);
  color: white;
  box-shadow: 0 6px 24px rgba(37,211,102,0.35);
  padding: 16px 32px;
  font-size: 15px;
}
.btn-derm-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,211,102,0.5); }

/* ─── HERO ─── */
.derm-hero {
  background: linear-gradient(135deg, #FFF 0%, var(--teal-soft) 100%);
  padding: 80px 0 100px;
  position: relative;
  overflow: hidden;
}
.derm-hero-slider { position: absolute; inset: 0; z-index: 0; }
.derm-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.derm-slide.on { opacity: 1; }
.derm-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }


.derm-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(255,255,255,0.95) 0%,   /* MÁS BLANCO */
      rgba(255,255,255,0.90) 25%,  /* zona del texto */
      rgba(255,255,255,0.60) 50%,
      rgba(255,255,255,0.20) 70%,
      rgba(255,255,255,0) 90%
    );
}



.derm-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(61,165,201,0.18) 0%, transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(255,229,0,0.10) 0%, transparent 40%);
  pointer-events: none;
}
.derm-hero .container { position: relative; z-index: 1; }
.derm-hero-grid {
  height: 100%;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
.derm-eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-dark);
  background: white;
  border: 1.5px solid rgba(61,165,201,0.30);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}
.derm-hero-title {
  color: var(--teal-dark);
  margin-bottom: 24px;
}
.derm-hero-title em {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 500;
  color: var(--teal);
}
.derm-hero-subline {
  display: block;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  font-size: 0.48em;
  letter-spacing: -0.01em;
  color: var(--ink-2);
  margin-top: 14px;
  line-height: 1.3;
}
.derm-hero-subline b {
  font-family: 'Montserrat', sans-serif;
  font-style: normal;
  font-weight: 900;
  color: var(--teal-dark);
  background: linear-gradient(180deg, transparent 60%, rgba(255,229,0,0.55) 60%);
  padding: 0 4px;
}

.derm-hero-sub {
  display: inline;
  color: #1A1A1A;
  font-weight: 500;
  line-height: 1.6;

  background: rgba(255, 229, 0, 0.95);
  padding: 2px 6px;

  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}


.derm-hero-sub b { color: var(--ink); font-weight: 800; }
.derm-hero-photo .img-placeholder { background: rgba(255,255,255,0.7); }
/* Dermatología hero slider arrows + dots (full-bleed) */
.derm-slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  background: rgba(255,255,255,0.92);
  border: 0;
  border-radius: 50%;
  color: var(--teal-dark);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  transition: all .2s;
}
.derm-slide-arrow:hover { background: var(--yellow); color: var(--black); transform: translateY(-50%) scale(1.08); }
.derm-slide-arrow.left { left: 18px; }
.derm-slide-arrow.right { right: 18px; }
.derm-slide-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 4;
}
.derm-slide-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all .25s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.derm-slide-dots span.on { background: var(--yellow); width: 28px; border-radius: 999px; }
/* ─── Banner strip separator ─── */
.derm-banner-strip {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 14px 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
}
.derm-banner-strip span { display: block; }

/* ─── Common heading override ─── */
.derm-h2 { color: var(--teal-dark); }
.derm-h2 em { font-style: italic; font-weight: 500; color: var(--teal); }

/* ─── SÍNTOMAS ─── */
.derm-symptoms { background: var(--teal-soft); }
.derm-symptoms-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.derm-symptoms-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}
.derm-symptoms-list li {
  background: white;
  border: 1px solid rgba(61,165,201,0.20);
  border-radius: var(--radius-pill);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all .2s;
}
.derm-symptoms-list li:hover {
  border-color: var(--teal);
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(61,165,201,0.18);
}
.derm-list-ico {
  width: 36px; height: 36px;
  background: var(--teal-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.derm-list-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

/* ─── PROBLEMAS COMUNES ─── */
.derm-problems { background: white; }
.derm-problems-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.derm-problem-card {
  background: white;
  border: 1.5px solid var(--teal);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s;
  display: flex;
  flex-direction: column;
}
.derm-problem-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(61,165,201,0.18);
  border-color: var(--teal-dark);
}
.derm-problem-img {
  height: 200px;
  background: var(--teal-soft);
  border-bottom: 1px solid rgba(61,165,201,0.20);
}
.derm-problem-img .img-placeholder { border: 0; border-radius: 0; min-height: 200px; }
.derm-problem-body { padding: 22px 20px 24px; text-align: center; }
.derm-problem-body h3 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
  margin-bottom: 8px;
}
.derm-problem-body p {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  font-weight: 500;
}

/* ─── POR QUÉ ELEGIRNOS ─── */
.derm-why {
  background: var(--teal-dark);
  color: white;
  position: relative;
  overflow: hidden;
}
.derm-why::before {
  content: '';
  position: absolute;
  top: -180px; right: -180px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,229,0,0.10) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}
.derm-why .container { position: relative; z-index: 1; }
.derm-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.derm-why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: all .25s;
}
.derm-why-card:hover {
  background: rgba(255,229,0,0.08);
  border-color: var(--yellow);
  transform: translateY(-4px);
}
.derm-why-icon {
  width: 64px; height: 64px;
  background: var(--yellow);
  border-radius: 50%;
  color: var(--teal-dark);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(255,229,0,0.30);
}
.derm-why-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 20px;
  color: white;
  margin-bottom: 10px;
}
.derm-why-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.55;
  font-weight: 500;
}

/* ─── PRUEBAS ─── */
.derm-tests { background: var(--teal-soft); }
.derm-tests-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 32px;
}
.derm-test {
  background: white;
  border-left: 5px solid var(--teal);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
  transition: all .2s;
}
.derm-test:hover {
  border-left-color: var(--teal-dark);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(61,165,201,0.18);
}
.derm-test-ico {
  width: 44px; height: 44px;
  background: var(--teal-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
  flex-shrink: 0;
}
.derm-test-body h4 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 4px;
}
.derm-test-body p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
  font-weight: 500;
}
.derm-tests-note {
  background: var(--teal-dark);
  color: white;
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
}
.derm-tests-note-ico {
  font-size: 28px;
  width: 56px; height: 56px;
  background: rgba(255,229,0,0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.derm-tests-note p { font-size: 15px; font-weight: 600; }
.derm-tests-note b { color: var(--yellow); font-weight: 900; }

/* ─── DOCTORA ─── */
.derm-doctor { background: white; }
.derm-doctor-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
}
.derm-quote {
  background: var(--teal-soft);
  border-left: 5px solid var(--teal);
  border-radius: 14px;
  padding: 24px 28px;
  margin: 24px 0 32px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.6;
  color: var(--teal-dark);
  font-weight: 500;
}
.derm-credentials-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.derm-credentials {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.derm-credentials li {
  background: var(--teal-soft);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.derm-cred-ico { font-size: 18px; flex-shrink: 0; }

/* ─── ANTES Y DESPUÉS ─── */
.derm-results { background: var(--teal-soft); }
.derm-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.derm-result-card {
  background: white;
  border: 1.5px solid var(--teal);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.derm-result-ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.derm-ba-item {
  background: var(--teal-soft);
  position: relative;
  aspect-ratio: 1;
}
.derm-ba-label {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal-dark);
  color: white;
  padding: 5px 18px;
  border-radius: var(--radius-pill);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
  z-index: 2;
}
.derm-ba-label.after { background: var(--yellow); color: var(--black); }
.derm-ba-item .img-placeholder { border-radius: 0; border: 0; min-height: 100%; }
.derm-result-text {
  padding: 24px 28px;
}
.derm-result-text p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.65;
  font-weight: 500;
}
.derm-result-text b { color: var(--teal-dark); font-weight: 800; }

/* ─── TESTIMONIOS ─── */
.derm-testi { background: white; }
.derm-testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.derm-testi-card {
  background: var(--teal-soft);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  border: 1px solid rgba(61,165,201,0.18);
  transition: all .25s;
}
.derm-testi-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(61,165,201,0.15);
}
.derm-testi-stars {
  color: #F5A623;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 12px;
  text-shadow: none;
}
.derm-testi-card p {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
  font-weight: 500;
  margin-bottom: 20px;
}
.derm-testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(61,165,201,0.20);
}
.derm-testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}
.derm-testi-name { font-weight: 900; font-size: 13px; color: var(--ink); }
.derm-testi-meta { font-size: 11px; color: var(--ink-3); font-weight: 600; margin-top: 2px; }

/* ─── PRICING ─── */
.derm-pricing { background: var(--teal-soft); }
.derm-pricing-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 2px solid var(--teal);
  padding: 56px 48px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(61,165,201,0.18);
  position: relative;
  overflow: hidden;
}
.derm-pricing-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,229,0,0.10) 0%, transparent 60%);
  border-radius: 50%;
}
.derm-pricing-tag {
  display: inline-block;
  background: var(--teal-soft);
  color: var(--teal-dark);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.derm-pricing-h2 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 38px);
  color: var(--teal-dark);
  letter-spacing: -0.01em;
  line-height: 1.05;
  margin-bottom: 8px;
  position: relative;
}
.derm-pricing-h2 em { font-style: italic; color: var(--teal); }
.derm-pricing-sub {
  font-size: 15px;
  color: var(--ink-2);
  font-weight: 500;
  margin-bottom: 24px;
  position: relative;
}
.derm-pricing-amount {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 6px;
  margin: 24px 0 32px;
  position: relative;
}
.derm-pricing-currency {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 32px;
  color: var(--teal-dark);
  margin-top: 14px;
}
.derm-pricing-number {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 88px;
  color: var(--teal-dark);
  line-height: 1;
  letter-spacing: -0.03em;
}
.derm-pricing-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 18px;
  margin-bottom: 32px;
  text-align: left;
  position: relative;
}
.derm-pricing-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  padding: 8px 0;
}
.derm-pricing-list .check {
  width: 22px; height: 22px;
  background: var(--teal);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 12px;
  flex-shrink: 0;
}
.derm-pricing-list li.highlight {
  grid-column: span 2;
  background: linear-gradient(90deg, rgba(255,229,0,0.15), transparent);
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 4px;
}
.derm-pricing-list li.highlight .check { background: var(--yellow); color: var(--black); }
.derm-pricing-list li.highlight b { color: var(--teal-dark); font-weight: 900; }
.derm-pricing-cta { position: relative; }
.derm-pricing-foot {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-3);
  margin-top: 16px;
  position: relative;
}

/* ─── FAQ ─── */
.derm-faq {
  background: var(--teal-dark);
  color: white;
  position: relative;
  overflow: hidden;
}
.derm-faq .container { position: relative; z-index: 1; }
.derm-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}
.derm-faq-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  overflow: hidden;
  transition: all .2s;
}
.derm-faq-item[open] {
  background: rgba(255,229,0,0.10);
  border-color: var(--yellow);
}
.derm-faq-item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: white;
}
.derm-faq-item summary::-webkit-details-marker { display: none; }
.derm-faq-ico {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.10);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.derm-faq-item[open] .derm-faq-ico { background: var(--yellow); }
.derm-faq-q { flex: 1; }
.derm-faq-toggle {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
  position: relative;
  flex-shrink: 0;
  transition: all .25s;
}
.derm-faq-toggle::before,
.derm-faq-toggle::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 1px;
  transition: transform .25s;
}
.derm-faq-toggle::before { width: 12px; height: 2px; }
.derm-faq-toggle::after  { width: 2px; height: 12px; }
.derm-faq-item[open] .derm-faq-toggle { background: var(--yellow); }
.derm-faq-item[open] .derm-faq-toggle::before,
.derm-faq-item[open] .derm-faq-toggle::after { background: var(--black); }
.derm-faq-item[open] .derm-faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.derm-faq-a {
  padding: 0 22px 18px 74px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  font-weight: 500;
  animation: fadeIn .25s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.derm-faq-a b { color: var(--yellow); font-weight: 800; }

/* ─── LOCATION ─── */
.derm-location { background: var(--teal-soft); }
.derm-location-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: stretch;
}
.derm-location-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #ddd;
  min-height: 380px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.10);
}
.derm-location-map iframe { width: 100%; height: 100%; border: 0; }
.derm-location-info { padding: 16px 0; }
.derm-address-block { margin-top: 28px; }
.derm-address-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 12px;
}
.derm-address-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.derm-address-list li {
  background: white;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  border-left: 3px solid var(--teal);
}
.derm-address-list li b { color: var(--teal-dark); }
.derm-address-block p { font-size: 15px; color: var(--ink); font-weight: 600; }
.derm-address-block p b { color: var(--teal-dark); font-weight: 900; }

/* ─── CTA FINAL ─── */
.derm-cta-final {
  background: var(--teal-dark);
  color: white;
  text-align: center;
  padding: 100px 32px;
  position: relative;
  overflow: hidden;
}
.derm-cta-final::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,229,0,0.12) 0%, transparent 60%);
  border-radius: 50%;
}
.derm-cta-final .container { position: relative; z-index: 1; }
.derm-cta-h2 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1.05;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.derm-cta-h2 em { font-style: italic; color: var(--yellow); }
.derm-cta-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.derm-cta-btn {
  font-size: 16px;
  padding: 18px 36px;
}
.derm-cta-foot {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-top: 20px;
  font-weight: 600;
}

/* ─── RESPONSIVE — Dermatología ─── */
@media (max-width: 1100px) {
  .derm-hero-grid { grid-template-columns: 1fr; }
  .derm-hero-photo { order: -1; }
  .img-placeholder-large { min-height: 320px; }
  .derm-symptoms-grid { grid-template-columns: 1fr; gap: 32px; }
  .derm-problems-grid { grid-template-columns: repeat(2, 1fr); }
  .derm-why-grid { grid-template-columns: repeat(2, 1fr); }
  .derm-doctor-grid { grid-template-columns: 1fr; gap: 32px; }
  .img-placeholder-tall { min-height: 360px; }
  .derm-results-grid { grid-template-columns: 1fr; }
  .derm-testi-grid { grid-template-columns: 1fr; }
  .derm-location-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {

  .derm-problems-grid { grid-template-columns: 1fr; }
  .derm-why-grid { grid-template-columns: 1fr; }
  .derm-credentials { grid-template-columns: 1fr; }
  .derm-pricing-card { padding: 36px 24px; }
  .derm-pricing-number { font-size: 64px; }
  .derm-pricing-list { grid-template-columns: 1fr; }
  .derm-pricing-list li.highlight { grid-column: span 1; }
  .derm-banner-strip { letter-spacing: 2px; font-size: 10px; }
  .derm-faq-a { padding-left: 22px; }
  .derm-tests-note { flex-direction: column; text-align: center; }
  .derm-cta-btn, .btn-derm-primary { white-space: normal; text-align: center; line-height: 1.3; }
  .derm-cta-final { padding: 72px 20px; }
  .derm-hero-photo .img-placeholder { width: 100%; }
}

.derm-hero {
  position: relative;
  overflow: hidden;

  min-height: clamp(720px, 92vh, 900px); /* 🔥 AQUÍ */

  display: flex;
  align-items: center;
  padding: 0;
}
.derm-hero-slider,
.derm-slide,
.derm-slide img {
  height: 100%;
}
.page-derm { overflow-x: hidden; }
.premios {
  background: var(--black);
  color: white; position: relative; overflow: hidden; }
.premios::before { content: ''; position: absolute; top: -150px; left: -150px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,229,0,0.15) 0%, transparent 60%); border-radius: 50%; pointer-events: none; }
.premios .h2 { color: white; }
.premios .h2 em { color: var(--yellow); font-style: italic; }
.premios .eyebrow { color: var(--yellow); }
.premios-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.premios-text .lead { color: rgba(255,255,255,0.7); }
.premios-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.premio-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.10); border-radius: var(--radius); padding: 28px; position: relative; transition: all .25s; }
.premio-card:hover { border-color: var(--yellow); }
.premio-card.big { grid-column: span 2; background: var(--yellow); color: var(--black); display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.premio-icon { width: 56px; height: 56px; background: rgba(255,229,0,0.15); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.premio-card.big .premio-icon { background: var(--black); margin-bottom: 0; width: 64px; height: 64px; }
.premio-card.big .premio-icon svg { color: var(--yellow); }
.premio-year { font-size: 11px; font-weight: 800; letter-spacing: 2px; color: var(--yellow); text-transform: uppercase; margin-bottom: 8px; }
.premio-card.big .premio-year { color: rgba(0,0,0,0.6); }
.premio-name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 22px; line-height: 1.15; margin-bottom: 6px; }
.premio-card.big .premio-name { color: var(--black); font-size: 28px; }
.premio-org { font-size: 13px; color: rgba(255,255,255,0.55); font-weight: 600; }
.premio-card.big .premio-org { color: rgba(0,0,0,0.55); }

/* ─── TESTIMONIOS ─── */
.testimonios { background: var(--cream); }
.testi-google-badge { display: inline-flex; align-items: center; gap: 10px; background: white; border: 1px solid var(--line); padding: 8px 16px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; color: var(--ink-2); margin-top: 18px; box-shadow: 0 4px 14px rgba(0,0,0,0.05); }
.testi-google-badge b { color: var(--ink); font-weight: 900; }
.testi-google-badge svg { flex-shrink: 0; }
.testi-avatar-initials { display: flex; align-items: center; justify-content: center; font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 16px; letter-spacing: 0.5px; }
.testi-author-text { min-width: 0; }
.testi-cta {
  margin-top: 56px;
  background: var(--black); color: white; border-radius: var(--radius-lg); padding: 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.testi-cta::before { content: ''; position: absolute; top: -100px; right: -100px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(255,229,0,0.15) 0%, transparent 60%); border-radius: 50%; pointer-events: none; }
.testi-cta-text { position: relative; z-index: 1; }
.testi-cta-text h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(28px, 3vw, 38px); line-height: 1.05; letter-spacing: -0.01em; color: white; margin-bottom: 12px; }
.testi-cta-text h3 em { font-style: normal; color: var(--yellow); font-weight: 600; }
.testi-cta-text p { color: rgba(255,255,255,0.7); font-size: 15px; line-height: 1.55; font-weight: 500; }
.testi-cta-actions { display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 1; }
.testi-cta-actions .btn { justify-content: center; }
.testi-cta-actions .btn-yellow { background: white; color: var(--ink); }
.testi-cta-actions .btn-yellow:hover { background: var(--yellow); color: var(--black); }
.testi-cta-actions .btn-ghost-dark { background: transparent; color: white; border-color: rgba(255,255,255,0.25); }
.testi-cta-actions .btn-ghost-dark:hover { border-color: white; }
@media (max-width: 800px) { .testi-cta { grid-template-columns: 1fr; padding: 36px 28px; } }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testi { background: white; border: 1.5px solid var(--line); border-radius: var(--radius-lg); padding: 32px; position: relative; transition: all .25s; }
.testi:hover { border-color: var(--yellow); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.testi-stars { color: var(--yellow); font-size: 16px; letter-spacing: 3px; margin-bottom: 16px; }
.testi-text { font-size: 15px; line-height: 1.6; color: var(--ink-2); font-weight: 500; margin-bottom: 24px; }
.testi-text::before { content: '"'; font-family: 'Fraunces',serif; font-size: 28px; color: var(--yellow); font-weight: 600; line-height: 0; vertical-align: -8px; margin-right: 2px; }
.testi-author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.testi-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--yellow-soft); }
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-name { font-weight: 900; font-size: 14px; line-height: 1.2; }
.testi-pet { font-size: 12px; color: var(--ink-3); font-weight: 600; margin-top: 2px; }

/* ─── SEDES ─── */
.sedes { background: var(--black); color: white; }
.sedes .h2 { color: white; }
.sedes .h2 em { color: var(--yellow); }
.sedes .eyebrow { color: var(--yellow); }
.sedes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.sede-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: all .25s; }
.sede-card:hover { border-color: var(--yellow); }
.sede-map { height: 260px; position: relative; overflow: hidden; background: #222; }
.sede-map iframe { width: 100%; height: 100%; border: 0; }
.sede-tag { position: absolute; top: 16px; left: 16px; background: var(--yellow); color: var(--black); padding: 6px 12px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 900; letter-spacing: 1.5px; z-index: 2; }
.sede-info { padding: 28px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.sede-info h3 { font-family: 'Fraunces', serif; font-weight: 600; font-size: 28px; color: white; }
.sede-info-rows { display: flex; flex-direction: column; gap: 12px; }
.sede-info-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: rgba(255,255,255,0.78); font-weight: 600; line-height: 1.4; }
.sede-info-row svg { flex-shrink: 0; color: var(--yellow); margin-top: 2px; }
.sede-info-row .open { color: #4ADE80; font-weight: 800; margin-right: 6px; }
.sede-info-actions { display: flex; gap: 10px; margin-top: auto; padding-top: 8px; flex-wrap: wrap; }
.sede-feature-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,229,0,0.12); border: 1px solid rgba(255,229,0,0.25); color: var(--yellow); padding: 5px 12px; border-radius: var(--radius-pill); font-size: 11px; font-weight: 800; letter-spacing: 0.5px; }

/* ─── CTA FINAL ─── */
.cta { background: var(--yellow); color: var(--black); text-align: center; padding: 120px 32px; position: relative; overflow: hidden; }
.cta-inner { max-width: 800px; margin: 0 auto; position: relative; z-index: 2; }
.cta .h2 { font-size: clamp(40px, 5.5vw, 64px); margin-bottom: 20px; }
.cta .h2 em { color: var(--black); opacity: 1; }
.cta .hl-black { background: var(--black); color: var(--yellow); padding: 0 .18em; border-radius: 8px; font-style: normal; font-weight: 600; display: inline-block; }
.cta p { font-size: 18px; font-weight: 600; color: rgba(0,0,0,0.7); margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta::before { content: ''; position: absolute; bottom: -200px; left: 50%; transform: translateX(-50%); width: 800px; height: 800px; background: radial-gradient(circle, rgba(0,0,0,0.04) 0%, transparent 60%); border-radius: 50%; }

/* ─── FOOTER ─── */
footer { background: #000; color: rgba(255,255,255,0.7); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand img { height: 170px; width: auto; margin-bottom: 20px; display: block; }
.footer-brand p { font-size: 14px; line-height: 1.6; margin-bottom: 24px; font-weight: 500; max-width: 320px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; transition: all .2s; color: rgba(255,255,255,0.6); }
.footer-social a:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.footer-col-title { font-size: 11px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--yellow); margin-bottom: 18px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.6); transition: color .2s; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 28px; display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,0.4); font-weight: 600; flex-wrap: wrap; gap: 12px; }

/* ─── FLOATING WHATSAPP ─── */
.fab-wa { position: fixed; bottom: 28px; right: 28px; width: 60px; height: 60px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; box-shadow: 0 10px 32px rgba(37,211,102,0.5); z-index: 999; transition: transform .25s, box-shadow .25s; animation: fab-pulse 2.4s ease-in-out infinite; }
.fab-wa:hover { transform: scale(1.08); box-shadow: 0 14px 40px rgba(37,211,102,0.6); }
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 10px 32px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.6); }
  50% { box-shadow: 0 10px 32px rgba(37,211,102,0.5), 0 0 0 16px rgba(37,211,102,0); }
}
.fab-label { position: fixed; bottom: 38px; right: 100px; background: white; color: var(--black); padding: 8px 14px; border-radius: 12px; font-size: 13px; font-weight: 800; box-shadow: var(--shadow-sm); z-index: 998; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.fab-label::after { content: ''; position: absolute; right: -7px; top: 50%; transform: translateY(-50%); border-top: 6px solid transparent; border-bottom: 6px solid transparent; border-left: 7px solid white; }

/* Hide when JM-only on SM */
.jm-only.hidden { display: none !important; }

/* ─── BACK-TO-HOME floating button (sub-pages) ─── */
.back-home {
  position: fixed;
  top: 120px;
  left: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--ink);
  padding: 10px 18px 10px 14px;
  border-radius: var(--radius-pill);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  border: 1.5px solid rgba(0,0,0,0.06);
  transition: all .2s;
  text-decoration: none;
}
.back-home:hover {
  background: var(--yellow);
  color: var(--black);
  transform: translateX(-3px);
  box-shadow: 0 12px 30px rgba(255,229,0,0.4);
}
.back-home svg { transition: transform .2s; }
.back-home:hover svg { transform: translateX(-2px); }
@media (max-width: 800px) {
  .back-home {
    top: auto;
    bottom: 100px;
    left: 14px;
    padding: 9px 14px 9px 12px;
    font-size: 12px;
  }
  .back-home span { display: none; }
  .back-home {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
  }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .hero { min-height: clamp(620px, 86vh, 780px); }
  .hero-grid { padding: 60px 32px 180px; }
  .hero-scrim { background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.35) 35%, rgba(0,0,0,0.85) 100%); }
  .servicios-grid { grid-template-columns: 1fr; }
  .service-side { position: static; }
  .premios-layout { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .lodging-grid { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-inner { padding: 12px 20px; gap: 12px; }
  .nav-logo img { height: 42px; }
  .sede-switch button { padding: 5px 10px; font-size: 11px; border-width: 1.5px; }
  .sede-switch .dot { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero-stats-inner { gap: 24px; padding: 0 20px; }
  .hero-stat-num { font-size: 32px; }
  .hero-stat-num.trophy { font-size: 26px; }
  .hero-arrow { width: 38px; height: 38px; font-size: 18px; }
  .hero-arrow.left { left: 10px; }
  .hero-arrow.right { right: 10px; }
  .hero-grid { padding-bottom: 160px; }
  .proceso-grid { grid-template-columns: 1fr 1fr; }
  .extras-row { grid-template-columns: 1fr; }
  .servicios-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; scrollbar-width: none; }
  .servicios-tabs::-webkit-scrollbar { display: none; }
  .tab { flex-shrink: 0; }
  .includes { grid-template-columns: 1fr; }
  .price-table th:first-child, .price-table td:first-child { font-size: 12px; }
  .testi-grid { grid-template-columns: 1fr; }
  .premios-grid { grid-template-columns: 1fr; }
  .premio-card.big { grid-column: span 1; }
  .sedes-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .marquee-item { font-size: 14px; padding: 0 18px; letter-spacing: 2px; }
  .fab-label { display: none; }
  .lodging-card { padding: 28px 22px; }
}


/* ═══════════════════════════════════════════════════════
   SECTION COLOR RHYTHM OVERRIDES (turquesa servicios + black proceso)
   ═══════════════════════════════════════════════════════ */

/* ── SERVICIOS → turquesa brand ── */
.servicios { background: #A8DFD1; color: var(--ink); position: relative; overflow: hidden; }
.servicios .h2 { color: var(--ink) !important; }
.servicios .h2 em { color: var(--ink-3) !important; }
.servicios .section-head .eyebrow { color: var(--ink-3); }
.servicios .lead { color: var(--ink-2) !important; }
.servicios .container { position: relative; z-index: 1; }
.servicios::before { content: ''; position: absolute; top: 40px; right: -180px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(61,165,201,0.18) 0%, transparent 60%); border-radius: 50%; pointer-events: none; z-index: 0; }
.servicios::after { content: ''; position: absolute; bottom: 40px; left: -180px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(255,229,0,0.18) 0%, transparent 60%); border-radius: 50%; pointer-events: none; z-index: 0; }
.servicios .sede-banner { background: white; border: 1px solid rgba(0,0,0,0.06); box-shadow: 0 4px 16px rgba(0,0,0,0.05); color: var(--ink-2); }
.servicios .sede-banner b { color: var(--ink); }
.servicios .sede-banner > span:last-child { color: var(--ink-3); }
.servicios .sede-banner a { color: var(--ink) !important; }
.servicios .tab { background: white; border: 1px solid var(--line); color: var(--ink-3); }
.servicios .tab:hover { color: var(--ink); border-color: var(--ink-3); }
.servicios .tab.on { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.servicios .service-panel { background: white; border: 1px solid rgba(0,0,0,0.06); box-shadow: 0 8px 28px rgba(0,0,0,0.06); }
.servicios .service-panel h3 { color: var(--ink); }
.servicios .service-panel .desc { color: var(--ink-2); }
.servicios .includes li { color: var(--ink); }
.servicios .service-panel .eyebrow { color: var(--ink-3) !important; }
.servicios .price-table th { color: var(--ink-3); border-color: var(--line); }
.servicios .price-table td { color: var(--ink); border-color: var(--line); }
.servicios .price-table td:nth-child(2), .servicios .price-table td:nth-child(3) { color: var(--ink); }

.servicios .service-side { background: #FFFFFF !important; border: 1px solid rgba(46, 168, 155, 0.18) !important; position: relative; overflow: hidden; }
.servicios .service-side-img { z-index: 2; position: relative; }
.servicios .service-side-body { position: relative; z-index: 2; padding: 28px; }
.servicios .service-side-body .side-eyebrow { color: var(--teal) !important; display: block; margin-bottom: 10px; letter-spacing: 3px; font-weight: 800; }
.servicios .side-price-row { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; }
.servicios #side-price { font-family: 'Fraunces', serif; font-weight: 600; font-size: 56px; color: var(--ink); line-height: 1; letter-spacing: -0.01em; }
.servicios .side-price-tier { color: var(--ink-3); font-weight: 700; font-size: 13px; }
.servicios .service-side-body h4 { color: var(--ink); }
.servicios .service-side-body p { color: var(--ink-2); font-size: 14px; line-height: 1.55; margin-bottom: 20px; font-weight: 500; }

.servicios .extra-card { background: white; border: 1px solid rgba(0,0,0,0.06); box-shadow: 0 6px 24px rgba(0,0,0,0.05); }
.servicios .extra-card:hover { border-color: var(--yellow); transform: translateY(-3px); box-shadow: 0 14px 36px rgba(0,0,0,0.10); }
.servicios .extra-card h4 { color: var(--ink); }
.servicios .extra-card p { color: var(--ink-2); }
.servicios .extra-card .eyebrow { color: var(--ink-3); }
.servicios .extra-price { color: var(--ink); }
.servicios .extra-price span { color: var(--ink-3); }

.servicios .servicios-jm-inner { margin-top: 64px; padding: 48px; background: rgba(255,255,255,0.65); border: 1px solid rgba(255,255,255,0.9); border-radius: var(--radius-lg); box-shadow: 0 8px 28px rgba(0,0,0,0.06); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.servicios .servicios-jm-inner .jm-divider { margin-bottom: 32px; padding-bottom: 0; border: 0; }
.servicios .jm-divider-text h3 { color: var(--ink); }
.servicios .jm-divider-text h3 em { color: var(--ink-3); }
.servicios .jm-divider-text p { color: var(--ink-2); }
.servicios .jm-tab { background: white; border: 1px solid rgba(0,0,0,0.08); color: var(--ink-3); box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.servicios .jm-tab:hover { color: var(--ink); }
.servicios .jm-tab.on { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.servicios .jm-table-card { background: white; border: 1px solid rgba(0,0,0,0.06); box-shadow: 0 6px 24px rgba(0,0,0,0.05); }
.servicios .jm-table-card:hover { border-color: var(--yellow); }
.servicios .jm-table-card h3 { color: var(--ink); }
.servicios .jm-card-head p { color: var(--ink-2); }
.servicios .jm-card-tag { color: var(--ink-3); }
.servicios .jm-table th { color: var(--ink-3); border-color: var(--line); }
.servicios .jm-table td { color: var(--ink); border-color: var(--line); }
.servicios .jm-table td:not(:first-child) { color: var(--ink); }
.servicios .jm-tag { background: var(--gray); border: 1px solid var(--line); color: var(--ink); }

/* Paw silhouettes — Servicios corners */
.servicios-paws { position: absolute; pointer-events: none; z-index: 0; opacity: 0.5; }
.servicios-paws svg { display: block; width: 100%; height: auto; }
.servicios-paws.top-left { top: 32px; left: 20px; width: 90px; transform: rotate(-12deg); }
.servicios-paws.bottom-right { bottom: 32px; right: 20px; width: 100px; transform: rotate(168deg); }
@media (max-width: 800px) {
  .servicios-paws.top-left { width: 56px; top: 20px; left: 14px; }
  .servicios-paws.bottom-right { width: 60px; bottom: 20px; right: 14px; }
}

/* ── PROCESO → dark/black ── */
.proceso { background: var(--black); color: white; }
.proceso .h2 { color: white !important; }
.proceso .h2 em { color: rgba(255,255,255,0.5) !important; }
.proceso .section-head .eyebrow { color: var(--yellow); }
.proceso .lead { color: rgba(255,255,255,0.7) !important; }
.proceso-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); }
.proceso-card:hover { border-color: var(--yellow); background: rgba(255,229,0,0.04); box-shadow: none; }
.proceso-title { color: white; }
.proceso-desc { color: rgba(255,255,255,0.6); }
.proceso-num { color: var(--yellow); }


/* ═══════════════════════════════════════════════════════
   DERMATOLOGÍA — Page-scoped color overrides
   (Only applies when <body class="page-derm">)
   ═══════════════════════════════════════════════════════ */

.page-derm .nav { background: var(--navy); }
.page-derm .promo {
  background: var(--navy);
  color: white;
}
.page-derm .promo .code {
  background: var(--yellow);
  color: var(--navy);
}
.page-derm .mobile-menu { background: var(--navy); }
.page-derm footer { background: var(--navy); }
/* ─── GALLERY SLIDER ─── */
.gal-slider-wrap {
  grid-column: span 12;
  position: relative;
}
.gal-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
}
.gal-slider .gal-item {
  aspect-ratio: 3/4;
  display: none;
}
.gal-slider .gal-item.visible {
  display: block;
}
.gal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  background: rgba(0,0,0,0.6);
  border: 0;
  border-radius: 50%;
  color: white;
  font-size: 22px;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  line-height: 1;
  backdrop-filter: blur(4px);
}
.gal-arrow:hover { background: var(--yellow); color: var(--black); }
.gal-arrow:disabled { opacity: 0.2; cursor: default; }
.gal-prev { left: 10px; right: auto; }
.gal-next { right: 10px; left: auto; }
@media (max-width: 800px) {
  .gal-slider { grid-template-columns: repeat(2, 1fr); }
  .gal-arrow { width: 34px; height: 34px; font-size: 18px; }
}
@media (max-width: 480px) {
  /* Keep 2-up grid even on very small screens; shrink the gap */
  .galeria-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gal-feature { grid-column: 1 / -1 !important; }
  .gal-1 { grid-column: 1 / 2 !important; aspect-ratio: 1/1 !important; }
  .gal-2 { grid-column: 2 / 3 !important; aspect-ratio: 1/1 !important; }
  .gal-3 { grid-column: 1 / -1 !important; aspect-ratio: 16/10 !important; }
  .gal-feature-body { padding: 28px 20px; }
  .gal-feature-body h3 { font-size: 28px; }
}