:root {
  --c-peach-100: #FAFAFA;
  --c-peach-200: #F0F0F0;
  --c-mauve-100: #af586b;
  --c-mauve-200: #8b3a4b;
  --c-indigo-900: #64576f;
  --font-display: "Playfair Display", serif;
  --font-body: "Montserrat", "Segoe UI", sans-serif;
}

/* ===== Reset básico ===== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-indigo-900);
  font-size: 1.05rem;
  line-height: 1.6;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

html {
  scroll-behavior: smooth;
}

/* ===== Layout general ===== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 3rem 2rem;
  text-align: center;
}

.section {
  padding: 2.5rem 2rem;
  text-align: center;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--c-mauve-200);
}

h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

/* ===== Hero / Header ===== */

header.hero {
  background-color: #fef1f4;
  padding: 2rem 0;
  text-align: center;
  background: url("assets/VESO7.png") top center / cover no-repeat;
  height: 100vh;
  color: var(--c-indigo-900);
  position: relative;
}

.nav {
  text-align: center;
}

.logo {
  max-width: 250px;
  display: inline-block;
}

.menu {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.menu a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}

.menu a:hover {
  color: var(--c-mauve-200);
}

/* Botón hamburguesa – oculto en escritorio */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 10;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  margin: 5px 0;
  transition: transform .3s, opacity .3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  padding-top: 1px !important;
}

.copy h1 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  max-width: 20ch;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .6);
  color: #FFF;
  margin-bottom: 1rem;
}

.copy p {
  color: white;
  margin-bottom: 1.5rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-btn {
  border-color: #fff;
  color: #fff;
}

.hero-btn:hover {
  background: rgba(255,255,255,.2);
}

/* Indicador de scroll */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator span {
  display: block;
  width: 24px;
  height: 24px;
  border-right: 3px solid rgba(255,255,255,.8);
  border-bottom: 3px solid rgba(255,255,255,.8);
  transform: rotate(45deg);
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
  40% { transform: rotate(45deg) translateY(10px); }
  60% { transform: rotate(45deg) translateY(5px); }
}

/* ===== Botones ===== */

.btn {
  padding: .75rem 1.5rem;
  border-radius: .75rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all .3s ease;
  cursor: pointer;
  letter-spacing: .5px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--c-indigo-900);
  color: #fff;
}

.btn.primary:hover {
  background: var(--c-mauve-200);
}

.btn.outline {
  background: transparent;
  color: var(--c-indigo-900);
  border: 2px solid var(--c-indigo-900);
}

.btn.outline:hover {
  background: var(--c-peach-200);
}

.btn.ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--c-indigo-900);
  background: none;
  border: 2px solid var(--c-indigo-900);
  padding: .75rem 1.25rem;
  border-radius: .5rem;
  font-weight: bold;
  margin-top: 1rem;
}

/* ===== Carrusel ===== */

.carousel {
  max-width: 700px;
  margin: auto;
  position: relative;
}

.carousel img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: none;
}

.carousel img.active {
  display: block;
}

/* ===== Etiquetas de sección ===== */
.section-label {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-mauve-100);
  margin-bottom: .5rem;
  max-width: none;
}

.section-label::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--c-mauve-100);
  vertical-align: middle;
  margin-right: .75rem;
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Sobre mí (grid) – diseño profesional laptop ===== */

.sobregrid {
  background: var(--c-peach-200);
  padding: 5rem 0;
}

.sobregrid .container.sobremi-tabs-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.sobremi-tabs-layout .foto {
  position: relative;
  order: 2;
}

.sobremi-tabs-layout .descripcion {
  order: 1;
}

.sobremi-tabs-layout .foto {
  height: 520px;
  overflow: visible;
}

.sobremi-tabs-layout .foto img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  border-radius: 1rem;
  box-shadow: 0 24px 56px rgba(139, 58, 75, .18), 0 12px 28px rgba(0, 0, 0, .08);
  border: 4px solid rgba(255, 255, 255, .95);
  display: block;
}

.foto img {
  border-radius: 1rem;
  box-shadow: 0 24px 56px rgba(139, 58, 75, .18), 0 12px 28px rgba(0, 0, 0, .08);
}

