/* ============================================================
   DermaPrime — Estilos Principales
   Paleta: Verde Bosque + Rosa Salmón + Crema
   ============================================================ */

/* ===== VARIABLES ===== */
:root {
  --green:        #3D7A52;
  --green-dark:   #2A5438;
  --green-light:  #6BAE87;
  --green-10:     rgba(61,122,82,.10);
  --green-20:     rgba(61,122,82,.20);

  --pink:         #D4887A;
  --pink-dark:    #B56B5D;
  --pink-light:   #EDB8AE;
  --pink-10:      rgba(212,136,122,.10);

  --cream:        #FAF8F6;
  --beige:        #F0EAE4;
  --white:        #FFFFFF;

  --dark:         #1A2E22;
  --dark-2:       #243325;
  --text:         #2C2C2C;
  --text-muted:   #6B6B6B;

  --font-head:    'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    20px;
  --radius-full:  999px;

  --shadow-sm:    0 2px 8px rgba(0,0,0,.06);
  --shadow:       0 4px 20px rgba(0,0,0,.10);
  --shadow-lg:    0 12px 40px rgba(0,0,0,.14);

  --transition:   .3s cubic-bezier(.4,0,.2,1);
  --nav-h:        72px;
  --topbar-h:     38px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 8px);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }

/* ===== SKIP LINK (accesibilidad) ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--green);
  color: var(--white);
  padding: .5rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ===== UTILIDADES ===== */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.text-center { text-align: center; }

.section {
  padding-block: 5rem;
  scroll-margin-top: calc(var(--nav-h) + 8px);
}
.section--alt { background: var(--beige); }
.section--dark {
  background: var(--dark);
  color: var(--white);
}

.section__header { margin-bottom: 3.5rem; }

.section__label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--green-10);
  padding: .35em 1em;
  border-radius: var(--radius-full);
  margin-bottom: .9rem;
}
.section--dark .section__label {
  color: var(--pink-light);
  background: rgba(212,136,122,.15);
}

.section__title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: .75rem;
}
.section--dark .section__title { color: var(--white); }
.section__title em { color: var(--green); font-style: italic; }
.section--dark .section__title em { color: var(--pink-light); }

.section__desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-inline: auto;
}
.section--dark .section__desc { color: rgba(255,255,255,.7); }

/* ===== BOTONES ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn--primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(61,122,82,.35);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn--outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}
.btn--lg { padding: .9rem 2.25rem; font-size: 1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ===== TOPBAR ===== */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,.82);
  font-size: .78rem;
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.topbar .container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.topbar span, .topbar a {
  display: flex;
  align-items: center;
  gap: .4rem;
}
.topbar a { color: var(--green-light); transition: color var(--transition); }
.topbar a:hover { color: var(--white); }
.topbar i { font-size: .85rem; }

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }

.navbar__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.navbar__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo-fallback {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  gap: 0;
}
.logo-derma { color: var(--green); }
.logo-prime { color: var(--pink); }

.navbar__nav { flex: 1; }
.navbar__nav ul {
  display: flex;
  align-items: center;
  gap: .25rem;
  justify-content: center;
}
.navbar__nav a {
  display: block;
  padding: .45rem .7rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.navbar__nav a:hover,
.navbar__nav a.nav-active { color: var(--green); background: var(--green-10); }

.navbar__cta { flex-shrink: 0; }

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  margin-left: auto;
}
.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.navbar__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 10% 15%, rgba(212,136,122,.30) 0%, transparent 55%),
    radial-gradient(ellipse 60% 55% at 90% 85%, rgba(237,184,174,.20) 0%, transparent 50%),
    radial-gradient(ellipse 80% 65% at 75% 10%, rgba(61,122,82,.35) 0%, transparent 55%),
    radial-gradient(ellipse 55% 50% at 20% 80%, rgba(42,84,56,.45) 0%, transparent 55%),
    linear-gradient(145deg, #1a1012 0%, #1a2018 30%, #12181a 60%, #1a1216 100%);
}

