/* ─── CSS Variables (inherited palette) ──────────── */
:root {
    --teal-950: #0A2C28;
    --teal-900: #0E3B36;
    --teal-800: #12504A;
    --teal-700: #146a5f;
    --teal-600: #177E71;
    --teal-500: #1E9A89;
    --teal-400: #3fbaa8;
    --mint-100: #E3F1EC;
    --mint-50: #F3F9F6;
    --cream: #FBF8F2;
    --ink: #12211D;
    --ink-soft: #4E5F5A;
    --ink-mute: #7C8B86;
    --coral: #E2894F;
    --coral-dark: #C96F38;
    --coral-light: #f4b88a;
    --blood: #D65B4A;
    --line: rgba(18, 80, 74, 0.14);
    --white: #ffffff;
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
    --shadow-soft: 0 4px 24px rgba(18, 60, 52, 0.06);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, .06);
    --shadow-card-hover: 0 16px 48px rgba(30, 154, 137, .12);
    --shadow-glow: 0 0 40px rgba(30, 154, 137, .15);
    --transition: all .35s cubic-bezier(.4, 0, .2, 1);
}

/* ─── Reset & Base ───────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
}

h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.25;
}

/* ─── Navigation ──────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 14px 0;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 2px 24px rgba(0, 0, 0, .06);
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    height: 44px;
    transition: var(--transition);
}

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

.nav-links a {
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink-soft);
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal-500);
    transition: width .3s ease;
}

.nav-links a:hover {
    color: var(--teal-600);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--teal-600) !important;
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-weight: 700 !important;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(23, 126, 113, .25);
}

.nav-cta:hover {
    background: var(--teal-800) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 126, 113, .35);
}

.nav-cta::after {
    display: none !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: var(--transition);
}

/* ─── Container ──────────────────────────────────── */
.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}

/* ─── Hero Section ───────────────────────────────── */
.hero-cuestionario {
    position: relative;
    padding: 80px 0 80px;
    overflow: hidden;
    background:
        radial-gradient(ellipse 900px 500px at 10% -20%, rgba(30, 154, 137, .12) 0%, transparent 70%),
        radial-gradient(ellipse 700px 400px at 100% 80%, rgba(226, 137, 79, .08) 0%, transparent 65%),
        var(--cream);
}

.hero-cuestionario::before {
    content: "";
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 154, 137, .06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-inner {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .75rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--teal-700);
    background: var(--mint-100);
    border: 1px solid rgba(20, 122, 105, 0.22);
    padding: 8px 18px 8px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 24px;
    animation: fadeInDown .6s ease-out;
}

.hero-tag::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--coral);
    flex: none;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.4); }
}

.hero-cuestionario h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--teal-950);
    margin-bottom: 18px;
    animation: fadeInDown .6s ease-out .1s backwards;
}

.hero-cuestionario h1 span {
    color: var(--teal-500);
    position: relative;
}

.hero-cuestionario h1 span::after {
    content: "";
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(30, 154, 137, .15);
    border-radius: 4px;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--ink-soft);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.8;
    animation: fadeInDown .6s ease-out .2s backwards;
}

/* ─── Progress Bar ───────────────────────────────── */
.progress-wrapper {
    max-width: 600px;
    margin: 0 auto 12px;
    animation: fadeInDown .6s ease-out .3s backwards;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--ink-mute);
}

.progress-info .current-section {
    color: var(--teal-600);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(18, 80, 74, .08);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--teal-500), var(--teal-400));
    border-radius: 10px;
    transition: width .5s cubic-bezier(.4, 0, .2, 1);
    box-shadow: 0 0 12px rgba(30, 154, 137, .3);
    width: 0%;
}

/* ─── Step Indicators ────────────────────────────── */
.step-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
    animation: fadeInDown .6s ease-out .35s backwards;
}

.step-dot {
    width: 32px;
    height: 4px;
    border-radius: 2px;
    background: rgba(18, 80, 74, .1);
    transition: var(--transition);
    cursor: pointer;
}

.step-dot.active {
    background: var(--teal-500);
    width: 48px;
}

.step-dot.completed {
    background: var(--teal-400);
}

/* ─── Form Container ────────────────────────────── */
.form-container {
    max-width: 720px;
    margin: -40px auto 0;
    padding: 0 20px 80px;
    position: relative;
    z-index: 2;
}

/* ─── Section Cards ──────────────────────────────── */
.form-section {
    display: none;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .5s ease, transform .5s ease;
}

.form-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.section-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
}

.section-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--teal-500), var(--coral));
    opacity: 0;
    transition: opacity .4s ease;
}

.section-card:hover::before {
    opacity: 1;
}

.section-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--mint-100);
    color: var(--teal-700);
    font-weight: 800;
    font-size: .82rem;
    margin-bottom: 16px;
    border: 1.5px solid rgba(20, 122, 105, .18);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--teal-950);
    margin-bottom: 8px;
}

