/* =====================================================================
   OdontoCitas · Estilos base (landing + login) — MOBILE FIRST
   Estrategia: los estilos base son para móvil y se mejoran con
   @media (min-width: ...) para pantallas más grandes.
   Paleta moderna SaaS:
   - Base neutra: blanco puro / gris muy claro
   - Secundarios relajantes: azul acero, turquesa y verde fresco
   - Acentos de conversión: naranja coral, miel y rosa empolvado
   Tipografía: Inter (cuerpo) + Playfair Display (títulos)
   ===================================================================== */

:root {
    --canvas: #F5F7FA;
    --canvas-soft: #FAFBFC;
    --surface: #FFFFFF;
    --ink: #1F2937;
    --muted: #64748B;
    --line: #E5EAF0;

    --steel: #4A7BA6;
    --steel-600: #3B6287;
    --steel-soft: rgba(74, 123, 166, 0.10);
    --turquoise: #5FB6A8;
    --turquoise-soft: rgba(95, 182, 168, 0.14);
    --green: #4C9E7E;
    --green-soft: rgba(76, 158, 126, 0.14);

    --accent: #F2764E;
    --accent-600: #DE6440;
    --accent-soft: rgba(242, 118, 78, 0.12);
    --honey: #F0B429;
    --honey-soft: rgba(240, 180, 41, 0.16);
    --pink: #E3A7A7;
    --pink-soft: rgba(227, 167, 167, 0.18);

    --shadow-sm: 0 1px 2px rgba(31, 41, 55, 0.04), 0 8px 24px rgba(31, 41, 55, 0.06);
    --shadow-lg: 0 24px 60px rgba(59, 98, 135, 0.14);
    --radius: 14px;
    --radius-lg: 22px;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

/* Utilidad de ocultado (la landing no carga Bootstrap) */
.d-none { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font-sans);
    color: var(--ink);
    background-color: var(--body-bg, var(--canvas));
    background-image:
        radial-gradient(60rem 40rem at 85% -10%, rgba(74, 123, 166, 0.07), transparent 60%),
        radial-gradient(40rem 30rem at -10% 110%, rgba(95, 182, 168, 0.10), transparent 60%);
    min-height: 100vh;
    line-height: 1.6;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
}

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

/* Landing de varias secciones: el contenido fluye en bloque */
.home-layout main.container {
    display: block;
    align-items: stretch;
    justify-content: flex-start;
    padding-top: 24px;
    padding-bottom: 56px;
}

/* ---- Header (móvil: más compacto) ---- */
.app-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--header-bg, rgba(255, 255, 255, 0.85));
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}

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

.brand {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--steel);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1;
}

.brand::before {
    content: "✦";
    font-size: 1rem;
    color: var(--turquoise);
    opacity: 0.95;
}

.brand__logo {
    height: 36px;
    max-width: 200px;
    width: auto;
    object-fit: contain;
}

.brand:hover { color: var(--steel-600); }

.nav-note {
    display: none; /* móvil: se oculta */
    font-size: 0.82rem;
    color: var(--muted);
    letter-spacing: 0.02em;
}

/* ---- Main ---- */
main.container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 28px;
    padding-bottom: 48px;
}

/* ---- Hero (móvil: compacto, CTA a ancho completo) ---- */
.hero {
    width: 100%;
    max-width: 100%; /* móvil: ocupa todo el ancho disponible */
    text-align: center;
    padding: 32px 12px 40px;
    background: var(--hero-bg, transparent);
    border-radius: var(--radius-lg);
    margin: 0 auto;
}

.hero__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hero-eyebrow, var(--steel));
    background: var(--turquoise-soft);
    border: 1px solid rgba(95, 182, 168, 0.35);
    padding: 6px 13px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.hero__title {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(1.85rem, 6vw, 3.4rem);
    line-height: 1.16;
    letter-spacing: -0.02em;
    color: var(--hero-title, var(--ink));
    margin-bottom: 16px;
    text-wrap: balance;
}

.hero__title em {
    font-style: italic;
    color: var(--steel);
}

.hero__subtitle {
    font-size: clamp(0.98rem, 3.2vw, 1.2rem);
    color: var(--hero-subtitle, var(--muted));
    max-width: 540px;
    margin: 0 auto 26px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.hero__actions .btn {
    width: 100%;
}

/* ---- Botones ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 13px 26px;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 10px 24px rgba(242, 118, 78, 0.28);
}

.btn--primary:hover {
    background: var(--accent-600);
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(222, 100, 64, 0.32);
}

.btn--ghost {
    background: transparent;
    color: var(--steel);
    border-color: rgba(74, 123, 166, 0.35);
}

.btn--ghost:hover {
    border-color: var(--steel);
    background: var(--steel-soft);
}

/* ---- Autenticación (móvil: márgenes compactos) ---- */
.auth-wrap {
    width: 100%;
    max-width: 440px;
}

.auth-form {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 28px 20px;
}

.auth-form__eyebrow {
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--steel);
    margin-bottom: 12px;
}

