/* ==================== PAGES ==================== */
.page { display: none; }
.page.active { display: block; }

/* ==================== NAV (LANDING) ==================== */
.landing-nav {
  position: fixed; 
  top: 0; 
  left: 0; 
  right: 0; 
  z-index: 1000;
  height: var(--nav-h);
  background: var(--white);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--linen);
  display: flex; 
  align-items: center;
  padding: 0 40px;
  justify-content: space-between;
}
.nav-brand {
  display: flex; align-items: center; gap: 12px;
  cursor: pointer; text-decoration: none;
}
.nav-logo { width: 38px; height: 38px; border-radius: 10px; overflow: hidden; }
.nav-logo img { width: 100%; height: 100%; object-fit: cover; }
.nav-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 22px; font-weight: 700;
  color: var(--sun); letter-spacing: -0.3px;
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
  font-size: 14px; font-weight: 500; color: var(--stone);
  padding: 8px 16px; border-radius: 8px;
  cursor: pointer; transition: all 0.2s;
  background: none; border: none; font-family: 'DM Sans', sans-serif;
}
.nav-link:hover, .nav-link.active { color: var(--earth); background: var(--linen); }

.nav-actions { display: flex; align-items: center; gap: 8px; }

.nav-acc {
  font-size: 14px; font-weight: 600; color: var(--sun);
  padding: 8px 16px; border-radius: 8px;
  cursor: pointer; transition: all 0.2s;
  background: transparent; border: 1px solid var(--sun);
  font-family: 'DM Sans', sans-serif;
}
.nav-acc:hover { background: var(--sun-bg); border-color: var(--sun-light); }

.nav-cta {
  background: var(--sun); color: var(--white);
  padding: 10px 20px; border-radius: 10px;
  font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  border: none; font-family: 'DM Sans', sans-serif;
}
.nav-cta:hover { background: var(--sun-light); transform: translateY(-1px); }

/* Hamburguesa oculta por defecto en PC */
.menu-toggle {
  display: none; background: none; border: none;
  font-size: 24px; color: var(--earth); cursor: pointer;
  padding: 8px; margin-left: 8px;
}

/* Menú Móvil oculto por defecto */
.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--linen);
  padding: 20px; display: none; flex-direction: column; gap: 10px;
  z-index: 999; box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.mobile-menu.active { display: flex; }
.mobile-menu .nav-link { width: 100%; text-align: left; padding: 12px 16px; font-size: 16px; }

/* ==================== HERO ==================== */
.hero {
  min-height: 20px; 
  background: linear-gradient(135deg, var(--cream) 0%, var(--parchment) 100%);
  display: flex; 
  align-items: center; 
  padding: calc(var(--nav-h) + 20px) 40px 60px; 
  position: relative; overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute; top: -120px; right: -120px;
  width: 600px; height: 600px; border-radius: 50%;
  border: 1px solid rgba(200,80,26,0.2);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute; bottom: -200px; left: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  border: 1px solid rgba(200,80,26,0.12);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px; 
  margin: 0 auto;
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 80px; 
  align-items: center;
  position: relative; z-index: 1; width: 100%;
}

.hero-inner > div:first-child {
  padding-left: 40px;  
}

.hero-eyebrow {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--or-strong); margin-bottom: 20px; font-weight: 600;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(46px, 14vw, 58px);
  font-weight: 700; color: var(--earth-mid);
  line-height: 1.05; margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title em {
  font-style: italic; color: var(--sun-light);
}

.hero-sub {
  font-size: 14px; 
  color: var(--stone);
  line-height: 1.7; margin-bottom: 35px;
  max-width: 460px;
}

.hero-actions { 
  display: flex; 
  gap: 16px; 
  flex-wrap: wrap; 
}

.btn-primary {
  background: var(--sun); color: var(--white);
  padding: 12px 24px; 
  border-radius: 12px;
  font-size: 14px; 
  font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  border: none; font-family: 'DM Sans', sans-serif;
  display: inline-flex; align-items: center; gap: 8px;
}

.btn-primary:hover { background: var(--sun-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,80,26,0.35); }

.btn-secondary {
  background: transparent; 
  padding: 12px 24px; 
  border-radius: 12px;
  font-size: 14px; 
  font-weight: 500; 
  color: var(--stone-light);
  cursor: pointer; transition: all 0.2s;
  border: 1px solid var(--stone-light);
  font-family: 'DM Sans', sans-serif;
}

