/* ─────────────────────────────────────────────────────────────────────────
   Mis Plumas — web2 v2
   Landing oficial de la app. Representativa, informativa, con la paleta
   real del producto y mockups prominentes.
   ───────────────────────────────────────────────────────────────────────── */

/* ── Fuentes self-host (inlineadas para evitar request extra) ─────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/inter-400-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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/inter-500-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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/inter-600-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;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/inter-700-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;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-400-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;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/instrument-serif-400-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    /* Paleta sincronizada con la app */
    --bg: #fbfaf6;
    --bg-soft: #f3f1ea;
    --bg-card: #ffffff;
    --bg-tinted: #e8f1f0;

    --ink: #15211f;
    --ink-soft: #4a5957;
    --ink-mute: #8a948f;

    --teal: #008080;
    --teal-deep: #005f5f;
    --teal-soft: #e3efee;
    --teal-glow: rgba(0, 128, 128, 0.14);

    --accent: #d49a4a;
    --accent-soft: #f4e7cf;

    --rule: #e6e1d4;
    --rule-strong: #cfc8b6;

    --shadow-sm: 0 1px 2px rgba(15, 35, 33, 0.04), 0 4px 14px -8px rgba(15, 35, 33, 0.10);
    --shadow-md: 0 6px 24px -10px rgba(15, 35, 33, 0.18), 0 2px 6px rgba(15, 35, 33, 0.05);
    --shadow-lg: 0 30px 70px -30px rgba(15, 35, 33, 0.35), 0 8px 24px -12px rgba(15, 35, 33, 0.15);

    --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --serif: 'Instrument Serif', 'Georgia', serif;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 28px;
}

[data-theme="dark"] {
    --bg: #0d1413;
    --bg-soft: #131c1a;
    --bg-card: #182220;
    --bg-tinted: #15252a;

    --ink: #ecf2f0;
    --ink-soft: #b7c4c1;
    --ink-mute: #6d7a77;

    --teal: #63d3c9;
    --teal-deep: #aae7e0;
    --teal-soft: #18302e;
    --teal-glow: rgba(99, 211, 201, 0.18);

    --accent: #e6b76b;
    --accent-soft: #2a2317;

    --rule: #1f2a28;
    --rule-strong: #2b3735;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Fondo con punto sutil tipo grid */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, var(--rule) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.35;
    mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 0%, transparent 75%);
}

/* ── Utilities ─────────────────────────────────────────────────────────── */

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

@media (max-width: 480px) {
    .container { padding: 0 1.1rem; }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--teal);
    background: var(--teal-soft);
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal);
}

h1, h2, h3 {
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.serif-accent {
    font-family: var(--serif);
    font-weight: 400;
    font-style: italic;
    color: var(--teal);
    font-size: 1.08em;
    letter-spacing: -0.01em;
}

/* ── Navegación ───────────────────────────────────────────────────────── */

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in srgb, var(--bg) 85%, transparent);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid color-mix(in srgb, var(--rule) 70%, transparent);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.9rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

@media (max-width: 480px) {
    .nav-inner { padding: 0.75rem 1.1rem; gap: 0.75rem; }
    .brand-mark { width: 30px; height: 30px; }
    .brand-name { font-size: 0.98rem; }
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--ink);
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.brand-name {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
}

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

.nav-links a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.93rem;
    font-weight: 500;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
    color: var(--ink);
    background: var(--bg-soft);
}