.section-description {
    font-size: .92rem;
    color: var(--ink-mute);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* ─── Form Groups ────────────────────────────────── */
.form-group {
    margin-bottom: 28px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    font-size: .92rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 12px;
    line-height: 1.5;
}

.form-label .hint {
    font-weight: 400;
    color: var(--ink-mute);
    font-size: .82rem;
}

/* ─── Checkbox/Radio Options ─────────────────────── */
.option-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.option-grid.two-cols {
    grid-template-columns: 1fr 1fr;
}

.option-item {
    position: relative;
}

.option-item input[type="checkbox"],
.option-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--mint-50);
    border: 1.5px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    font-size: .9rem;
    color: var(--ink-soft);
    font-weight: 500;
    user-select: none;
    -webkit-user-select: none;
}

.option-label:hover {
    background: var(--mint-100);
    border-color: rgba(30, 154, 137, .2);
    color: var(--ink);
}

.option-label::before {
    content: "";
    flex: none;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid rgba(18, 80, 74, .2);
    background: var(--white);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Radio circle */
input[type="radio"] + .option-label::before {
    border-radius: 50%;
}

/* Checked state */
input[type="checkbox"]:checked + .option-label,
input[type="radio"]:checked + .option-label {
    background: var(--mint-100);
    border-color: var(--teal-500);
    color: var(--teal-800);
    box-shadow: 0 0 0 3px rgba(30, 154, 137, .08);
}

input[type="checkbox"]:checked + .option-label::before {
    background: var(--teal-500);
    border-color: var(--teal-500);
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2.5-2.5a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
    background-size: 14px;
    background-repeat: no-repeat;
    background-position: center;
}

input[type="radio"]:checked + .option-label::before {
    background: var(--white);
    border-color: var(--teal-500);
    box-shadow: inset 0 0 0 4px var(--teal-500);
}

/* ─── Text Inputs ────────────────────────────────── */
.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--mint-50);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: .9rem;
    transition: var(--transition);
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--teal-500);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(30, 154, 137, .08);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--ink-mute);
    font-weight: 400;
}

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

/* Input row for side-by-side inputs */
.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* Small input */
.form-input-sm {
    padding: 12px 16px;
    font-size: .85rem;
}

/* ─── Other/Specify Input ────────────────────────── */
.other-input-wrapper {
    display: none;
    margin-top: 10px;
    padding-left: 32px;
    animation: slideDown .3s ease;
}

.other-input-wrapper.visible {
    display: block;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── Stress Scale ───────────────────────────────── */
.stress-scale {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.stress-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--line);
    background: var(--mint-50);
    color: var(--ink-soft);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stress-btn:hover {
    border-color: var(--teal-400);
    background: var(--mint-100);
    transform: translateY(-2px);
}

.stress-btn.active {
    background: var(--teal-500);
    border-color: var(--teal-500);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 154, 137, .3);
}

/* Color gradient for stress levels */
.stress-btn[data-value="1"],
.stress-btn[data-value="2"] { --stress-color: #22c55e; }
.stress-btn[data-value="3"],
.stress-btn[data-value="4"] { --stress-color: #84cc16; }
.stress-btn[data-value="5"],
.stress-btn[data-value="6"] { --stress-color: #eab308; }
.stress-btn[data-value="7"],
.stress-btn[data-value="8"] { --stress-color: #f97316; }
.stress-btn[data-value="9"],
.stress-btn[data-value="10"] { --stress-color: var(--blood); }

.stress-btn.active[data-value="1"],
.stress-btn.active[data-value="2"] { background: #22c55e; border-color: #22c55e; }
.stress-btn.active[data-value="3"],
.stress-btn.active[data-value="4"] { background: #84cc16; border-color: #84cc16; }
.stress-btn.active[data-value="5"],
.stress-btn.active[data-value="6"] { background: #eab308; border-color: #eab308; }
.stress-btn.active[data-value="7"],
.stress-btn.active[data-value="8"] { background: #f97316; border-color: #f97316; }
.stress-btn.active[data-value="9"],
.stress-btn.active[data-value="10"] { background: var(--blood); border-color: var(--blood); }

.stress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: .75rem;
    color: var(--ink-mute);
    font-weight: 500;
}

/* ─── Navigation Buttons ─────────────────────────── */
.form-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
    white-space: nowrap;
}

.btn-prev {
    background: var(--mint-50);
    color: var(--ink-soft);
    border: 1.5px solid var(--line);
}

.btn-prev:hover {
    background: var(--mint-100);
    color: var(--ink);
    border-color: var(--teal-400);
}

.btn-next {
    background: var(--teal-600);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(23, 126, 113, .25);
    margin-left: auto;
}

.btn-next:hover {
    background: var(--teal-800);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 126, 113, .35);
}

.btn-submit {
    background: linear-gradient(135deg, var(--coral), var(--coral-dark));
    color: var(--white);
    padding: 16px 36px;
    font-size: .95rem;
    box-shadow: 0 4px 18px rgba(226, 137, 79, .3);
    margin-left: auto;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(226, 137, 79, .4);
}

.btn-submit .icon-send {
    display: inline-block;
    transition: transform .3s ease;
}

.btn-submit:hover .icon-send {
    transform: translateX(4px);
}

/* ─── Conditional Sections ───────────────────────── */
.conditional {
    display: none;
    margin-top: 16px;
    padding: 20px 24px;
    background: rgba(227, 241, 236, .4);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--teal-400);
    animation: slideDown .3s ease;
}

.conditional.visible {
    display: block;
}

/* ─── Separator ──────────────────────────────────── */
.form-separator {
    height: 1px;
    background: var(--line);
    margin: 32px 0;
    border: none;
}

/* ─── Success Screen ─────────────────────────────── */
.success-screen {
    display: none;
    text-align: center;
    padding: 60px 40px;
}

.success-screen.active {
    display: block;
    animation: fadeInUp .6s ease;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal-500), var(--teal-400));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 32px rgba(30, 154, 137, .25);
    animation: bounceIn .6s ease .2s backwards;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.success-screen h2 {
    font-size: 1.8rem;
    color: var(--teal-950);
    margin-bottom: 12px;
}

.success-screen p {
    color: var(--ink-mute);
    font-size: 1rem;
    max-width: 440px;
    margin: 0 auto 32px;
    line-height: 1.8;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: #25D366;
    color: var(--white);
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: .95rem;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(37, 211, 102, .3);
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, .4);
}

/* ─── WhatsApp Floating Button ───────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 50;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 211, 102, .39);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, .5);
}

.whatsapp-float svg {
    width: 30px;
    height: 30px;
    fill: var(--white);
}

/* ─── Footer ─────────────────────────────────────── */
.footer {
    background: var(--teal-950);
    padding: 48px 0 24px;
    text-align: center;
}

.footer-logo {
    height: 40px;
    margin: 0 auto 16px;
    opacity: .8;
}

.footer p {
    color: rgba(255, 255, 255, .5);
    font-size: .82rem;
    font-weight: 400;
}

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

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

/* ─── Animations ─────────────────────────────────── */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(.3); }
    50% { transform: scale(1.08); }
    70% { transform: scale(.95); }
    100% { opacity: 1; transform: scale(1); }
}