.btn-secondary:hover { border-color: var(--sun-light); color: var(--sun-light); }

.hero-trust {
  display: flex; align-items: center; gap: 8px;
  margin-top: 32px; font-size: 12px; color: var(--stone-light);
}

.trust-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--sun-light); }

/* Hero app preview */
.hero-preview {
  background: var(--cream);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 20px;
  backdrop-filter: blur(8px);
  transform: scale(0.8); 
}
.preview-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.preview-greeting {
  font-family: 'Playfair Display', serif;
  font-size: 20px; color: var(--earth-mid); font-weight: 500;
}
.preview-date { font-size: 11px; color: var(--stone-light); margin-top: 2px; }
.preview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.preview-card {
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 14px;
}
.preview-card-icon {
  width: 28px; height: 28px; border-radius: 8px;
  margin-bottom: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.preview-card-label { font-size: 10px; color: var(--stone); margin-bottom: 2px; }
.preview-card-value { font-family: 'DM Mono', monospace; font-size: 16px; font-weight: 500; }
.preview-habit {
  background: var(--white);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px; padding: 14px;
  display: flex; align-items: center; gap: 12px;
}
.habit-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(200,80,26,0.25);
  border: 1.5px solid var(--sun-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.habit-title { font-size: 13px; font-weight: 500; color: var(--stone); }
.habit-time { font-size: 11px; color: var(--stone-light); }
.habit-check {
  margin-left: auto; width: 24px; height: 24px;
  border-radius: 6px; background: var(--sun);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ==================== SECTIONS COMMON ==================== */
section { padding: 100px 40px; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-tag {
  font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--sun); margin-bottom: 12px; font-weight: 500;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; color: var(--earth-mid);
  line-height: 1.15; margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.section-title em { font-style: italic; color: var(--sun); }
.section-sub {
  font-size: 15px; color: var(--stone);
  line-height: 1.8; max-width: 600px;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

/* ==================== FEATURES ==================== */
.features-bg { background: var(--white); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.feature-card {
  padding: 32px 28px; border-radius: var(--radius);
  border: 1px solid var(--linen);
  transition: all 0.3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--linen-dark); }
.feature-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-title { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.feature-desc { font-size: 13px; color: var(--stone); line-height: 1.7; }

/* ==================== HOW IT WORKS ==================== */
.how-bg { background: var(--cream); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; position: relative; }
.steps::before {
  content: '';
  position: absolute; top: 28px; left: 14%; right: 14%;
  height: 1px; background: var(--linen-dark);
}
.step { text-align: center; padding: 0 16px; position: relative; }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--or); color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; position: relative; z-index: 1;
}
.step-num-2 {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--or-gold); color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; position: relative; z-index: 1;
}
.step-num-3 {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--amber); color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; position: relative; z-index: 1;
}
.step-num-4 {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--or); color: var(--white);
  font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; position: relative; z-index: 1;
}
.step-num.active { background: var(--or-gold-pale); }
.step-title { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.step-desc { font-size: 13px; color: var(--stone); line-height: 1.6; }

/* ==================== MODULES ==================== */
.modules-bg { background: var(--white); padding-bottom: 100px; } 
.modules-bg .section-title { color: var(--earth-mid); }
.modules-bg .section-sub { color: var(--stone); }
.modules-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 48px; }
.modules-grid .module-card:last-child { grid-column: 3; }

.module-card {
  background: var(--cream);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm); padding: 20px 16px;
  text-align: center; transition: all 0.25s; cursor: default;
}
.module-card:hover { background: var(--or-cream); border-color: rgba(255,255,255,0.2); transform: translateY(-3px); }
.module-icon { margin: 0 auto 12px; }
.module-name { font-size: 12px; font-weight: 500; color: var(--stone-light); }

/* ==================== TESTIMONIALS ==================== */
.testi-bg { 
  background: var(--linen); 
  padding: 80px 0; 
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }

.testi-card {
  background: var(--white); border-radius: var(--radius);
  padding: 28px; border: 1px solid var(--linen-dark);
}

.testi-stars { color: var(--gold); font-size: 14px; margin-bottom: 14px; }
.testi-quote { font-size: 15px; color: var(--earth); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }

.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600;
}

.testi-name { font-size: 13px; font-weight: 600; color: var(--earth); }
.testi-role { font-size: 12px; color: var(--stone-light); }