.auth-form h1 {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.7rem;
    letter-spacing: -0.01em;
    text-align: center;
    margin-bottom: 8px;
    color: var(--ink);
}

.auth-form__hint {
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 22px;
}

.auth-form label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    margin: 0 0 6px;
    color: var(--ink);
}

.auth-form .field + .field { margin-top: 16px; }

.auth-form input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 1rem;
    font-family: var(--font-sans);
    background: var(--canvas-soft);
    color: var(--ink);
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.auth-form input:focus {
    outline: none;
    background: #fff;
    border-color: var(--steel);
    box-shadow: 0 0 0 4px rgba(74, 123, 166, 0.14);
}

.auth-form .btn {
    width: 100%;
    margin-top: 22px;
    border: none;
    font-size: 1rem;
}

.auth-error {
    background: var(--pink-soft);
    color: #9C4A4A;
    border: 1px solid rgba(227, 167, 167, 0.6);
    border-radius: 12px;
    padding: 11px 13px;
    margin-bottom: 18px;
    text-align: center;
    font-size: 0.88rem;
}

.auth-back {
    margin-top: 18px;
    text-align: center;
    font-size: 0.88rem;
    color: var(--muted);
}

.auth-back a {
    color: var(--steel);
    font-weight: 600;
    text-decoration: none;
}

.auth-back a:hover { text-decoration: underline; }

/* ---- Footer ---- */
.app-footer {
    border-top: 1px solid var(--line);
    padding: 20px 0;
    color: var(--muted);
    font-size: 0.85rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.6);
}

/* =====================================================================
   Secciones de la landing (nosotros, precios, contacto) — MOBILE FIRST
   ===================================================================== */
.landing-section {
    padding: 40px 0;
    border-top: 1px solid var(--line);
}

.landing-section__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 28px;
}

.landing-section__eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--steel);
    background: var(--turquoise-soft);
    border: 1px solid rgba(95, 182, 168, 0.35);
    padding: 5px 13px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.landing-section__title {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 10px;
}

.landing-section__sub {
    color: var(--muted);
    line-height: 1.7;
    font-size: 0.98rem;
}

/* Beneficios (móvil: una columna) */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.benefit-card {
    display: flex;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 18px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(59, 98, 135, 0.10);
}

.benefit-card__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: var(--green-soft);
    color: var(--green);
    flex-shrink: 0;
}

.benefit-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
}

.benefit-card__text {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0;
}

/* Precios (móvil: una columna, CTA ancho completo) */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: stretch;
}

.price-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 26px 22px 22px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.price-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 44px rgba(59, 98, 135, 0.12);
}

.price-card--featured {
    border: 2px solid var(--accent);
    box-shadow: 0 16px 44px rgba(242, 118, 78, 0.18);
}

.price-card__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

.price-card__name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.price-card__amount {
    font-family: var(--font-serif);
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.05;
}

.price-card__per {
    color: var(--muted);
    font-size: 0.85rem;
    margin-bottom: 18px;
}

.price-card__features {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.price-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 0.9rem;
    color: var(--ink);
}

.price-card__features svg {
    color: var(--green);
    flex-shrink: 0;
    margin-top: 3px;
}

.price-card__cta {
    width: 100%;
}

/* Contacto (móvil: formulario apilado, una columna) */
.contact-alert {
    max-width: 760px;
    margin: 0 auto 22px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.92rem;
    border: 1px solid;
    text-align: center;
}

.contact-alert--success {
    background: var(--green-soft);
    color: #2F7D5A;
    border-color: rgba(76, 158, 126, 0.4);
}

.contact-alert--error {
    background: var(--pink-soft);
    color: #9C4A4A;
    border-color: rgba(227, 167, 167, 0.6);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
}

.contact-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 22px 18px;
}

.contact-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.contact-field { display: flex; flex-direction: column; gap: 6px; }

.contact-field label {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ink);
}

.contact-field input,
.contact-field textarea {
    padding: 12px 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: var(--canvas-soft);
    color: var(--ink);
    width: 100%;
    transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
    resize: vertical;
    -webkit-appearance: none;
    appearance: none;
}

.contact-field input:focus,
.contact-field textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--steel);
    box-shadow: 0 0 0 4px rgba(74, 123, 166, 0.14);
}

.contact-field--captcha { max-width: 100%; }

/* Campos de vencimiento de tarjeta (MM / AA) */
.contact-row--nested {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 0;
}

.contact-submit {
    width: 100%;
    border: none;
    margin-top: 4px;
    padding: 14px 26px;
}

