/* =================================================================
   FADE-IN ANIMACIONES
   ================================================================= */

.opogc-fade-in {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.opogc-fade-in.is-visible {
    opacity: 1;
    transform: none;
}

/* =================================================================
   PÁGINA LEGAL
   ================================================================= */

.opogc-legal {
    background: var(--opogc-white);
    border: 1px solid var(--opogc-border);
    border-radius: var(--opogc-radius);
    padding: var(--opogc-space-32);
    box-shadow: var(--opogc-shadow-xs);
}

/* =================================================================
   UTILIDADES
   ================================================================= */

.opogc-text-center { text-align: center; }
.opogc-mt-8  { margin-top: var(--opogc-space-8); }
.opogc-mt-16 { margin-top: var(--opogc-space-16); }
.opogc-mt-24 { margin-top: var(--opogc-space-24); }
.opogc-mt-48 { margin-top: var(--opogc-space-48); }
.opogc-mb-0  { margin-bottom: 0; }

/* =================================================================
   RESPONSIVE
   ================================================================= */

@media (max-width: 1024px) {
    .opogc-hero-inner {
        grid-template-columns: 1fr;
        gap: var(--opogc-space-48);
        text-align: center;
    }

    .opogc-hero-content {
        max-width: 100%;
    }

    .opogc-hero__cta {
        justify-content: center;
    }

    .opogc-hero-visual {
        justify-content: center;
    }

    .opogc-mockup-placeholder {
        max-width: 280px;
        aspect-ratio: 9 / 16;
        margin-inline: auto;
    }

    .opogc-grid,
    .opogc-grid-4,
    .opogc-pricing,
    .opogc-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .opogc-grid-alt {
        grid-template-columns: 1fr;
        gap: var(--opogc-space-32);
    }

    .opogc-grid-alt--reversed {
        direction: ltr;
    }

    .opogc-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .opogc-card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .opogc-wrap,
    .opogc-hero-inner,
    .opogc-footer-inner,
    .opogc-header-inner,
    .opogc-trust-bar-inner,
    .opogc-cta-final-inner {
        width: min(var(--opogc-max-w), calc(100% - 2rem));
    }

    .opogc-hero {
        padding: var(--opogc-space-48) 0 var(--opogc-space-32);
    }

    .opogc-section {
        padding: var(--opogc-space-48) 0;
    }

    .opogc-grid,
    .opogc-grid-4,
    .opogc-pricing,
    .opogc-blog-grid,
    .opogc-card-grid {
        grid-template-columns: 1fr;
    }

    .opogc-footer-grid {
        grid-template-columns: 1fr;
        gap: var(--opogc-space-32);
    }

    .opogc-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--opogc-white);
        border-top: 1px solid var(--opogc-border);
        border-bottom: 1px solid var(--opogc-border);
        box-shadow: var(--opogc-shadow-sm);
        padding: var(--opogc-space-16);
        z-index: 99;
    }

    .opogc-nav.is-open {
        display: block;
    }

    .opogc-nav ul {
        flex-direction: column;
        gap: var(--opogc-space-4);
    }

    .opogc-nav a {
        font-size: 0.95rem;
        padding: var(--opogc-space-12) var(--opogc-space-16);
    }

    .opogc-hamburger {
        display: flex;
    }

    .opogc-header-cta {
        display: none;
    }
}

@media (max-width: 480px) {
    .entry-title,
    .opogc-hero h1 {
        font-size: 1.9rem;
    }

    .opogc-section__title {
        font-size: 1.5rem;
    }

    .opogc-pricing {
        gap: var(--opogc-space-32);
    }

    .opogc-plan--highlighted {
        transform: none;
    }

    .opogc-trust-bar-inner {
        gap: var(--opogc-space-16);
        flex-direction: column;
        align-items: flex-start;
    }
}