/* ==================== PRICING ==================== */
.pricing-bg { background: var(--white); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 56px; }
.pricing-card {
  border-radius: var(--radius-lg); padding: 36px 32px;
  border: 1px solid var(--linen); position: relative;
  transition: all 0.3s;
  display: flex; flex-direction: column;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card.featured {
  background: var(--linen); border-color: var(--cream);
  transform: scale(1.03);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-4px); }
.pricing-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--sun); color: var(--white);
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 16px; border-radius: 20px;
}
.pricing-plan { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; margin-bottom: 8px; }
.pricing-card .pricing-plan { color: var(--stone); }
.pricing-card.featured .pricing-plan { color: var(--stone); }
.pricing-name { font-family: 'DM Sans', sans-serif; font-size: 28px; font-weight: 700; margin-bottom: 6px; }
.pricing-card .pricing-name { color: var(--earth); }
.pricing-card.featured .pricing-name { color: var(--earth); }
.pricing-desc { font-size: 14px; color: var(--stone); margin-bottom: 24px; line-height: 1.6; }
.pricing-card.featured .pricing-desc { color: var(--stone); }
.pricing-price { margin-bottom: 28px; }
.price-amount {
  font-family: 'DM Sans', Sans-Serif;
  font-size: 44px; font-weight: 500;
}
.pricing-card .price-amount { color: var(--earth); }
.pricing-card.featured .price-amount { color: var(--earth); }
.price-period { font-size: 13px; color: var(--stone); }
.pricing-card.featured .price-period { color: var(--stone); }
.pricing-divider { height: 1px; background: var(--linen); margin-bottom: 24px; }
.pricing-card.featured .pricing-divider { background: var(--earth-mid); }
.pricing-features { list-style: none; margin-bottom: 32px; flex-grow: 1; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; margin-bottom: 12px; line-height: 1.5;
}
.pricing-card .pricing-features li { color: var(--stone); }
.pricing-card.featured .pricing-features li { color: var(--stone); }
.check-icon { flex-shrink: 0; margin-top: 2px; }

.pricing-btn {
  width: 100%; padding: 14px; border-radius: 12px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: all 0.2s; border: none;
  font-family: 'DM Sans', sans-serif;
  margin-bottom: 12px;
}
.pricing-btn-outline {
  background: transparent; border: 1.5px solid var(--linen-dark); color: var(--earth);
}
.pricing-btn-outline:hover { border-color: var(--sun); color: var(--sun); background: var(--sun-bg); }
.pricing-btn-primary { background: var(--sun); color: var(--white); }
.pricing-btn-primary:hover { background: var(--sun-light); box-shadow: 0 6px 20px rgba(200,80,26,0.35); }
.pricing-btn-dark { background: var(--white); color: var(--earth); }
.pricing-btn-dark:hover { background: var(--cream); }


.pricing-footer-link {
  text-align: center; font-size: 12px; font-weight: 500;
  color: var(--stone); background: none; border: none;
  cursor: pointer; width: 100%; opacity: 0.7;
}
.pricing-footer-link:hover { opacity: 1; color: var(--earth); text-decoration: underline; }
.pricing-card.featured .pricing-footer-link { color: var(--stone); }
.pricing-card.featured .pricing-footer-link:hover { color: var(--cream); }

/* ==================== FAQ ==================== */
.faq-bg { background: var(--cream); }
.faq-grid { max-width: 720px; margin: 48px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--linen-dark);
  padding: 20px 0; cursor: pointer;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 16px; font-weight: 500; color: var(--earth);
  gap: 16px;
}
.faq-icon { color: var(--sun); font-size: 20px; flex-shrink: 0; transition: transform 0.2s; }
.faq-a {
  font-size: 14px; color: var(--stone); line-height: 1.8;
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.2s;
}
.faq-item.open .faq-a { max-height: 200px; padding-top: 12px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

/* ==================== CTA BAND ==================== */
.cta-band {
  background: linear-gradient(135deg, var(--sun) 0%, var(--sun-light) 80%);
  padding: 80px 40px; text-align: center;
}
.cta-band-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--white); font-weight: 700;
  line-height: 1.2; margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.cta-band-sub { font-size: 17px; color: rgba(255,255,255,0.7); margin-bottom: 36px; }


.cta-band .btn-white {
  background: var(--white); color: var(--sun);
  padding: 14px 32px; border-radius: 12px;
  font-size: 15px; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
  border: none; font-family: 'DM Sans', sans-serif;
  display: inline-block;
  margin-bottom: 16px;
}
.cta-band .btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