.contact-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.contact-info {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 22px 20px;
}

.contact-info__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 14px;
}

.contact-info__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.contact-info__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
}

.contact-info__list svg {
    color: var(--steel);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info__list a {
    color: var(--steel);
    font-weight: 600;
    text-decoration: none;
}

.contact-info__list a:hover { text-decoration: underline; }

/* =====================================================================
   Página pública de suscripción
   ===================================================================== */
.sub-hero .hero__title { font-size: clamp(1.9rem, 7vw, 3.4rem); }

.sub-plans { max-width: 860px; margin: 0 auto; }

.sub-plan-card {
    cursor: pointer;
    border: 2px solid var(--line);
    transition: border-color .15s, box-shadow .15s, transform .15s;
}

.sub-plan-card:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(59, 98, 135, 0.12); }

.sub-plan-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sub-plan-card:has(.sub-plan-radio:checked) {
    border-color: var(--accent);
    box-shadow: 0 16px 44px rgba(242, 118, 78, 0.18);
}

.sub-plan-check {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--line);
    background: var(--surface);
    color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
}

.sub-plan-card:has(.sub-plan-radio:checked) .sub-plan-check {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.sub-account-card { text-align: center; padding: 26px 22px; }
.sub-account-title {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--steel);
    margin-bottom: 6px;
}
.sub-account-hint { color: var(--muted); font-size: .88rem; margin: 6px 0 0; }

.sub-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 5px;
    max-width: 420px;
}

.sub-tab {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 10px 14px;
    border-radius: 999px;
    font-family: inherit;
    font-size: .9rem;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: all .15s;
}

.sub-tab.is-active {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 6px 16px rgba(242, 118, 78, 0.25);
}

.sub-summary {
    margin-top: 4px;
    padding: 14px 16px;
    border: 1px dashed var(--line);
    border-radius: 12px;
    background: var(--canvas-soft);
    color: var(--ink);
    font-size: .95rem;
    text-align: center;
    margin-bottom: 16px;
}

.sub-summary strong { font-size: 1.15rem; color: var(--accent-600); }

/* ---- Banner de prueba gratuita (landing) ---- */
.trial-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    max-width: 860px;
    margin: 0 auto 26px;
    background: linear-gradient(120deg, var(--green-soft), var(--turquoise-soft));
    border: 1px solid rgba(95, 182, 168, 0.45);
    border-radius: var(--radius-lg);
    padding: 16px 20px;
}

.trial-banner__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--surface);
    color: var(--green);
    flex-shrink: 0;
}

.trial-banner__text {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
}

.trial-banner__text strong { font-size: 1.05rem; color: var(--ink); }

.trial-banner__text span { color: var(--muted); font-size: .88rem; line-height: 1.5; }

.trial-banner__cta { flex-shrink: 0; }

/* Tarjeta de prueba en la página de suscripción */
.sub-plan-card--trial {
    border: 2px dashed rgba(95, 182, 168, 0.6);
}

.sub-plan-card--trial:has(.sub-plan-radio:checked) {
    border-style: solid;
    border-color: var(--green);
}

/* Prueba gratuita ya usada: se muestra deshabilitada */
.sub-plan-card.is-disabled {
    opacity: .6;
    filter: grayscale(.3);
    cursor: not-allowed;
    box-shadow: none;
    transform: none !important;
}

.sub-plan-card.is-disabled .sub-plan-radio {
    cursor: not-allowed;
}

.sub-plan-card__note {
    margin-top: 8px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--rose, #B4554D);
}

/* ---- Grupo de teléfono (prefijo + número) ---- */
.phone-group {
    display: flex;
    gap: 8px;
    width: 100%;
}

.phone-group__code {
    flex-shrink: 0;
    width: auto;
    min-width: 96px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: .95rem;
    font-family: inherit;
    background: var(--canvas-soft);
    color: var(--ink);
    cursor: pointer;
}

.phone-group__num {
    flex: 1;
    min-width: 0;
}

/* ---- Login por teléfono ---- */
.sub-login-msg {
    margin-top: 10px;
    padding: 10px 13px;
    border-radius: 12px;
    font-size: .88rem;
    line-height: 1.5;
    border: 1px solid;
}

.sub-login-msg.is-ok {
    background: var(--green-soft);
    color: #2F7D5A;
    border-color: rgba(76, 158, 126, 0.4);
}

.sub-login-msg.is-err {
    background: var(--pink-soft);
    color: #9C4A4A;
    border-color: rgba(227, 167, 167, 0.6);
}

.sub-link-btn {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}

.sub-readonly {
    background: var(--canvas-soft) !important;
    color: var(--muted) !important;
    cursor: not-allowed;
    border-style: dashed !important;
}

/* ---- Tarjeta: marca detectada ---- */
.card-input-wrap { position: relative; }

