/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Paleta AppleCoach. Son los MISMOS tokens que la app (`DESIGN_SYSTEM.md` §1)
     y con los mismos valores, para que web y producto no se separen: si mañana
     alguien cambia el verde de marca en un sitio y no en el otro, se nota. */
  --brand:       #2D5016;   /* verde de marca — enlaces, texto de marca */
  --brand-soft:  #3D6B1F;   /* verde levantado — hover, detalles */
  --brand-deep:  #1F3D0D;   /* superficies oscuras */
  --accent:      #D66E1A;   /* naranja cálido — llamadas a la acción */
  --accent-soft: #F5A962;
  --ink:         #1F2937;   /* texto principal */
  --ink-soft:    #4B5563;   /* texto secundario */
  --cream:       #F9F4ED;   /* fondos suaves */
  --white:       #FEFDFB;
  --border:      #E7DFD1;
  --radius:      12px;
  --font:        'Outfit', system-ui, -apple-system, sans-serif;
  --font-display:'Crimson Text', Georgia, 'Times New Roman', serif;
  --shadow:      0 4px 24px rgba(31,61,13,0.08);
  --shadow-lg:   0 12px 48px rgba(31,61,13,0.14);
}

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}


/* ===== TIPOGRAFIA DE MARCA =====
   La misma pareja que la app: Crimson Text para lo que se lee de un vistazo y
   Outfit para lo que se lee despacio. Es lo que hace que web y producto se
   reconozcan como la misma cosa.

   Crimson Text no tiene peso 800. Pedirselo hace que el navegador lo SIMULE
   engordando el trazo, que es justo el aspecto sucio que se quiere evitar, asi
   que los titulares van a 700. Y se quita el interletraje negativo: apretar las
   letras es un truco de palo seco y en una serif junta los remates. */
h1, h2, h3, h4,
.hero h1, .section-head h2, .phone-screen-text, .nav-logo, .footer-brand {
  font-family: var(--font-display);
  letter-spacing: normal;
}

/* ===== NAV ===== */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  /* background: linear-gradient(135deg, var(--accent), var(--brand)); */
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

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

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover { color: var(--ink); text-decoration: none; }

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 8px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--brand) !important; }

.nav-lang {
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 8px;
}
.nav-lang:hover { border-color: var(--accent); text-decoration: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
  width: 36px;
  height: 36px;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand-deep);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(160deg, var(--brand-deep) 0%, var(--brand) 60%, #2D5016 100%);
  color: var(--white);
  padding: 96px 0 80px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(214,110,26,0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(214,110,26,0.15);
  border: 1px solid rgba(214,110,26,0.3);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--accent); }

.hero p {
  font-size: 18px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  max-width: 100%;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--brand);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(214,110,26,0.35);
  text-decoration: none;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  text-decoration: none;
  color: var(--white);
}

.hero-mockup {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  width: 240px;
  height: 480px;
  background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.12);
  border-radius: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.08);
}

.phone-notch {
  position: absolute;
  top: 12px;
  width: 80px;
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
}

.phone-screen-icon {
  font-size: 64px;
  opacity: 0.9;
}

.phone-screen-text {
  font-size: 22px;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
}

.phone-screen-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  text-align: center;
  padding: 0 24px;
}

/* ===== SECTIONS COMMON ===== */
section { padding: 88px 0; }

.section-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 56px;
}

/* ===== FEATURES ===== */
.features { background: var(--cream); }

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #FBEEE0, #EFF3E6);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ===== HOW IT WORKS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  counter-reset: step;
}

.step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--brand));
  color: white;
  font-size: 22px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(214,110,26,0.3);
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--ink-soft);
}

/* ===== AI SECTION ===== */
.ai-section { background: var(--brand-deep); color: var(--white); }

.ai-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.ai-section .section-label { color: var(--accent); }
.ai-section .section-title { color: var(--white); }
.ai-section .section-sub { color: rgba(255,255,255,0.65); }

.ai-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ai-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ai-feat-icon {
  width: 40px;
  height: 40px;
  background: rgba(214,110,26,0.15);
  border: 1px solid rgba(214,110,26,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.ai-feat-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.ai-feat-text p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

.ai-visual {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px;
}

.chat-bubble {
  background: rgba(214,110,26,0.12);
  border: 1px solid rgba(214,110,26,0.2);
  border-radius: 12px 12px 12px 4px;
  padding: 12px 16px;
  margin-bottom: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

.chat-bubble.user {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  border-radius: 12px 12px 4px 12px;
  text-align: right;
}

.chat-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.chat-label.ai { color: var(--accent); }
.chat-label.user-label { color: rgba(255,255,255,0.4); text-align: right; }

/* ===== DOWNLOAD ===== */
.download { background: var(--cream); text-align: center; }

.download .section-title { margin: 0 auto 12px; }
.download .section-sub { margin: 0 auto 36px; }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--brand-deep);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}

.store-badge:hover {
  background: var(--brand);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--white);
}