.hero__split {
  position: relative;
  z-index: 1;
  padding-block: 7rem 5.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 780px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pink-light);
  background: rgba(212,136,122,.2);
  border: 1px solid rgba(212,136,122,.4);
  padding: .35em 1em;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}
.hero__badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,.7); }
  70%       { box-shadow: 0 0 0 7px rgba(74,222,128,0); }
}

.hero__title {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero__title em { color: var(--pink-light); font-style: italic; }

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,.88);
  margin-bottom: 2rem;
  line-height: 1.7;
}
.hero__subtitle strong { color: var(--pink-light); }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: 1.25rem 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  padding: 0 1.5rem;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stat:last-child { border-right: none; }
.stat__row {
  display: flex;
  align-items: baseline;
  gap: .1rem;
  line-height: 1;
}
.stat__num {
  font-family: var(--font-head);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.stat span { font-size: 1.4rem; color: var(--pink-light); font-weight: 700; }
.stat small { font-size: .72rem; color: rgba(255,255,255,.65); margin-top: .4rem; max-width: 90px; line-height: 1.3; }

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: rgba(255,255,255,.6);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
  transition: color var(--transition);
}
.hero__scroll:hover { color: var(--white); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ===== TRUST BAR ===== */
.trustbar {
  background: var(--green);
  padding-block: 1.1rem;
}
.trustbar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: rgba(255,255,255,.92);
  font-size: .88rem;
  font-weight: 500;
}
.trust-item i { color: var(--pink-light); font-size: 1.1rem; }

/* ===== ABOUT ===== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__img-wrap {
  position: relative;
}
.about__img-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/5;
}
.about__badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--green);
  color: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: .6rem;
  box-shadow: var(--shadow);
  font-size: .82rem;
  font-weight: 600;
}
.about__badge i { font-size: 1.4rem; color: var(--pink-light); }

.about__text { padding-block: 1rem; }
.about__lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 1rem;
}
.about__text p { color: var(--text-muted); margin-bottom: .85rem; }

.about__list {
  margin-block: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.about__list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .93rem;
}
.about__list i { color: var(--green); font-size: 1rem; flex-shrink: 0; }

/* ===== TRATAMIENTO ===== */
.treatment__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.treatment__main { padding: 2.5rem; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.treatment__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .6rem;
}
.treatment__main h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.25;
}
.treatment__main h3 em { color: var(--green); font-style: italic; }
.treatment__main p { color: var(--text-muted); margin-bottom: .85rem; }

.treatment__areas {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.5rem;
}
.area-tag {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 600;
  color: var(--green);
  background: var(--green-10);
  padding: .3em .85em;
  border-radius: var(--radius-full);
}
.area-tag i { font-size: .5rem; }
.area-tag--more {
  color: var(--text-muted);
  background: rgba(0,0,0,.05);
  font-style: italic;
}

.treatment__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.treatment-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.treatment-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.treatment-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.treatment-card h4 { font-family: var(--font-head); font-size: 1rem; margin-bottom: .4rem; color: var(--dark); }
.treatment-card p { font-size: .83rem; color: var(--text-muted); line-height: 1.6; }

.treatment__promise {
  margin-top: 3rem;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  position: relative;
}
.treatment__promise i.fa-quote-left {
  font-size: 2.5rem;
  color: var(--pink);
  opacity: .4;
  margin-bottom: .75rem;
  display: block;
}
.treatment__promise p {
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  line-height: 1.5;
  margin-bottom: .75rem;
}
.treatment__promise span { font-size: .85rem; color: rgba(255,255,255,.5); }

/* ===== PROCESO ===== */
.process__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  counter-reset: steps;
  position: relative;
}
.process__steps::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(10% + .75rem);
  right: calc(10% + .75rem);
  height: 3px;
  background: linear-gradient(90deg, var(--green) 0%, var(--pink-light) 100%);
  border-radius: 2px;
  z-index: 0;
}

.process-step {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border-top: 3px solid transparent;
  background-clip: padding-box;
  transition: box-shadow var(--transition), transform var(--transition);
  z-index: 1;
  overflow: hidden;
}
.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--pink-light));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.process-step:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }

