/* Cookie Cutter Architect — sitio de venta y descarga.
   Identidad: contorno de cortante coral sobre crema cálida. Tipografías Fraunces (títulos) +
   Inter (texto). El motivo recurrente es la línea punteada de "molde de corte". */

/* Tipografías alojadas en el propio sitio (Fraunces e Inter, licencia SIL OFL 1.1; ver assets/fonts/).
   No se pide nada a Google: los visitantes no le envían su IP a terceros. */
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(assets/fonts/fraunces-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(assets/fonts/fraunces-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(assets/fonts/fraunces-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(assets/fonts/fraunces-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/inter-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(assets/fonts/inter-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Paleta cálida de repostería */
  --cream: #faf3e8;
  --cream-2: #f3e8d7;
  --paper: #fffaf3;
  --ink: #241d18;
  --ink-soft: #5b4e44;
  --ink-faint: #73655a;
  --coral: #e8735a;
  /* Coral para TEXTO chico (contraste 4.5:1 sobre crema); el fondo de los botones es --coral. */
  --coral-deep: #b04627;
  --coral-hover: #f08c72; /* hover más claro: la letra oscura sigue bien legible */
  --on-coral: #241d18; /* letra sobre fondo coral (contraste 5,6:1), igual en los dos temas */
  --coral-soft: #f6b9a6;
  --berry: #8e3b46;
  --gold: #c9972b;
  --espresso: #1b1d22;
  --espresso-2: #24262d;
  /* Texto sobre los paneles oscuros (planes y pie): fijo, no cambia con el tema. */
  --on-dark: #faf3e8;
  --line: #e6d7c2;
  --line-strong: #d8c3a6;
  --card: #fffdf9;
  --shadow: 28px 40px 80px -40px rgba(60, 38, 24, 0.45);
  --shadow-sm: 0 12px 30px -18px rgba(60, 38, 24, 0.5);
  --radius: 22px;
  --radius-lg: 32px;
  --maxw: 1180px;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --cream: #15161b;
    --cream-2: #1b1d22;
    --paper: #15161b;
    --ink: #f4ebdd;
    --ink-soft: #c3b4a4;
    --ink-faint: #9d8e7e;
    --coral-deep: #ee8a70;
    --line: #2d2f37;
    --line-strong: #3a3d47;
    --card: #1e2027;
    --espresso: #0f1013;
    --espresso-2: #191b21;
    --shadow: 28px 40px 80px -42px rgba(0, 0, 0, 0.7);
    --shadow-sm: 0 12px 30px -18px rgba(0, 0, 0, 0.6);
  }
}

:root[data-theme='dark'] {
  --cream: #15161b;
  --cream-2: #1b1d22;
  --paper: #15161b;
  --ink: #f4ebdd;
  --ink-soft: #c3b4a4;
  --ink-faint: #9d8e7e;
  --coral-deep: #ee8a70;
  --line: #2d2f37;
  --line-strong: #3a3d47;
  --card: #1e2027;
  --espresso: #0f1013;
  --espresso-2: #191b21;
  --shadow: 28px 40px 80px -42px rgba(0, 0, 0, 0.7);
  --shadow-sm: 0 12px 30px -18px rgba(0, 0, 0, 0.6);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(1200px 600px at 85% -5%, rgba(232, 115, 90, 0.12), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(201, 151, 43, 0.1), transparent 55%);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grano sutil para que no parezca plano/plástico */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}
:root[data-theme='dark'] body::before,
:root:not([data-theme='light']) body::before { mix-blend-mode: screen; opacity: 0.25; }

main, header, footer { position: relative; z-index: 1; }

.wrap { width: min(var(--maxw), 92vw); margin-inline: auto; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-optical-sizing: auto; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin: 0 0 0.4em; }
h3 { font-size: 1.3rem; margin: 0 0 0.3em; }
p { margin: 0 0 1em; }
a { color: inherit; }

.accent { color: var(--coral-deep); }
:root[data-theme='dark'] .accent, :root:not([data-theme='light']) .accent { color: var(--coral-soft); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: var(--font-sans); font-weight: 600; font-size: 1rem;
  padding: 0.85em 1.5em; border-radius: 100px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--coral); color: var(--on-coral); box-shadow: 0 10px 24px -10px rgba(212, 84, 47, 0.8); }
.btn-primary:hover { background: var(--coral-hover); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(212, 84, 47, 0.9); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--coral); color: var(--coral-deep); transform: translateY(-2px); }
.btn-lg { font-size: 1.08rem; padding: 1em 1.8em; }

/* ---------- Nav ---------- */
header.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.2) blur(12px);
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
header.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 1.5rem; height: 72px; }
.brand { display: flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; text-decoration: none; color: var(--ink); }
.brand svg { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; gap: 1.6rem; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: 0.96rem; transition: color 0.15s ease; }
.nav-links a:hover { color: var(--coral-deep); }
.nav-tools { display: flex; align-items: center; gap: 0.75rem; }
.lang-toggle { display: inline-flex; border: 1.5px solid var(--line-strong); border-radius: 100px; overflow: hidden; }
.lang-toggle button, .lang-toggle a { background: transparent; border: 0; padding: 0.35em 0.7em; font: inherit; font-size: 0.85rem; font-weight: 600; line-height: 1.6; color: var(--ink-faint); cursor: pointer; text-decoration: none; }
.lang-toggle button.on, .lang-toggle a.on { background: var(--ink); color: var(--cream); }
.theme-btn { background: transparent; border: 1.5px solid var(--line-strong); border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; cursor: pointer; color: var(--ink-soft); }
.theme-btn:hover { color: var(--coral-deep); border-color: var(--coral); }
.nav-burger { display: none; background: transparent; border: 0; cursor: pointer; color: var(--ink); }
.mobile-only { display: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 6rem) 0 clamp(2rem, 5vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5em; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-deep); background: color-mix(in srgb, var(--coral) 14%, transparent); padding: 0.4em 0.9em; border-radius: 100px; margin-bottom: 1.3rem; }
.hero h1 { margin: 0 0 1rem; }
.hero h1 em { font-style: italic; color: var(--coral-deep); }
:root[data-theme='dark'] .hero h1 em, :root:not([data-theme='light']) .hero h1 em { color: var(--coral-soft); }
.hero .lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 34ch; margin-bottom: 1.8rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.hero-note { margin-top: 1.1rem; font-size: 0.9rem; color: var(--ink-faint); display: flex; align-items: center; gap: 0.5em; }
.hero-note svg { width: 17px; height: 17px; color: var(--coral); }