.descripcion h2 {
  margin-bottom: .75rem;
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}

.sobre-intro-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--c-mauve-200);
  max-width: 50ch;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(139, 58, 75, .15);
}

.tab-content .tab-intro {
  font-size: 1.1rem;
  font-weight: 500;
}

.tab-content .tab-firma {
  margin-top: 1.5rem;
  font-style: normal;
  font-weight: 600;
}

.tab-content .tab-firma small {
  font-weight: 400;
  font-size: 0.95em;
}

.tab-content .tab-fecha {
  font-size: 0.9rem;
  color: var(--c-mauve-100);
  margin-bottom: 1rem;
}

.descripcion p {
  text-align: justify;
}

.destellos {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1rem 0 1.25rem;
  justify-content: flex-start;
}

.destellos .tab {
  background: var(--c-peach-100);
  color: var(--c-indigo-900);
  padding: .5rem 1rem;
  border-radius: 9999px;
  font-size: .8rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  font-family: inherit;
}

.destellos .tab:hover {
  border-color: var(--c-mauve-100);
  background: #fff;
}

.destellos .tab.active {
  background: var(--c-mauve-200);
  color: #fff;
  border-color: var(--c-mauve-200);
  box-shadow: 0 4px 12px rgba(139, 58, 75, .25);
}

/* Contenido de tabs */
.tab-content {
  display: none;
  animation: tabFadeIn .4s ease;
}

.tab-content.active {
  display: block;
}

.tab-content p {
  line-height: 1.7;
  max-width: 48ch;
}

.sobremi-tabs-layout .descripcion .section-label {
  margin-bottom: 0.35rem;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.sobremi-tabs-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

blockquote {
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--c-indigo-900);
  border-left: 4px solid var(--c-mauve-200);
  padding-left: 1rem;
}

/* Contenedor estándar para secciones (simetría y max-width) */
.section-inner {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.section-inner > .section-label {
  text-align: center;
  margin-bottom: 0.5rem;
}

/* ===== Mentorías ===== */

.mentorias {
  background: #fff;
  padding: 4rem 1.5rem;
  color: var(--c-indigo-900);
  text-align: center;
}

.mentorias-layout {
  max-width: 1000px;
}

.mentorias-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 0.5rem;
}

.mentorias-content .intro {
  text-align: left;
}

.mentorias-foto {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(139, 58, 75, .12);
}

.mentorias-foto img {
  width: 100%;
  height: auto;
  min-height: 280px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.mentorias-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
}

.mentorias h2 {
  margin-bottom: 1rem;
}

.mentorias .frase {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--c-mauve-200);
  padding-bottom: 1.5rem;
  border-bottom: 2px solid rgba(139, 58, 75, .12);
}

.mentorias h3 {
  margin-top: 1.5rem;
  color: var(--c-mauve-100);
}

.checklist,
.bullet {
  padding-left: 4rem;
  list-style: none;
  text-align: justify;
}

.checklist li::before {
  content: "✓";
  margin-right: .5rem;
  color: var(--c-indigo-900);
}

.bullet li::before {
  content: "•";
  margin-right: .5rem;
  color: var(--c-mauve-100);
}

.bullet.purple li::before {
  content: "✔️ ";
  color: var(--c-indigo-900);
}

.info-box {
  background: var(--c-peach-100);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.tarifas {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.card {
  background: white;
  padding: 1rem 1.5rem;
  border-radius: .75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.card p {
  margin: 0;
}

/* ===== Dermatología ===== */

.dermatologia {
  background-color: var(--c-peach-200);
  padding: 4rem 1.5rem;
  color: var(--c-indigo-900);
  text-align: center;
}

.dermatologia .section-label {
  margin-bottom: 0.5rem;
}

.dermatologia h2 {
  margin-bottom: 0.5rem;
}

.dermatologia .intro {
  max-width: 56ch;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}

.servicios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.card-servicio {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(139, 58, 75, .08);
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .3s ease, box-shadow .3s ease;
}

.card-servicio:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(139, 58, 75, .15);
}

.card-servicio .btn {
  margin-top: auto;
}

.card-servicio h3 {
  white-space: nowrap;
}

.card-servicio .duracion,
.card-servicio .precio {
  margin-bottom: 1rem;
  color: var(--c-mauve-200);
}

.galeria {
  margin-top: 3rem;
}

#caso {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .1);
}

#caso img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
}