.process-step__num {
  position: absolute;
  top: -1px;
  right: .75rem;
  font-family: var(--font-head);
  font-size: 6rem;
  font-weight: 700;
  color: var(--green-20);
  line-height: .85;
  transform: translateY(-28%);
  pointer-events: none;
  user-select: none;
  letter-spacing: -.04em;
}

.process-step__icon {
  width: 50px;
  height: 50px;
  background: var(--green-10);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--green);
  margin-bottom: 1rem;
}

.process-step__content h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: .6rem;
}
.process-step__content p { font-size: .85rem; color: var(--text-muted); }

.process-step__tag {
  display: inline-block;
  margin-top: 1rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--green);
  background: var(--green-10);
  padding: .25em .75em;
  border-radius: var(--radius-full);
}

/* ===== ANTES Y DESPUÉS ===== */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 960px;
  margin-inline: auto;
}

.ba-slider {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.ba-slider__container {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  overflow: hidden;
}

.ba-slider__before,
.ba-slider__after {
  position: absolute;
  inset: 0;
}
.ba-slider__before img,
.ba-slider__after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  pointer-events: none;
}

/* Tapa las fechas incrustadas en la esquina inferior izquierda de las imágenes */
.ba-slider__before::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 160px;
  height: 48px;
  background: linear-gradient(90deg, rgba(0,0,0,.75) 0%, transparent 100%);
  pointer-events: none;
  z-index: 2;
}

.ba-slider__after { clip-path: inset(0 0 0 50%); }

.ba-label {
  position: absolute;
  bottom: 1rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3em .85em;
  border-radius: var(--radius-full);
  color: var(--white);
}
.ba-label--before {
  left: 1rem;
  background: rgba(0,0,0,.55);
}
.ba-label--after {
  right: 1rem;
  background: var(--green);
}

.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.ba-slider__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: var(--white);
}
.ba-slider__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  box-shadow: var(--shadow);
  z-index: 1;
  color: var(--green);
  font-size: .7rem;
}

.gallery__caption {
  background: var(--dark-2);
  color: rgba(255,255,255,.7);
  text-align: center;
  font-size: .82rem;
  padding: .75rem;
  font-style: italic;
}

.gallery__disclaimer {
  margin-top: 2rem;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}

/* ===== BENEFICIOS ===== */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.benefit-card:hover {
  border-bottom-color: var(--green);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.benefit-card__icon {
  width: 52px;
  height: 52px;
  background: var(--green-10);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--green);
  margin-bottom: 1.25rem;
}
.benefit-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--dark);
  margin-bottom: .5rem;
}
.benefit-card p { font-size: .87rem; color: var(--text-muted); line-height: 1.65; }

/* ===== FAQ ===== */
.faq__list {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 600;
  font-size: .95rem;
  color: var(--dark);
  transition: color var(--transition);
}
.faq-item__btn:hover { color: var(--green); }
.faq-item__btn:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: var(--radius-sm, 6px);
}
.faq-item__btn i {
  flex-shrink: 0;
  color: var(--green);
  transition: transform var(--transition);
}
.faq-item__btn[aria-expanded="true"] i { transform: rotate(45deg); }

.faq-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  padding: 0 1.5rem;
}
.faq-item__body.open {
  max-height: 600px;
  padding: 0 1.5rem 1.25rem;
}
.faq-item__body p { font-size: .9rem; color: var(--text-muted); }

/* ===== TESTIMONIOS ===== */
.testi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--green);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.testi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }

.testi-card__platform {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .9rem;
}
.testi-card__google {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .02em;
}
.testi-card__g-dots {
  display: flex;
  gap: 2px;
  align-items: center;
}
.testi-card__g-dots span {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.testi-card__date {
  font-size: .7rem;
  color: var(--text-muted);
}

.testi-card__stars { color: #F4B942; margin-bottom: .75rem; font-size: .9rem; letter-spacing: .05em; }
.testi-card p {
  font-size: .9rem;
  color: var(--text);
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.75;
  flex: 1;
}
.testi-card__author {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--beige);
  margin-top: auto;
}
.testi-card__avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid transparent;
}
.testi-card__avatar--green { background: var(--green); border-color: var(--green-light); }
.testi-card__avatar--pink  { background: var(--pink);  border-color: var(--pink-light); }
.testi-card__avatar--dark  { background: var(--dark);  border-color: var(--green-light); }
.testi-card__author strong { display: block; font-size: .9rem; color: var(--dark); }
.testi-card__author small { font-size: .75rem; color: var(--text-muted); }

/* ===== ABOUT QUOTE ===== */
.about__quote {
  background: var(--green-10);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.25rem 1.1rem 3.5rem;
  margin-block: 1.5rem;
  position: relative;
}
.about__quote i {
  position: absolute;
  top: .9rem;
  left: 1rem;
  font-size: 1.6rem;
  color: var(--green);
  opacity: .3;
}
.about__quote p {
  font-style: italic;
  font-weight: 500;
  color: var(--dark) !important;
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: .35rem !important;
}
.about__quote cite {
  display: block;
  font-size: .75rem;
  color: var(--green);
  font-weight: 700;
  font-style: normal;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* ===== FAQ CTA ===== */
.faq__cta {
  margin-top: 2.5rem;
  background: var(--dark);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.faq__cta-text h4 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: .3rem;
}
.faq__cta-text p {
  font-size: .87rem;
  color: rgba(255,255,255,.6);
  margin: 0;
}

/* ===== CONTACTO ===== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3.5rem;
  align-items: start;
}

.contact__info h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: .6rem;
}
.contact__info > p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: .93rem; }

.contact__whatsapp {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #25D366;
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  transition: opacity var(--transition), transform var(--transition);
}
.contact__whatsapp:hover { opacity: .9; transform: translateY(-2px); }
.contact__whatsapp i { font-size: 2rem; }
.contact__whatsapp strong { display: block; font-size: .95rem; }
.contact__whatsapp span { font-size: .85rem; opacity: .85; }

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}
.contact__detail i {
  width: 36px;
  height: 36px;
  background: var(--green-10);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
  font-size: .95rem;
}
.contact__detail strong { display: block; font-size: .85rem; color: var(--dark); }
.contact__detail span, .contact__detail a { font-size: .83rem; color: var(--text-muted); }
.contact__detail a:hover { color: var(--green); }

/* ===== FORMULARIO ===== */
.contact__form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; }

.form__group { display: flex; flex-direction: column; gap: .35rem; }
.form__group label { font-size: .82rem; font-weight: 600; color: var(--dark); }
.form__group label span { color: var(--pink); }

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid #ddd;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-10);
}
.form__group input.error,
.form__group select.error,
.form__group textarea.error { border-color: #e05252; }

.form__error { font-size: .76rem; color: #e05252; min-height: 1em; }

.form__group textarea { resize: vertical; min-height: 110px; }

/* Honeypot oculto anti-spam */
.form__hp { position: absolute; left: -9999px; top: -9999px; visibility: hidden; }

/* Formulario sobre fondo oscuro */
.section--dark .form__group label { color: rgba(255,255,255,.85); }
.section--dark .form__group input,
.section--dark .form__group select,
.section--dark .form__group textarea {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.2);
  color: var(--white);
}
.section--dark .form__group input::placeholder,
.section--dark .form__group select::placeholder,
.section--dark .form__group textarea::placeholder { color: rgba(255,255,255,.4); }
.section--dark .form__group select option { background: var(--dark); color: var(--white); }
.section--dark .form__group input:focus,
.section--dark .form__group select:focus,
.section--dark .form__group textarea:focus {
  border-color: var(--green-light);
  box-shadow: 0 0 0 3px rgba(107,174,135,.2);
}
.section--dark .form__microcopy { color: rgba(255,255,255,.5); }

.form__microcopy {
  text-align: center;
  font-size: .74rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  margin-top: -.25rem;
}
.form__microcopy i { color: var(--green); font-size: .8rem; }

.form__privacy {
  font-size: .76rem;
  color: var(--text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}
.form__privacy i { color: var(--green); }

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,.75); }