/* Visual 3D */
.hero-visual { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.hero-visual .ring-deco { position: absolute; inset: 6%; border: 2px dashed var(--line-strong); border-radius: 46% 54% 52% 48% / 50%; opacity: 0.7; animation: spin 40s linear infinite; }
.hero-visual .ring-deco.two { inset: 16%; border-radius: 52% 48% 46% 54% / 55%; animation-direction: reverse; animation-duration: 55s; }
@keyframes spin { to { transform: rotate(360deg); } }
#cutter3d { width: 100%; height: 100%; position: relative; z-index: 2; }
.hero-visual .fallback { position: absolute; inset: 0; display: none; place-items: center; }
.hero-visual .fallback svg { width: 55%; height: 55%; color: var(--coral); }
@media (prefers-reduced-motion: reduce) { .ring-deco { animation: none; } }

/* ---------- Franja de confianza ---------- */
.trust { padding: 1.5rem 0 0.5rem; }
.trust p { text-align: center; color: var(--ink-faint); font-size: 0.92rem; font-weight: 500; margin: 0; }
.trust .tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.4rem; margin-top: 0.8rem; }
.trust .tags span { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink-soft); }
.trust .tags span::before { content: '✶'; color: var(--coral); margin-right: 0.5em; font-size: 0.8em; }

/* ---------- Secciones ---------- */
section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-head { max-width: 46ch; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .kicker { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral-deep); margin-bottom: 0.8rem; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; margin: 0; }

/* Features */
.features { background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--cream-2) 60%, transparent)); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.8rem; transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.feature .ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--coral) 16%, transparent); color: var(--coral-deep); margin-bottom: 1.1rem; }
.feature .ico svg { width: 26px; height: 26px; }
.feature p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }

/* Pasos */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding-top: 1rem; }
.step::before { counter-increment: step; content: counter(step); font-family: var(--font-display); font-size: 3.4rem; color: var(--coral-soft); line-height: 1; display: block; margin-bottom: 0.6rem; }
:root[data-theme='dark'] .step::before, :root:not([data-theme='light']) .step::before { color: color-mix(in srgb, var(--coral) 50%, transparent); }
.step p { color: var(--ink-soft); margin: 0; }
.step-line { height: 2px; background-image: linear-gradient(90deg, var(--line-strong) 50%, transparent 0); background-size: 14px 2px; margin: 2.5rem 0 0; }

