/* ==========================================================================
   Bakery - Estilos CSS para Landing Page (Basado en la App Real)
   Paleta Oficial de la App:
   - Color Primario: #14005d (Azul Marino Indigo Profundo)
   - Verde Marca: #16DB85 (Verde Menta Brillante)
   - Verde Acento: #57A255 / #0FA968
   ========================================================================== */

:root {
  --primary-color: #14005d;
  --primary-dark: #0d003f;
  --primary-light: #220d7e;
  
  --brand-green: #16DB85;
  --brand-green-hover: #12be72;
  --accent-green: #57A255;
  --verde-2: #0FA968;

  --bg-color: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-alt: #f1f5f9;
  --bg-dark-section: #09002e;

  --text-color: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-on-dark: #f8fafc;

  --border-color: rgba(20, 0, 93, 0.1);
  --border-green: rgba(22, 219, 133, 0.4);

  --font-family: 'Inter', system-ui, -apple-system, sans-serif;

  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(20, 0, 93, 0.08);
  --glass-shadow: 0 10px 30px rgba(20, 0, 93, 0.08);

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --radius-full: 9999px;
}

/* --------------------------------------------------------------------------
   Manejo de Vistas Exclusivas por Perfil (Aficionado vs Empresa)
   -------------------------------------------------------------------------- */
body.profile-amateur .profile-empresa-only {
  display: none !important;
}

body.profile-empresa .profile-amateur-only {
  display: none !important;
}

body.profile-empresa .hero-mobile-grid.profile-empresa-only,
body.profile-amateur .hero-mobile-grid.profile-amateur-only,
body.profile-empresa .mobile-grid.profile-empresa-only,
body.profile-amateur .mobile-grid.profile-amateur-only {
  display: grid;
}

/* --------------------------------------------------------------------------
   Base & Reset
   -------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

/* --------------------------------------------------------------------------
   Botones
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--brand-green);
  color: #000000;
  box-shadow: 0 4px 20px rgba(22, 219, 133, 0.35);
}

.btn-primary:hover {
  background-color: var(--brand-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(22, 219, 133, 0.5);
}

.btn-secondary {
  background-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(20, 0, 93, 0.25);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(20, 0, 93, 0.4);
}

/* Compact Flag-Only Language Button */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  background: transparent;
  border: none;
  padding: 0.25rem 0.4rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: transform 0.2s ease;
  margin: 0;
  box-shadow: none;
  line-height: 1;
}
.lang-toggle:hover {
  background: transparent;
  border: none;
  transform: scale(1.15);
  box-shadow: none;
}

/* Mobile Language Toggle inside Hamburger Dropdown */
.mobile-lang-item {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only-lang {
    display: none !important;
  }

  .mobile-lang-item {
    display: block;
    margin-top: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    width: 100%;
    text-align: center;
  }

  .mobile-lang-item .lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    padding: 0.6rem 1.25rem;
    background: rgba(20, 0, 93, 0.04);
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .mobile-lang-item .lang-toggle:hover {
    background: rgba(20, 0, 93, 0.08);
    transform: scale(1.02);
  }
}

/* Legal Documents Dual-Language Visibility */
html[lang="en"] .lang-es-content {
  display: none !important;
}
html[lang="es"] .lang-en-content {
  display: none !important;
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background-color: rgba(20, 0, 93, 0.05);
  border-color: var(--brand-green);
  color: var(--verde-2);
}

/* --------------------------------------------------------------------------
   Header & Logo de la App
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.85rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary-color);
}

.logo-img {
  height: 42px;
  width: 42px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(20, 0, 93, 0.15);
  transition: transform 0.3s ease;
}

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

.logo-highlight {
  color: var(--verde-2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Conmutador Dual de Audiencia (Aficionado vs Empresa)
   -------------------------------------------------------------------------- */
.profile-switcher-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.profile-switcher {
  display: inline-flex;
  background: #e2e8f0;
  padding: 0.35rem;
  border-radius: var(--radius-full);
  gap: 0.25rem;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}

.profile-btn {
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.profile-btn.active {
  background-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(20, 0, 93, 0.25);
}

.profile-btn .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--brand-green);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  padding: 8.5rem 0 4rem;
  background: linear-gradient(180deg, rgba(20, 0, 93, 0.04) 0%, rgba(248, 250, 252, 1) 100%);
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(22, 219, 133, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 880px;
  margin: 0 auto 3rem;
}