.card-input-wrap input { padding-right: 86px; }

.card-brand {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--steel);
    background: var(--steel-soft);
    border: 1px solid rgba(74, 123, 166, 0.3);
    padding: 3px 9px;
    border-radius: 999px;
    display: none;
    pointer-events: none;
    white-space: nowrap;
}

.card-brand.is-visible { display: inline-block; }

/* ---- Grupo RUC (input + botón buscar) ---- */
.ruc-group {
    display: flex;
    gap: 8px;
    width: 100%;
}

.ruc-group input { flex: 1; min-width: 0; }

.ruc-search {
    flex-shrink: 0;
    border: 0;
    background: var(--steel);
    color: #fff;
    font-weight: 600;
    padding: 0 18px;
    border-radius: 12px;
    cursor: pointer;
    font-size: .9rem;
    font-family: inherit;
    transition: background .15s;
}

.ruc-search:hover:not(:disabled) { background: var(--steel-600); }

.ruc-search:disabled { opacity: .45; cursor: not-allowed; }

.ruc-manual {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: 1px dashed rgba(74, 123, 166, 0.5);
    color: var(--steel);
    font-size: .84rem;
    font-weight: 600;
    font-family: inherit;
    padding: 7px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: all .15s;
}

.ruc-manual:hover {
    background: var(--steel-soft);
    border-style: solid;
}

/* =====================================================================
   Mejoras progresivas (min-width) — Mobile First
   ===================================================================== */

/* ≥ 560px: tablet pequeña */
@media (min-width: 560px) {
    .container { padding: 0 20px; }

    .nav-note { display: inline; }

    .app-header .container { height: 68px; }

    .brand { font-size: 1.45rem; }
    .brand__logo { height: 40px; max-width: 220px; }

    .auth-form { padding: 36px 30px; }

    .contact-card { padding: 28px 26px; }
    .contact-info { padding: 26px 24px; }

    /* Dos columnas para campos del formulario */
    .contact-row { grid-template-columns: 1fr 1fr; }

    .hero__actions .btn { width: auto; }
}

/* ≥ 768px: tablet / escritorio pequeño */
@media (min-width: 768px) {
    .home-layout main.container { padding-top: 32px; }

    .hero { max-width: 780px; padding: 48px 0 64px; }

    .landing-section { padding: 56px 0; }
    .landing-section__head { margin-bottom: 40px; }

    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }

    .contact-layout { gap: 22px; }
}

/* ≥ 992px: escritorio — el hero crece para no verse pequeño */
@media (min-width: 992px) {
    .benefits-grid { grid-template-columns: repeat(3, 1fr); }
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }

    .contact-layout { grid-template-columns: 1.5fr 1fr; }

    .hero {
        max-width: 920px;
        padding: 72px 24px 88px;
    }

    .hero__title {
        font-size: clamp(2.2rem, 4.4vw, 3.8rem);
        line-height: 1.12;
    }

    .hero__subtitle {
        font-size: clamp(1.05rem, 1.6vw, 1.25rem);
        max-width: 640px;
    }

    .hero__eyebrow { font-size: 0.78rem; }

    main.container { padding-top: 40px; padding-bottom: 64px; }
    .home-layout main.container { padding-bottom: 72px; }
}

/* =====================================================================
   Landing SEO/GEO 2026 — navegación, definición, FAQ, CTA
   (Mobile first; clases nuevas de la portada reescrita)
   ===================================================================== */

/* ---- Navegación de la cabecera (páginas públicas) ---- */
.app-header .container { gap: 10px; }

.app-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.app-nav__anchor {
    display: none;
    color: var(--muted);
    font-size: .86rem;
    font-weight: 600;
    text-decoration: none;
    padding: 7px 9px;
    border-radius: 999px;
}

.app-nav__anchor:hover { color: var(--steel); background: var(--steel-soft); }

.app-nav__login {
    color: var(--steel);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.app-nav__login:hover { background: var(--steel-soft); }

.app-nav__cta {
    background: var(--accent);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
    padding: 9px 15px;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(242, 118, 78, 0.25);
    white-space: nowrap;
}

.app-nav__cta:hover { background: var(--accent-600); }

@media (max-width: 559.98px) {
    .app-header .container { gap: 8px; }
    .brand { font-size: 1.15rem; }
    .app-nav__login { display: none; }
    .app-nav__cta { padding: 8px 12px; font-size: .76rem; }
}

@media (min-width: 992px) {
    .app-nav { gap: 8px; }
    .app-nav__anchor { display: inline-block; }
    .app-nav__login { font-size: .88rem; padding: 9px 12px; }
    .app-nav__cta { font-size: .86rem; padding: 10px 18px; }
}

/* ---- Enlace secundario bajo el hero ---- */
.hero__subnote {
    margin: 20px 0 0;
    font-size: .88rem;
    color: var(--muted);
}

.hero__subnote a {
    color: var(--steel);
    font-weight: 600;
    text-decoration: none;
}

.hero__subnote a:hover { text-decoration: underline; }

/* ---- Franja de datos clave (confianza, sin logos falsos) ---- */
.trust-strip {
    max-width: 100%;
    margin: 18px auto 30px;
    padding: 13px 16px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.trust-strip__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px 20px;
}

.trust-strip__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.4;
}

