/* Critical landing first paint. Full rules remain in styles.css. */
.landing {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--section-gap);
  padding: var(--space-5) var(--page-gutter) var(--section-gap);
}
.landing > section {
  min-width: 0;
  max-width: 100%;
}
/* styles.css 1-250 */
/* ==========================================================================
   Agendarte — Landing
   Sistema de temas: claro por defecto (:root) + oscuro ([data-theme="dark"])
   ========================================================================== */

/* ---------- Tokens de tema ---------- */
:root {
  /* Marca */
  --primary: #7c3aed;
  --primary-strong: #5b21b6;
  --primary-soft: rgba(124, 58, 237, 0.08);
  --primary-contrast: #ffffff;
  /* Gradiente más rico y moderno */
  --brand-gradient: linear-gradient(
    135deg,
    #7c3aed 0%,
    #3b82f6 50%,
    #14b8a6 100%
  );
  --brand-gradient-hover: linear-gradient(
    135deg,
    #6d28d9 0%,
    #2563eb 50%,
    #0d9488 100%
  );
  --brand-navy: #1e1b4b;

  /* Superficies y texto */
  --bg: #f8fafc;
  /* Fondo principal con efecto de mesh gradient suave */
  --bg-hero:
    radial-gradient(
      circle at 15% 50%,
      rgba(124, 58, 237, 0.12),
      transparent 40%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(59, 130, 246, 0.12),
      transparent 40%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(20, 184, 166, 0.08),
      transparent 50%
    ),
    var(--bg);
  --surface: rgba(255, 255, 255, 0.85); /* Preparado para glassmorphism */
  --surface-solid: #ffffff;
  --surface-2: rgba(243, 244, 246, 0.8);
  --surface-3: #e5e7eb;
  --border: rgba(226, 232, 240, 0.8);
  --border-strong: #cbd5e1;
  --text: #0f172a;
  --text-muted: #475569;
  --text-soft: #94a3b8;

  /* Estado / feedback */
  --success: #10b981;
  --success-soft: rgba(16, 185, 129, 0.12);
  --danger: #ef4444;
  --danger-soft: rgba(239, 68, 68, 0.12);
  --info-soft: rgba(59, 130, 246, 0.12);

  /* Sombras Modernas (Soft & Deep) */
  --shadow-sm:
    0 2px 4px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.02);
  --shadow-md:
    0 4px 6px rgba(15, 23, 42, 0.05), 0 10px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg:
    0 10px 15px rgba(15, 23, 42, 0.05), 0 20px 40px rgba(15, 23, 42, 0.08);
  --shadow-glow: 0 0 24px rgba(124, 58, 237, 0.25);

  /* Modales */
  --overlay: rgba(15, 23, 42, 0.6);
  --modal-surface: var(--surface-solid);
  --modal-border: var(--border);

  /* Radios (más redondeados y modernos) */
  --font-poppins: "Poppins", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Controles */
  --input-bg: rgba(255, 255, 255, 0.9);
  --input-border: var(--border-strong);
  --focus-ring: 0 0 0 4px rgba(124, 58, 237, 0.25);

  /* Layout */
  --page-gutter: clamp(16px, 4vw, 32px);
  --section-gap: clamp(56px, 9vh, 110px);
  --content-shell: 1200px;
  --content-wide: 1140px;
  --content-default: 1100px;
  --content-narrow: 820px;
  --content-cta: 760px;
  --modal-gutter: clamp(12px, 3vw, 20px);

  /* Spacing Scale (Modular 4px/8px) */
  --space-0: 0;
  --space-1: 0.25rem; /* 4px */
  --space-2: 0.5rem; /* 8px */
  --space-3: 0.75rem; /* 12px */
  --space-4: 1rem; /* 16px */
  --space-5: 1.25rem; /* 20px */
  --space-6: 1.5rem; /* 24px */
  --space-7: 2rem; /* 32px */
  --space-8: 2.5rem; /* 40px */
  --space-9: 3rem; /* 48px */
  --space-10: 4rem; /* 64px */
  --space-11: 5rem; /* 80px */
  --space-12: 6rem; /* 96px */

  /* Typography Scale */
  --font-xs: 0.75rem; /* 12px */
  --font-sm: 0.875rem; /* 14px */
  --font-base: 1rem; /* 16px */
  --font-lg: 1.125rem; /* 18px */
  --font-xl: 1.25rem; /* 20px */
  --font-2xl: 1.5rem; /* 24px */
  --font-3xl: 1.875rem; /* 30px */
  --font-4xl: 2.25rem; /* 36px */
  --font-5xl: 3rem; /* 48px */

  --lh-tight: 1.2;
  --lh-snug: 1.35;
  --lh-normal: 1.5;
  --lh-relaxed: 1.65;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Transitions & Animation Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 240ms;
  --duration-normal: 380ms;
  --duration-slow: 480ms;

  color-scheme: light;
}