.store-badge .store-icon { font-size: 24px; }

.download-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ===== CONTACT ===== */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contact-info p {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  background: var(--cream);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* Form */
.form-card {
  background: var(--white);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(214,110,26,0.12);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 15px;
}

.form-status {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
}

.form-status.success {
  background: #EAF3E4;
  color: #2D5016;
  border: 1px solid #C6DFB8;
  display: block;
}

.form-status.error {
  background: #FBE9E9;
  color: #8A1F1B;
  border: 1px solid #F3C9C7;
  display: block;
}

/* ===== ACCOUNT DELETION (Google Play compliance) ===== */
.deletion-card {
  margin-top: 56px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.deletion-badge {
  display: inline-block;
  background: rgba(214,110,26,0.12);
  color: var(--accent);
  border: 1px solid rgba(214,110,26,0.25);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.deletion-title {
  font-size: clamp(22px, 3.5vw, 28px);
  color: var(--ink);
  margin-bottom: 12px;
}

.deletion-subtitle {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 32px;
}

.deletion-steps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

.deletion-step-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.deletion-step-number {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--brand);
  margin-bottom: 8px;
}

.deletion-step-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
}

.deletion-step-card ol {
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.deletion-step-card ol li {
  margin-bottom: 8px;
}

.deletion-step-card ol li:last-child {
  margin-bottom: 0;
}

.deletion-data-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.deletion-data-col {
  border-radius: 12px;
  padding: 24px;
  font-size: 14px;
  line-height: 1.6;
}

.deletion-data-col.deleted {
  background: #FDF4F4;
  border: 1px solid #F9D2D2;
}

.deletion-data-col.deleted h4 {
  color: #991B1B;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.deletion-data-col.retained {
  background: #F4F7F2;
  border: 1px solid #D7E3CE;
}

.deletion-data-col.retained h4 {
  color: var(--brand);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.deletion-data-col ul {
  list-style: disc;
  padding-left: 20px;
  color: var(--ink-soft);
}

.deletion-data-col ul li {
  margin-bottom: 8px;
}

.deletion-data-col ul li:last-child {
  margin-bottom: 0;
}

/* ===== FOOTER ===== */
footer {
  background: var(--brand-deep);
  color: rgba(255,255,255,0.55);
  padding: 40px 0;
  width: 100%;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  list-style: none;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  transition: color 0.2s;
  padding: 4px 0;
}

.footer-links a:hover { color: var(--white); text-decoration: none; }

.footer-copy { font-size: 13px; }

/* ===== PRIVACY PAGE ===== */
.page-hero {
  background: linear-gradient(160deg, var(--brand-deep), var(--brand));
  color: var(--white);
  padding: 72px 0 56px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255,255,255,0.6);
  font-size: 16px;
}

.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px;
}

.prose h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 14px;
  color: var(--ink);
}

.prose h2:first-child { margin-top: 0; }

.prose p {
  font-size: 15px;
  color: #4B5563;
  margin-bottom: 14px;
  line-height: 1.75;
}

.prose ul {
  list-style: none;
  margin-bottom: 14px;
}

.prose ul li {
  font-size: 15px;
  color: #4B5563;
  padding: 6px 0 6px 24px;
  position: relative;
}

.prose ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  font-size: 14px;
}

.prose th {
  background: var(--cream);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  border: 1px solid var(--border);
}

.prose td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  vertical-align: top;
}

.prose a { color: var(--brand); }