.trust-strip__item svg { color: var(--green); flex-shrink: 0; }

/* ---- Sección de definición (GEO) ---- */
.definition-layout {
    display: grid;
    gap: 20px;
    max-width: 1020px;
    margin: 0 auto;
    align-items: start;
}

.definition-copy {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 22px 18px;
}

.definition-copy p { margin-bottom: 13px; }

.definition-lede {
    font-size: 1.02rem;
    line-height: 1.75;
    color: var(--ink);
}

.definition-copy strong { color: var(--ink); font-weight: 700; }

.audience-tags {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.audience-tag {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: var(--canvas-soft);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 11px 14px;
}

.audience-tag strong { font-size: .88rem; color: var(--ink); }

.audience-tag span { font-size: .82rem; color: var(--muted); line-height: 1.5; }

/* Ficha técnica en <dl> */
.ficha {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 20px 18px;
}

.ficha__title {
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--steel);
    margin-bottom: 14px;
}

.ficha__list { display: flex; flex-direction: column; gap: 11px; margin: 0 0 16px; }

.ficha__row { border-bottom: 1px dashed var(--line); padding-bottom: 10px; }

.ficha__row:last-child { border-bottom: 0; padding-bottom: 0; }

.ficha__row dt {
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--steel);
    margin-bottom: 2px;
}

.ficha__row dd {
    font-size: .9rem;
    color: var(--ink);
    line-height: 1.5;
    margin: 0;
}

.ficha__cta { width: 100%; }

/* ---- Variante "tarjeta" de sección (ritmo visual) ---- */
.landing-section--soft {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 36px 16px;
    margin-bottom: 28px;
}

/* ---- Problema → solución ---- */
.solutions-grid {
    display: grid;
    gap: 12px;
    max-width: 900px;
    margin: 0 auto;
}

.solution-card {
    background: var(--canvas-soft);
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: 12px;
    padding: 14px 16px;
}

.solution-card__problem {
    font-weight: 700;
    color: var(--ink);
    font-size: .94rem;
    line-height: 1.5;
    margin-bottom: 4px;
}

.solution-card__solution {
    color: var(--muted);
    font-size: .87rem;
    line-height: 1.6;
    margin: 0;
}

/* ---- Pasos (cómo funciona) ---- */
.steps-grid {
    list-style: none;
    display: grid;
    gap: 14px;
    max-width: 1020px;
    margin: 0 auto;
    padding: 0;
}

.step-card {
    background: var(--canvas-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 18px 16px;
    box-shadow: var(--shadow-sm);
}

.step-card__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--steel-soft);
    color: var(--steel);
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 10px;
}

.step-card__title { font-size: .98rem; color: var(--ink); margin-bottom: 4px; }

.step-card__text { color: var(--muted); font-size: .86rem; line-height: 1.6; margin: 0; }

.section-center-cta { text-align: center; margin: 24px auto 0; }

/* ---- FAQ (details/summary, sin JS) ---- */
.faq-list {
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color .15s, box-shadow .15s;
}

.faq-item[open] { border-color: rgba(74, 123, 166, .45); box-shadow: var(--shadow-sm); }

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-weight: 600;
    color: var(--ink);
    font-size: .94rem;
    line-height: 1.45;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--steel);
    line-height: 1;
    transition: transform .18s ease;
    flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item__a {
    padding: 0 16px 15px;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.7;
    margin: 0;
}

/* ---- Banda CTA final ---- */
.cta-band {
    max-width: 980px;
    margin: 0 auto 30px;
    text-align: center;
    background: linear-gradient(120deg, var(--steel-soft), var(--turquoise-soft));
    border: 1px solid rgba(74, 123, 166, 0.28);
    border-radius: var(--radius-lg);
    padding: 34px 18px;
}

.cta-band__title {
    font-family: var(--font-serif);
    font-size: clamp(1.35rem, 4.5vw, 2rem);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.25;
    margin-bottom: 10px;
}

.cta-band__text { color: var(--muted); margin: 0 0 20px; }

.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.cta-band__actions .btn { width: 100%; }

