/* =========================================================
   VERSIÓN COMPACTA Y DIDÁCTICA
   Turnero por día, paso a paso, carruseles en celular.
   Se carga después de styles-pro.css.
   ========================================================= */

/* ---------- Secciones más cortas ---------- */
main > section { padding-top: 2.75rem; padding-bottom: 2.75rem; }
main > section#inicio { padding-top: 1.5rem; padding-bottom: 1.5rem; }
@media (min-width: 768px) {
  main > section { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  main > section#inicio { padding-top: 3rem; padding-bottom: 3rem; }
}
#turnero, #planes, #disciplinas, #cursos-section { background: transparent; border: 0; }

/* ---------- Cómo funciona ---------- */
.how-section { padding-top: 0 !important; padding-bottom: 0 !important; }
.how-steps {
  list-style: none; display: grid; gap: 0.75rem;
  background: #fff; border: 1px solid rgba(147, 84, 145, 0.12); border-radius: 1.75rem;
  padding: 1.1rem; box-shadow: 0 14px 40px -26px rgba(118, 62, 116, 0.35);
}
@media (min-width: 720px) { .how-steps { grid-template-columns: repeat(3, 1fr); padding: 1.5rem 1.75rem; gap: 1.5rem; } }
.how-steps li { display: flex; align-items: center; gap: 0.85rem; }
.how-num {
  flex: none; width: 2.25rem; height: 2.25rem; border-radius: 9999px;
  background: linear-gradient(135deg, #a05f9e, var(--brand-mauve)); color: #fff;
  font-weight: 700; font-size: 0.95rem; display: inline-flex; align-items: center; justify-content: center;
}
.how-steps h2, .how-steps h3 { font-weight: 700; font-size: 0.95rem; color: #2a2029; line-height: 1.2; }
.how-steps p { font-size: 0.82rem; color: #6b606a; line-height: 1.4; margin-top: 0.15rem; }

/* ---------- Turnero por día ---------- */
.turnero-panel {
  background: #fff; border: 1px solid rgba(147, 84, 145, 0.12); border-radius: 1.75rem;
  padding: 1rem; box-shadow: 0 18px 50px -30px rgba(118, 62, 116, 0.4);
}
@media (min-width: 640px) { .turnero-panel { padding: 1.5rem; } }

.day-chips { display: flex; gap: 0.5rem; overflow-x: auto; padding: 0.25rem 0.1rem 0.75rem; scrollbar-width: none; scroll-snap-type: x proximity; }
.day-chips::-webkit-scrollbar { display: none; }
.day-chip {
  position: relative; flex: 1 0 auto; min-width: 3.6rem;
  display: flex; flex-direction: column; align-items: center; gap: 0.1rem;
  padding: 0.55rem 0.5rem; border-radius: 1rem; scroll-snap-align: start;
  background: #fbf6fb; border: 1px solid transparent; color: #5b4f5a; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.day-chip:hover { background: #f4edf3; }
.day-chip-name { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.day-chip-date { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 600; line-height: 1; }
.day-chip-today { position: absolute; top: -0.45rem; right: -0.1rem; background: #ffc4d6; color: #763e74; font-size: 0.6rem; font-weight: 700; padding: 0.1rem 0.4rem; border-radius: 9999px; }
.day-chip.is-active { background: linear-gradient(135deg, #a05f9e, var(--brand-mauve)); color: #fff; box-shadow: 0 10px 22px -12px rgba(147, 84, 145, 0.8); }

.turnero-filter { display: flex; align-items: center; gap: 0.6rem; padding: 0.25rem 0 0.9rem; border-bottom: 1px solid #f3eaf1; }
.turnero-filter label { font-size: 0.78rem; color: #6f6470; font-weight: 500; white-space: nowrap; }
.turnero-filter select {
  flex: 1; min-width: 0; background: #fbf6fb; border: 1px solid #ebdce0; border-radius: 0.85rem;
  padding: 0.5rem 0.75rem; font-size: 0.85rem; color: #4d424c;
}

.slot-list { display: grid; }
.slot-empty { padding: 2rem 1rem; text-align: center; color: #6f6470; font-size: 0.9rem; }
.slot-empty-link { display: block; margin: 0.6rem auto 0; color: var(--brand-mauve); font-weight: 600; text-decoration: underline; }

.slot-row {
  display: grid; grid-template-columns: 3.6rem 1fr auto; align-items: center; gap: 0.85rem;
  padding: 0.95rem 0.25rem; border-bottom: 1px solid #f3eaf1;
}
.slot-row:last-child { border-bottom: 0; }
.slot-row.is-mine { background: linear-gradient(90deg, rgba(240, 247, 243, 0.9), transparent); border-radius: 1rem; padding-left: 0.6rem; }
.slot-time { display: grid; text-align: center; line-height: 1.15; }
.slot-time strong { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; color: #2a2029; }
.slot-time span { font-size: 0.72rem; color: #9a8f99; }
.slot-info { min-width: 0; }
.slot-info h4 { font-size: 0.98rem; font-weight: 700; color: #2a2029; line-height: 1.25; }
.slot-info p { font-size: 0.78rem; color: #6f6470; margin-top: 0.1rem; }
.slot-who { font-size: 0.75rem; color: var(--brand-mauve); font-weight: 600; margin-top: 0.3rem; padding: 0; }
.slot-who:hover { text-decoration: underline; }
.slot-action { display: grid; justify-items: end; gap: 0.4rem; }

.spots { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.72rem; font-weight: 600; white-space: nowrap; }
.spots i { width: 0.5rem; height: 0.5rem; border-radius: 9999px; display: inline-block; }
.spots--green { color: #2d6349; } .spots--green i { background: #3fa56f; }
.spots--yellow { color: #8c5717; } .spots--yellow i { background: #e0a640; }
.spots--red { color: #c0394b; } .spots--red i { background: #d94a5c; animation: spot-pulse 1.6s ease-in-out infinite; }
@keyframes spot-pulse { 50% { opacity: 0.4; } }

.slot-book {
  background: linear-gradient(135deg, #a05f9e, var(--brand-mauve)); color: #fff; font-weight: 600; font-size: 0.82rem;
  padding: 0.5rem 1.1rem; border-radius: 9999px; box-shadow: 0 8px 18px -10px rgba(147, 84, 145, 0.8);
  transition: transform 0.15s ease;
}
.slot-book:hover:not(:disabled) { transform: translateY(-1px); }
.slot-book:disabled { background: #e9e1e8; color: #a79ca6; box-shadow: none; cursor: not-allowed; }
.slot-booked { background: #f0f7f3; color: #2d6349; border: 1px solid #d2e8dc; font-size: 0.75rem; font-weight: 700; padding: 0.3rem 0.8rem; border-radius: 9999px; }
.slot-cancel { font-size: 0.72rem; color: #9a8f99; text-decoration: underline; padding: 0; }
.slot-cancel:hover { color: #c0394b; }

.turnero-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.1rem; padding-top: 0.9rem; margin-top: 0.4rem; border-top: 1px solid #f3eaf1; }
.turnero-note .spots { font-weight: 500; color: #6f6470; }

/* ---------- Carruseles en celular ---------- */
.snap-row { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.5rem 1rem 1.25rem; margin: 0 -1rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.snap-row::-webkit-scrollbar { display: none; }
.snap-row > * { flex: 0 0 82%; scroll-snap-align: center; }
@media (min-width: 640px) { .snap-row > * { flex-basis: 46%; } }
@media (min-width: 1024px) {
  .snap-row { display: grid; overflow: visible; padding: 0.5rem 0 0; margin: 0; }
  .snap-row--4 { grid-template-columns: repeat(4, 1fr); }
  .snap-row--3 { grid-template-columns: repeat(3, 1fr); }
}
.snap-hint { text-align: center; font-size: 0.75rem; color: #6f6470; margin-top: -0.4rem; }
@media (min-width: 1024px) { .snap-hint { display: none; } }

/* Clases (carrusel compacto) */
.disc-card { background: #fff; border: 1px solid rgba(147, 84, 145, 0.12); border-radius: 1.5rem; overflow: hidden; box-shadow: 0 10px 30px -22px rgba(118, 62, 116, 0.5); display: flex; flex-direction: column; }
.disc-card img { width: 100%; height: 9.5rem; object-fit: cover; display: block; }
.disc-body { padding: 1rem 1.1rem 1.15rem; display: grid; gap: 0.35rem; flex: 1; }
.disc-body h3 { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: #2a2029; line-height: 1.1; }
.disc-body p { font-size: 0.82rem; color: #6b606a; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.disc-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 0.4rem; font-size: 0.75rem; color: #6f6470; }
.disc-meta a { color: var(--brand-mauve); font-weight: 600; }

/* Cursos: tarjetas simples, sin imagen */
.course-lite { background: #fff; border: 1px solid rgba(147, 84, 145, 0.12); border-radius: 1.5rem; padding: 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; box-shadow: 0 10px 30px -22px rgba(118, 62, 116, 0.5); }
.course-lite .soon { align-self: flex-start; background: #fbf6fb; color: var(--brand-mauve); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.25rem 0.7rem; border-radius: 9999px; }
.course-lite h3 { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600; line-height: 1.15; color: #2a2029; }
.course-lite p { font-size: 0.82rem; color: #6b606a; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.course-lite button { margin-top: auto; }

/* Planes: más compactos */
.plan-card { padding: 1.5rem 1.35rem; gap: 1.25rem; }
.plan-name { font-size: 1.5rem; }
.plan-price { margin: 1rem 0 0.9rem; }
.plan-price-amount { font-size: 2.25rem; }
.plan-desc { font-size: 0.85rem; }
.plan-features { gap: 0.5rem; font-size: 0.84rem; }

/* Planes: se ven todos juntos (1 columna en celular, 2 en tablet, 4 en computadora) */
.plans-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: stretch; }
@media (min-width: 640px) { .plans-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 1100px) { .plans-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 639px) {
  .plan-card { padding: 1.25rem 1.15rem; gap: 1rem; }
  .plan-desc { display: none; }
  .plan-price { margin: 0.6rem 0 0.7rem; }
  .plan-features li:nth-child(n+4) { display: none; }
}

/* Saludo para alumnas con sesión iniciada */
.greet-section { padding-top: 0 !important; padding-bottom: 0 !important; }
.greet-card {
  background: linear-gradient(135deg, #fbf6fb 0%, #fff 55%, #fff4f7 100%);
  border: 1px solid rgba(147, 84, 145, 0.14); border-radius: 1.75rem;
  padding: 1.25rem 1.35rem; box-shadow: 0 14px 40px -26px rgba(118, 62, 116, 0.35);
}
@media (min-width: 720px) { .greet-card { padding: 1.6rem 2rem; } }
.greet-hello { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-mauve); }
.greet-phrase { font-family: var(--font-serif); font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 500; line-height: 1.2; color: #2a2029; margin-top: 0.35rem; }
.greet-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
.greet-chip { background: #fff; border: 1px solid rgba(147, 84, 145, 0.18); color: #5b4f5a; font-size: 0.8rem; padding: 0.35rem 0.85rem; border-radius: 9999px; }
.greet-chip strong { color: var(--brand-mauve); font-weight: 700; }
a.greet-chip:hover { border-color: var(--brand-mauve); }

/* ===== Accesibilidad y lectura (UI/UX Pro Max) ===== */
/* Texto mínimo 12px (antes había textos de 9 a 11px) */
[class*="text-[9px]"], [class*="text-[10px]"], [class*="text-[11px]"], [class*="text-[9.5px]"], [class*="text-[10.5px]"] { font-size: 0.75rem !important; }
.day-chip-name, .slot-time span, .slot-cancel, .spots, .slot-booked, .plan-eyebrow { font-size: 0.78rem; }
.day-chip-today { font-size: 0.66rem; }
.slot-info p { font-size: 0.82rem; }
/* Contraste mínimo 4.5:1 en textos secundarios */
.slot-time span, .slot-info p, .slot-cancel, .plan-consult, .turnero-note .spots { color: #6b606a; }
.plan-eyebrow { color: #8a4d88; }
.text-slate-400 { color: #75697a !important; }
/* Botones y links fáciles de tocar con el dedo (mínimo 44px) */
.slot-book, .slot-booked { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.slot-who, .slot-cancel, .disc-link, .plan-consult { display: inline-flex; align-items: center; min-height: 44px; }
.slot-who { margin: -0.4rem 0 -0.5rem; }
.plan-consult { justify-content: center; width: 100%; }
#mobile-menu-btn { min-width: 44px; min-height: 44px; }
button.p-1\.5 { min-width: 44px; min-height: 44px; }
.brand-sub { font-size: 0.7rem; letter-spacing: 0.06em; line-height: 1.2; }
#open-login-btn { white-space: nowrap; min-height: 44px; }
.day-chip-today { font-size: 0.7rem; }

/* =========================================================
   MOVIMIENTO Y TACTO (skills: emil-design-eng, animate, mobile-native)
   - Curvas fuertes, solo transform/opacity, nada de "transition: all".
   - Respuesta al tocar (:active) y hover solo con mouse.
   ========================================================= */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* Transiciones con propiedades exactas */
.btn-delicate-primary, .btn-delicate-secondary, .btn-delicate-outline {
  transition: transform 160ms var(--ease-out), background-color 200ms ease, border-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
}
.card-delicate, .slot-card, .course-card, .video-card {
  transition: transform 250ms var(--ease-out), box-shadow 250ms ease, border-color 250ms ease;
}
.play-btn-circle { transition: transform 200ms var(--ease-out), background-color 200ms ease, color 200ms ease; }
.mobile-bottom-item { transition: color 200ms ease, transform 160ms var(--ease-out); }
.whatsapp-float { transition: transform 200ms var(--ease-out), box-shadow 200ms ease; }
.plan-card { transition: transform 250ms var(--ease-out), box-shadow 250ms ease; }
.slot-book, .day-chip { transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease; }

/* Respuesta al tocar: se siente que la pantalla "escucha" */
.btn-delicate-primary:active, .btn-delicate-secondary:active, .btn-delicate-outline:active,
.slot-book:not(:disabled):active, .day-chip:active, .whatsapp-float:active,
.mobile-bottom-item:active, #mobile-menu-btn:active, #open-login-btn:active {
  transform: scale(0.97);
  transition-duration: 100ms;
}
.plan-card:active, .disc-card:active { transform: scale(0.99); }

/* Hover solo con mouse (en el celu el hover se quedaba pegado después de tocar) */
@media (hover: none), (pointer: coarse) {
  .btn-delicate-primary:hover, .btn-delicate-secondary:hover, .btn-delicate-outline:hover,
  .card-delicate:hover, .slot-card:hover, .course-card:hover, .video-card:hover,
  .plan-card:hover, .slot-book:hover:not(:disabled), .whatsapp-float:hover {
    transform: none;
  }
  .btn-delicate-primary:active, .btn-delicate-secondary:active, .btn-delicate-outline:active,
  .slot-book:not(:disabled):active, .day-chip:active, .whatsapp-float:active,
  .mobile-bottom-item:active, #mobile-menu-btn:active, #open-login-btn:active { transform: scale(0.97); }
}

/* Tacto de app: sin demora al tocar, sin texto seleccionado en controles */
button, a, [role="button"], select, summary { touch-action: manipulation; }
button, .day-chip, .mobile-bottom-item, .nav-link { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
html { -webkit-text-size-adjust: 100%; }
input, textarea, select { font-size: max(16px, 1em); }
.modal-container { max-height: 90vh; max-height: 90dvh; }
#toast-container { top: calc(1rem + env(safe-area-inset-top, 0px)); }
@media (max-width: 480px) {
  #toast-container { left: 1rem; right: 1rem; }
  .toast { min-width: 0; max-width: none; }
}

/* Ventanas: entran rápido, salen más rápido */
.modal-backdrop { transition: opacity 180ms ease; }
.modal-container { transform: scale(0.96) translateY(8px); transition: transform 180ms var(--ease-out); }
.modal-backdrop.active .modal-container { transition-duration: 260ms; }

/* Entrada de la portada: un solo gesto, sin escalonar todo */
@keyframes matra-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero-copy { animation: matra-rise 500ms var(--ease-out) both; }

/* Aparecer al bajar (motion.js agrega .reveal solo si el navegador lo permite) */
html.has-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
html.has-reveal .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-copy { animation: none; }
  html.has-reveal .reveal { opacity: 1; transform: none; transition: none; }
}
/* =========================================================
   MENOS "PLANTILLA": plano, sobrio, hecho a mano
   Sin pastillas, brillos, degradés ni sombras de colores.
   ========================================================= */
:root { --radius-lg: 1rem; --radius-md: 0.75rem; --radius-xl: 1.25rem; }
body { background-image: none; background-color: #fdf7f2; letter-spacing: 0; }
header.sticky { backdrop-filter: none; background: #fdf7f2 !important; box-shadow: none; }

/* Portada */
#inicio { padding-top: 1.5rem; padding-bottom: 2.5rem; }
.hero-copy { text-align: left; }
.hero-place { font-size: 0.9rem; color: #6b606a; letter-spacing: 0; margin-bottom: 1rem; }
#inicio .hero-title { font-size: clamp(2.5rem, 6.2vw, 4.75rem); font-weight: 500; line-height: 1.02; letter-spacing: -0.02em; color: #2a1f29; max-width: 18ch; }
#inicio .hero-lead { font-size: 1.05rem; line-height: 1.6; color: #4d424c; max-width: 30rem; margin-top: 1.25rem; font-weight: 400; }
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 1.75rem; flex-wrap: wrap; }
.hero-link { color: #763e74; font-weight: 600; font-size: 0.95rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; min-height: 44px; display: inline-flex; align-items: center; }
.hero-caption { font-size: 0.8rem; color: #6b606a; margin-top: 0.6rem; }
.hero-video-wrapper { border: 0 !important; border-radius: 0.75rem !important; box-shadow: none !important; }
@media (min-width: 1024px) { #inicio { padding-top: 3rem; padding-bottom: 4rem; } }

/* Botones: color liso, esquinas apenas redondeadas */
.btn-delicate-primary, .btn-delicate-primary:hover {
  background: var(--brand-mauve); box-shadow: none; border-radius: 0.5rem; letter-spacing: 0;
  font-size: 0.95rem; font-weight: 600; padding: 0.8rem 1.5rem; min-height: 46px;
}
.btn-delicate-primary:hover { background: #763e74; transform: none; }
.btn-delicate-secondary { background: transparent; border-radius: 0.5rem; box-shadow: none; }
.plan-card--featured .btn-delicate-primary { background: #fff; color: #763e74; }

/* Tarjetas: línea fina en vez de sombra suave */
.card-delicate, .slot-card, .course-card, .disc-card, .course-lite, .plan-card, .turnero-panel, .how-steps, .greet-card, .plans-help, .event-card {
  box-shadow: none !important; border: 1px solid #eadfe8 !important; border-radius: 1rem !important;
}
.card-delicate:hover, .slot-card:hover, .course-card:hover, .plan-card:hover { box-shadow: none !important; border-color: #c9a9c7 !important; transform: none; }
.plan-card--featured { background: var(--brand-mauve); border-color: var(--brand-mauve) !important; }
.plan-ribbon { background: #fff; border-radius: 0.25rem; box-shadow: none; letter-spacing: 0.08em; }
.event-card { border-radius: 1rem !important; }
.about-photo { border-radius: 0.75rem; box-shadow: none; }

/* Elementos chicos: sin degradé */
.how-num, .day-chip.is-active, .slot-book { background: var(--brand-mauve); box-shadow: none; }
.day-chip { border-radius: 0.6rem; }
.slot-book { border-radius: 0.5rem; }
.how-num { border-radius: 0.5rem; }
.day-chip-today { border-radius: 0.25rem; }
.slot-booked, .spots { border-radius: 0.25rem; }
#open-login-btn { border-radius: 0.5rem !important; background: var(--brand-mauve) !important; box-shadow: none !important; }
.mobile-bottom-nav { backdrop-filter: none; background: #fff; box-shadow: none; }
.event-badge, .course-lite .soon { border-radius: 0.25rem; letter-spacing: 0.06em; }

/* Títulos de sección: sin etiqueta chiquita arriba */
main > section h2.font-serif { font-weight: 500; letter-spacing: -0.015em; }
main > section[class*="bg-[#fbf6fb]"] { background: #f7eef6 !important; }
/* =========================================================
   ESTILO EDITORIAL (referencia: thepilatesclass.com)
   Encabezado centrado, portada a pantalla completa con texto
   abajo a la izquierda, mucho aire, esquinas rectas, botones
   rectangulares en mayúsculas.
   ========================================================= */

/* Encabezado: menú a la izquierda, marca al centro, acceso a la derecha */
header.sticky { border-bottom: 1px solid #ece3e8 !important; }
.site-header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 4.25rem; gap: 0.5rem; }
@media (min-width: 1024px) { .site-header-row { height: 5rem; } }
.site-header-left { display: flex; align-items: center; justify-content: flex-start; min-width: 0; }
.site-header-right { display: flex; align-items: center; justify-content: flex-end; gap: 0.5rem; min-width: 0; }
.header-user-details { display: none; }
@media (min-width: 1200px) { .header-user-details { display: block; max-width: 11rem; } }
.header-user-details p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.is-teacher #open-admin-btn, body.is-teacher #mobile-open-admin-btn, body.is-teacher #mobile-bottom-admin-btn { display: inline-flex !important; }
body.is-teacher #admin-tab-classes, body.is-teacher #admin-tab-payments, body.is-teacher #admin-tab-events, body.is-teacher #admin-quick-add-student-btn { display: none !important; }

/* Perfil: información esencial en una sola lectura. */
#student-profile-modal .profile-modal { width: min(100%, 35rem); padding: 1.75rem; background: #fffdfa; }
.profile-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding-bottom: 1.2rem; border-bottom: 1px solid #ede3eb; }
.profile-kicker { color: #80507d; font-size: .68rem; font-weight: 700; letter-spacing: .1em; }
.profile-title { margin: .2rem 0 0; font: 500 2rem/1.1 var(--font-serif); color: #30232e; }
.profile-close { width: 44px; height: 44px; font-size: 1.2rem; color: #695b68; border-radius: 50%; }
.profile-identity { display: flex; align-items: center; gap: 1rem; padding: 1.5rem 0; min-width: 0; }
.profile-avatar-wrap { flex: none; }
.profile-avatar { width: 4.5rem; height: 4.5rem; object-fit: cover; border-radius: 50%; border: 2px solid #935491; }
.profile-identity-text { flex: 1; min-width: 0; }
.profile-identity-text h4 { font: 600 1.4rem/1.2 var(--font-serif); color: #30232e; overflow-wrap: anywhere; }
.profile-identity-text p { color: #6b606a; font-size: .78rem; margin: .25rem 0; overflow-wrap: anywhere; }
.profile-photo-link { color: #763e74; text-decoration: underline; text-underline-offset: 3px; font-size: .8rem; cursor: pointer; }
.profile-photo-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.profile-identity-text:focus-within .profile-photo-link { outline: 2px solid #935491; outline-offset: 3px; }
.profile-plan-badge { color: #763e74; font-size: .73rem; background: #f6edf5; border-radius: 999px; padding: .35rem .7rem; }
.profile-plan-card { background: #f8f1f7; border: 1px solid #ecdded; border-radius: .75rem; padding: 1.2rem; }
.profile-plan-heading { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.profile-plan-heading h4 { color: #3d2b3b; font-weight: 700; font-size: .95rem; }
.profile-plan-label { margin-top: 1rem; font-size: .76rem; color: #685c67; }
.profile-plan-value { color: #352534; font: 600 1.35rem/1.35 var(--font-serif); margin-top: .2rem; }
.profile-plan-action { min-height: 44px; margin-top: 1rem; color: #763e74; font-size: .82rem; font-weight: 700; text-align: left; }
.profile-plan-action span { margin-left: .35rem; }
.profile-metrics { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 1.4rem 0; }
.profile-metrics > div { display: grid; gap: .25rem; padding: 0 .8rem; border-right: 1px solid #ede3eb; min-width: 0; }
.profile-metrics > div:first-child { padding-left: 0; }.profile-metrics > div:last-child { border: 0; }
.profile-metrics strong { font: 600 1.5rem/1.1 var(--font-serif); color: #763e74; }
.profile-metrics div > span:not(.profile-progress-track) { color: #655960; font-size: .72rem; line-height: 1.4; }
.profile-progress-track { height: 3px; background: #eee3ed; border-radius: 3px; overflow: hidden; }
#profile-progress-bar { display: block; height: 100%; background: #935491; }
.profile-session { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid #ede3eb; padding-top: 1.15rem; }
.profile-session strong { color: #3d2b3b; font-size: .82rem; }.profile-session p { color: #685c67; font-size: .72rem; line-height: 1.5; margin-top: .2rem; }
.profile-session button { flex: none; min-height: 44px; color: #763e74; font-size: .78rem; font-weight: 700; }
.profile-close:focus-visible,.profile-plan-action:focus-visible,.profile-session button:focus-visible { outline: 2px solid #935491; outline-offset: 3px; }
@media (max-width: 480px) { #student-profile-modal .profile-modal { padding: 1.25rem; } .profile-avatar { width: 3.8rem; height: 3.8rem; } .profile-plan-badge { display: none; } .profile-metrics > div { padding: 0 .5rem; } }
#header-user-actions > div { flex-wrap: nowrap; }
#user-menu-btn, #logout-btn { flex: none; }
.site-brand { display: flex; align-items: center; gap: 0.6rem; justify-self: center; }
.site-brand-logo { width: 2.25rem; height: 2.25rem; border-radius: 0.25rem; display: block; }
.site-brand-text { display: grid; line-height: 1.1; }
.site-brand-name { font-size: 1.5rem; font-weight: 600; letter-spacing: 0.22em; color: #2a1f29; }
.site-brand .brand-sub { display: none; font-size: 0.66rem; letter-spacing: 0.14em; }
@media (min-width: 640px) { .site-brand .brand-sub { display: block; } .site-brand-logo { width: 2.6rem; height: 2.6rem; } }
#mobile-menu-btn { background: transparent !important; border: 0 !important; margin-left: -0.5rem; display: inline-flex; align-items: center; justify-content: center; }
#open-login-btn { font-size: 0.72rem !important; padding: 0.55rem 0.9rem !important; }

/* Portada a pantalla completa */
main > section#inicio.hero-full { position: relative; padding: 0; min-height: 36rem; height: calc(100svh - 4.25rem); max-height: 52rem; display: flex; align-items: flex-end; overflow: hidden; background: #3b2a3a; }
@media (min-width: 1024px) { main > section#inicio.hero-full { height: calc(100svh - 5rem); } }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(32, 18, 31, 0.72) 0%, rgba(32, 18, 31, 0.25) 45%, rgba(32, 18, 31, 0) 70%); pointer-events: none; }
.hero-inner { position: relative; width: 100%; padding-bottom: 5.5rem; }
@media (min-width: 640px) { .hero-inner { padding-bottom: 4.5rem; } }
.hero-full .hero-copy { max-width: 40rem; }
.hero-full .hero-place { font-size: 1.15rem; color: rgba(255, 255, 255, 0.92); margin-bottom: 0.6rem; font-weight: 400; }
#inicio.hero-full .hero-title { font-family: var(--font-sans); font-weight: 300; font-size: clamp(2.4rem, 6vw, 4.25rem); line-height: 1.06; letter-spacing: -0.025em; color: #fff; max-width: 16ch; text-shadow: 0 1px 24px rgba(0, 0, 0, 0.2); }
.hero-full .hero-actions { margin-top: 1.75rem; }
.hero-full .btn-delicate-primary { background: #fdf1e9; color: #5e2d5c; }
.hero-full .btn-delicate-primary:hover { background: #fff; }
.hero-full .hero-link { color: #fff; }

/* Frase de presentación, grande y liviana */
.statement { padding-top: 4.5rem !important; padding-bottom: 4.5rem !important; }
@media (min-width: 768px) { .statement { padding-top: 7rem !important; padding-bottom: 7rem !important; } }
.statement-text { font-size: clamp(1.5rem, 3.4vw, 2.5rem); line-height: 1.35; font-weight: 300; letter-spacing: -0.015em; color: #2a1f29; }
.statement-text em { font-style: normal; color: var(--brand-mauve); }

/* Esquinas rectas y botones de catálogo */
.btn-delicate-primary, .btn-delicate-primary:hover, .btn-delicate-secondary, #open-login-btn, .slot-book, .how-num { border-radius: 0 !important; }
.btn-delicate-primary { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; font-weight: 600; padding: 0.95rem 1.75rem; }
.btn-delicate-secondary { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; }
.card-delicate, .slot-card, .course-card, .disc-card, .course-lite, .plan-card, .turnero-panel, .how-steps, .greet-card, .plans-help, .event-card { border-radius: 0.25rem !important; }
.day-chip, .slot-booked, .spots { border-radius: 0.25rem; }
.plan-ribbon, .event-badge, .course-lite .soon, .day-chip-today { border-radius: 0.125rem; }
.hero-video-wrapper, .about-photo, .event-card-img { border-radius: 0.25rem !important; }
.disc-card img { height: 12rem; }

/* Títulos finos y mucho aire entre secciones */
main > section h2.font-serif { font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.25rem); }
main > section:not(#inicio):not(.statement):not(.how-section):not(.event-section):not(.greet-section) { padding-top: 4.5rem; padding-bottom: 4.5rem; }
@media (min-width: 768px) { main > section:not(#inicio):not(.statement):not(.how-section):not(.event-section):not(.greet-section) { padding-top: 7rem; padding-bottom: 7rem; } }
#disciplinas, #cursos-section { background: #f6f1ea !important; border: 0 !important; }
.how-steps { border-radius: 0.25rem; }
/* Ajustes de celular */
@media (max-width: 639px) {
  .site-header-row { grid-template-columns: auto 1fr auto; }
  .site-brand-name { font-size: 1.25rem; letter-spacing: 0.16em; }
  .site-brand-logo { width: 2rem; height: 2rem; }
  .site-brand { gap: 0.45rem; }
  #open-login-btn { padding: 0.5rem 0.7rem !important; }
  .hero-inner { padding-bottom: 9rem; }
}
#inicio.hero-full .hero-place { color: rgba(255, 255, 255, 0.92); font-size: 1.15rem; line-height: 1.4; }
@media (min-width: 1024px) { #mobile-menu-btn { display: none; } .hero-bg { object-position: 50% 18%; } }
/* Planes por tipo */
.plan-tabs { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; margin: 0 0 1.5rem; padding: 0.15rem 0; }
@media (min-width: 640px) { .plan-tabs { justify-content: center; } }
.plan-tabs::-webkit-scrollbar { display: none; }
.plan-tab { flex: none; min-height: 44px; padding: 0 1.1rem; border: 1px solid #d9c6d8; border-radius: 0.25rem; background: #fff; color: #5b4f5a; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease; }
.plan-tab:active { transform: scale(0.97); }
.plan-tab.is-active { background: var(--brand-mauve); border-color: var(--brand-mauve); color: #fff; }
@media (hover: hover) and (pointer: fine) { .plan-tab:not(.is-active):hover { border-color: var(--brand-mauve); color: #763e74; } }
.plans-grid { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.plans-grid > .plan-card { flex: 1 1 15rem; max-width: 21rem; }
@media (max-width: 639px) { .plans-grid > .plan-card { flex-basis: 100%; max-width: none; } }
/* Quiénes somos: historia de Ariana */
.about-story { display: grid; gap: 1rem; max-width: 40rem; }
.about-story p { font-size: 1.02rem; line-height: 1.75; color: #4d424c; }
.about-sub { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 500; color: #763e74; margin-top: 0.75rem; }
.about-story .about-sign { margin-top: 0.75rem; }
/* =========================================================
   Cifras, clase de prueba, preguntas, Instagram
   ========================================================= */
.numbers { padding-top: 0 !important; padding-bottom: 3rem !important; }
@media (min-width: 768px) { .numbers { padding-bottom: 5rem !important; } }
.numbers-row { list-style: none; display: grid; gap: 0; border-top: 1px solid #e3d6e0; border-bottom: 1px solid #e3d6e0; }
.numbers-row li { padding: 1.4rem 0; border-bottom: 1px solid #efe5ec; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.numbers-row li:last-child { border-bottom: 0; }
.numbers-row strong { font-family: var(--font-serif); font-size: clamp(2rem, 7vw, 3.25rem); font-weight: 500; line-height: 1; color: var(--brand-mauve); letter-spacing: -0.02em; }
.numbers-row span { font-size: 0.95rem; color: #4d424c; text-align: right; max-width: 14rem; line-height: 1.4; }
@media (min-width: 768px) {
  .numbers-row { grid-template-columns: repeat(3, 1fr); }
  .numbers-row li { display: grid; gap: 0.6rem; border-bottom: 0; border-right: 1px solid #efe5ec; padding: 2rem 1.5rem; justify-content: start; }
  .numbers-row li:last-child { border-right: 0; }
  .numbers-row span { text-align: left; max-width: none; }
}
.numbers-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 1.75rem; }
.numbers-cta p { font-size: 0.92rem; color: #6b606a; max-width: 22rem; line-height: 1.5; }

.faq h2, .insta h2 { font-weight: 400; font-size: clamp(2rem, 4.4vw, 3rem); color: #2a1f29; letter-spacing: -0.015em; line-height: 1.1; }
.faq-list { margin-top: 1.75rem; border-top: 1px solid #e3d6e0; }
.faq-list details { border-bottom: 1px solid #e3d6e0; }
.faq-list summary { list-style: none; cursor: pointer; min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; font-weight: 600; font-size: 1rem; color: #2a1f29; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; flex: none; width: 0.55rem; height: 0.55rem; border-right: 1.5px solid var(--brand-mauve); border-bottom: 1.5px solid var(--brand-mauve); transform: rotate(45deg) translateY(-2px); transition: transform 200ms var(--ease-out); }
.faq-list details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq-list details p { padding: 0 2rem 1.25rem 0; font-size: 0.98rem; line-height: 1.7; color: #4d424c; }
@keyframes faq-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.faq-list details[open] p { animation: faq-open 200ms var(--ease-out); }

.insta-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 1.5rem; margin-bottom: 1.5rem; }
.insta-handle { color: #763e74; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; min-height: 44px; display: inline-flex; align-items: center; }
.insta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.35rem; }
@media (min-width: 900px) { .insta-grid { grid-template-columns: repeat(6, 1fr); gap: 0.5rem; } }
.insta-grid a { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: #efe5ec; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.92); transition: transform 500ms var(--ease-out); }
.insta-grid a::after { content: ''; position: absolute; inset: 0; background: rgba(118, 62, 116, 0); transition: background-color 250ms ease; }
@media (hover: hover) and (pointer: fine) {
  .insta-grid a:hover img { transform: scale(1.04); }
  .insta-grid a:hover::after { background: rgba(118, 62, 116, 0.18); }
}
.insta-grid a:active img { transform: scale(1.02); }

/* Encabezados de sección alineados a la izquierda, como en una revista */
#turnero > div > .text-center, #disciplinas > div > .text-center, #planes > div > .text-center { text-align: left; margin-left: 0; margin-right: 0; max-width: 36rem; }
@media (min-width: 768px) { #turnero > div > .text-center, #disciplinas > div > .text-center, #planes > div > .text-center { margin-bottom: 2.5rem; } }
#planes .plan-tabs { justify-content: flex-start; }
#turnero h2, #disciplinas h2, #planes h2, #cursos-section h2, #ubicacion h2, #nosotras h2 { font-size: clamp(2.1rem, 4.8vw, 3.4rem) !important; line-height: 1.05; color: #2a1f29; }

/* Fotos de las clases con el mismo tratamiento */
.disc-card img { filter: saturate(0.9) contrast(1.02); }
.disc-card { border-radius: 0.25rem; }
.disc-body h3 { font-weight: 500; }

/* Pie de página claro, igual que el encabezado */
.site-footer { background: #fdf7f2; border-top: 1px solid #ece3e8; color: #4d424c; margin-top: 0; }
.site-footer .footer-title { color: var(--brand-mauve); }
.site-footer .footer-list, .site-footer .footer-list a { color: #4d424c; }
.site-footer .footer-list a:hover { color: var(--brand-mauve); }
.site-footer .footer-bottom { border-top-color: #ece3e8; color: #6b606a; }
/* Instagram: reels y publicaciones reales (embed oficial) */
.insta-reels { display: flex; gap: 0.75rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.75rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.insta-reels::-webkit-scrollbar { display: none; }
.insta-item { flex: 0 0 min(78vw, 20.5rem); scroll-snap-align: start; background: #fff; border: 1px solid #eadfe8; border-radius: 0.25rem; overflow: hidden; }
.insta-item iframe { display: block; width: 100%; height: 36rem; border: 0; }
@media (min-width: 1024px) { .insta-item { flex-basis: 20.5rem; } }
/* Cinta de Instagram: se desliza sola, se frena al tocar o pasar el mouse */
.insta-reels { display: block; overflow: hidden; padding-bottom: 0.5rem; scroll-snap-type: none; }
.insta-track { display: flex; width: max-content; animation: insta-roll 80s linear infinite; will-change: transform; }
.insta-track .insta-item { flex: 0 0 min(72vw, 20.5rem); margin-right: 0.75rem; scroll-snap-align: none; }
@keyframes insta-roll { to { transform: translateX(-50%); } }
.insta-reels:hover .insta-track, .insta-reels.is-paused .insta-track { animation-play-state: paused; }
.insta-hint { display: block !important; }
@media (prefers-reduced-motion: reduce) {
  .insta-reels { overflow-x: auto; }
  .insta-track { animation: none; }
}
.insta-reels.is-offscreen .insta-track { animation-play-state: paused; }

/* Video de la portada con 15% de zoom */
.hero-bg { transform: scale(1.15); transform-origin: 50% 35%; }

/* Portada en computadora: el video vertical se muestra a su tamaño real (sin estirarlo) sobre un fondo desenfocado de la misma foto */
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; }
/* El equipo de Matra (administradoras) no tiene plan ni cupos */
body.is-admin .stu-only { display: none !important; }

/* Portada en computadora: video a pantalla completa. Sin zoom extra para que no se agrande más de lo necesario. */
@media (min-width: 900px) { .hero-media .hero-bg { transform: none; object-position: 50% 22%; } }

/* Casilla anti-robot */
.captcha-slot { min-height: 0; display: flex; justify-content: center; }
.captcha-slot:not(:empty) { min-height: 65px; }

/* Panel de profe: pestañas en 2x2 en celular, botones de semana */
.admin-tabs .admin-tab-btn { min-height: 44px; white-space: nowrap; font-size: 0.8rem; padding: 0.5rem 0.4rem; border-radius: 0.5rem; }
.admin-date-btn { min-height: 44px; padding: 0 0.7rem; font-size: 0.75rem; font-weight: 600; color: #763e74; background: #fff; border: 1px solid #ebdce0; border-radius: 0.5rem; cursor: pointer; }
.admin-date-btn:active { transform: scale(0.97); }
.admin-date-btn:disabled { opacity: 0.4; cursor: default; }
/* WhatsApp flotante: sale hacia la derecha al bajar y vuelve al subir (solo celular) */
@media (max-width: 639px) {
  .whatsapp-float { transition: transform 250ms var(--ease-out), opacity 200ms ease, box-shadow 200ms ease; }
  .whatsapp-float.is-hidden { transform: translateX(calc(100% + 28px)); opacity: 0; pointer-events: none; }
}
/* Panel de profe: cambiar plan, quitar plan y borrar alumna */
.plan-change-select { min-height: 36px; max-width: 100%; font-size: 0.72rem; color: #4d424c; background: #fff; border: 1px solid #e6d6e5; border-radius: 0.75rem; padding: 0 0.5rem; }
.student-danger-btn { min-height: 36px; padding: 0 0.7rem; font-size: 0.72rem; font-weight: 600; color: #8a5a17; background: #fffbeb; border: 1px solid #fde68a; border-radius: 0.75rem; cursor: pointer; }
.student-danger-btn--delete { color: #c0394b; background: #fdf2f2; border-color: #f8d7da; }
.student-danger-btn:active { transform: scale(0.97); }
/* Celular: sin zoom automático al tocar campos (el navegador hace zoom si la letra es menor a 16px) ni con doble toque */
html { touch-action: manipulation; }
@media (pointer: coarse), (max-width: 899px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="range"]), select, textarea { font-size: 16px !important; }
}
/* Detalles de la revisión: letra mínima de 12px en etiquetas y zonas de toque más cómodas */
.soon, .day-chip-today, .plan-ribbon, .event-badge, .footer-title, .brand-sub, .site-brand .brand-sub, .plan-eyebrow, .site-brand-sub { font-size: max(0.75rem, 12px) !important; }
.course-lite .soon, .plan-ribbon, .event-badge, .day-chip-today { font-size: 0.75rem !important; }
.site-brand { min-height: 44px; }
.nav-link { display: inline-flex; align-items: center; min-height: 40px; }
#discipline-filter-select, .turnero-filter select { min-height: 44px; }
.hero-link, .insta-handle, .btn-delicate-secondary, .btn-delicate-primary { min-height: 44px; }
.modal-container:focus { outline: none; }

.insta-toggle { font: inherit; font-size: 0.8rem; font-weight: 600; color: #763e74; background: transparent; border: 1px solid #d9c4d8; border-radius: 999px; padding: 0 1rem; min-height: 44px; cursor: pointer; transition: background-color 200ms ease, transform 160ms var(--ease-out); }
.insta-toggle:active { transform: scale(0.97); }
@media (hover: hover) { .insta-toggle:hover { background: #f4edf3; } }
.insta-reels.is-stopped .insta-track { animation-play-state: paused; }

/* Matra: tareas primero, detalles disponibles cuando los necesitás. */
body.has-session #inicio, body.has-session #presentacion,
body.has-session #numeros, body.has-session #como-funciona { display: none !important; }
body.has-session #bienvenida { padding-top: 1.75rem; padding-bottom: 0.75rem; }
body.has-session #turnero { padding-top: 1.5rem; }
body.has-session main > section#turnero { padding-top: 2rem !important; }
body.has-session #turnero > div, body.has-session #bienvenida > div,
body.has-session #mis-reservas-section > div { opacity: 1; transform: none; }
.recovery-link { display: inline-flex; align-items: center; min-height: 44px; color: #763e74; font-size: 0.85rem; text-decoration: underline; text-underline-offset: 4px; }
.plan-details summary, .about-details summary { cursor: pointer; min-height: 44px; padding: 0.65rem 0; font-size: 0.88rem; font-weight: 600; }
.plan-details summary:focus-visible, .about-details summary:focus-visible { outline: 2px solid #935491; outline-offset: 4px; }
.plan-details { border-top: 1px solid rgba(147,84,145,0.2); }
.plan-details .plan-features { margin-top: 0.4rem; }
.plan-allowance { font-size: 0.9rem; color: #4d424c; }
.plan-card--featured .plan-allowance { color: #fff; }
.plan-actions { display: grid; gap: 0.5rem; }
#presentacion.statement { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
.plan-terms { font-size: 0.8rem; line-height: 1.6; margin-top: 1rem; }
.plan-card--featured .plan-details { border-color: rgba(255,255,255,0.35); }
.about-details p { margin-bottom: 1rem; }
.about-photo { max-height: 450px; object-position: center 20%; }
.about-story { gap: 0.65rem; }
.about-details { color: #4d424c; }
.insta-preview-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.insta-preview { display: grid; gap: 0.65rem; color: #4d424c; text-decoration: none; min-width: 0; }
.insta-preview img { width: 100%; height: 220px; object-fit: cover; border-radius: 0.75rem; }
.insta-preview > span { display: flex; justify-content: space-between; align-items: center; min-height: 44px; font-size: 0.85rem; }
.insta-preview:focus-visible { outline: 2px solid #935491; outline-offset: 5px; }
.insta-hint { font-size: 0.85rem; color: #6b606a; margin-top: 1rem; }
.site-footer .footer-list a { display: inline-flex; align-items: center; min-height: 44px; }
.plan-tabs { flex-wrap: wrap; overflow: visible; }
@media (max-width: 639px) {
  #planes .plan-card { padding: 1.25rem; gap: 0.75rem; }
  .plan-card > div:first-of-type { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 0.25rem 0.65rem; align-items: start; }
  .plan-card .plan-eyebrow { display: none; }
  .plan-card .plan-name { grid-column: 1; grid-row: 1; font-size: 1.35rem; margin: 0; }
  .plan-card .plan-price { grid-column: 2; grid-row: 1 / span 2; margin: 0; flex-wrap: wrap; justify-content: flex-end; }
  .plan-card .plan-price-amount { font-size: 2rem; }
  .plan-card .plan-price-period { font-size: 0.75rem; }
  .plan-allowance { grid-column: 1; font-size: 0.82rem; }
  .plan-details { grid-column: 1 / -1; margin-top: 0.5rem; }
  .plan-actions { grid-template-columns: minmax(0,1fr) auto; gap: 0.75rem; align-items: center; }
  .plan-actions .plan-consult { width: auto; }
  .plan-card .plan-desc { display: none; }
  .insta-preview-grid { gap: 0.55rem; }
  .insta-preview img { height: 130px; border-radius: 0.5rem; }
  .insta-preview > span { font-size: 0.75rem; line-height: 1.5; }
  .about-photo { max-height: 320px; object-position: center 25%; }
}