.cta-band-login {
  display: block; font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,0.8); background: none; border: none;
  cursor: pointer; margin: 0 auto;
}
.cta-band-login:hover { color: var(--white); text-decoration: underline; }

/* ==================== MANIFIESTO PAGE ==================== */
.manifiesto-hero {
  min-height: 60vh;
  background: linear-gradient(135deg, var(--cream) 0%, var(--parchment) 100%);
  display: flex; align-items: flex-end;
  padding: calc(var(--nav-h) + 40px) 40px 80px;
  position: relative; overflow: hidden;
}
.manifiesto-hero::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 400px; height: 400px; border-radius: 50%;
  border: 1px solid rgba(200,80,26,0.2);
}
.manifesto-inner { 
  max-width: 1200px; 
  margin-left: 150px; 
}
.manifesto-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700; color: var(--earth-mid);
  line-height: 1.05; letter-spacing: -1.5px;
  margin-bottom: 24px;
}
.manifesto-title em { font-style: italic; color: var(--sun-light); }
.manifesto-intro { 
  font-size: 19px; 
  color: var(--stone-light); 
  line-height: 1.8; 
  max-width: 900px; 
}
.manifesto-body { background: var(--white); }
.manifesto-content { max-width: 720px; margin: 0 auto; padding: 80px 40px; }
.manifesto-section { margin-bottom: 64px; }
.manifesto-number {
  font-family: 'DM Mono', serif; font-size: 11px;
  color: var(--sun); letter-spacing: 2px; margin-bottom: 8px;
}
.manifesto-h {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 700;
  color: var(--earth-mid); margin-bottom: 20px; line-height: 1.2;
}
.manifesto-p {
  font-size: 17px; color: var(--stone);
  line-height: 1.85; margin-bottom: 16px;
}
.manifesto-p strong { color: var(--earth-mid); font-weight: 600; }
.manifesto-quote {
  border-left: 3px solid var(--sun);
  padding: 20px 28px; margin: 32px 0;
  background: var(--sun-bg); border-radius: 0 12px 12px 0;
}
.manifesto-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-style: italic;
  color: var(--earth); line-height: 1.6;
}
.manifesto-values { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 32px 0; }
.manifesto-value {
  background: var(--cream); border-radius: var(--radius-sm);
  padding: 20px; border: 1px solid var(--linen);
}
.value-num { font-family: 'DM Sans', sans-serif; font-size: 11px; color: var(--sun); margin-bottom: 4px; }
.value-name { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.value-desc { font-size: 13px; color: var(--stone); line-height: 1.6; }

/* ==================== CONTACTO PAGE ==================== */
.contact-hero {
  background: var(--cream);
  padding: calc(var(--nav-h) + 80px) 40px 80px;
}
.contact-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
}
.contact-left {}
.contact-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700; color: var(--earth);
  line-height: 1.15; margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.contact-sub { font-size: 17px; color: var(--stone); line-height: 1.8; margin-bottom: 40px; }
.contact-methods { display: flex; flex-direction: column; gap: 16px; }
.contact-method {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px; background: var(--white);
  border-radius: var(--radius-sm); border: 1px solid var(--linen);
}
.contact-method-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-method-label { font-size: 11px; color: var(--stone-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 3px; }
.contact-method-value { font-size: 15px; font-weight: 500; color: var(--earth); }
.contact-form-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; border: 1px solid var(--linen);
  box-shadow: var(--shadow);
}
.contact-form-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 500; margin-bottom: 24px; color: var(--earth); }
.contact-select {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--linen-dark); background: var(--cream);
  font-size: 15px; color: var(--earth); font-family: 'DM Sans', sans-serif;
  outline: none; transition: border-color 0.2s; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6458' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.contact-textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid var(--linen-dark); background: var(--cream);
  font-size: 15px; color: var(--earth); font-family: 'DM Sans', sans-serif;
  outline: none; transition: border-color 0.2s;
  resize: vertical; min-height: 120px; line-height: 1.6;
}
.contact-textarea:focus, .contact-select:focus { border-color: var(--sun); background: var(--white); }

/* ==================== FOOTER ==================== */
footer {
  background: var(--cream);
  padding: 64px 40px 32px;
}

.footer-inner { max-width: 1100px; margin: 0 auto; }

.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}