.footer__main { padding-block: 4rem 3rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
}

.footer__brand img { filter: brightness(1.15) drop-shadow(0 0 6px rgba(255,255,255,.25)); margin-bottom: .85rem; }
.footer__brand p { font-size: .85rem; line-height: 1.7; }

.footer__social {
  display: flex;
  gap: .75rem;
  margin-top: 1.25rem;
}
.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  transition: background var(--transition), color var(--transition);
}
.footer__social a:hover { background: var(--green); color: var(--white); }

.footer__col h4 {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer__col li a {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer__col li a:hover { color: var(--green-light); }

.footer__contact { gap: .75rem !important; }
.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .83rem;
  color: rgba(255,255,255,.6);
}
.footer__contact i { color: var(--green-light); margin-top: .15rem; flex-shrink: 0; }
.footer__contact a { color: rgba(255,255,255,.6); }
.footer__contact a:hover { color: var(--green-light); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 1.25rem;
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer__bottom p { font-size: .78rem; color: rgba(255,255,255,.4); }
.footer__bottom a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer__bottom a:hover { color: var(--green-light); }
.footer__bottom-inner p:last-child { display: flex; gap: .75rem; align-items: center; }

/* ===== FAB WHATSAPP ===== */
.fab-whatsapp-wrap {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.fab-whatsapp {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.55);
}
.fab-whatsapp__bubble {
  position: absolute;
  bottom: calc(100% + .85rem);
  right: 0;
  width: 230px;
  background: var(--white);
  border-radius: 16px 16px 4px 16px;
  padding: 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  opacity: 0;
  transform: translateY(12px) scale(.94);
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
  z-index: 10;
}
.fab-whatsapp__bubble.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.fab-whatsapp__bubble-header {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: .75rem;
  padding-bottom: .65rem;
  border-bottom: 1px solid var(--beige);
}
.fab-whatsapp__bubble-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}
.fab-whatsapp__bubble-name {
  font-size: .8rem;
  font-weight: 700;
  color: var(--dark);
  display: block;
}
.fab-whatsapp__bubble-status {
  font-size: .68rem;
  color: #25D366;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .25rem;
}
.fab-whatsapp__bubble-status::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #25D366;
  border-radius: 50%;
  display: inline-block;
}
.fab-whatsapp__bubble p {
  font-size: .81rem;
  color: var(--text);
  line-height: 1.5;
  background: #E8F5E9;
  border-radius: 12px 12px 12px 4px;
  padding: .65rem .85rem;
  margin: 0;
}
.fab-whatsapp__bubble-close {
  position: absolute;
  top: .5rem;
  right: .5rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--beige);
  color: var(--text-muted);
  font-size: .6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  line-height: 1;
  transition: background var(--transition);
}
.fab-whatsapp__bubble-close:hover { background: #ddd; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 1.75rem;
  left: 1.75rem;
  z-index: 800;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }

/* ===== MODAL ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal[hidden] { display: none; }

.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
}
.modal__content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.modal__content h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  color: var(--dark);
  margin-bottom: 1rem;
}
.modal__content p { font-size: .9rem; color: var(--text-muted); line-height: 1.7; }
.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--beige);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: background var(--transition);
}
.modal__close:hover { background: #ddd; }

/* ===== ANIMACIONES DE ENTRADA ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* Desktop grande (≤ 1200px) */
@media (max-width: 1200px) {
  .team__grid { grid-template-columns: 360px 1fr; gap: 2.5rem; }
  .pricing__grid { gap: 1rem; }
  .process__steps { grid-template-columns: repeat(3, 1fr); }
}

/* Tablet grande (≤ 1024px) */
@media (max-width: 1024px) {
  .treatment__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: 1fr; max-width: 600px; margin-inline: auto; }
  .pricing__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .pricing-card--featured { transform: none; }
  .blog__grid { grid-template-columns: 1fr 1fr; }
  .treatment__cards { grid-template-columns: repeat(2, 1fr); }
  .about__grid { gap: 2.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: span 2; }
  .process__steps { grid-template-columns: repeat(3, 1fr); }
}