.badge-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.25rem;
  background: rgba(20, 0, 93, 0.06);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.hero-badge-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 4px;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.highlight-text {
  color: var(--verde-2);
  position: relative;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.trust-bullets {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-item svg {
  color: var(--verde-2);
}

.hero-mockup-wrapper {
  max-width: 1200px;
  margin: 3rem auto 0 auto;
  position: relative;
  width: 100%;
}

.hero-mobile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: start;
  width: 100%;
}

@media (max-width: 992px) {
  .hero-mobile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-mobile-grid,
  body.profile-empresa .hero-mobile-grid.profile-empresa-only,
  body.profile-amateur .hero-mobile-grid.profile-amateur-only {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1.25rem !important;
    padding: 0.75rem 1rem 1.5rem 1rem !important;
    margin-left: -1rem;
    margin-right: -1rem;
    width: calc(100% + 2rem) !important;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE y Edge */
  }

  .hero-mobile-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }
}

.hero-phone-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 36px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 16px 40px rgba(20, 0, 93, 0.12);
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  padding: 10px 10px 0 10px;
}

@media (max-width: 768px) {
  .hero-phone-card {
    flex: 0 0 80% !important;
    max-width: 320px !important;
    scroll-snap-align: center !important;
    scroll-snap-stop: always !important;
  }
}

.hero-phone-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-green);
  box-shadow: 0 25px 50px rgba(20, 0, 93, 0.22), 0 0 0 1px var(--brand-green);
}

/* Indicadores / Puntos del Carrusel Móvil */
.carousel-dots-nav {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

@media (max-width: 768px) {
  .carousel-dots-nav {
    display: flex;
  }
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-color, #cbd5e1);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-dot.active {
  width: 26px;
  border-radius: 13px;
  background: var(--brand-green, #10b981);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

/* --------------------------------------------------------------------------
   Banner de Confianza / Badges
   -------------------------------------------------------------------------- */
.trust-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 2.5rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  text-align: center;
}

.trust-card {
  padding: 1rem;
}

.trust-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  background: rgba(22, 219, 133, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--verde-2);
}

.trust-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
}

.trust-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Funcionalidades Clave
   -------------------------------------------------------------------------- */
.features {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  color: var(--verde-2);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.15rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-green);
}

.feature-img-box {
  width: 100%;
  height: 250px;
  padding: 1.25rem;
  background: linear-gradient(145deg, #f8fafc 0%, #edf2f7 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-color);
}

.feature-img-box img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(20, 0, 93, 0.09), 0 0 0 1px rgba(20, 0, 93, 0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-card:hover .feature-img-box img {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(20, 0, 93, 0.16), 0 0 0 1px var(--brand-green);
}

.feature-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.feature-tag-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.tag-amateur {
  background: rgba(20, 0, 93, 0.08);
  color: var(--primary-color);
}

.tag-empresa {
  background: rgba(22, 219, 133, 0.2);
  color: #0b7a48;
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Galería de Pantallas Móviles
   -------------------------------------------------------------------------- */
.app-gallery {
  padding: 6rem 0;
  background: var(--bg-card-alt);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.mobile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  align-items: start;
}

.mobile-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 40px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 12px 35px rgba(20, 0, 93, 0.08);
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  padding: 12px 12px 0 12px;
}

.mobile-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-green);
  box-shadow: 0 25px 50px rgba(20, 0, 93, 0.18), 0 0 0 1px var(--brand-green);
}

.mobile-phone-frame {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: #000;
  border: 2px solid #1e1e24;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.mobile-phone-frame::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 16px;
  background: #000;
  border-radius: 10px;
  z-index: 10;
  box-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.mobile-card img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

.mobile-card:hover img {
  transform: scale(1.02);
}

.mobile-card-title {
  padding: 1.25rem 0.5rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-top: auto;
  line-height: 1.4;
}

.obrador-intro-section {
  padding: 1rem 0 3.5rem 0;
  text-align: center;
}

.calculator-section {
  padding: 0.5rem 0 6rem 0;
}

.calculator-box {
  background: var(--bg-card);
  border: 2px solid var(--border-green);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  box-shadow: 0 20px 40px rgba(22, 219, 133, 0.12);
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.calc-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary-color);
}

.calc-slider {
  width: 100%;
  accent-color: var(--brand-green);
  cursor: pointer;
  height: 8px;
}

.calc-results {
  background: var(--primary-color);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(20, 0, 93, 0.3);
}

.result-title {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.result-main {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--brand-green);
  margin: 0.5rem 0;
}