/* Showcase */
.shot { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--card); }
.shot img { display: block; width: 100%; height: auto; }
.shot-placeholder { aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center; color: var(--ink-faint); background: repeating-linear-gradient(45deg, var(--cream-2), var(--cream-2) 18px, var(--card) 18px, var(--card) 36px); padding: 2rem; }
figure.shot { margin: 0; }
.shot-main { margin-bottom: 1.4rem; }
.shot-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.shot-open:focus-visible { outline: 3px solid var(--coral); outline-offset: -3px; }
.shot figcaption { padding: 0.85rem 1.2rem 1rem; font-size: 0.93rem; color: var(--ink-soft); border-top: 1px solid var(--line); }
.shot figcaption strong { color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.shot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.shot-grid .shot { border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform 0.2s ease; }
.shot-grid .shot:hover { transform: translateY(-4px); }
.shot-grid figcaption { font-size: 0.86rem; }
.lightbox { border: 0; padding: 0; background: transparent; width: min(96vw, 1600px); max-width: none; max-height: 96vh; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 10, 12, 0.94); backdrop-filter: blur(4px); }
.lightbox img { display: block; width: 100%; height: auto; max-height: 86vh; object-fit: contain; border-radius: 14px; }
.lb-cap { margin: 0.8rem 0 0; text-align: center; color: var(--on-dark); font-size: 0.95rem; }
.lb-close { position: absolute; top: -0.6rem; right: -0.6rem; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--coral); color: var(--on-coral); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow-sm); }
@media (max-width: 920px) { .shot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .shot-grid { grid-template-columns: 1fr; } }
.shot-placeholder svg { width: 54px; height: 54px; color: var(--coral); margin-bottom: 1rem; opacity: 0.7; }

/* Pricing */
.pricing { background: var(--espresso); color: var(--on-dark); border-radius: clamp(24px, 4vw, 44px); padding: clamp(2.5rem, 6vw, 5rem) 0; margin-inline: auto; width: min(var(--maxw), 92vw); }
.pricing .wrap { width: min(980px, 88%); }
.pricing h2, .pricing .section-head p { color: var(--on-dark); }
.pricing .section-head p { color: color-mix(in srgb, var(--on-dark) 78%, transparent); }
.pricing .kicker { color: var(--coral-soft); }
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.plan { background: var(--espresso-2); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius); padding: 2rem; position: relative; display: flex; flex-direction: column; }
.plan.featured { border-color: var(--coral); box-shadow: 0 0 0 1px var(--coral), 0 30px 60px -30px rgba(232, 115, 90, 0.5); }
.plan .badge { position: absolute; top: -13px; left: 2rem; background: var(--coral); color: var(--on-coral); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.35em 0.8em; border-radius: 100px; }
.plan .plan-name { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 0.4rem; }
.plan .price { display: flex; align-items: baseline; gap: 0.3rem; margin: 0.6rem 0; }
.plan .price .amount { font-family: var(--font-display); font-size: 3rem; font-weight: 600; }
.plan .price .per { color: color-mix(in srgb, var(--on-dark) 65%, transparent); font-size: 0.95rem; }
.plan .save { color: var(--coral-soft); font-weight: 600; font-size: 0.9rem; margin-bottom: 1rem; min-height: 1.2em; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 0.7rem; }
.plan li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.96rem; color: color-mix(in srgb, var(--on-dark) 86%, transparent); }
.plan li svg { width: 18px; height: 18px; flex: none; color: var(--coral); margin-top: 3px; }
.plan .btn { margin-top: auto; justify-content: center; }
.plan .btn-ghost { color: var(--on-dark); border-color: rgba(255, 255, 255, 0.25); }
.plan .btn-ghost:hover { border-color: var(--coral); color: var(--coral-soft); }
.pricing .fineprint { text-align: center; margin-top: 1.6rem; font-size: 0.88rem; color: color-mix(in srgb, var(--on-dark) 60%, transparent); }
.pricing .fineprint a { color: var(--coral-soft); }