.nav-links a.active {
    color: var(--teal);
    background: var(--teal-soft);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.theme-btn {
    width: 38px;
    height: 38px;
    border: 1px solid var(--rule);
    background: transparent;
    border-radius: 10px;
    color: var(--ink-soft);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.theme-btn:hover {
    color: var(--teal);
    border-color: var(--teal);
    background: var(--teal-soft);
}

.theme-btn .icon-sun { display: none; }
.theme-btn .icon-moon { display: block; }
[data-theme="dark"] .theme-btn .icon-sun { display: block; }
[data-theme="dark"] .theme-btn .icon-moon { display: none; }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    background: var(--ink);
    color: var(--bg);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
    background: var(--teal);
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    width: 38px;
    height: 38px;
    border: 1px solid var(--rule);
    background: transparent;
    border-radius: 10px;
    color: var(--ink-soft);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* ── Selector de idioma ─────────────────────────────────────────────── */
.lang-switcher {
    position: relative;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    height: 38px;
    padding: 0 0.7rem;
    border: 1px solid var(--rule);
    background: transparent;
    border-radius: 10px;
    color: var(--ink-soft);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.lang-btn:hover,
.lang-btn[aria-expanded="true"] {
    color: var(--teal);
    border-color: var(--teal);
    background: var(--teal-soft);
}

.lang-btn svg {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
}

.lang-btn[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 180px;
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    background: var(--bg-card);
    border: 1px solid var(--rule);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    z-index: 200;
}

.lang-menu[hidden] {
    display: none;
}

.lang-menu li { margin: 0; }

.lang-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.5rem 0.7rem;
    border-radius: 8px;
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s ease, color 0.2s ease;
}

.lang-menu a:hover {
    background: var(--bg-soft);
    color: var(--ink);
}

.lang-menu a.is-current {
    background: var(--teal-soft);
    color: var(--teal);
    font-weight: 600;
}

.lang-menu a .lang-code {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-mute);
    font-weight: 600;
}

.lang-menu a.is-current .lang-code {
    color: var(--teal);
}

@media (max-width: 900px) {
    .lang-btn { padding: 0 0.6rem; }
    .lang-btn .lang-label-long { display: none; }
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .hamburger { display: inline-flex; }
    .nav-cta { display: none; }

    .nav-links.open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 0.5rem 0.6rem 0.7rem;
        background: var(--bg);
        border-bottom: 1px solid var(--rule);
        box-shadow: var(--shadow-md);
        list-style: none;
    }

    .nav-links.open li {
        width: 100%;
        list-style: none;
    }

    .nav-links.open a {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 0.95rem 1.1rem;
        border-radius: 10px;
        font-size: 1rem;
        font-weight: 500;
        text-align: left;
        min-height: 48px;
        line-height: 1.25;
    }

    .nav-links.open a.active {
        background: var(--teal-soft);
        color: var(--teal);
        font-weight: 600;
    }
}

/* ── Hero ──────────────────────────────────────────────────────────────── */

.hero {
    padding: 4.5rem 0 5rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 720px) {
    .hero { padding: 2.5rem 0 3rem; }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-grid { gap: 2.2rem; }
}

.hero-title {
    font-size: clamp(2.4rem, 5.5vw, 4.2rem);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -0.03em;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.hero-sub {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: var(--ink-soft);
    max-width: 50ch;
    line-height: 1.55;
    margin-bottom: 2.2rem;
}

@media (max-width: 960px) {
    .hero-sub { margin-left: auto; margin-right: auto; }
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

@media (max-width: 960px) {
    .hero-cta { justify-content: center; }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 0.6rem;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 1.4rem;
    border-radius: 12px;
    font-size: 0.97rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
    background: var(--ink);
    color: var(--bg);
}

.btn-primary:hover {
    background: var(--teal-deep);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

[data-theme="dark"] .btn-primary {
    background: var(--teal);
    color: #04211e;
}

[data-theme="dark"] .btn-primary:hover {
    background: var(--teal-deep);
    color: #04211e;
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--ink);
    border-color: var(--rule-strong);
}

.btn-secondary:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ── Botones de tienda (Google Play / App Store) ─────────────────────── */

.btn-store {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1.3rem 0.7rem 1.1rem;
    border-radius: 14px;
    text-decoration: none;
    font-family: inherit;
    background: #0a1110;
    color: #ffffff;
    border: 1px solid #0a1110;
    min-height: 56px;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.btn-store::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.08), transparent 60%);
    pointer-events: none;
}

.btn-store:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px -18px rgba(15, 35, 33, 0.45), 0 6px 14px -10px rgba(15, 35, 33, 0.4);
    background: #141d1c;
    border-color: #141d1c;
}

.btn-store-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.btn-store-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.1;
    position: relative;
    z-index: 1;
}

.btn-store-lead {
    font-size: 0.68rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2px;
}

.btn-store-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: -0.005em;
}

/* iOS: icono ligeramente más alto que el cuadro porque la manzana es vertical */
.btn-store--ios .btn-store-icon {
    width: 22px;
    height: 28px;
}