.info-box {
  background: #FBEEE0;
  border: 1px solid #C6DFB8;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 20px;
  font-size: 14px;
  color: #3D6B1F;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .nav-links {
    display: none;
    flex-direction: column;
  }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    gap: 8px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1000;
    align-items: stretch;
  }
  .nav-links.open li {
    width: 100%;
    text-align: center;
  }
  .nav-links.open a {
    display: block;
    padding: 10px 16px;
    font-size: 16px;
    border-radius: 8px;
    color: var(--ink);
  }
  .nav-links.open a:hover {
    background: var(--cream);
  }
  .nav-links.open .nav-cta {
    margin-top: 6px;
    display: inline-block;
  }
  .nav-links.open .nav-lang {
    display: inline-block;
    margin: 4px auto;
  }
  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  section { padding: 56px 0; }

  .hero {
    padding: 56px 0 48px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-mockup {
    display: none;
  }
  .hero h1 {
    font-size: clamp(28px, 7vw, 40px);
    line-height: 1.15;
  }
  .hero p {
    font-size: 16px;
    margin-bottom: 28px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature-card {
    padding: 22px 20px;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ai-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .ai-visual {
    display: none;
  }

  .compare-teaser-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-card {
    padding: 24px 20px;
    border-radius: 14px;
  }

  .deletion-card {
    padding: 24px 20px;
    margin-top: 40px;
  }
  .deletion-steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .deletion-data-breakdown {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  .footer-links {
    justify-content: center;
    gap: 10px 18px;
    padding: 0;
    width: 100%;
  }
  .footer-links li {
    display: inline-flex;
  }
  .footer-links a {
    display: inline-block;
    padding: 6px 8px;
    font-size: 14px;
  }
  .footer-copy {
    text-align: center;
    font-size: 12.5px;
  }

  .page-hero {
    padding: 48px 0 36px;
  }
  .prose {
    padding: 36px 0;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .prose table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    margin-bottom: 24px;
  }
  .prose th, .prose td {
    padding: 10px 12px;
    font-size: 13.5px;
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .section-title {
    font-size: clamp(24px, 6.5vw, 30px);
  }
  .section-sub {
    font-size: 15px;
    margin-bottom: 32px;
  }
  section {
    padding: 44px 0;
  }
  .btn {
    padding: 12px 20px;
    font-size: 14.5px;
  }
  .store-badge {
    width: 100%;
    justify-content: center;
  }
  .footer-links {
    gap: 8px 14px;
  }
  .footer-links a {
    font-size: 13.5px;
    padding: 4px 6px;
  }
  .compare-teaser-points li {
    padding: 14px 14px;
    font-size: 13.5px;
    gap: 10px;
  }
}

/* ===== COMPARATIVE TABLE (comparativa page) ===== */
.compare-wrap { margin: 0 0 28px; }
.compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--white);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  font-size: 14px;
}
.compare-table th {
  padding: 15px 18px;
  text-align: left;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  background: var(--brand-deep);
  border: none;
}
.compare-table thead th.compare-us { background: var(--brand); }
.compare-table thead th.compare-them { background: #5A4A33; }
.compare-table td {
  padding: 13px 18px;
  border-top: 1px solid var(--border);
  vertical-align: top;
  color: var(--ink);
}
.compare-table td.compare-feature {
  font-weight: 600;
  background: var(--white);
  min-width: 260px;
}
.compare-table td.compare-us { background: #F1F6EA; }
.compare-table td.compare-them { background: #F7F4EE; }
.compare-table .ok      { color: var(--brand); font-weight: 700; }
.compare-table .partial { color: var(--accent); font-weight: 700; }
.compare-table .no      { color: #B08968; font-weight: 700; }
.cell-note {
  display: block;
  font-size: 12.5px;
  color: var(--ink-soft);
  font-weight: 400;
  margin-top: 2px;
  line-height: 1.45;
}
.compare-legend {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 14px;
}
.compare-legend b { color: var(--ink); }
.compare-legend .ok, .compare-legend .partial, .compare-legend .no { margin: 0 4px 0 12px; }

/* ===== COMPARE TEASER (homepage) ===== */
.compare-teaser { background: var(--cream); }
.compare-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.compare-teaser .section-sub { margin-bottom: 28px; }
.compare-teaser-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.compare-teaser-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand);
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 14.5px;
  color: var(--ink-soft);
  box-shadow: var(--shadow);
}
.compare-teaser-points li::before {
  content: '✓';
  color: var(--brand);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.3;
}
.compare-teaser-points b { color: var(--ink); font-weight: 600; }



/* ===== PLANES / PRICING ===== */
/* PRICING-SOT: PRICING.md — solo estilos; las cifras viven en index.html y en/index.html. */
.pricing { background: var(--white); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.price-card-featured { border: 2px solid var(--brand); box-shadow: var(--shadow-lg); }
.price-card h3 { font-size: 18px; font-weight: 700; color: var(--brand); }
.price { font-family: var(--font-display); font-size: 40px; font-weight: 700; color: var(--ink); line-height: 1; }
.price span { font-family: var(--font); font-size: 15px; font-weight: 500; color: var(--ink-soft); margin-left: 4px; }
.price-note, .price-offer { font-size: 14px; color: var(--ink-soft); }
.price-offer b { color: var(--accent); font-weight: 600; }
.price-card ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.price-card li { font-size: 14px; color: var(--ink-soft); padding-left: 22px; position: relative; line-height: 1.5; }
.price-card li::before { content: '✓'; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.pricing-fine { margin-top: 24px; font-size: 13px; color: var(--ink-soft); text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
@media (max-width: 600px) {
  .price-card { padding: 22px 20px; }
  .price { font-size: 34px; }
}

/* ===== ACCESIBILIDAD ===== */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== 404 ===== */
.notfound { text-align: center; padding: 120px 0 96px; }
.notfound-icon { margin: 0 auto 24px; display: block; border-radius: 28px; }
.notfound .section-title, .notfound .section-sub { margin-left: auto; margin-right: auto; }
.notfound .section-sub { margin-bottom: 28px; }
.notfound-en { margin-top: 40px; font-size: 14px; color: var(--ink-soft); }
.notfound-en a { color: var(--brand); font-weight: 600; }