.footer-brand { max-width: 320px; }
.footer-logo { display: block; margin-bottom: 20px; }
.footer-logo img { width: 180px; height: auto; border-radius: 0; 
  object-fit: contain; }


.footer-tagline { 
  font-size: 12px; 
  color: var(--stone); 
  line-height: 1.7; 
  max-width: 280px; 
}


.footer-col-title { 
  font-size: 11px; 
  letter-spacing: 2px; 
  text-transform: uppercase; 
  color: var(--stone-light); 
  margin-bottom: 16px; 
  font-weight: 700; 
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 5px; }


.footer-links a, .footer-links button {
  font-size: 14px; 
  color: var(--stone);
  text-decoration: none; cursor: pointer;
  transition: color 0.2s;
  background: none; border: none; padding: 0;
  font-family: 'DM Sans', sans-serif;
  text-align: left; display: inline-block;
}

.footer-links a:hover, .footer-links button:hover { color: var(--or); }

.footer-bottom {

  border-top: 1px solid var(--linen-dark);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
}


.footer-copy { font-size: 12px; color: var(--stone-light); }
.footer-legal { display: flex; gap: 24px; }

.footer-legal a { 
  font-size: 12px; 
  color: var(--stone-light); 
  text-decoration: none; 
  cursor: pointer; 
}

.footer-legal a:hover { color: var(--stone); }

/* ==================== SEO SCHEMA ==================== */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ==================== AUTH MODAL / OVERLAY ==================== */
.auth-overlay {
  position: fixed; inset: 0;
  background: rgba(44, 36, 22, 0.7); 
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 3000; 
  display: none; 
  align-items: center; justify-content: center; padding: 20px;
}

.auth-overlay.open { display: flex; }

.auth-modal {
  background: var(--white); width: 100%; max-width: 400px;
  border-radius: var(--radius-lg); padding: 24px;
  position: relative; box-shadow: var(--shadow-md);
  animation: fadeUp 0.3s ease;
}

.auth-close {
  position: absolute; top: 24px; right: 24px;
  background: none; border: none; font-size: 20px;
  color: var(--stone-light); cursor: pointer; transition: 0.2s;
}
.auth-close:hover { color: var(--earth); transform: scale(1.1); }

.auth-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.auth-logo span { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--or); }

.auth-title { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: var(--earth); margin-bottom: 6px; }
.auth-sub { font-size: 14px; color: var(--stone); margin-bottom: 16px; }

.auth-tabs { display: flex; gap: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--linen); padding-bottom: 10px; }
.auth-tab {
  background: none; border: none; font-size: 14px; font-weight: 600;
  color: var(--stone-light); cursor: pointer; padding: 0 4px;
  font-family: 'DM Sans', sans-serif; transition: 0.2s;
}
.auth-tab.active { color: var(--sun); border-bottom: 2px solid var(--sun); padding-bottom: 12px; margin-bottom: -13px; }

.form-group { margin-bottom: 10px; text-align: left; }
.form-label { display: block; font-size: 12px; font-weight: 600; color: var(--earth-mid); margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 10px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--linen-dark); background: var(--cream);
  font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--earth);
  transition: 0.2s; outline: none;
}
.form-input:focus { border-color: var(--sun); background: var(--white); box-shadow: 0 0 0 3px rgba(200,80,26,0.1); }

.form-submit {
  width: 100%; padding: 14px; border-radius: var(--radius-sm);
  background: var(--sun); color: var(--white);
  font-size: 15px; font-weight: 600; border: none;
  cursor: pointer; transition: 0.2s; font-family: 'DM Sans', sans-serif;
  margin-top: 8px;
}
.form-submit:hover { background: var(--sun-light); transform: translateY(-1px); }

.form-divider { text-align: center; font-size: 12px; color: var(--stone-light); margin: 12px 0; position: relative; }
.form-divider::before, .form-divider::after {
  content: ''; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--linen);
}
.form-divider::before { left: 0; }
.form-divider::after { right: 0; }

.btn-google {
  width: 100%; padding: 12px; border-radius: var(--radius-sm);
  background: var(--white); border: 1px solid var(--linen-dark);
  color: var(--earth); font-size: 14px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  cursor: pointer; transition: 0.2s; font-family: 'DM Sans', sans-serif;
}
.btn-google:hover { background: var(--cream); border-color: var(--stone-light); }
.btn-google img { width: 20px; }