/* FAQ */
.faq-list { max-width: 760px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; padding: 1.3rem 0; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.6rem; color: var(--coral); font-family: var(--font-sans); transition: transform 0.2s ease; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .answer { padding: 0 0 1.4rem; color: var(--ink-soft); }
.faq-item .answer p { margin: 0; }

/* Download */
.download { text-align: center; }
.download-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(2.5rem, 5vw, 4rem); box-shadow: var(--shadow); max-width: 680px; margin-inline: auto; position: relative; overflow: hidden; }
.download-card::before { content: ''; position: absolute; inset: 14px; border: 2px dashed var(--line-strong); border-radius: calc(var(--radius-lg) - 10px); pointer-events: none; opacity: 0.6; }
.download-card .os { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; color: var(--ink-soft); margin-bottom: 1rem; }
.download-card .os svg { width: 22px; height: 22px; }
.download-card .meta { color: var(--ink-faint); font-size: 0.9rem; margin-top: 1.1rem; }
.download-card .reqs { margin-top: 0.3rem; }
.download-card .smartscreen { margin: 1.3rem auto 0; max-width: 46ch; padding: 0.8rem 1rem; border-radius: 12px; background: color-mix(in srgb, var(--coral) 10%, transparent); font-size: 0.85rem; color: var(--ink-soft); text-align: left; position: relative; }
.download-card .smartscreen strong { color: var(--ink); display: block; margin-bottom: 0.15rem; }
.download-card .hash { margin: 0.5rem auto 0; max-width: 46ch; font-family: ui-monospace, Consolas, monospace; font-size: 0.72rem; word-break: break-all; color: var(--ink-faint); }

/* Footer */
footer.site { background: var(--espresso); color: color-mix(in srgb, var(--on-dark) 80%, transparent); padding: 3.5rem 0 2rem; margin-top: 4rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
footer.site .brand { color: var(--on-dark); margin-bottom: 0.8rem; }
footer.site p { font-size: 0.92rem; color: color-mix(in srgb, var(--on-dark) 65%, transparent); max-width: 34ch; }
.foot-col h4 { font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-soft); margin: 0 0 1rem; }
.foot-col a { display: block; text-decoration: none; color: color-mix(in srgb, var(--on-dark) 78%, transparent); font-size: 0.94rem; padding: 0.3em 0; }
.foot-col a:hover { color: var(--coral-soft); }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; color: color-mix(in srgb, var(--on-dark) 55%, transparent); }
.foot-bottom .pay { display: inline-flex; align-items: center; gap: 0.4em; }

/* Páginas legales */
.legal { padding-top: 3rem; }
.legal .wrap { width: min(780px, 90vw); }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 0.3rem; }
.legal .updated { color: var(--ink-faint); font-size: 0.9rem; margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.4rem; margin: 2.2rem 0 0.6rem; }
.legal h3 { font-size: 1.1rem; margin: 1.4rem 0 0.4rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: 0.5rem; }
.back-link { display: inline-flex; align-items: center; gap: 0.4em; color: var(--coral-deep); text-decoration: none; font-weight: 600; margin-bottom: 2rem; font-size: 0.95rem; }
.back-link:hover { gap: 0.6em; }

/* Animación de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin-inline: auto; order: -1; }
  .hero .lead { max-width: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-inner { gap: 0.5rem; height: 64px; }
  .brand { font-size: 0.95rem; white-space: nowrap; }
  .brand svg { width: 26px; height: 26px; }
  .nav-tools { gap: 0.4rem; }
  .nav-tools > .btn-primary { display: none; } /* "Descargar" pasa al menú */
  .theme-btn { width: 34px; height: 34px; }
  .nav-links { display: none; }
  .nav-burger { display: grid; place-items: center; }
  .mobile-only { display: block; }
  .nav-links.open { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--cream); border-bottom: 1px solid var(--line); padding: 1rem 4vw 1.5rem; gap: 0.3rem; }
  .nav-links.open a { padding: 0.7em 0; border-bottom: 1px solid var(--line); }
  .nav-links.open a.mobile-only { color: var(--coral-deep); font-weight: 600; }
  .feature-grid, .steps-grid, .plan-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .step-line { display: none; }
  .nav-tools { margin-left: auto; }
}
@media (max-width: 420px) {
  /* Teléfonos angostos: marca + ES/EN + tema + menú tienen que entrar en una línea. */
  .brand { font-size: 0.82rem; gap: 0.45rem; }
  .nav-tools { gap: 0.3rem; }
  .lang-toggle button, .lang-toggle a { padding: 0.3em 0.45em; }
  .theme-btn { width: 32px; height: 32px; }
}