/* Tablet (≤ 768px) */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .topbar { display: none; }

  .navbar__nav {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem 1.5rem;
    border-top: 1px solid rgba(0,0,0,.06);
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
    z-index: 850;
  }
  .navbar__nav.open { transform: translateX(0); }
  .navbar__nav ul { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .navbar__nav a { font-size: 1rem; padding: .65rem .85rem; width: 100%; }

  .navbar__cta { display: none; }
  .navbar__toggle { display: flex; }

  .about__grid { grid-template-columns: 1fr; }
  .about__img-wrap img {
    aspect-ratio: 3/2;
    max-height: 340px;
    width: 100%;
    object-position: center top;
  }
  .about__badge {
    right: .75rem;
    bottom: .75rem;
    font-size: .76rem;
    padding: .7rem 1rem;
  }

  .benefits__grid { grid-template-columns: 1fr 1fr; }
  .testi__grid { grid-template-columns: 1fr; }
  .faq__cta { flex-direction: column; text-align: center; padding: 1.5rem; }
  .blog__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .sticky-bar { display: flex; }
  .hero__urgency { font-size: .75rem; }

  .gallery__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }

  .contact__grid { grid-template-columns: 1fr; }
  .contact__form-wrap { padding: 1.75rem; }

  .hero__stats { padding: 1rem 0; }
  .stat { padding: 0 1rem; }

  .trustbar__inner { gap: 1rem; }
  .trust-item { font-size: .8rem; }

  .section { padding-block: 3.5rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }

  .process__steps { grid-template-columns: repeat(2, 1fr); max-width: none; margin-inline: 0; }
  .process-step:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 340px; margin-inline: auto; }
}

/* iOS: evitar zoom automático en foco de inputs */
@media (max-width: 768px) {
  .form__group input,
  .form__group select,
  .form__group textarea { font-size: 16px; }
}

/* Móvil (≤ 480px) */
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .team__grid { max-width: 100%; }
  .pricing__grid { max-width: 100%; }
  .pricing-card__amount { font-size: 1.65rem; }
  .sticky-bar { padding: .75rem 1rem; }
  .sticky-bar__text strong { font-size: .82rem; }
  .btn--lg { width: 100%; justify-content: center; }
  .benefits__grid { grid-template-columns: 1fr; }
  .treatment__cards { grid-template-columns: 1fr; }
  .gallery__grid { max-width: 100%; }
  .hero__stats { padding: .85rem 0; }
  .stat { padding: 0 .85rem; }
  .stat__num { font-size: 1.75rem; }
  .stat small { font-size: .68rem; max-width: 70px; }
  .contact__form-wrap { padding: 1.25rem; }
  .process__steps { grid-template-columns: 1fr; }
  .about__badge { display: none; }
}

/* ===== ACCESIBILIDAD ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ===== HERO URGENCY CHIP ===== */
.hero__urgency {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--white);
  font-size: .82rem;
  font-weight: 500;
  padding: .45em 1.1em;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}
.hero__urgency strong { color: #fde68a; font-weight: 700; }
.hero__urgency-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #f87171;
  flex-shrink: 0;
  animation: pulse-dot 2s infinite;
}

/* ===== GRAIN TEXTURE ===== */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .04;
}
.section--dark { position: relative; overflow: hidden; }
.section--dark::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .025;
  z-index: 0;
}
.section--dark .container,
.section--dark .section__header,
.section--dark > .container { position: relative; z-index: 1; }

/* ===== SPLIT TEXT HERO ===== */
.split-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: word-in .7s cubic-bezier(.22,1,.36,1) forwards;
}
@keyframes word-in { to { opacity: 1; transform: translateY(0); } }

/* ===== NAVBAR CTA SCROLLED ===== */
.navbar.scrolled .navbar__cta {
  box-shadow: 0 4px 16px rgba(61,122,82,.38);
}