/* ---- Mejoras ≥ 560px ---- */
@media (min-width: 560px) {
    .cta-band__actions .btn { width: auto; }
    .audience-tags { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Mejoras ≥ 768px ---- */
@media (min-width: 768px) {
    .definition-copy { padding: 30px 28px; }
    .ficha { padding: 26px 24px; }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-band { padding: 44px 30px; }
}

/* ---- Mejoras ≥ 992px ---- */
@media (min-width: 992px) {
    .definition-layout { grid-template-columns: 1.65fr 1fr; gap: 22px; }
    .steps-grid { grid-template-columns: repeat(4, 1fr); }
    .landing-section--soft { padding: 46px 30px; }
}

/* ---- Franja de datos clave: mismo ancho que el hero y con aire ---- */
@media (min-width: 768px) {
    .trust-strip { max-width: 780px; margin-top: 22px; }
}

@media (min-width: 992px) {
    .trust-strip { max-width: 920px; margin-top: 28px; }
}

/* =====================================================================
   Rediseño profesional 2026 (home) — override al final del archivo
   ===================================================================== */

/* Contraste tipográfico: cuerpo/grises más oscuros (accesibilidad) */
:root {
    --muted: #475569;          /* texto secundario con mejor contraste */
    --card-border: #E2E8F0;
    --band-gray: #F1F5F9;
}

/* ---- Píldoras de etiqueta (eyebrows) azules ---- */
.hero__eyebrow,
.landing-section__eyebrow {
    background: rgba(74, 123, 166, 0.12);
    border: 1px solid rgba(74, 123, 166, 0.28);
    color: #2E5F8A;
}

/* ---- Hero dividido (texto + maqueta) ---- */
.hero--split {
    background:
        radial-gradient(900px 420px at 85% -10%, rgba(95, 182, 168, 0.14), transparent 60%),
        radial-gradient(700px 360px at -10% 110%, rgba(74, 123, 166, 0.10), transparent 60%),
        var(--hero-bg, #FFFFFF);
}

.hero__visual { margin-top: 30px; text-align: center; }

.hero__visual-caption {
    margin: 12px auto 0;
    font-size: .8rem;
    color: var(--muted);
}

/* Marco de navegador + maqueta */
.browser-frame {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 28px 64px rgba(15, 23, 42, 0.16), 0 10px 24px rgba(15, 23, 42, 0.08);
    overflow: hidden;
    text-align: left;
    max-width: 580px;
    margin: 0 auto;
}

.browser-frame__bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #F1F5F9;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
}

.browser-frame__dots { display: inline-flex; gap: 6px; }
.browser-frame__dots i {
    width: 11px; height: 11px; border-radius: 50%;
    background: #E2E8F0; display: inline-block;
}
.browser-frame__dots i:nth-child(1) { background: #F87171; }
.browser-frame__dots i:nth-child(2) { background: #FBBF24; }
.browser-frame__dots i:nth-child(3) { background: #34D399; }

.browser-frame__url {
    flex: 1;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: .72rem;
    color: var(--muted);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Panel: sidebar de resumen + agenda */
.mock-dash {
    display: grid;
    grid-template-columns: 118px 1fr;
    gap: 12px;
    padding: 12px;
    background: #F8FAFC;
}

.mock-dash__side { display: flex; flex-direction: column; gap: 8px; }

.mock-stat {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
}
.mock-stat--alt { border-left: 3px solid var(--steel); }
.mock-stat__num { font-size: 1.15rem; font-weight: 800; color: #0F172A; line-height: 1.1; }
.mock-stat__label { font-size: .62rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }

.mock-specialist {
    display: flex; align-items: center; gap: 6px;
    background: #fff; border: 1px solid var(--card-border); border-radius: 12px; padding: 6px 8px;
}
.mock-avatar {
    width: 22px; height: 22px; border-radius: 50%; background: var(--steel);
    color: #fff; font-size: .58rem; font-weight: 700; font-style: normal;
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.mock-specialist__name { font-size: .66rem; font-weight: 600; color: #0F172A; }

.mock-pills { display: flex; flex-direction: column; gap: 5px; }
.mock-pill {
    font-size: .6rem; font-weight: 700; letter-spacing: .02em;
    background: rgba(74, 123, 166, 0.12); color: #2E5F8A;
    border-radius: 999px; padding: 3px 8px; width: fit-content;
}
.mock-pill--whatsapp { background: rgba(37, 211, 102, 0.14); color: #128C4A; }

.mock-dash__cal {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mock-cal__head {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    text-align: center;
    font-size: .6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
}

.mock-cal__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 34px;
    gap: 6px;
}

.mock-slot {
    background: #F1F5F9;
    border-radius: 9px;
    display: block;
}

.mock-slot--busy {
    background: rgba(74, 123, 166, 0.28);
    box-shadow: inset 0 0 0 1.5px rgba(74, 123, 166, 0.35);
}
.mock-slot--accent { background: rgba(242, 118, 78, 0.35); box-shadow: inset 0 0 0 1.5px rgba(242, 118, 78, 0.45); }
.mock-slot--turquoise { background: rgba(95, 182, 168, 0.4); box-shadow: inset 0 0 0 1.5px rgba(95, 182, 168, 0.5); }

.mock-cal__foot { display: flex; flex-wrap: wrap; gap: 6px; }
.mock-chip {
    font-size: .62rem;
    font-weight: 600;
    color: #334155;
    background: #F8FAFC;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 9px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.mock-chip--steel { color: #2E5F8A; background: rgba(74, 123, 166, 0.08); border-color: rgba(74, 123, 166, 0.25); }
.mock-chip--accent { color: #C2572E; background: rgba(242, 118, 78, 0.1); border-color: rgba(242, 118, 78, 0.3); }
.mock-chip--wa { color: #128C4A; background: rgba(37, 211, 102, 0.1); border-color: rgba(37, 211, 102, 0.3); }

/* ---- Franja de datos clave: píldoras sin caja pesada ---- */
.trust-strip {
    background: transparent;
    border: 0;
    box-shadow: none;
    margin: 6px auto 30px;
    padding: 0;
}

.trust-strip__item {
    background: rgba(74, 123, 166, 0.08);
    border: 1px solid rgba(74, 123, 166, 0.16);
    border-radius: 999px;
    padding: 6px 13px;
    font-size: .78rem;
    color: #1E293B;
}

/* ---- Iconos en contenedor suave (beneficios) ---- */
.benefit-card__check {
    background: rgba(74, 123, 166, 0.10);
    color: var(--steel);
}

/* ---- Secciones: bandas con ritmo (blanco vs gris) ---- */
.landing-section { border-top: 0; }

.landing-section--soft {
    background: #FFFFFF;
    border: 1px solid var(--card-border);
    border-radius: 24px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
    padding: 44px 18px;
    margin-bottom: 34px;
}

/* ---- Tarjetas "problema -> solución" (blancas, con borde) ---- */
.solution-card {
    background: #FFFFFF;
    border: 1px solid var(--card-border);
    border-left: 4px solid var(--accent);
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
    transition: transform .16s ease, box-shadow .16s ease;
}
.solution-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10); }
.solution-card__problem { color: #0F172A; }

/* ---- Pasos: números azules y tarjetas claras ---- */
.step-card { background: #FFFFFF; }
.step-card__num { background: rgba(74, 123, 166, 0.12); color: #2E5F8A; }
.step-card__title { color: #0F172A; }

/* ---- FAQ: resumen con color de texto fuerte ---- */
.faq-item summary { color: #0F172A; }

/* ---- CTA final: banda azul oscuro de impacto ---- */
.cta-band {
    background:
        radial-gradient(900px 420px at 85% -20%, rgba(95, 182, 168, 0.22), transparent 55%),
        radial-gradient(600px 320px at -10% 120%, rgba(74, 123, 166, 0.35), transparent 60%),
        #0F172A;
    border: 0;
    color: #CBD5E1;
    margin: 10px auto 34px;
    padding: 46px 22px;
}
.cta-band__title { color: #FFFFFF; }
.cta-band__text { color: #94A3B8; }
.cta-band .btn--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.45);
    background: transparent;
}
.cta-band .btn--ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: #fff; }

/* ---- Botón flotante de WhatsApp ---- */
.wa-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 70;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45);
    transition: transform .18s ease, background .18s ease;
    animation: wa-pulse 2.6s infinite;
}
.wa-float:hover { transform: scale(1.08); background: #1fb958; }

.wa-float__tip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%) translateX(4px);
    background: #0F172A;
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    padding: 8px 13px;
    border-radius: 999px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease;
}
.wa-float:hover .wa-float__tip { opacity: 1; transform: translateY(-50%) translateX(0); }

@keyframes wa-pulse {
    0%   { box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70%  { box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 12px 26px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .wa-float { animation: none; }
}

/* ---- Escritorio: hero en dos columnas (texto | maqueta) ---- */
@media (min-width: 992px) {
    .hero--split {
        max-width: 1080px;
        display: grid;
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        gap: 44px;
        align-items: center;
        text-align: left;
        padding: 60px 26px 66px;
    }
    .hero--split .hero__copy { text-align: left; }
    .hero--split .hero__title {
        font-size: clamp(2.1rem, 3.4vw, 3.25rem);
        line-height: 1.12;
    }
    .hero--split .hero__subtitle { margin: 0 0 26px; }
    .hero--split .hero__actions { justify-content: flex-start; }
    .hero--split .hero__actions .btn { width: auto; }
    .hero--split .hero__subnote { margin: 20px 0 0; }
    .hero__visual { margin-top: 0; }
    .landing-section--soft { padding: 52px 26px; }
}

/* =====================================================================
   Ritmo de secciones: bandas alternadas (blanco | gris-azulado)
   ===================================================================== */
.landing #que-es,
.landing #problemas,
.landing #funciones,
.landing #como-funciona,
.landing #preguntas,
.landing #planes,
.landing #contacto {
    border-radius: 26px;
    padding: 52px 20px;
    margin: 0 0 30px;
}

/* Tonos alternados — sección impar clara / par blanca según orden real:
   que-es(gris) → problemas(blanco) → funciones(gris) → como-funciona(blanco)
   → preguntas(gris) → planes(blanco) → contacto(gris) */
.landing #que-es,
.landing #funciones,
.landing #preguntas,
.landing #contacto {
    background: #EFF4FA;
    border: 1px solid #E2E8F0;
}

.landing #problemas,
.landing #como-funciona,
.landing #planes {
    background: #FFFFFF;
    border: 1px solid #E8EDF4;
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.06);
}

/* Las tarjetas blancas ganan protagonismo sobre las bandas grises */
.landing #que-es .definition-copy,
.landing #que-es .ficha,
.landing #funciones .benefit-card,
.landing #preguntas .faq-item {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

/* Contacto: caja del formulario sobre banda gris */
.landing #contacto .contact-card,
.landing #contacto .contact-info {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

@media (min-width: 768px) {
    .landing #que-es,
    .landing #problemas,
    .landing #funciones,
    .landing #como-funciona,
    .landing #preguntas,
    .landing #planes,
    .landing #contacto {
        padding: 60px 34px;
    }
}

/* =====================================================================
   Secciones "producto" y "testimonios" + nueva alternancia de tonos
   ===================================================================== */
.landing #producto,
.landing #que-es,
.landing #problemas,
.landing #funciones,
.landing #como-funciona,
.landing #testimonios,
.landing #preguntas,
.landing #planes,
.landing #contacto {
    border-radius: 26px;
    padding: 52px 20px;
    margin: 0 0 30px;
}

/* Alternancia: gris-azulado | blanco (con el nuevo orden de secciones) */
.landing #producto,
.landing #problemas,
.landing #como-funciona,
.landing #preguntas,
.landing #contacto {
    background: #EFF4FA;
    border: 1px solid #E2E8F0;
}

.landing #que-es,
.landing #funciones,
.landing #testimonios,
.landing #planes {
    background: #FFFFFF;
    border: 1px solid #E8EDF4;
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.06);
}

/* Tarjetas blancas con sombra sobre las bandas */
.landing #producto .shot-card,
.landing #problemas .solution-card,
.landing #testimonios .testimonial-card {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
}

/* ---- Galería de capturas (imágenes con ALT) ---- */
.shots-grid {
    display: grid;
    gap: 20px;
    max-width: 1020px;
    margin: 0 auto;
}

.shot-card {
    margin: 0;
    background: #FFFFFF;
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 14px;
    transition: transform .16s ease, box-shadow .16s ease;
}

.shot-card:hover { transform: translateY(-4px); }

.shot-card__img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--line);
}

.shot-card__caption {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 6px 2px;
    text-align: left;
}

.shot-card__caption strong { font-size: .95rem; color: #0F172A; }
.shot-card__caption span { font-size: .84rem; color: var(--muted); line-height: 1.5; }

/* ---- Testimonios ---- */
.testimonials-grid {
    display: grid;
    gap: 18px;
    max-width: 1040px;
    margin: 0 auto;
}

.testimonial-card {
    margin: 0;
    background: #FFFFFF;
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 22px 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.testimonial-card__stars { display: flex; gap: 3px; }

.testimonial-card__quote {
    margin: 0;
    font-size: .95rem;
    line-height: 1.65;
    color: #1E293B;
    flex-grow: 1;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 11px;
    border-top: 1px solid var(--line);
    padding-top: 13px;
}

.testimonial-card__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(74, 123, 166, 0.14);
    color: #2E5F8A;
    font-weight: 800;
    font-size: .85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-card__author strong {
    display: block;
    font-size: .9rem;
    color: #0F172A;
    line-height: 1.25;
}

.testimonial-card__author em {
    font-style: normal;
    font-size: .78rem;
    color: var(--muted);
}

/* ---- Mejoras responsive ---- */
@media (min-width: 768px) {
    .shots-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
    .landing #producto,
    .landing #que-es,
    .landing #problemas,
    .landing #funciones,
    .landing #como-funciona,
    .landing #testimonios,
    .landing #preguntas,
    .landing #planes,
    .landing #contacto {
        padding: 60px 34px;
    }
}

/* ---- Captura real dentro del marco de navegador (hero) ---- */
.browser-frame__shot {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0 0 16px 16px;
}