.caso-zoom-hint {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, .6);
  color: #fff;
  padding: .4rem .8rem;
  border-radius: 2rem;
  font-size: .8rem;
  pointer-events: none;
}

/* Lightbox zoom overlay */
.zoom-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: rgba(0, 0, 0, .95);
}

.zoom-overlay.active {
  display: block;
}

.zoom-close {
  position: fixed;
  top: 0.75rem;
  right: 1rem;
  background: rgba(255,255,255,.15);
  border: none;
  color: #fff;
  font-size: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zoom-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
}

.zoom-container img {
  max-width: none;
  max-height: none;
  transform-origin: 0 0;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

/* ===== Charlas ===== */

.charlas {
  background-color: var(--c-peach-100);
  padding: 4rem 1.5rem;
}

.charlas-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.charlas-flex > .section-label {
  grid-column: 1 / -1;
}

.charlas .video-wrapper {
  justify-self: center;
  max-width: 380px;
}

.charlas .texto {
  text-align: left;
}

.charlas .texto h2 {
  margin-bottom: 1rem;
}

.charlas .texto p {
  margin-bottom: 1.5rem;
  max-width: 48ch;
}

.video-wrapper {
  background: #fff;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  max-width: 320px;
  flex: 1 1 280px;
}

.video-vertical {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

/* ===== Testimonios ===== */
.testimonios {
  background: linear-gradient(135deg, #f0edf6 0%, #e8e3f0 50%, #f5f0fa 100%);
  padding: 5rem 1.5rem;
  color: var(--c-indigo-900);
}

.testimonios .section-label {
  text-align: center;
}

.testimonios h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.testimonios-subtitulo {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: var(--c-mauve-200);
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.testimonios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}

.testimonio-card {
  background: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 8px 30px rgba(80, 50, 120, 0.1);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 44px rgba(80, 50, 120, 0.16);
}

.testimonio-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--c-mauve-200);
  margin-bottom: 1rem;
  flex-shrink: 0;
}

.testimonio-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testimonio-nombre {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--c-indigo-900);
  margin: 0;
}

.testimonio-rol {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  color: var(--c-mauve-200);
  margin: 0.15rem 0 1rem;
  letter-spacing: 0.3px;
}

.testimonio-body {
  width: 100%;
  position: relative;
}

.testimonio-cita-wrap {
  max-height: 130px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.45s ease;
}

.testimonio-cita-wrap::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: linear-gradient(transparent, #fff);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.testimonio-cita-wrap.expanded {
  max-height: 800px;
}

.testimonio-cita-wrap.expanded::after {
  opacity: 0;
}

.testimonio-cita-wrap p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 0.6rem;
  text-align: left;
}

.testimonio-toggle {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.4rem 1.2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-mauve-200);
  background: transparent;
  border: 1.5px solid var(--c-mauve-200);
  border-radius: 2rem;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.testimonio-toggle:hover {
  background: var(--c-mauve-200);
  color: #fff;
}

@media (max-width: 768px) {
  .testimonios {
    padding: 3rem 1rem;
  }

  .testimonios-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonio-card {
    padding: 1.5rem 1.25rem;
  }

  .testimonio-avatar {
    width: 80px;
    height: 80px;
  }

  .testimonio-cita-wrap {
    max-height: 110px;
  }
}

/* ===== Podcast ===== */

.podcast {
  background-color: var(--c-peach-200);
  padding: 4rem 1.5rem;
}

.podcast-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.podcast-flex > .section-label {
  grid-column: 1 / -1;
}

.podcast .info {
  text-align: left;
}

.podcast .info p {
  max-width: 48ch;
}

.podcast-desc {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--c-mauve-200);
  font-size: 0.95rem;
}

.podcast-plataformas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  min-width: 0;
}