/* ===== EQUIPO ===== */
.team__grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 4rem;
  align-items: center;
}
.team__photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.team__photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
  display: block;
}
.team__photo-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: var(--green);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1rem;
  border-radius: var(--radius-full);
  font-size: .78rem;
  font-weight: 700;
  box-shadow: var(--shadow);
}
.team__photo-badge i { color: #fde68a; }
.team__role-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--green);
  background: var(--green-10);
  padding: .3em .9em;
  border-radius: var(--radius-full);
  margin-bottom: .85rem;
}
.team__name {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.team__bio { color: var(--text-muted); margin-bottom: .75rem; line-height: 1.75; }
.team__bio--muted { font-size: .92rem; }
.team__creds {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-block: 1.5rem;
}
.team__creds li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .88rem;
  color: var(--text);
}
.team__creds i { color: var(--green); width: 16px; flex-shrink: 0; }

/* ===== PRECIOS ===== */
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2rem;
}
.pricing-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--transition), box-shadow var(--transition);
  z-index: 1;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(0,0,0,.25); }
.pricing-card--featured {
  background: rgba(255,255,255,.12);
  border-color: var(--green-light);
  box-shadow: 0 0 0 2px var(--green), 0 16px 48px rgba(0,0,0,.2);
  transform: translateY(-6px);
}
.pricing-card--featured:hover { transform: translateY(-10px); }
.pricing-card--featured.visible { transform: translateY(-6px); }
.pricing-card__ribbon {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--green);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .3em .85em .3em;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
.pricing-card__icon {
  width: 48px; height: 48px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--green-light);
}
.pricing-card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: var(--white);
  margin: 0;
}
.pricing-card > p { font-size: .86rem; color: rgba(255,255,255,.6); margin: 0; line-height: 1.6; }
.pricing-card__price {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  flex-wrap: wrap;
}
.pricing-card__from { font-size: .75rem; color: rgba(255,255,255,.55); }
.pricing-card__amount {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}
.pricing-card__currency { font-size: .8rem; color: rgba(255,255,255,.55); }
.pricing-card__saving {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(107,174,135,.2);
  color: var(--green-light);
  font-size: .76rem;
  font-weight: 600;
  padding: .3em .85em;
  border-radius: var(--radius-full);
}
.pricing-card__list {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
}
.pricing-card__list li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .84rem;
  color: rgba(255,255,255,.8);
}
.pricing-card__list i { color: var(--green-light); font-size: .85rem; flex-shrink: 0; }
.pricing-card .btn--outline {
  border-color: rgba(255,255,255,.35);
  color: var(--white);
}
.pricing-card .btn--outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.pricing__note {
  text-align: center;
  font-size: .84rem;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
}
.pricing__note strong { color: rgba(255,255,255,.85); }

/* ===== BLOG / GUÍAS ===== */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-card__img-wrap { position: relative; }
.blog-card__img {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.blog-card__img--green { background: linear-gradient(135deg, var(--green-10), var(--green-20)); color: var(--green); }
.blog-card__img--pink  { background: linear-gradient(135deg, var(--pink-10), rgba(212,136,122,.22)); color: var(--pink); }
.blog-card__img--teal  { background: linear-gradient(135deg, rgba(61,122,82,.06), rgba(61,122,82,.15)); color: var(--green-dark); }
.blog-card__tag {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--white);
  color: var(--green);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .28em .75em;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
}
.blog-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: .6rem;
}
.blog-card__body h3 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--dark);
  line-height: 1.35;
  margin: 0;
}
.blog-card__body p { font-size: .85rem; color: var(--text-muted); line-height: 1.65; margin: 0; flex: 1; }
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: .75rem;
  color: var(--text-muted);
}
.blog-card__meta i { margin-right: .2rem; }
.blog-card__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .83rem;
  font-weight: 600;
  color: var(--green);
  transition: gap var(--transition);
  margin-top: auto;
}
.blog-card__link:hover { gap: .7rem; }
.blog-card__link i { font-size: .75rem; transition: transform var(--transition); }
.blog-card__link:hover i { transform: translateX(3px); }