/* En modo oscuro, separar visualmente del fondo */
[data-theme="dark"] .btn-store {
    background: #1a2424;
    border-color: #2a3635;
}

[data-theme="dark"] .btn-store:hover {
    background: #243030;
    border-color: #34403f;
}

/* La variante --on-cta queda como alias del estilo por defecto de .btn-store:
   el CTA ya usa un fondo claro/oscuro adaptado al tema, así que los botones
   negros con texto blanco contrastan bien en ambos modos sin overrides. */

/* Responsive: en pantallas estrechas, alinear el texto a la izquierda y permitir crecer */
@media (max-width: 480px) {
    .btn-store {
        width: 100%;
        justify-content: flex-start;
    }
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: 2.2rem;
    flex-wrap: wrap;
    color: var(--ink-mute);
    font-size: 0.85rem;
}

@media (max-width: 960px) {
    .hero-trust { justify-content: center; }
}

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

.hero-trust svg { width: 14px; height: 14px; color: var(--teal); }

/* ── Hero — Mockup móvil ──────────────────────────────────────────────── */

.hero-phone {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    aspect-ratio: 9 / 19;
    perspective: 1200px;
}

@media (max-width: 720px) {
    .hero-phone { max-width: 260px; }
    .phone-frame { border-radius: 36px; padding: 9px; }
    .phone-screen { border-radius: 26px; }
    .phone-notch { width: 80px; height: 20px; top: 12px; border-radius: 11px; }
}

.hero-phone::before {
    /* halo teal */
    content: '';
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, var(--teal-glow), transparent 65%);
    z-index: 0;
    border-radius: 50%;
    filter: blur(20px);
}

.phone-frame {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2424, #0a1110);
    border-radius: 44px;
    padding: 12px;
    box-shadow:
        0 60px 90px -45px rgba(15, 35, 33, 0.55),
        0 30px 60px -30px rgba(15, 35, 33, 0.35),
        inset 0 1px 2px rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.phone-frame:hover {
    transform: translateY(-6px);
    box-shadow:
        0 70px 100px -45px rgba(15, 35, 33, 0.6),
        0 36px 70px -30px rgba(15, 35, 33, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(0, 0, 0, 0.35);
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    overflow: hidden;
    background: var(--bg-card);
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.phone-notch {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 105px;
    height: 26px;
    background: #0a1110;
    border-radius: 14px;
    z-index: 2;
}

/* Plumas decorativas SVG */
.feather {
    position: absolute;
    color: var(--teal);
    opacity: 0.18;
    z-index: 0;
}

.feather-1 {
    top: 12%;
    left: 5%;
    width: 90px;
    transform: rotate(-25deg);
}

.feather-2 {
    bottom: 8%;
    right: 4%;
    width: 70px;
    transform: rotate(35deg);
}

[data-theme="dark"] .feather { opacity: 0.22; }

/* ── Tira de logos / "como si" ────────────────────────────────────────── */

.stores-strip {
    padding: 2rem 0 0;
    border-top: 1px solid var(--rule);
}

.stores-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    color: var(--ink-mute);
    font-size: 0.85rem;
}

.stores-strip-label {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    color: var(--ink-mute);
}

.stores-strip-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ink-soft);
    font-weight: 500;
}

.stores-strip-badge svg { width: 18px; height: 18px; }

/* ── Hero genérico de páginas internas ────────────────────────────────── */

.page-hero {
    padding: 4.5rem 0 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 720px) {
    .page-hero { padding: 2.8rem 0 1.4rem; }
}

.page-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: transparent;
    padding: 0;
    margin-bottom: 1.75rem;
    color: var(--teal);
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    line-height: 1;
}

@media (max-width: 720px) {
    .page-hero .eyebrow {
        font-size: 1.1rem;
        gap: 0.7rem;
        margin-bottom: 1.2rem;
        letter-spacing: 0.16em;
    }
}

.page-hero .eyebrow::before,
.page-hero .eyebrow::after {
    content: '';
    width: 44px;
    height: 1px;
    border-radius: 0;
    background: color-mix(in srgb, var(--teal) 60%, transparent);
}