.form-legal { font-size: 10px; color: var(--stone-light); text-align: center; margin-top: 16px; line-height: 1.5; }
.form-legal a { color: var(--stone); text-decoration: underline; }
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.password-wrapper input {
    width: 100%;
    padding-right: 40px; 
}

.toggle-password {
    position: absolute;
    right: 16px;
    cursor: pointer;
    color: var(--stone-light);
    font-size: 16px;
    transition: 0.2s;
}

.toggle-password:hover {
    color: var(--or);
}

/* ==================== APP INSTALLED LOGIN SCREEN (app.html) ==================== */
#app-login-container {
  position: fixed; inset: 0; z-index: 5000;
  background: var(--cream2); display: flex;
  align-items: center; justify-content: center;
  padding: 20px; overflow-y: auto;
}

.login-split {
  display: flex; max-width: 900px; width: 100%;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); overflow: hidden;
  border: 1px solid var(--linen);
}

.login-left {
  flex: 1; background: linear-gradient(135deg, var(--cream) 0%, var(--parchment) 100%);
  padding: 60px 40px; display: flex; flex-direction: column;
  justify-content: space-between; border-right: 1px solid var(--linen);
}

.brand-group {
    display: inline-flex;
    flex-direction: column;
    align-items: center;   
    align-self: flex-start; 
}

.login-brand { 
    display: flex; 
    align-items: center; 
    justify-content: center;
    gap: 12px; 
    margin-bottom: 8px; 
}

.login-brand img { 
    width: 48px; 
    height: 48px; 
    border-radius: 12px; 
}

.login-brand h1 { 
    font-family: 'Playfair Display', serif; 
    font-size: 46px; 
    line-height: 0.9;
    color: var(--or); 
    margin: 0; 
}

.login-tagline { 
    font-size: 12px; 
    font-weight: 600; 
    letter-spacing: 2.5px; 
    text-transform: uppercase; 
    color: var(--stone);
    margin-top: 4px; 
    text-align: center; 
}

.login-manifesto { margin-top: 40px; font-size: 14px; color: var(--stone); line-height: 1.6; }
.login-manifesto .highlight { font-family: 'Playfair Display', serif; font-size: 20px; font-style: italic; color: var(--earth); margin-top: 16px; display: block; }
.login-right { 
    flex: 1; 
    padding: 50px 40px 60px 40px; 
    display: flex; 
    align-items: flex-start; 
    justify-content: center; 
}
.login-card { width: 100%; max-width: 320px; }
.login-tabs { display: flex; gap: 16px; margin-bottom: 32px; border-bottom: 1px solid var(--linen); }
.login-tabs button {
  background: none; border: none; font-size: 14px; font-weight: 700;
  color: var(--stone-light); padding: 0 0 12px 0; cursor: pointer;
  font-family: 'DM Sans', sans-serif; transition: 0.2s;
}
.login-tabs button.active { color: var(--sun); border-bottom: 2px solid var(--sun); margin-bottom: -1px; }
.form-label-modern { display: block; font-size: 11px; font-weight: 800; color: var(--stone-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; margin-top: 20px; }
.form-input-modern { width: 100%; padding: 14px; border-radius: 14px; border: 1px solid var(--linen-dark); background: var(--cream); font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--earth); outline: none; transition: 0.2s; }
.form-input-modern:focus { border-color: var(--sun); background: var(--white); box-shadow: 0 0 0 3px rgba(200,80,26,0.1); }
.btn-modern { width: 100%; background: var(--sun); color: var(--white); border: none; padding: 14px; border-radius: 14px; font-size: 14px; font-weight: 700; cursor: pointer; margin-top: 24px; transition: 0.2s; font-family: 'DM Sans', sans-serif; }
.btn-modern:hover { background: var(--sun-light); transform: translateY(-2px); }
.btn-google-modern { width: 100%; background: var(--white); border: 1px solid var(--linen-dark); color: var(--earth); padding: 14px; border-radius: 14px; font-size: 14px; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 12px; transition: 0.2s; font-family: 'DM Sans', sans-serif; }
.btn-google-modern:hover { background: var(--cream); border-color: var(--stone-light); }
.login-divider { text-align: center; font-size: 11px; font-weight: 800; color: var(--stone-light); margin: 24px 0; position: relative; display: flex; align-items: center; justify-content: center; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: var(--linen-dark); margin: 0 10px; }
.footer-text { text-align: center; font-size: 10px; font-weight: 700; color: var(--stone-light); margin-top: 40px; letter-spacing: 0.5px; }