.contact__map-caption i { color: var(--green); }
.contact__map-caption a { color: var(--green); font-weight: 500; }
.contact__map-caption a:hover { text-decoration: underline; }

/* ===== STICKY BAR MÓVIL ===== */
.sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 850;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  padding: .85rem 1.25rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-bar__text { display: flex; flex-direction: column; }
.sticky-bar__text strong { font-size: .9rem; color: var(--dark); }
.sticky-bar__text small { font-size: .72rem; color: var(--text-muted); }
.sticky-bar__cta { flex-shrink: 0; white-space: nowrap; }

/* Empujar FAB y back-to-top encima de la sticky bar cuando está activa */
@media (max-width: 768px) {
  body.sticky-active .fab-whatsapp-wrap {
    bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
    transition: bottom .35s cubic-bezier(.4,0,.2,1);
  }
  body.sticky-active .back-to-top {
    bottom: calc(4.25rem + env(safe-area-inset-bottom, 0px));
    transition: bottom .35s cubic-bezier(.4,0,.2,1), opacity var(--transition), transform var(--transition);
  }
}

/* ===== VIEW TRANSITIONS ===== */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s ease; }
::view-transition-new(root) { animation: vt-in .28s ease; }
@keyframes vt-out { to   { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in  { from { opacity: 0; transform: translateY(8px);  } }

/* ===== SLIDER CURSOR ===== */
.ba-slider__container { cursor: col-resize; }
.ba-slider__container.dragging { cursor: grabbing; }





/* ===== CONTACT MAP ===== */
.contact__map {
  max-width: 1160px;
  margin-inline: auto;
  margin-top: 2.5rem;
  padding-inline: 1.25rem;
  padding-bottom: 1.5rem;
}
.contact__map-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  flex-wrap: wrap;
  text-align: center;
  margin-top: .85rem;
  font-size: .82rem;
  color: var(--text-muted);
}
.contact__map-caption i { color: var(--green); font-size: .85rem; }
.contact__map-caption a { color: var(--green); font-weight: 600; }
.contact__map-caption a:hover { text-decoration: underline; }

/* ===== RATING SUMMARY BADGE (Testimonios) ===== */
.rating-summary {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: #FFFBEC;
  border: 1px solid #F4C842;
  border-radius: var(--radius-full);
  padding: .45em 1.35em;
  margin-top: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.rating-summary__stars {
  color: #F4B942;
  font-size: .95rem;
  letter-spacing: .04em;
}
.rating-summary__score {
  font-weight: 700;
  font-size: 1rem;
  color: var(--dark);
}
.rating-summary__sep { color: var(--text-muted); }
.rating-summary__text {
  font-size: .82rem;
  color: var(--text-muted);
}

/* ===== BLOG FEATURED CARD ===== */
@media (min-width: 769px) {
  .blog-card--featured .blog-card__img { height: 210px; }
  .blog-card--featured { border-top: 3px solid var(--green); }
  .blog-card--featured .blog-card__body h3 { font-size: 1.15rem; line-height: 1.35; }
  .blog-card--featured .blog-card__tag { background: var(--green); color: var(--white); }
}

/* ===== FORM NOSCRIPT ===== */
.form__noscript {
  text-align: center;
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .25rem;
}
.form__noscript a { color: var(--green); font-weight: 600; }
.form__noscript i { color: var(--green-light); margin-right: .25rem; }

/* Compensar topbar en desktop para anchor scroll */
@media (min-width: 769px) {
  html {
    scroll-padding-top: calc(var(--nav-h) + var(--topbar-h) + 8px);
  }
  .section {
    scroll-margin-top: calc(var(--nav-h) + var(--topbar-h) + 8px);
  }
}

/* ===== PRINT ===== */
@media print {
  .topbar, .navbar, .fab-whatsapp-wrap, .back-to-top, .sticky-bar { display: none; }
  .hero { min-height: auto; color: var(--dark); }
  .hero__bg { display: none; }
}