[data-theme="dark"] {
  --primary: #8b5cf6;
  --primary-strong: #a78bfa;
  --primary-soft: rgba(139, 92, 246, 0.15);
  --primary-contrast: #ffffff;
  --brand-gradient: linear-gradient(
    135deg,
    #8b5cf6 0%,
    #60a5fa 50%,
    #2dd4bf 100%
  );
  --brand-gradient-hover: linear-gradient(
    135deg,
    #a78bfa 0%,
    #93c5fd 50%,
    #5eead4 100%
  );

  --bg: #0b0f19;
  --bg-hero:
    radial-gradient(
      circle at 15% 50%,
      rgba(139, 92, 246, 0.18),
      transparent 40%
    ),
    radial-gradient(
      circle at 85% 30%,
      rgba(96, 165, 250, 0.15),
      transparent 40%
    ),
    radial-gradient(
      circle at 50% 80%,
      rgba(45, 212, 191, 0.12),
      transparent 50%
    ),
    var(--bg);
  --surface: rgba(17, 24, 39, 0.75);
  --surface-solid: #111827;
  --surface-2: rgba(31, 41, 55, 0.7);
  --surface-3: #374151;
  --border: rgba(75, 85, 99, 0.6);
  --border-strong: rgba(107, 114, 128, 0.8);
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --text-soft: #64748b;

  --success: #34d399;
  --success-soft: rgba(52, 211, 153, 0.15);
  --danger: #f87171;
  --danger-soft: rgba(248, 113, 113, 0.15);
  --info-soft: rgba(96, 165, 250, 0.15);

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 10px 24px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 32px rgba(139, 92, 246, 0.35);

  --overlay: rgba(3, 7, 18, 0.85);
  --modal-surface: var(--surface-solid);
  --modal-border: var(--border);

  --input-bg: rgba(17, 24, 39, 0.9);
  --input-border: rgba(75, 85, 99, 0.8);
  --focus-ring: 0 0 0 4px rgba(139, 92, 246, 0.35);

  color-scheme: dark;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  font-family: var(--font-poppins, "Poppins", system-ui, sans-serif);
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  overflow-x: hidden;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg-hero);
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

