/* ================================================================
   LANDING · ESTÉTICA LITTLE BIG PLANET
   Texturas artesanales, collage, bordes orgánicos, calidez
   Estilo cosido y abotonado — paleta pastel ampliada

   PALETA PASTEL:
   - Fondo papel:    #f7f2ea (beige claro)
   - Blanco roto:    #fdfaf5
   - Menta pastel:   #c8f0d5
   - Menta suave:    #dbf5e4
   - Teal pastel:    #9dd5d5
   - Teal suave:     #bae3e3
   - Teal oscuro:    #4a9e9e
   - Rosa pastel:    #f5d4e6
   - Rosa suave:     #fce4ed
   - Rosa acento:    #e8a0c4
   - Lila pastel:    #d9d0f0
   - Lila suave:     #e8e3f7
   - Amarillo pastel:#f5edc8
   - Durazno pastel: #f5d9c8
   - Celeste pastel: #c8e6f0
   - Texto:          #3d3d3d
   - Línea cosida:   #5a5a5a
   ================================================================ */

/* ===== FUENTES ===== */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400&display=swap');

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Atkinson Hyperlegible', 'Segoe UI', sans-serif;
  color: #3d3d3d;
  line-height: 1.7;
  overflow-x: hidden;
  background: #f7f2ea;
}

h1, h2, h3, h4, h5 {
  font-family: 'Fredoka', 'Segoe UI', sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* ===== DECORACIONES COSIDAS (puntadas) ===== */

/* Línea de costura horizontal */
.stitch-line {
  position: relative;
  height: 6px;
  width: 100%;
  max-width: 300px;
  margin: 16px auto;
  background: transparent;
}
.stitch-line::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 50%;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    #5a5a5a 0px, #5a5a5a 6px,
    transparent 6px, transparent 12px
  );
  transform: translateY(-50%);
  opacity: 0.3;
}

/* Puntadas decorativas en esquinas (como si estuviera cosido) */
.stitch-corner {
  position: relative;
}
.stitch-corner::before,
.stitch-corner::after {
  content: '✧';
  position: absolute;
  font-size: 12px;
  color: #5a5a5a;
  opacity: 0.2;
}
.stitch-corner::before { top: -6px; left: -6px; }
.stitch-corner::after  { bottom: -6px; right: -6px; }

/* ===== BOTONES (elementos decorativos) ===== */
.btn-deco {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  background: linear-gradient(145deg, #d9d0f0, #c8e6f0);
  border-radius: 50%;
  border: 3px solid #5a5a5a;
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.06),
    0 2px 0 #5a5a5a;
  font-size: 14px;
  flex-shrink: 0;
  position: relative;
}
.btn-deco::after {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  background: radial-gradient(circle, #5a5a5a 30%, transparent 70%);
  border-radius: 50%;
  box-shadow:
    0 0 0 1.5px rgba(90,90,90,0.15),
    0 0 0 3px rgba(90,90,90,0.08);
}

/* ===== BOTÓN REAL (interactivo) con aspecto de botón cosido ===== */
.btn-stitch {
  position: relative;
  padding: 14px 32px;
  border: 3px solid #3d3d3d;
  border-radius: 30px 10px 30px 10px;
  font-family: 'Fredoka', sans-serif;
  font-size: 16px; font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.2s ease;
  box-shadow:
    4px 4px 0 #3d3d3d,
    inset 0 1px 2px rgba(255,255,255,0.6);
}
.btn-stitch::before {
  content: '';
  position: absolute;
  inset: -6px;
  border: 2px dashed #b0a898;
  border-radius: 36px 14px 36px 14px;
  opacity: 0.4;
  pointer-events: none;
}
.btn-stitch:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #3d3d3d;
}

.btn-stitch-primary {
  background: #4a9e9e;
  color: white;
}
.btn-stitch-primary:hover {
  background: #3d8a8a;
}

.btn-stitch-outline {
  background: transparent;
  color: #4a9e9e;
}
.btn-stitch-outline:hover {
  background: rgba(255,255,255,0.4);
}