/* ==================== ANIMATIONS ==================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
.fade-up { animation: fadeUp 0.6s ease both; }
.fade-up-2 { animation: fadeUp 0.6s 0.15s ease both; }
.fade-up-3 { animation: fadeUp 0.6s 0.3s ease both; }
.fade-in { animation: fadeIn 0.4s ease both; }

/* ==================== RESPONSIVE ==================== */

/* Tablets y pantallas medianas */
@media (max-width: 900px) {
  nav { padding: 0 20px; }
  .nav-links .nav-link { display: none; }
  .nav-acc, .nav-cta { padding: 8px 12px; font-size: 13px; }
  section { padding: 60px 20px; }
  .hero { padding: calc(var(--nav-h) + 50px) 20px 40px; min-height: 20px; }
  .hero-inner { grid-template-columns: 1.2fr 1fr; gap: 20px; text-align: left; }
  .hero-inner > div:first-child { padding-left: 0; } 
  .hero-preview { 
    display: block; 
    transform: scale(0.85); 
    transform-origin: center right; 
    margin-top: 0;
    padding: 20px; 
    width: 100%;
  }
  
  .features-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps::before { display: none; }
  .modules-grid { grid-template-columns: repeat(3, 1fr); }
  .modules-grid .module-card:last-child { grid-column: 2; }
  .testi-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-logo {
    margin-bottom: 24px;
    display: block;
  }
  .footer-logo img { 
    width: 200px !important; 
    height: auto !important; 
    border-radius: 0 !important; 
    object-fit: contain;
  }
  .footer-tagline {
    font-size: 16px;
    max-width: 400px;
  }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .manifesto-values { grid-template-columns: 1fr; }
  .manifiesto-hero { padding: calc(var(--nav-h) + 20px) 20px 60px; }
  .manifesto-content { padding: 60px 20px; }
  
  #page-contacto > div[style*="background:var(--earth)"] > div {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}

/* Teléfonos móviles y pantallas pequeñas */
@media (max-width: 600px) {
  .hero-title { font-size: 42px; line-height: 1.05; margin-bottom: 20px; }
  .hero-sub { font-size: 15px; max-width: 100%; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-preview { transform: scale(1); transform-origin: center; margin-top: 10px; padding: 15px; }
  .section-title { font-size: 28px; }
  .manifesto-title { font-size: 36px; }
  .contact-title { font-size: 32px; }
  .cta-band-title { font-size: 28px; }
  .price-amount { font-size: 36px; }
  .hero-actions { flex-direction: column; gap: 12px; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }

  /* Navegación ultra compacta */
  nav { padding: 0 12px; }
  .landing-nav { flex-wrap: wrap; }
  .nav-brand { gap: 6px; flex-shrink: 0; }
  .nav-logo { width: 28px; height: 28px; }
  .nav-wordmark { display: block; font-size: 18px; }
  .nav-links { flex-grow: 1; justify-content: flex-end; gap: 4px; }
  .nav-actions { margin-left: auto; margin-right: 0; gap: 4px; }
  .nav-acc, .nav-cta { padding: 6px 10px; font-size: 11px; }
  .menu-toggle { display: block; padding: 4px; margin-left: 4px; font-size: 20px; }
  .features-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
  .steps { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 32px; }
  .modules-grid .module-card:last-child { grid-column: 1; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-logo { margin-bottom: 20px; }
  .footer-logo img { 
    width: 160px !important; 
    height: auto !important;
    border-radius: 0 !important;
    object-fit: contain;
  }
  .footer-tagline {
    font-size: 14px;
    line-height: 1.6;
    max-width: 100%;
  }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; text-align: left; }
  .footer-legal { flex-wrap: wrap; gap: 16px; }

  #page-home > div[style*="background:var(--linen)"] > div {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
    width: fit-content !important;
    margin: 0 auto !important; 
    padding-left: 10px;
  }
  #page-home > div[style*="background:var(--linen)"] > div > div[style*="width:1px"] {
    display: none !important;
  }
  .pricing-grid { margin-top: 32px; }
  .pricing-card { padding: 24px 20px; }
  .testi-grid { margin-top: 32px; }
  .testi-card { padding: 24px 20px; }
  .faq-grid { margin-top: 32px; }
  .manifesto-quote { padding: 16px 20px; }
}