.podcast-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(139, 58, 75, .08);
  border: 2px solid transparent;
  text-decoration: none;
  color: var(--c-indigo-900);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.podcast-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(139, 58, 75, .15);
  border-color: var(--c-mauve-100);
}

.podcast-card-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.podcast-card-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--c-mauve-200);
}

.podcast-card-cta {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--c-mauve-100);
}

.podcast-card.podcast-apple .podcast-card-title { color: var(--c-mauve-200); }
.podcast-card.podcast-youtube .podcast-card-title { color: #c4302b; }
.podcast-card.podcast-youtube:hover { border-color: rgba(196, 48, 43, .4); }

.podcast .icon {
  width: 24px;
  height: 24px;
}

/* ===== Galería ===== */

.migaleria {
  background-color: #fff;
  padding: 4rem 1.5rem;
  text-align: center;
}

.migaleria .section-label {
  margin-bottom: 0.5rem;
}

.migaleria h2 {
  margin-bottom: 0.5rem;
}

.migaleria > .container > p {
  max-width: 52ch;
  margin: 0 auto 2rem;
}

.grid-galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.grid-galeria img {
  width: 100%;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.grid-galeria img:hover {
  transform: scale(1.05);
}

/* Navegación carrusel galería – oculta en desktop */
.galeria-nav {
  display: none;
}

/* ===== eBook exclusivo – 3 guías gratuitas ===== */

.ebook {
  background-color: var(--c-peach-200);
  padding: 4rem 1rem;
}

.ebook-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.ebook-header .section-label {
  margin-bottom: 0.5rem;
}

.ebook-header h2 {
  margin-bottom: 0.35rem;
}

.ebook-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-mauve-200);
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.ebook-intro {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-indigo-900);
}

.ebook-body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
  max-width: 1100px;
  margin: 0 auto;
}

.ebook-slides {
  display: contents;
}

.ebook-track {
  display: contents;
}

.ebook-carousel-nav {
  display: none;
}

/* Primera columna: portada del eBook (misma altura que las guías) */
.ebook-portada {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.ebook-portada .ebook-imagen {
  width: 100%;
  margin-bottom: 0.75rem;
  flex: 1;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ebook-portada .ebook-imagen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0.75rem;
  display: block;
}

.ebook-portada-texto {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-mauve-200);
  margin: 0;
}


.guia-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.guia-card:hover {
  box-shadow: 0 12px 28px rgba(139, 58, 75, .12);
}

.guia-card.guia-proximamente {
  opacity: 0.85;
}

.guia-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.guia-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.guia-card p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  max-width: none;
}

.guia-card .btn {
  margin-top: auto;
}

.btn-disabled {
  background: var(--c-peach-200) !important;
  color: var(--c-indigo-900) !important;
  border: 2px solid var(--c-mauve-100) !important;
  cursor: not-allowed;
  opacity: 0.9;
}

.btn-disabled:hover {
  transform: none;
}

/* ===== Contacto ===== */

.contacto {
  background-color: var(--c-peach-100);
  padding: 1.6rem 1.5rem;
  text-align: center;
}

.contacto .section-inner {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.contacto .section-label {
  margin-bottom: 0.5rem;
}

.contacto h2 {
  margin-bottom: 0.5rem;
}

.contacto > .container > p {
  margin-bottom: 2rem;
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}

.formulario {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

.formulario input,
.formulario textarea {
  padding: 0.75rem;
  border: 1px solid var(--c-mauve-100);
  border-radius: 0.5rem;
  font-family: var(--font-body);
  font-size: inherit;
}

.formulario button {
  align-self: center;
}

#contacto {
  height: 100vh;
  background: url("assets/salon.jpeg") top center / cover no-repeat;
  position: relative;
}

#contacto::before {
  background: rgba(0, 0, 0, .55);
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#contacto .container {
  position: relative;
  z-index: 1;
}

#contacto h2 {
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, .6);
}

#contacto p,
#contacto label {
  color: #fff;
}

#contacto input,
#contacto textarea {
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
  color: #333;
}

#contacto .btn.primary {
  background: #64576f;
}

#contacto .btn.primary:hover {
  background: #8b3a4b;
}