/* styles.css 347-750 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
  background: var(--surface);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition:
    background-color 0.3s ease,
    backdrop-filter 0.3s ease,
    border-color 0.3s ease;
}
.site-header__inner {
  width: min(1240px, calc(100% - (var(--page-gutter, 1.5rem) * 2)));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0;
  flex-wrap: nowrap;
  min-width: 0;
  box-sizing: border-box;
}
.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 0 0 auto;
  text-decoration: none;
  color: var(--text, #1e293b);
}
.brand-logo {
  display: block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
}
.brand-title {
  font-family: var(--font-poppins, "Poppins"), sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text, #1e293b);
}
.brand-uy {
  color: #3877f3;
  font-weight: 700;
}
.site-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 0 auto;
}
.site-header__nav-link {
  font-family: var(--font-poppins, "Poppins"), sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted, #56617a);
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
}
.site-header__nav-link:hover {
  color: var(--primary, #7038ff);
}
.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-header__login-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  background: transparent;
  border: none;
  font-family: var(--font-poppins, "Poppins"), sans-serif;
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text, #1e293b);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.site-header__login-link:hover {
  color: var(--primary, #7038ff);
}
.site-header__cta-btn,
.site-header__cta-btn.plan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #7038ff 0%, #3877f3 100%);
  color: #ffffff;
  font-family: var(--font-poppins, "Poppins"), sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 10px 22px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px -4px rgba(112, 56, 255, 0.4);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
}
.site-header__cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -4px rgba(112, 56, 255, 0.55);
  color: #ffffff;
}
.site-header__cta-desktop {
  display: inline;
}
.site-header__cta-mobile {
  display: none;
}
.site-header__cta-arrow {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.site-header__cta-btn:hover .site-header__cta-arrow {
  transform: translateX(2px);
}
.theme-toggle--header {
  width: 36px;
  height: 36px;
}
.site-header__menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--border, #e2e8f0);
  background: var(--surface-2, #f8fafc);
  color: var(--text, #1e293b);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease;
}
.site-header__menu-btn:hover {
  background: var(--border, #e2e8f0);
}
/* Mobile Drawer */
.site-header__mobile-menu[hidden] {
  display: none !important;
}
.site-header__mobile-menu {
  display: block;
}
.site-header__mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 80;
}
.site-header__mobile-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--surface-solid, #ffffff);
  border-bottom: 1px solid var(--border, #e2e8f0);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.15);
  z-index: 90;
  padding: 1.25rem 1.5rem;
  animation: mobileMenuSlide 0.2s ease-out;
}
@keyframes mobileMenuSlide {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.site-header__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.site-header__mobile-link {
  font-family: var(--font-poppins, "Poppins"), sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text, #1e293b);
  text-decoration: none;
  padding: 0.75rem 0.5rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-radius: 6px;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.site-header__mobile-link:hover {
  background: var(--surface-2, #f8fafc);
  color: var(--primary, #7038ff);
}
.site-header__mobile-login-btn {
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.site-header__mobile-theme {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.5rem 0.25rem;
  border-top: 1px solid var(--border, #e2e8f0);
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted, #56617a);
}
@media (max-width: 1120px) {
  .site-header__nav {
    display: none;
  }
  .site-header .theme-toggle--header {
    display: none !important;
  }
  .site-header__menu-btn {
    display: grid;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
  .site-header__inner {
    gap: 12px;
  }
}
@media (max-width: 720px) {
  .site-header__inner {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.6rem 1rem !important;
    margin: 0 !important;
    gap: 8px;
    box-sizing: border-box !important;
  }
  .brand-logo {
    width: 28px;
    height: 28px;
  }
  .brand-title {
    font-size: 1.15rem;
  }
  .site-header__actions {
    gap: 8px;
    flex-shrink: 0;
  }
  .site-header__nav {
    display: none;
  }
  .site-header__login-link {
    display: none;
  }
  .site-header .theme-toggle--header {
    display: none !important;
  }
  .site-header__cta-desktop {
    display: none;
  }
  .site-header__cta-mobile {
    display: inline;
  }
  .site-header .site-header__cta-btn,
  .site-header__cta-btn.plan-btn {
    padding: 10px 16px !important;
    font-size: 0.8125rem !important;
    font-weight: 700;
    min-height: 44px;
  }
  .site-header__cta-arrow {
    display: none;
  }
  .site-header__menu-btn {
    display: grid;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }
}
@media (max-width: 360px) {
  .site-header__inner {
    padding: 0.5rem 0.75rem !important;
    gap: 6px;
  }
  .brand-title {
    font-size: 1rem;
  }
  .brand-logo {
    width: 24px;
    height: 24px;
  }
  .site-header .site-header__cta-btn,
  .site-header__cta-btn.plan-btn {
    padding: 8px 12px !important;
    font-size: 0.75rem !important;
  }
}
.theme-toggle {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease;
}
.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
}
.theme-toggle__icon {
  grid-area: 1 / 1;
  font-size: var(--font-xl);
  color: var(--text-muted);
  transition:
    opacity 0.25s ease,
    transform 0.35s ease;
}
.theme-toggle__icon--sun {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}
.theme-toggle__icon--moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}
.site-header__user {
  position: relative;
  flex-shrink: 0;
}
.site-header__login-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--primary-contrast);
  font: inherit;
  font-weight: var(--weight-semibold);
  font-size: var(--font-sm);
  line-height: var(--lh-tight);
  cursor: pointer;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.site-header__login-btn:hover,
.site-header__login-btn[aria-expanded="true"] {
  background: var(--primary-strong);
  transform: translateY(-1px);
}
.site-header__login-caret {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.site-header__login-btn[aria-expanded="true"] .site-header__login-caret {
  transform: rotate(180deg);
}
.site-header__login-label {
  display: inline;
}
/* Modal de Login / Registro Centrado */
body.login-open {
  overflow: hidden !important;
}
.site-login-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--modal-gutter);
  overflow-y: auto;
/* styles.css 1804-2360 */
/* ---------- Hero y Cómo Funciona aprobados ---------- */
.hero.hero--calendar {
  width: min(1240px, 100%);
  min-height: auto;
  padding: clamp(48px, 6vw, 76px) var(--page-gutter, 1.5rem)
    clamp(16px, 2.5vw, 24px);
  gap: clamp(24px, 3.5vw, 44px);
  text-align: center;
  margin: 0 auto;
}
.hero.hero--calendar::before {
  display: none;
}
.hero--calendar .hero__content {
  width: min(100%, 960px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 1.8vw, 18px);
  margin-inline: auto;
}
.hero.hero--calendar .hero__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border: 0;
  color: var(--primary, #7038ff);
  background: rgba(112, 56, 255, 0.08);
  box-shadow: none;
  font-family: var(--font-poppins, "Poppins"), sans-serif;
  font-size: clamp(0.7rem, 0.65rem + 0.2vw, 0.8rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 9999px;
  margin: 0 auto;
}
.hero__brand-kicker {
  display: block;
  margin: 0 0 8px;
  font-size: clamp(0.85rem, 0.7rem + 0.4vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary, #7038ff);
}
.hero--calendar .hero__title {
  max-inline-size: 22ch;
  margin: 0;
  font-family: var(--font-poppins, "Poppins"), sans-serif;
  font-size: clamp(34px, calc(1.8rem + 3.2vw), 64px);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: -0.043em;
  text-align: center;
  text-wrap: balance;
  color: var(--text, #1a1f36);
}
.hero__first-word {
  position: relative;
  display: inline-block;
}
.hero__spark {
  position: absolute;
  top: -14px;
  left: -28px;
  width: 28px;
  height: auto;
  pointer-events: none;
  z-index: 1;
}
.hero__title-gradient {
  display: inline-block;
  background: linear-gradient(135deg, #8343ff 20%, #00a2e8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__desktop-space {
  display: inline;
}
.hero__mobile-break {
  display: none;
}
.hero--calendar .hero__subtitle {
  max-width: 580px;
  margin: 0 auto;
  color: var(--text-muted, #56617a);
  font-family: var(--font-poppins, "Poppins"), sans-serif;
  font-weight: 400;
  font-size: clamp(0.95rem, 0.88rem + 0.35vw, 1.125rem);
  line-height: 1.75;
  text-align: center;
  text-wrap: balance;
}
.hero--calendar .hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 6px;
}
.hero__action-wrapper {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}
.hero--calendar .hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #7038ff 0%, #3877f3 100%);
  color: #ffffff;
  font-family: var(--font-poppins, "Poppins"), sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 28px -6px rgba(112, 56, 255, 0.45);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  white-space: nowrap;
  text-decoration: none;
  position: relative;
  z-index: 2;
}
.hero--calendar .hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px -6px rgba(112, 56, 255, 0.55);
  color: #ffffff;
}
.hero__cta-arrow {
  transition: transform 0.2s ease;
}
.hero--calendar .hero__cta:hover .hero__cta-arrow {
  transform: translateX(3px);
}
.hero__annotation {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  margin-top: 10px;
  pointer-events: none;
  width: max-content;
  max-width: 100%;
}
.hero__note-arrow {
  display: none;
}
.hero__note-arrow-mobile {
  display: block;
  width: 64px;
  height: 72px;
  opacity: 0.9;
}
.hero__lettering {
  display: block;
  width: 156px;
  height: auto;
  flex-shrink: 0;
}
.hero__note-fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 860px) {
  .hero__annotation {
    position: absolute;
    left: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%);
    flex-direction: row;
    margin-top: 0;
    gap: 10px;
    width: max-content;
  }
  .hero__note-arrow {
    display: block;
    width: 62px;
    height: auto;
    flex-shrink: 0;
    transform: translateY(-22px);
  }
  .hero__note-arrow-mobile {
    display: none;
  }
  .hero__lettering {
    width: 165px;
  }
}
.hero__support {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
  font-family: var(--font-poppins, "Poppins"), sans-serif;
  font-size: 0.875rem;
  color: var(--text-muted, #56617a);
  margin-top: 16px;
  max-width: 100%;
  padding-inline: 4px;
}
.hero__support-pill {
  font-weight: 500;
}
.hero__support-sep {
  color: var(--border, #cbd5e1);
  font-weight: 300;
}
.hero__support-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted, #56617a);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}
.hero__support-link:hover {
  color: var(--primary, #7038ff);
}
.hero--calendar .hero__showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: clamp(18px, 2.5vw, 32px);
}
.hero-calendar-shot {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: clamp(18px, 2vw, 28px);
  background: #f8fafc;
  box-shadow: 0 24px 60px -16px rgba(15, 23, 42, 0.18);
}
.hero-calendar-shot picture {
  display: block;
}
.hero-calendar-shot__img {
  display: block;
  width: 100%;
  height: auto;
}
.hero__showcase-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-poppins, "Poppins"), sans-serif;
  font-size: 0.84rem;
  color: var(--text-muted, #56617a);
  margin-top: 14px;
}
.hero__showcase-caption svg {
  color: var(--text-muted, #56617a);
  flex-shrink: 0;
}

/* Section: Cómo Funciona */
.how-it-works {
  width: 100%;
  padding: clamp(24px, 3.5vw, 48px) var(--page-gutter, 1.5rem)
    clamp(36px, 4vw, 64px);
  background: transparent;
  text-align: center;
}
.how-it-works__inner {
  max-width: 1080px;
  margin: 0 auto;
}
.how-it-works__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: clamp(32px, 4vw, 52px);
}
.how-it-works__badge {
  font-family: var(--font-poppins, "Poppins"), sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary, #7038ff);
  margin: 0;
}
.how-it-works__title {
  font-family: var(--font-poppins, "Poppins"), sans-serif;
  font-weight: 700;
  font-size: clamp(29px, 3.2vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text, #1a1f36);
  margin: 0;
}
.how-it-works__subtitle {
  font-family: var(--font-poppins, "Poppins"), sans-serif;
  font-weight: 400;
  font-size: clamp(0.9375rem, 0.88rem + 0.25vw, 1.0625rem);
  color: var(--text-muted, #56617a);
  margin: 0;
}
.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
  text-align: left;
}
.how-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--surface, #ffffff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow:
    0 4px 16px -2px rgba(15, 23, 42, 0.04),
    0 2px 6px -1px rgba(15, 23, 42, 0.02);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.how-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.08);
}
.how-step__aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.how-step__icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.how-step__icon--purple {
  background: #f3effe;
  color: #7951ff;
}
.how-step__icon--blue {
  background: #eef5ff;
  color: #3478f6;
}
.how-step__icon--teal {
  background: #e8faf7;
  color: #0fbba1;
}
.how-step__number {
  font-family: var(--font-poppins, "Poppins"), sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted, #64748b);
  line-height: 1;
}
.how-step__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 2px;
}
.how-step__name {
  font-family: var(--font-poppins, "Poppins"), sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text, #1a1f36);
  margin: 0;
  line-height: 1.35;
}
.how-step__desc {
  font-family: var(--font-poppins, "Poppins"), sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted, #56617a);
  line-height: 1.55;
  margin: 0;
}

/* Dark mode overrides for Hero and Cómo Funciona */
[data-theme="dark"] .hero.hero--calendar .hero__badge {
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.16);
}
[data-theme="dark"] .hero--calendar .hero__title {
  color: #f1f5f9;
}
[data-theme="dark"] .hero--calendar .hero__subtitle,
[data-theme="dark"] .hero__support,
[data-theme="dark"] .hero__support-link,
[data-theme="dark"] .hero__showcase-caption {
  color: #94a3b8;
}
[data-theme="dark"] .hero-calendar-shot {
  border-color: rgba(148, 163, 184, 0.25);
  background: #1e293b;
  box-shadow: 0 28px 76px -34px rgba(0, 0, 0, 0.65);
}
[data-theme="dark"] .how-it-works {
  background: transparent;
}
[data-theme="dark"] .how-step {
  background: var(--surface, #131b2e);
  border-color: var(--border, #1e293b);
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.3);
}
[data-theme="dark"] .how-step:hover {
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
}
[data-theme="dark"] .how-it-works__title {
  color: #f1f5f9;
}
[data-theme="dark"] .how-it-works__subtitle {
  color: #94a3b8;
}
[data-theme="dark"] .how-it-works__badge {
  color: #c4b5fd;
}
[data-theme="dark"] .how-step__name {
  color: #f1f5f9;
}
[data-theme="dark"] .how-step__desc {
  color: #94a3b8;
}
[data-theme="dark"] .how-step__number {
  color: #94a3b8;
}
[data-theme="dark"] .how-step__icon--purple {
  background: rgba(121, 81, 255, 0.18);
  color: #c4b5fd;
}
[data-theme="dark"] .how-step__icon--blue {
  background: rgba(52, 120, 246, 0.18);
  color: #93c5fd;
}
[data-theme="dark"] .how-step__icon--teal {
  background: rgba(15, 187, 161, 0.18);
  color: #5eead4;
}

@media (max-width: 768px) {
  .how-it-works__steps {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
    gap: 14px;
  }
  .how-step {
    padding: 18px 16px;
    border-radius: 16px;
  }
}

@media (max-width: 600px) {
  .hero.hero--calendar {
    padding-block: clamp(28px, 7vw, 44px);
    gap: clamp(20px, 6vw, 28px);
  }
  .hero--calendar .hero__content {
    gap: 12px;
  }
  .hero.hero--calendar .hero__badge {
    max-width: 100%;
    padding-inline: 12px;
    font-size: 0.68rem;
  }
  .hero--calendar .hero__title {
    max-inline-size: 100%;
    font-size: 34px;
    line-height: 1.16;
    letter-spacing: -0.04em;
  }
  .hero__spark {
    width: 22px;
    top: -12px;
    left: -22px;
  }
  .hero__desktop-space {
    display: none;
  }
  .hero__mobile-break {
    display: inline;
  }
  .hero--calendar .hero__subtitle {
    max-width: 330px;
    font-size: 15px;
    line-height: 1.8;
  }
  .hero--calendar .hero__cta {
    font-size: 15px;
    padding: 13px 26px;
    min-height: 44px;
  }
  .hero__support {
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 10px;
    font-size: 0.8125rem;
    max-width: 100%;
  }
  .hero__support-sep {
    display: none;
  }
  .hero-calendar-shot {
    max-width: 320px;
    border-radius: 26px;
  }
  .how-it-works__title {
    font-size: 29px;
  }
  .how-it-works__subtitle {
    font-size: 15px;
  }
}
.hero-photo-card__overlay {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: linear-gradient(
    180deg,
    rgba(15, 23, 42, 0.05) 0%,
    rgba(15, 23, 42, 0.45) 100%
  );
  pointer-events: none;
}
.hero-float-tag {
  position: absolute;
  background: var(--surface-solid);
  border: 1px solid var(--border);
  padding: 10px 18px;
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.2);
  display: flex;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2;
  transition: transform 0.4s var(--ease-out);
}
.hero-photo-card:hover .hero-float-tag--top {