@media (max-width: 720px) {
    .page-hero .eyebrow::before,
    .page-hero .eyebrow::after { width: 28px; }
}

.page-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.025em;
    margin: 0 auto 1.2rem;
    color: var(--ink);
    max-width: 22ch;
}

.page-hero-sub {
    font-size: clamp(1rem, 1.4vw, 1.12rem);
    color: var(--ink-soft);
    max-width: 54ch;
    margin: 0 auto;
    line-height: 1.55;
}

/* ── Banner i18n "traducción pendiente" ──────────────────────────────── */
.i18n-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    margin: 0 0 1.4rem;
    background: var(--accent-soft);
    border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
    border-radius: var(--radius-sm);
    color: var(--ink);
    font-size: 0.9rem;
    line-height: 1.45;
}

.i18n-banner svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--accent);
}

[data-theme="dark"] .i18n-banner {
    color: var(--ink-soft);
}

/* ── Sección genérica ─────────────────────────────────────────────────── */

.section {
    padding: 6rem 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 720px) {
    .section { padding: 3.5rem 0; }
}

.section-head {
    max-width: 720px;
    margin: 0 auto 4rem;
    text-align: center;
}

@media (max-width: 720px) {
    .section-head { margin-bottom: 2.5rem; }
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-top: 1rem;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.section-desc {
    color: var(--ink-soft);
    font-size: 1.05rem;
    max-width: 50ch;
    margin: 0 auto;
}

/* ── Features grid ─────────────────────────────────────────────────────── */

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

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

@media (max-width: 600px) {
    .features { grid-template-columns: 1fr; }
}

.feature {
    background: var(--bg-card);
    border: 1px solid var(--rule);
    border-radius: var(--radius-md);
    padding: 1.6rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.feature:hover {
    transform: translateY(-3px);
    border-color: var(--teal);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--teal-soft);
    color: var(--teal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg { width: 22px; height: 22px; }

.feature h3 {
    font-size: 1.15rem;
    margin: 0;
    letter-spacing: -0.01em;
}

.feature p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

.feature-list {
    list-style: none;
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.feature-list li {
    font-size: 0.78rem;
    color: var(--ink-soft);
    background: var(--bg-soft);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid var(--rule);
}

/* ── Showcase (sección con captura grande + texto) ────────────────────── */

.showcase {
    padding: 5rem 0;
}

@media (max-width: 720px) {
    .showcase { padding: 3rem 0; }
}

.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.showcase-row:last-child { margin-bottom: 0; }

.showcase-row.reverse .showcase-text { order: 2; }

@media (max-width: 900px) {
    .showcase-row,
    .showcase-row.reverse {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .showcase-row.reverse .showcase-text { order: initial; }
}

.showcase-text h2 {
    font-size: clamp(1.7rem, 3vw, 2.2rem);
    margin: 1rem 0 1rem;
    letter-spacing: -0.025em;
}

.showcase-text p {
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.65;
    max-width: 48ch;
}

.showcase-bullets {
    list-style: none;
    margin-top: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.showcase-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--ink-soft);
    font-size: 0.97rem;
}

.showcase-bullets li::before {
    content: '';
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background-color: var(--teal-soft);
    color: var(--teal);
    border-radius: 50%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%23008080' d='M6.5 11.5L3 8l1-1 2.5 2.5L12 4l1 1z'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
    margin-top: 2px;
}

[data-theme="dark"] .showcase-bullets li::before {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='%2363d3c9' d='M6.5 11.5L3 8l1-1 2.5 2.5L12 4l1 1z'/></svg>");
}

.showcase-shot {
    position: relative;
    background: linear-gradient(135deg, var(--teal-soft), var(--bg-tinted));
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 4 / 3.2;
    border: 1px solid var(--rule);
}

@media (max-width: 720px) {
    .showcase-shot {
        padding: 1.6rem;
        aspect-ratio: 4 / 4;
        border-radius: var(--radius-md);
    }
    .showcase-shot .phone { max-height: 360px; }
}

.showcase-shot::before {
    /* grid sutil */
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--rule) 1px, transparent 1px),
        linear-gradient(90deg, var(--rule) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.25;
    pointer-events: none;
}

.showcase-shot .phone {
    position: relative;
    z-index: 1;
    height: 100%;
    max-height: 480px;
    aspect-ratio: 9 / 19;
    background: linear-gradient(135deg, #1a2424, #0a1110);
    border-radius: 32px;
    padding: 9px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.showcase-shot .phone:hover {
    transform: translateY(-6px);
    box-shadow:
        0 40px 80px -30px rgba(15, 35, 33, 0.4),
        0 14px 30px -14px rgba(15, 35, 33, 0.2);
}

.showcase-shot .phone-screen {
    border-radius: 24px;
}

.showcase-shot .phone-notch {
    width: 80px;
    height: 20px;
    top: 14px;
    border-radius: 12px;
}

.showcase-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--teal);
    margin-bottom: 0.6rem;
}

.showcase-tag::before {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--teal);
}

/* ── Stats / cifras ────────────────────────────────────────────────────── */

.stats {
    padding: 4rem 0;
    background: var(--bg-soft);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

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

.stat-num {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    color: var(--teal);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-label {
    margin-top: 0.5rem;
    color: var(--ink-soft);
    font-size: 0.9rem;
}

/* ── CTA bloque ────────────────────────────────────────────────────────── */

.cta {
    padding: 5rem 0;
}

@media (max-width: 720px) {
    .cta { padding: 2.5rem 0; }
}

.cta-box {
    background: linear-gradient(135deg, var(--teal-soft), var(--bg-tinted));
    border: 1px solid var(--rule);
    border-radius: var(--radius-lg);
    padding: 4rem 3rem;
    text-align: center;
    color: var(--ink);
    position: relative;
    overflow: hidden;
}

@media (max-width: 720px) {
    .cta-box { padding: 2.5rem 1.4rem; border-radius: var(--radius-md); }
}

.cta-box::before {
    /* grid sutil, igual que en showcase-shot */
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--rule) 1px, transparent 1px),
        linear-gradient(90deg, var(--rule) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.25;
    pointer-events: none;
}

.cta-box h2 {
    color: var(--ink);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
    letter-spacing: -0.025em;
}

.cta-box p {
    color: var(--ink-soft);
    max-width: 50ch;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

.cta-buttons .btn-primary {
    background: #ffffff;
    color: var(--teal-deep);
}

.cta-buttons .btn-primary:hover {
    background: var(--bg);
    color: var(--teal-deep);
}

.cta-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.55);
}

/* ── Redes sociales ───────────────────────────────────────────────────── */

.socials {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.socials a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-card);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    border: 1px solid var(--rule);
}

.socials a:hover {
    background: var(--teal-soft);
    border-color: var(--teal);
    color: var(--teal);
    transform: translateY(-2px);
}

/* Hover con el color dominante de cada red social */
.socials a[aria-label="WhatsApp"]:hover {
    background: #25D366;
    border-color: #25D366;
    color: #ffffff;
}

.socials a[aria-label="YouTube"]:hover {
    background: #FF0000;
    border-color: #FF0000;
    color: #ffffff;
}

.socials a[aria-label="Instagram"]:hover {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
    border-color: #DD2A7B;
    color: #ffffff;
}

.socials a[aria-label="Facebook"]:hover {
    background: #1877F2;
    border-color: #1877F2;
    color: #ffffff;
}

.socials svg { width: 18px; height: 18px; }

/* ── Footer ───────────────────────────────────────────────────────────── */

.footer {
    background: var(--bg);
    border-top: 1px solid var(--rule);
    padding: 3.5rem 0 2rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 720px) {
    .footer { padding: 2.5rem 0 1.5rem; }
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 720px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand {
    max-width: 30ch;
}

.footer-brand .brand {
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--ink-soft);
    font-size: 0.92rem;
    line-height: 1.55;
}

.footer h4 {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink-mute);
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer ul { list-style: none; }
.footer li { margin-bottom: 0.6rem; }

.footer a {
    color: var(--ink-soft);
    text-decoration: none;
    font-size: 0.93rem;
    transition: color 0.2s ease;
}

.footer a:hover { color: var(--teal); }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--rule);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--ink-mute);
    font-size: 0.85rem;
}

/* ── Reduce motion ─────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .phone-frame { transform: none !important; }
}