#contacto .footer-redes-titulo { color: rgba(255,255,255,.95); }
#contacto .footer-mas-cuentas {\n  font-size: 0.85rem;\n  color: var(--c-indigo-900);\n  opacity: 0.9;\n  margin-bottom: 1rem;\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  gap: 0.5rem;\n}\n\n.footer-mas-cuentas a {\n  display: inline-block;\n  padding: 0.3rem 0.9rem;\n  background: rgba(255, 255, 255, .9);\n  color: var(--c-mauve-200);\n  border-radius: 999px;\n  border: 1px solid var(--c-mauve-100);\n  font-weight: 500;\n  text-decoration: none;\n  margin: 0 0.15rem;\n}\n\n.footer-mas-cuentas a:hover {\n  background: var(--c-mauve-200);\n  color: #fff;\n  border-color: var(--c-mauve-200);\n}
#contacto .footer-mas-cuentas a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
#contacto .footer-mas-cuentas a:hover { opacity: .9; }
#contacto .footer-contacto { color: rgba(255,255,255,.9); }
#contacto .footer-contacto a { color: #fff; }
#contacto .footer-copy { color: rgba(255,255,255,.75); }
#contacto .footer-icon { background: rgba(255,255,255,.2); color: #fff; border-color: rgba(255,255,255,.5); }
#contacto .footer-icon:hover { background: #fff; color: var(--c-mauve-200); border-color: #fff; }
#contacto .site-footer { border-top-color: rgba(255,255,255,.2); }

/* ===== Footer ===== */

.site-footer {
  padding: 1.5rem 1.5rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(139, 58, 75, .15);
  margin-top: 2rem;
}

.footer-redes-titulo {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-mauve-200);
  margin-bottom: 1rem;
}

.footer-redes-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.footer-icon {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, .9);
  color: var(--c-mauve-200);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 2rem;
  border: 2px solid var(--c-mauve-100);
  transition: background .25s, color .25s, border-color .25s;
}

.footer-icon:hover {
  background: var(--c-mauve-200);
  color: #fff;
  border-color: var(--c-mauve-200);
}

