:root {
    --primary: #f4b400;
    --dark: #1d4b2d;
    --dark-green: #1d3b20;
    --light-bg: #f8f8f8;
    --text: #222;
}

html {

    scroll-behavior: smooth;

}

/* =========================
   RESET BASE
========================= */

* {
    margin: 0;
    padding: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-family: "Inter", sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: #fff;
}

/* =========================
   ESTRUCTURA BASE
========================= */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    width: 100%;
    padding: 120px 0;
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* =========================
   ACCESIBILIDAD: FOCO Y SKIP LINK
========================= */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {

    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 6px;

}

.skip-link {

    position: absolute;
    top: -100px;
    left: 20px;
    z-index: 9999;

    background: var(--dark-green);
    color: #fff;
    padding: 14px 22px;
    border-radius: 0 0 12px 12px;
    font-weight: 700;

    transition: top .2s ease;

}

.skip-link:focus {

    top: 0;

}

h1, h2, h3 {
    color: var(--dark-green);
}

.center {
    text-align: center;
}

.section-label {
    display: inline-block;
    margin-bottom: 20px;
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #666;
}

/* =========================
   FIX WORDPRESS (LIMPIO)
========================= */

#page,
.site {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.entry-content {
    margin: 0;
    padding: 0;
}

/* =========================
   EVITAR SHIFT HORIZONTAL
========================= */

.hero,
.about,
.benefits,
.plans-section,
.impact,
.contact {
    width: 100%;
    max-width: 100%;
}

/* grids seguros */
.hero-container,
.about-grid,
.contact-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* =====================
   ANIMACIONES SCROLL
===================== */

.hero-content,
.hero-image,
.about-grid,
.about-mv-card,
.value-card,
.benefit,
.plan-card,
.stat-item,
.contact-container,
.step-card,
.product-cta-inner {

    opacity: 0;
    transform: translateY(40px);

    transition:
        opacity .8s ease,
        transform .8s ease;

}

.visible {

    opacity: 1;
    transform: translateY(0);

}

/* retrasos */

.benefit:nth-child(2),
.plan-card:nth-child(2),
.stat-item:nth-child(2),
.about-mv-card:nth-child(2),
.value-card:nth-child(2) {
    transition-delay: .15s;
}

.benefit:nth-child(3),
.plan-card:nth-child(3),
.stat-item:nth-child(3),
.value-card:nth-child(3) {
    transition-delay: .3s;
}

.benefit:nth-child(4),
.stat-item:nth-child(4),
.value-card:nth-child(4) {
    transition-delay: .45s;
}

.value-card:nth-child(5) {
    transition-delay: .6s;
}

@media (prefers-reduced-motion: reduce) {

    .hero-content,
    .hero-image,
    .about-grid,
    .about-mv-card,
    .value-card,
    .benefit,
    .plan-card,
    .stat-item,
    .contact-container,
    .step-card,
    .product-cta-inner {

        opacity: 1 !important;
        transform: none !important;
        transition: none !important;

    }

    html {

        scroll-behavior: auto;

    }

}

.step-card:nth-child(2) { transition-delay: .1s; }
.step-card:nth-child(3) { transition-delay: .2s; }
.step-card:nth-child(4) { transition-delay: .3s; }