.fade-in {
    animation: fadeInUp .5s ease forwards;
}

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, .97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, .1);
        border-bottom-left-radius: var(--radius-lg);
        border-bottom-right-radius: var(--radius-lg);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-cuestionario {
        padding: 110px 0 50px;
    }

    .hero-cuestionario h1 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: .95rem;
    }

    .section-card {
        padding: 28px 22px;
        border-radius: var(--radius-md);
    }

    .section-title {
        font-size: 1.25rem;
    }

    .option-grid.two-cols {
        grid-template-columns: 1fr;
    }

    .input-row {
        grid-template-columns: 1fr;
    }

    .form-nav {
        flex-direction: column;
    }

    .form-nav .btn {
        width: 100%;
        justify-content: center;
    }

    .btn-next,
    .btn-submit {
        margin-left: 0;
    }

    .stress-btn {
        width: 42px;
        height: 42px;
        font-size: .9rem;
    }

    .form-container {
        padding: 0 12px 60px;
        margin-top: -20px;
    }

    .step-indicators {
        gap: 5px;
    }

    .step-dot {
        width: 24px;
    }

    .step-dot.active {
        width: 36px;
    }
}

@media (max-width: 400px) {
    .section-card {
        padding: 22px 16px;
    }

    .hero-cuestionario h1 {
        font-size: 1.5rem;
    }
}

/* ─── Print Styles ───────────────────────────────── */
@media print {
    .navbar,
    .form-nav,
    .progress-wrapper,
    .step-indicators,
    .whatsapp-float,
    .footer {
        display: none !important;
    }

    .form-section {
        display: block !important;
        opacity: 1 !important;
        transform: none !important;
        page-break-inside: avoid;
        margin-bottom: 24px;
    }

    .section-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ─── Validation Styles ──────────────────────────── */

.form-input.invalido,
.form-textarea.invalido {
    border-color: var(--blood) !important;
    box-shadow: 0 0 0 3px rgba(214, 91, 74, 0.12) !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.option-grid.invalido {
    border-radius: var(--radius-sm);
    outline: 2px solid rgba(214, 91, 74, 0.55);
    outline-offset: 6px;
    transition: outline-color 0.25s ease;
}

.stress-scale.invalido {
    outline: 2px solid rgba(214, 91, 74, 0.55);
    outline-offset: 6px;
    border-radius: var(--radius-sm);
}

.error-msg {
    color: var(--blood);
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 6px;
    line-height: 1.45;
    animation: aparecerError 0.3s ease;
}

@keyframes aparecerError {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes sacudir {
    0%, 100% { transform: translateX(0); }
    20%      { transform: translateX(-6px); }
    40%      { transform: translateX(6px); }
    60%      { transform: translateX(-4px); }
    80%      { transform: translateX(3px); }
}

.shake {
    animation: sacudir 0.45s ease;
}

/* ─── Success Email Info ──────────────────────────── */

.success-email-info {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 12px 20px;
    background: var(--cream);
    border: 1px solid var(--sage-light);
    border-radius: var(--radius-sm);
    color: var(--forest);
    font-size: 0.9rem;
}

.success-email-info svg {
    flex-shrink: 0;
    color: var(--sage);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}