.footer-mas-cuentas {\n  font-size: 0.85rem;\n  color: var(--c-indigo-900);\n  opacity: 0.9;\n  margin-bottom: 1rem;\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  gap: 0.5rem;\n}\n\n.footer-mas-cuentas a {\n  display: inline-block;\n  padding: 0.3rem 0.9rem;\n  background: rgba(255, 255, 255, .9);\n  color: var(--c-mauve-200);\n  border-radius: 999px;\n  border: 1px solid var(--c-mauve-100);\n  font-weight: 500;\n  text-decoration: none;\n  margin: 0 0.15rem;\n}\n\n.footer-mas-cuentas a:hover {\n  background: var(--c-mauve-200);\n  color: #fff;\n  border-color: var(--c-mauve-200);\n}

.footer-mas-cuentas a {
  color: var(--c-mauve-200);
  text-decoration: none;
  font-weight: 500;
}

.footer-mas-cuentas a:hover {
  text-decoration: underline;
}

.footer-contacto {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-contacto a {
  color: var(--c-mauve-200);
  font-weight: 600;
  text-decoration: none;
}

.footer-contacto a:hover {
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--c-indigo-900);
  opacity: 0.8;
}

footer {
  font-size: 0.85rem;
  letter-spacing: .5px;
}

footer p {
  max-width: none;
}

/* ===== WhatsApp flotante ===== */

.whatsapp-float {
  position: fixed;
  bottom: 8px;
  right: 20px;
  z-index: 999;
}

.whatsapp-float img {
  width: 60px;
  height: 60px;
}

/* ==========================================================
   RESPONSIVO – Tablet (≤ 768px)
   ========================================================== */

@media (max-width: 768px) {

  /* -- Layout general – márgenes uniformes -- */
  section {
    padding: 2.5rem 1.25rem;
  }

  .container {
    padding: 0 1rem;
  }

  p {
    max-width: 100%;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }
  h3 { font-size: 1.15rem; }
  body { font-size: 1rem; }

  /* -- Hero -- */
  header.hero {
    height: auto;
    min-height: 100dvh;
    padding: 0 0 2rem;
    background-position: 25% center;
  }

  .scroll-indicator {
    bottom: 1rem;
  }

  .scroll-indicator span {
    width: 18px;
    height: 18px;
  }

  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    text-align: left;
  }

  .logo {
    max-width: 150px;
  }

  .menu-toggle {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(100, 87, 111, 0.95);
    border-radius: 0.75rem;
    padding: 1rem 0;
    margin-top: 0.5rem;
    gap: 0;
  }

  .menu.open {
    display: flex;
  }

  .menu li {
    text-align: center;
  }

  .menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #fff;
  }

  .menu a:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  .banner {
    justify-content: flex-end;
    text-align: right;
    padding: 0 1rem 0 !important;
    min-height: calc(100dvh - 60px);
    flex-direction: column;
    align-items: flex-end;
  }

  .copy {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    margin-top: auto;
    margin-bottom: -33px;
    background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.4) 70%, transparent 100%);
    padding: 1.5rem 1rem 6rem;
    margin-left: -1rem;
    margin-right: -1rem;
    width: calc(100% + 2rem);
  }

  .copy h1 {
    max-width: 100%;
    text-align: right;
    font-size: 1.6rem;
    text-shadow: 0 2px 8px rgba(0,0,0,.8);
  }

  .copy p {
    max-width: 100%;
    text-align: right;
    margin-left: auto;
    margin-right: 0;
    text-shadow: 0 1px 6px rgba(0,0,0,.8);
  }

  .cta-group {
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
  }

  .cta-group .btn {
    width: auto;
    text-align: center;
  }

  /* -- Sobre mí: foto a ancho completo, texto ocupa todo el recuadro -- */
  #sobremi.sobregrid {
    overflow-x: hidden;
  }

  .sobregrid .container.sobremi-tabs-layout {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 1.25rem;
    padding: 0;
    min-height: 420px;
    background: var(--c-peach-200);
    margin-left: -1rem;
    margin-right: -1rem;
    width: calc(100% + 2rem);
    max-width: none;
  }

  .sobremi-tabs-layout .foto {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: auto;
    margin: 0;
    order: unset;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
  }

  .sobremi-tabs-layout .foto img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.7;
    margin: 0;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }

  .sobremi-tabs-layout .descripcion {
    position: relative;
    z-index: 1;
    order: unset;
    padding: 2rem 2rem 2.5rem;
    background: rgba(255, 255, 255, 0.72);
    margin: 0.75rem;
    border-radius: 1rem;
    color: #1a1a1a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    width: auto;
    max-width: none;
    box-sizing: border-box;
  }

  .sobremi-tabs-layout .descripcion .tab-content p,
  .sobremi-tabs-layout .descripcion .tab-content blockquote {
    max-width: none !important;
    width: 100%;
  }

  .sobremi-tabs-layout .descripcion h2 {
    color: #1a1a1a;
    text-shadow: 0 0 1px rgba(255,255,255,1), 0 1px 3px rgba(255,255,255,0.9), 0 1px 2px rgba(0,0,0,0.15);
  }

  .sobremi-tabs-layout .descripcion p,
  .sobremi-tabs-layout .descripcion blockquote {
    color: #1a1a1a;
    text-shadow: 0 0 1px rgba(255,255,255,1), 0 1px 2px rgba(255,255,255,0.85), 0 1px 1px rgba(0,0,0,0.1);
  }

  .sobremi-tabs-layout .descripcion .btn {
    font-weight: 600;
    border-width: 2px;
    color: #1a1a1a;
  }

  .foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .sobremi-tabs-layout .descripcion p {
    text-align: left;
    max-width: none;
  }

  blockquote {
    text-align: left;
    margin-left: 0;
  }

  /* -- Mentorías -- */
  .mentorias-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .mentorias-foto {
    display: none;
  }

  .checklist,
  .bullet {
    padding-left: 1.5rem;
  }

  .info-box {
    padding: 1.5rem;
  }

  /* -- Dermatología -- */
  .servicios {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .card-servicio {
    width: 100%;
    max-width: 320px;
  }

  #caso {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0.75rem;
  }

  #caso img {
    width: auto;
    height: 60vh;
    max-width: none;
  }

  /* -- Charlas -- */
  .charlas-flex {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .charlas .texto {
    max-width: 100%;
    text-align: center;
  }

  .charlas .texto p,
  .podcast .info p,
  .ebook-intro,
  .mentorias p,
  .mentorias .frase,
  .dermatologia .intro {
    max-width: 100%;
  }

  .video-wrapper {
    max-width: 100%;
    width: 100%;
  }

  /* -- Podcast -- */
  .podcast-flex {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

  .podcast .info {
    width: 100%;
  }

  .podcast-plataformas {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .podcast-card {
    padding: 1.5rem 1.25rem;
  }

  /* -- Galería → carrusel en móvil -- */
  .grid-galeria {
    display: flex;
    overflow: hidden;
    position: relative;
  }

  .grid-galeria img {
    min-width: 100%;
    flex-shrink: 0;
    display: none;
    border-radius: 0.75rem;
  }

  .grid-galeria img.slide-active {
    display: block;
    animation: slideFade .4s ease;
  }

  @keyframes slideFade {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  .galeria-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
  }

  .galeria-prev,
  .galeria-next {
    background: var(--c-mauve-200);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s;
    line-height: 1;
  }

  .galeria-prev:hover,
  .galeria-next:hover {
    background: var(--c-mauve-100);
  }

  .galeria-dots {
    display: flex;
    gap: 0.4rem;
  }

  .galeria-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--c-peach-200);
    border: 2px solid var(--c-mauve-100);
    transition: background .25s;
  }

  .galeria-dots .dot.active {
    background: var(--c-mauve-200);
    border-color: var(--c-mauve-200);
  }

  /* -- eBook -- */
  .ebook-header {
    margin-bottom: 2rem;
  }

  .ebook-body {
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
    max-width: 100%;
    overflow-x: hidden;
  }

  .ebook-slides {
    display: block;
    width: 100%;
    min-height: 320px;
    overflow: hidden;
    flex-shrink: 0;
  }

  .ebook-track {
    display: flex;
    width: 400%;
    min-height: 320px;
    transition: transform 0.35s ease;
    transform: translateX(0);
  }

  .ebook-track .guia-card {
    flex: 0 0 25%;
    width: 25%;
    box-sizing: border-box;
    flex-shrink: 0;
  }

  .ebook-carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 0.5rem 0;
  }

  .ebook-prev,
  .ebook-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--c-mauve-200);
    background: #fff;
    color: var(--c-mauve-200);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s, color 0.25s;
  }

  .ebook-prev:hover,
  .ebook-next:hover {
    background: var(--c-mauve-200);
    color: #fff;
  }

  .ebook-dots {
    display: flex;
    gap: 0.35rem;
  }

  .ebook-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--c-peach-200);
    border: 2px solid var(--c-mauve-100);
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s;
  }

  .ebook-dots .dot.active {
    background: var(--c-mauve-200);
    border-color: var(--c-mauve-200);
  }

  .ebook-portada .ebook-imagen img {
    max-height: 220px;
    object-fit: cover;
  }

  .ebook-imagen {
    min-height: 180px;
  }

  /* -- Contacto -- */
  #contacto {
    height: auto;
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .formulario {
    max-width: 100%;
  }
}

/* ==========================================================
   RESPONSIVO – Móvil pequeño (≤ 480px)
   ========================================================== */

@media (max-width: 480px) {

  .container {
    padding: 0 1rem;
  }

  section {
    padding: 2rem 1rem;
  }

  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }
  body { font-size: 0.95rem; }

  .cta-group .btn {
    width: 100%;
    padding: 0.65rem 1rem;
  }

  .logo {
    max-width: 110px;
  }

  /* -- Sobre mí -- */
  .foto img {
    width: 160px;
  }

  .destellos .tab {
    font-size: 0.7rem;
    padding: 0.25rem 0.6rem;
  }

  /* -- Mentorías -- */
  .checklist,
  .bullet {
    padding-left: 1rem;
  }

  /* -- Caso -- */
  #caso img {
    height: 50vh;
  }

  /* -- Footer -- */
  footer {
    font-size: 0.8rem;
  }
}