.result-sub {
  font-size: 1.15rem;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* --------------------------------------------------------------------------
   Planes y Precios
   -------------------------------------------------------------------------- */
.pricing {
  padding: 6rem 0;
  background: var(--bg-card-alt);
}

.pricing-switch-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.switch-label {
  font-weight: 700;
  color: var(--text-secondary);
}

.discount-badge {
  background: rgba(22, 219, 133, 0.2);
  color: var(--verde-2);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
}

.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-round {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #cbd5e1;
  transition: .3s;
  border-radius: 34px;
}

.slider-round:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: #ffffff;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider-round {
  background-color: var(--brand-green);
}

input:checked + .slider-round:before {
  transform: translateX(24px);
  background-color: var(--primary-color);
}

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 950px;
  margin: 0 auto;
}

.pricing-card {
  flex: 1 1 320px;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--glass-shadow);
  transition: all 0.3s ease;
}

.pricing-card.popular {
  border: 2px solid var(--brand-green);
  box-shadow: 0 15px 40px rgba(22, 219, 133, 0.2);
}

.popular-tag {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--brand-green);
  color: #000000;
  font-size: 0.75rem;
  font-weight: 900;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  text-align: center;
}

.plan-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  text-align: center;
}

.plan-price {
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary-color);
  margin-bottom: 0.25rem;
  text-align: center;
}

.plan-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  text-align: center;
}

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.plan-features li svg {
  color: var(--verde-2);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   FAQ Acordeón
   -------------------------------------------------------------------------- */
.faq {
  padding: 6rem 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 800;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--verde-2);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-secondary);
  font-size: 0.95rem;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-dark-section);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 4.5rem 0 2rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer .logo {
  color: #ffffff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a:hover {
  color: var(--brand-green);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   Media Queries & Responsividad
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .hero-title { font-size: 2.4rem; }
  .calculator-box { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0; right: 0;
    background: var(--bg-card);
    flex-direction: column;
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .nav-actions .btn { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Cross App Promotion Banner */
.cross-app-banner {
  padding: 3rem 0;
  background: var(--bg-dark);
}

.cross-app-card {
  max-width: 920px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(22, 219, 133, 0.08) 0%, rgba(20, 0, 93, 0.35) 100%);
  border: 1px solid rgba(22, 219, 133, 0.25);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.cross-app-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(22, 219, 133, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cross-app-info {
  max-width: 650px;
}

.cross-app-badge {
  display: block;
  background: transparent;
  color: var(--verde-2);
  padding: 0;
  border-radius: 0;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  border: none;
}

.cross-app-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #09002e;
  margin-bottom: 0.4rem;
}

.cross-app-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

.cross-app-cta {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cross-app-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .cross-app-info {
    max-width: 100%;
  }

  /* Responsive para páginas de Términos y Privacidad Legal */
  .legal-page {
    padding: 5.5rem 0 2.5rem;
  }
  .legal-page .container {
    padding: 0 0.85rem;
  }
  .legal-container {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
  }
  .legal-title {
    font-size: 1.75rem;
  }
  .legal-content ul,
  .legal-content ol {
    margin-left: 1rem;
    padding-left: 0.25rem;
  }
  .highlight-box {
    padding: 1rem;
    margin: 1.25rem 0;
  }

  /* Ocultar subtítulos pequeños verdes (section-tag) en vista móvil */
  .section-tag {
    display: none !important;
  }

  .section-header {
    margin-bottom: 1.5rem;
  }

  /* Reducción de espacios verticales en móvil sobre Precios y FAQ */
  .features,
  .app-gallery,
  .roi-calculator,
  .trust-strip {
    padding: 3rem 0 1.25rem 0;
  }

  .pricing {
    padding: 1.5rem 0;
  }

  .pricing-switch-wrapper {
    margin-bottom: 2rem;
  }

  .faq {
    padding: 1.25rem 0 3rem 0;
  }

  /* Eliminar caja contenedora de la calculadora en móvil para mayor ancho lateral */
  .calculator-box {
    grid-template-columns: 1fr;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    border-radius: 0;
    gap: 2rem;
  }

  .calc-results {
    padding: 1.75rem 1.25rem;
  }

  /* Centrar título y descripción de la calculadora en móvil */
  .calculator-section .section-title,
  .calculator-section .section-desc {
    text-align: center;
  }
}

.mobile-text {
  display: none;
}

@media (max-width: 768px) {
  .desktop-text {
    display: none !important;
  }

  .mobile-text {
    display: inline !important;
  }
}