/* Botón hero "Revisa mi agenda" — llamativo con glow pastel */
.btn-stitch-hero-agenda {
  background: linear-gradient(135deg, #e8a0c4, #f5d4e6);
  color: #3d3d3d;
  font-size: 18px;
  padding: 16px 36px;
  border-color: #3d3d3d;
  box-shadow:
    4px 4px 0 #3d3d3d,
    0 0 20px rgba(232,160,196,0.3),
    inset 0 1px 2px rgba(255,255,255,0.6);
  animation: pulse-glow 2s ease-in-out infinite;
}
.btn-stitch-hero-agenda:hover {
  background: linear-gradient(135deg, #f5d4e6, #e8a0c4);
  box-shadow:
    6px 6px 0 #3d3d3d,
    0 0 30px rgba(232,160,196,0.5),
    inset 0 1px 2px rgba(255,255,255,0.6);
  transform: translate(-2px, -2px) scale(1.02);
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 4px 4px 0 #3d3d3d, 0 0 20px rgba(232,160,196,0.3); }
  50% { box-shadow: 4px 4px 0 #3d3d3d, 0 0 35px rgba(232,160,196,0.5); }
}

/* Botones más llamativos en general */
.btn-stitch-primary, .btn-login-nav {
  background: linear-gradient(135deg, #4a9e9e, #3d8a8a) !important;
  box-shadow: 4px 4px 0 #3d3d3d, 0 0 15px rgba(74,158,158,0.2) !important;
}
.btn-stitch-primary:hover, .btn-login-nav:hover {
  box-shadow: 6px 6px 0 #3d3d3d, 0 0 25px rgba(74,158,158,0.4) !important;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 40px;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.navbar.scrolled {
  background: rgba(247, 242, 234, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.navbar .logo {
  font-family: 'Fredoka', sans-serif;
  font-size: 22px; font-weight: 700;
  color: #4a9e9e;
  text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.navbar .logo img { height: 38px; width: auto; }
.navbar .nav-links { display: flex; align-items: center; gap: 24px; }
.navbar .nav-links a {
  color: #3d3d3d;
  text-decoration: none;
  font-size: 15px; font-weight: 500;
  transition: color 0.3s;
  position: relative;
}
.navbar .nav-links a:not(.btn-nav-tutor):not(.btn-nav-agenda):not(.btn-login-nav):not(.nav-soporte)::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 0;
  height: 3px;
  background: #c8f0d5;
  border-radius: 3px;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s ease;
}
.navbar .nav-links a:not(.btn-nav-tutor):not(.btn-nav-agenda):not(.btn-login-nav):not(.nav-soporte):hover::after { transform: scaleX(1); transform-origin: left; }
.navbar .nav-links a:not(.btn-nav-tutor):not(.btn-nav-agenda):not(.btn-login-nav):not(.nav-soporte):hover { color: #4a9e9e; }

/* Botones planos del navbar — estilo cosido en teal pastel */
.btn-nav-plain {
  background: linear-gradient(135deg, #dbf5e4, #c8f0d5) !important;
  color: #3d3d3d !important;
  padding: 6px 16px !important;
  border-radius: 30px 8px 30px 8px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  border: 2.5px solid #3d3d3d;
  box-shadow: 3px 3px 0 #3d3d3d;
  transition: all 0.25s ease !important;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-nav-plain::after { display: none !important; }
.btn-nav-plain:hover {
  transform: translate(-2px, -2px) !important;
  box-shadow: 5px 5px 0 #3d3d3d !important;
  background: linear-gradient(135deg, #c8f0d5, #bae3e3) !important;
  color: #3d3d3d !important;
}

/* Botón "Soporte" en navbar — contrastante, lila */
.nav-soporte {
  background: linear-gradient(135deg, #d9d0f0, #c4b8e8) !important;
  color: #3d3d3d !important;
  padding: 8px 18px;
  border-radius: 30px 10px 30px 10px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  border: 3px solid #3d3d3d;
  box-shadow: 3px 3px 0 #3d3d3d;
  transition: all 0.3s ease !important;
}
.nav-soporte::after { display: none !important; }
.nav-soporte:hover {
  transform: translate(-2px, -2px) !important;
  box-shadow: 5px 5px 0 #3d3d3d !important;
  background: linear-gradient(135deg, #c4b8e8, #d9d0f0) !important;
}

/* Botón "Revisa mi agenda" en navbar — rosa llamativo */
.btn-nav-agenda {
  background: linear-gradient(135deg, #e8a0c4, #f5d4e6) !important;
  color: #3d3d3d !important;
  padding: 8px 18px;
  border-radius: 30px 10px 30px 10px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  border: 3px solid #3d3d3d;
  box-shadow: 3px 3px 0 #3d3d3d, 0 0 12px rgba(232,160,196,0.25);
  transition: all 0.3s ease !important;
}
.btn-nav-agenda::after { display: none !important; }
.btn-nav-agenda:hover {
  transform: translate(-2px, -2px) !important;
  box-shadow: 5px 5px 0 #3d3d3d, 0 0 20px rgba(232,160,196,0.4) !important;
}

/* Botón "Acceso tutores" en navbar — durazno */
.btn-nav-tutor {
  background: linear-gradient(135deg, #f5d9c8, #f5edc8) !important;
  color: #3d3d3d !important;
  padding: 8px 18px;
  border-radius: 30px 10px 30px 10px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  border: 3px solid #3d3d3d;
  box-shadow: 3px 3px 0 #3d3d3d;
  transition: all 0.3s ease !important;
}
.btn-nav-tutor::after { display: none !important; }
.btn-nav-tutor:hover {
  transform: translate(-2px, -2px) !important;
  box-shadow: 5px 5px 0 #3d3d3d !important;
}

.btn-login-nav {
  background: linear-gradient(135deg, #4a9e9e, #3d8a8a) !important;
  color: white !important;
  padding: 10px 24px;
  border-radius: 30px 10px 30px 10px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  border: 3px solid #3d8a8a;
  box-shadow: 3px 3px 0 #3d8a8a, 0 0 12px rgba(74,158,158,0.2);
}
.btn-login-nav::after { display: none !important; }
.btn-login-nav:hover {
  transform: translate(-2px, -2px) !important;
  box-shadow: 5px 5px 0 #3d8a8a !important;
}

/* ===== HAMBURGUESA (menú móvil) ===== */
.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fdfaf5;
  border: 3px solid #3d3d3d;
  border-radius: 12px 4px 12px 4px;
  box-shadow: 2px 2px 0 #3d3d3d;
  cursor: pointer;
  font-family: 'Fredoka', sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  color: #4a9e9e;
  transition: all 0.2s ease;
}
.hamburger:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #3d3d3d;
  background: #dbf5e4;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  padding: 100px 40px 60px;
  background: linear-gradient(
    135deg,
    #f5d9c8 0%,
    #f5edc8 18%,
    #fdfaf5 36%,
    #dbf5e4 54%,
    #e8e3f7 72%,
    #fce4ed 90%,
    #f7f2ea 100%
  );
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 15% 25%, rgba(200,240,213,0.5) 0%, transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(245,212,230,0.4) 0%, transparent 45%),
    radial-gradient(circle at 50% 75%, rgba(217,208,240,0.3) 0%, transparent 50%),
    radial-gradient(circle at 25% 80%, rgba(245,237,200,0.25) 0%, transparent 40%),
    radial-gradient(circle at 75% 65%, rgba(200,230,240,0.2) 0%, transparent 40%);
  pointer-events: none;
  z-index: 0;
}
.hero-content {
  position: relative; z-index: 1;
  text-align: center; max-width: 750px;
  display: flex; flex-direction: column; align-items: center;
}

/* Elementos decorativos collage LBP */
.hero-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0.12;
  font-size: 80px;
  z-index: 0;
  font-family: 'Fredoka', sans-serif;
}
.hero-deco-1 { top: 8%; left: 4%; transform: rotate(-15deg); color: #f5d4e6; }
.hero-deco-2 { bottom: 12%; right: 6%; transform: rotate(20deg); color: #d9d0f0; }
.hero-deco-3 { top: 55%; left: 88%; transform: rotate(-10deg); color: #c8f0d5; }
.hero-deco-4 { bottom: 28%; left: 10%; transform: rotate(30deg); color: #f5edc8; }

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  padding: 8px 24px;
  border-radius: 30px 10px 30px 10px;
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 16px;
  border: 2px solid #3d3d3d;
  font-weight: 600;
  font-family: 'Fredoka', sans-serif;
}

.hero h1 {
  font-size: 48px; color: #3d8a8a;
  margin-bottom: 12px; line-height: 1.15;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, #c8f0d5, #f5d4e6);
  padding: 0 10px;
  border-radius: 16px 4px 16px 4px;
  display: inline-block;
}

.hero .subtitle {
  font-size: 19px; color: #4a9e9e;
  margin-bottom: 16px; font-weight: 400;
}
.hero p {
  font-size: 17px; color: #555;
  max-width: 580px; margin: 0 auto 32px;
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.scroll-indicator {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  color: #5a5a5a; font-size: 13px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  animation: bounce 2s infinite; z-index: 1;
  font-family: 'Fredoka', sans-serif;
  opacity: 0.5;
}
.scroll-indicator .arrow {
  width: 20px; height: 20px;
  border-right: 3px solid #5a5a5a;
  border-bottom: 3px solid #5a5a5a;
  transform: rotate(45deg);
  border-radius: 2px;
}
@keyframes bounce {
  0%,20%,50%,80%,100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ================================================================
   SECCIÓN TERAPEUTA — COSIDA Y ABOTONADA
   ================================================================ */
.therapist-section {
  padding: 80px 40px;
  background: #fdfaf5;
  position: relative;
  overflow: hidden;
  border-top: 4px dashed #d4cfc5;
  border-bottom: 4px dashed #d4cfc5;
}
.therapist-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 20px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0px, transparent 20px,
    rgba(90,90,90,0.06) 20px, rgba(90,90,90,0.06) 22px
  );
}
.therapist-section::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 20px;
  background: repeating-linear-gradient(
    90deg,
    rgba(90,90,90,0.06) 0px, rgba(90,90,90,0.06) 2px,
    transparent 2px, transparent 22px
  );
}

.therapist-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 50px;
  align-items: center;
  position: relative;
}

/* Foto terapeuta con marco cosido */
.therapist-photo-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.therapist-photo-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  border-radius: 40% 20% 40% 20% / 30% 45% 20% 50%;
  border: 5px solid #3d3d3d;
  overflow: hidden;
  box-shadow:
    8px 8px 0 rgba(0,0,0,0.08),
    16px 16px 0 rgba(245,212,230,0.2),
    0 0 0 10px #fdfaf5,
    0 0 0 14px #3d3d3d;
}
.therapist-photo-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Dos fotos de la terapeuta juntas en el mismo marco,
   fusionadas con una transición suave en el centro */
.therapist-photo-duo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.therapist-photo-duo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.therapist-photo-duo img:first-child {
  transform: translateX(-35%);
  -webkit-mask-image: linear-gradient(to right, #000 55%, transparent 100%);
  mask-image: linear-gradient(to right, #000 55%, transparent 100%);
}
.therapist-photo-duo img:last-child {
  transform: translateX(25%);
  -webkit-mask-image: linear-gradient(to left, #000 55%, transparent 100%);
  mask-image: linear-gradient(to left, #000 55%, transparent 100%);
}
.therapist-photo-frame::before {
  content: '';
  position: absolute; inset: -14px;
  border: 2px dashed #c0b8aa;
  border-radius: 46% 24% 46% 24% / 34% 50% 24% 54%;
  pointer-events: none;
  opacity: 0.5;
}

/* Botones decorativos alrededor de la foto */
.therapist-buttons {
  position: absolute;
  width: 100%; height: 100%;
  top: 0; left: 0;
  pointer-events: none;
}
.therapist-buttons .btn-deco {
  position: absolute;
}
.therapist-buttons .btn-deco:nth-child(1) { top: -12px; left: 15%; background: linear-gradient(145deg, #f5d4e6, #fce4ed); }
.therapist-buttons .btn-deco:nth-child(2) { top: 15%; right: -16px; background: linear-gradient(145deg, #c8f0d5, #dbf5e4); }
.therapist-buttons .btn-deco:nth-child(3) { bottom: 10%; left: -16px; background: linear-gradient(145deg, #d9d0f0, #e8e3f7); }
.therapist-buttons .btn-deco:nth-child(4) { bottom: -12px; right: 20%; background: linear-gradient(145deg, #f5edc8, #f5d9c8); }
.therapist-buttons .btn-deco:nth-child(5) { top: 50%; left: -20px; background: linear-gradient(145deg, #c8e6f0, #bae3e3); transform: translateY(-50%); }
.therapist-buttons .btn-deco:nth-child(6) { top: 50%; right: -20px; background: linear-gradient(145deg, #f5d9c8, #f5edc8); transform: translateY(-50%); }

/* Info terapeuta */
.therapist-info {
  position: relative;
}
.therapist-info::before {
  content: '✧';
  position: absolute;
  top: -20px; left: -20px;
  font-size: 24px;
  color: #d9d0f0;
  opacity: 0.4;
}
.therapist-tag {
  display: inline-block;
  background: #d9d0f0;
  padding: 6px 18px;
  border-radius: 30px 6px 30px 6px;
  font-size: 13px; font-weight: 600;
  font-family: 'Fredoka', sans-serif;
  color: #3d3d3d;
  border: 2px solid #3d3d3d;
  box-shadow: 2px 2px 0 #3d3d3d;
  margin-bottom: 14px;
}
.therapist-info h2 {
  font-size: 32px;
  color: #3d8a8a;
  margin-bottom: 4px;
  line-height: 1.15;
}
.therapist-info .therapist-role {
  font-size: 17px;
  color: #4a9e9e;
  font-weight: 500;
  margin-bottom: 18px;
  font-family: 'Fredoka', sans-serif;
}
.therapist-info p {
  font-size: 16px;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.7;
}
.therapist-info .stitch-line {
  margin: 20px 0;
  max-width: 100%;
}

/* Mini badges cosidos */
.therapist-mini-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.therapist-mini-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  border-radius: 20px 4px 20px 4px;
  font-size: 13px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  border: 2px solid #3d3d3d;
  box-shadow: 2px 2px 0 #3d3d3d;
}
.therapist-mini-badge:nth-child(1) { background: #c8f0d5; }
.therapist-mini-badge:nth-child(2) { background: #f5d4e6; }
.therapist-mini-badge:nth-child(3) { background: #d9d0f0; }
.therapist-mini-badge:nth-child(4) { background: #f5edc8; }
.therapist-mini-badge:nth-child(5) { background: #c8e6f0; }

/* ===== CARRUSEL ===== */
.carousel-wrapper {
  position: relative; width: 100%; overflow: hidden;
  background: #f7f2ea;
}
.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 52px; height: 52px;
  border-radius: 40% 20% 40% 20%;
  background: #fdfaf5;
  border: 3px solid #3d3d3d;
  box-shadow: 4px 4px 0 #3d3d3d;
  cursor: pointer;
  font-size: 26px; font-weight: 700;
  color: #4a9e9e;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
  opacity: 0; pointer-events: none;
  font-family: 'Fredoka', sans-serif;
  line-height: 1;
}
.carousel-wrapper:hover .carousel-arrow { opacity: 1; pointer-events: auto; }
.carousel-arrow:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 6px 6px 0 #3d3d3d;
}
.carousel-arrow.left { left: 20px; }
.carousel-arrow.right { right: 20px; }

.carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  cursor: grab;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel.dragging { cursor: grabbing; scroll-behavior: auto; }

.carousel-slide {
  flex: 0 0 100%; min-height: 100vh;
  scroll-snap-align: start;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 40px 60px;
  position: relative;
}
.slide-inner { max-width: 1100px; width: 100%; margin: 0 auto; }

.section-title {
  font-size: 34px; color: #3d8a8a;
  text-align: center; margin-bottom: 10px;
}
.section-title .highlight {
  background: linear-gradient(135deg, #c8f0d5 0%, #f5d4e6 100%);
  padding: 0 6px; border-radius: 10px 2px 10px 2px;
}
.section-subtitle {
  font-size: 17px; color: #666;
  text-align: center; max-width: 600px;
  margin: 0 auto 40px;
}

/* --- SLIDE 0: Sobre nosotros --- */
.about-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}
.about-text h3 {
  font-size: 22px; color: #4a9e9e; margin-bottom: 16px;
  font-family: 'Fredoka', sans-serif;
}
.about-text p { color: #555; margin-bottom: 14px; font-size: 16px; }

.about-certs {
  background: rgba(255,255,255,0.7);
  padding: 28px;
  border-radius: 24px 12px 24px 12px;
  border: 3px solid #3d3d3d;
  box-shadow: 6px 6px 0 #3d3d3d;
}
.about-certs h3 {
  font-size: 18px; color: #4a9e9e; margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
  font-family: 'Fredoka', sans-serif;
}
.cert-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 0; border-bottom: 2px dashed #d4cfc5;
}
.cert-item:last-child { border-bottom: none; }
.cert-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, #c8f0d5, #dbf5e4);
  border-radius: 12px 4px 12px 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
  border: 2px solid #3d3d3d;
}
.cert-text { font-size: 14px; color: #555; line-height: 1.5; }
.cert-text strong { color: #3d8a8a; }

/* --- SLIDE 1: Servicios --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: rgba(255,255,255,0.6);
  padding: 28px 20px; text-align: center;
  border-radius: 24px 12px 24px 12px;
  border: 3px solid #3d3d3d;
  box-shadow: 5px 5px 0 #3d3d3d;
  transition: all 0.2s ease;
  position: relative;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: -5px;
  border: 2px dashed #c0b8aa;
  border-radius: 28px 16px 28px 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.service-card:hover::before { opacity: 0.4; }
.service-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 8px 8px 0 #3d3d3d;
  background: rgba(255,255,255,0.85);
}
.service-icon { font-size: 44px; margin-bottom: 12px; display: block; }
.service-card h3 {
  font-size: 18px; color: #4a9e9e; margin-bottom: 10px;
  font-family: 'Fredoka', sans-serif;
}
.service-card p { font-size: 14px; color: #666; line-height: 1.6; }

/* --- SLIDE 2: Áreas --- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.area-item {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.6);
  padding: 18px 20px;
  border-radius: 18px 8px 18px 8px;
  border: 3px solid #3d3d3d;
  box-shadow: 4px 4px 0 #3d3d3d;
  transition: all 0.2s ease;
}
.area-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #3d3d3d;
}
.area-icon {
  font-size: 30px; flex-shrink: 0;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, #f5d4e6, #fce4ed);
  border-radius: 12px 4px 12px 4px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #3d3d3d;
}
.area-item h4 { font-size: 16px; color: #4a9e9e; margin-bottom: 1px; font-family: 'Fredoka', sans-serif; }
.area-item p { font-size: 13px; color: #777; line-height: 1.4; }

/* --- SLIDE 3: CTA --- */
.slide-cta {
  min-height: 70vh;
  text-align: center;
}
.slide-cta .slide-inner {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 50vh;
}
.slide-cta h2 {
  font-size: 36px; color: #3d8a8a;
  margin-bottom: 16px;
}
.slide-cta p {
  font-size: 18px; color: #555;
  max-width: 600px; margin: 0 auto 32px;
  line-height: 1.7;
}
.slide-cta .btn-stitch { font-size: 18px; padding: 18px 40px; }

/* --- DOTS --- */
.carousel-progress {
  display: flex; justify-content: center; gap: 16px;
  padding: 24px 20px; background: #f7f2ea;
}
.carousel-dot {
  width: 16px; height: 16px;
  border-radius: 50% 30% 50% 30%;
  background: #d4cfc5;
  border: 2.5px solid #3d3d3d;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 2px 2px 0 #3d3d3d;
}
.carousel-dot.active {
  background: #4a9e9e;
  transform: scale(1.4);
  box-shadow: 3px 3px 0 #3d3d3d;
}

/* ===== DECORACIONES DE FONDO ===== */
.bg-deco {
  position: absolute; pointer-events: none; z-index: 0;
  font-size: 100px; opacity: 0.06;
  transform: rotate(-20deg);
}

/* ===== FOOTER ===== */
footer {
  background: #4a9e9e;
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 40px 20px;
  font-size: 14px;
  position: relative;
  border-top: 4px dashed rgba(255,255,255,0.3);
}
footer::before {
  content: '✧ ✧ ✧';
  display: block;
  font-size: 20px;
  letter-spacing: 14px;
  margin-bottom: 12px;
  opacity: 0.3;
}
footer .dev-credit {
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.5;
}
footer .dev-credit a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-weight: 500;
}
footer .dev-credit a:hover {
  color: rgba(255,255,255,0.9);
  text-decoration: underline;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .therapist-container {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }
  .therapist-photo-frame { max-width: 300px; margin: 0 auto; }
  .therapist-info .stitch-line { margin-left: auto; margin-right: auto; }
  .therapist-mini-badges { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 36px; }
}
@media (max-width: 640px) {
  .navbar {
    padding: 12px 20px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .hamburger {
    display: flex;
    margin-left: auto;
  }
  .navbar .nav-links {
    display: none;
    flex-basis: 100%;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 6px;
    padding: 16px;
    background: rgba(247, 242, 234, 0.98);
    border: 3px solid #3d3d3d;
    border-radius: 20px 8px 20px 8px;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.08);
  }
  .navbar .nav-links.open {
    display: flex;
  }
  .navbar .nav-links a {
    justify-content: center;
    text-align: center;
  }
  .navbar .nav-links .btn-nav-plain,
  .nav-soporte,
  .btn-nav-agenda,
  .btn-nav-tutor,
  .btn-login-nav {
    width: 100%;
    justify-content: center;
    font-size: 14px !important;
    padding: 10px 16px !important;
  }
  .hero { padding: 80px 20px 40px; }
  .hero h1 { font-size: 30px; }
  .hero .subtitle { font-size: 17px; }
  .therapist-section { padding: 60px 20px; }
  .therapist-photo-frame { max-width: 240px; }
  .therapist-info h2 { font-size: 26px; }
  .services-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: 1fr; }
  .carousel-slide { padding: 80px 16px 40px; }
  .section-title { font-size: 26px; }
  .carousel-arrow { display: none !important; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-stitch, .hero-actions a { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 26px; }
}

/* ================================================================
   MODAL AGENDA — CALENDARIO LBP
   ================================================================ */

/* Overlay */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(61, 61, 61, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active {
  opacity: 1; pointer-events: auto;
}

/* Tarjeta del modal — cosida */
.modal-agenda-card {
  background: #fdfaf5;
  border-radius: 28px 12px 28px 12px;
  border: 4px solid #3d3d3d;
  box-shadow:
    8px 8px 0 rgba(0,0,0,0.06),
    16px 16px 0 rgba(217,208,240,0.15),
    inset 0 0 0 8px #fdfaf5,
    inset 0 0 0 11px rgba(90,90,90,0.1);
  padding: 32px 28px 24px;
  max-width: 520px;
  width: 92%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-agenda-card::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 2px dashed #c0b8aa;
  border-radius: 34px 16px 34px 16px;
  opacity: 0.25;
  pointer-events: none;
}

/* Botón cerrar */
.modal-agenda-close {
  position: absolute; top: 14px; right: 18px;
  width: 34px; height: 34px;
  border-radius: 40% 20% 40% 20%;
  background: #f5d4e6;
  border: 3px solid #3d3d3d;
  box-shadow: 2px 2px 0 #3d3d3d;
  cursor: pointer;
  font-size: 16px; font-weight: 700;
  color: #3d3d3d;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
  font-family: 'Fredoka', sans-serif;
  line-height: 1;
}
.modal-agenda-close:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #3d3d3d;
  background: #e8a0c4;
}

/* Encabezado */
.modal-agenda-header {
  text-align: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 2px dashed #d4cfc5;
}
.modal-agenda-header h2 {
  font-family: 'Fredoka', sans-serif;
  font-size: 22px;
  color: #3d8a8a;
  margin: 6px 0 4px;
}
.modal-agenda-icon {
  font-size: 32px;
  display: block;
}
.modal-agenda-sub {
  font-size: 13px;
  color: #888;
}
.modal-agenda-sub strong {
  color: #4a9e9e;
}

/* Leyenda */
.modal-agenda-legend {
  display: flex; justify-content: center; gap: 20px;
  margin-bottom: 14px;
  font-size: 13px; color: #666;
  align-items: center;
  flex-wrap: wrap;
}
.legend-dot {
  display: inline-block;
  width: 14px; height: 14px;
  border-radius: 6px 2px 6px 2px;
  border: 2px solid #3d3d3d;
  margin-right: 4px;
  vertical-align: middle;
}
.legend-free { background: #c8f0d5; }
.legend-busy { background: #fdfaf5; }
.legend-today { background: #f5edc8; border-style: solid; }

/* Navegación de mes */
.modal-agenda-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.agenda-nav-btn {
  width: 38px; height: 38px;
  border-radius: 40% 20% 40% 20%;
  background: #dbf5e4;
  border: 3px solid #3d3d3d;
  box-shadow: 2px 2px 0 #3d3d3d;
  cursor: pointer;
  font-size: 20px; font-weight: 700;
  color: #3d8a8a;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s ease;
  font-family: 'Fredoka', sans-serif;
}
.agenda-nav-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #3d3d3d;
  background: #c8f0d5;
}
.agenda-nav-label {
  font-family: 'Fredoka', sans-serif;
  font-size: 16px; font-weight: 600;
  color: #3d8a8a;
}

/* Días de la semana */
.agenda-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
  font-family: 'Fredoka', sans-serif;
}

/* Grid de días */
.agenda-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.agenda-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 500;
  border-radius: 12px 3px 12px 3px;
  border: 2.5px solid #e0dbd0;
  background: #fdfaf5;
  color: #3d3d3d;
  transition: all 0.15s ease;
  cursor: default;
  font-family: 'Atkinson Hyperlegible', sans-serif;
}
.agenda-day.empty {
  border-color: transparent;
  background: transparent;
}
.agenda-day.past {
  opacity: 0.35;
  color: #bbb;
  border-color: #e8e5de;
}
.agenda-day.out-of-range {
  opacity: 0.4;
  color: #bbb;
  border-color: #e8e5de;
}

/* Día disponible */
.agenda-day.available {
  background: #c8f0d5;
  border-color: #3d3d3d;
  box-shadow: 2px 2px 0 #3d3d3d;
  font-weight: 700;
  color: #2d6a4f;
  cursor: pointer;
}
.agenda-day.available:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0 #3d3d3d;
  background: #a8e8c0;
}

/* Hoy */
.agenda-day.today {
  border-color: #3d3d3d;
  background: #f5edc8;
  font-weight: 700;
  box-shadow: 2px 2px 0 #3d3d3d;
}

/* Nota del día */
.agenda-day-note {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px;
  padding: 10px 16px;
  background: #f5edc8;
  border-radius: 14px 4px 14px 4px;
  border: 2.5px solid #3d3d3d;
  box-shadow: 2px 2px 0 #3d3d3d;
  font-size: 14px;
  color: #3d3d3d;
}
.agenda-note-icon {
  font-size: 18px;
  flex-shrink: 0;
}

/* Footer del modal */
.modal-agenda-footer {
  text-align: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px dashed #d4cfc5;
  font-size: 13px;
  color: #888;
}
.modal-agenda-footer a {
  color: #4a9e9e;
  font-weight: 600;
  text-decoration: none;
}
.modal-agenda-footer a:hover {
  text-decoration: underline;
}

/* Responsive modal */
@media (max-width: 480px) {
  .modal-agenda-card {
    padding: 24px 14px 18px;
    border-radius: 20px 8px 20px 8px;
  }
  .agenda-day {
    font-size: 12px;
    border-radius: 8px 2px 8px 2px;
  }
  .agenda-days { gap: 4px; }
  .modal-agenda-header h2 { font-size: 18px; }
  .modal-agenda-legend { gap: 12px; font-size: 11px; }
}
