/* ============================================
   LAYOUT — Secciones, container, grid general
   ============================================ */

/* === CONTAINER === */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.container--narrow {
    max-width: var(--max-width-text);
}

/* === SECCIONES === */
.section {
    padding: var(--space-12) 0;
    position: relative;
}

.section--cream {
    background: var(--cream);
}

.section--white {
    background: var(--warm-white);
}

.section--dark {
    background: var(--gradient-dark);
    color: var(--cream);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
    color: var(--cream);
}

.section--dark p {
    color: rgba(254, 252, 243, 0.8);
}

.section--accent {
    background: var(--sage-light);
}

.section__eyebrow {
    font-family: var(--font-accent);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sage-green);
    margin-bottom: var(--space-3);
    display: block;
}

.section__title {
    margin-bottom: var(--space-4);
}

.section__subtitle {
    max-width: var(--max-width-narrow);
    margin: 0 auto var(--space-8);
    color: var(--gray-soft);
    font-size: var(--text-md);
}

/* === HERO === */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding: var(--space-10) 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(60, 179, 113, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(60, 179, 113, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

/* Partículas sutiles de calma */
.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(60, 179, 113, 0.05) 0%, transparent 70%);
    top: 10%;
    right: -5%;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

.hero__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
    position: relative;
    z-index: var(--z-base);
}

.hero__content {
    text-align: center;
    max-width: 640px;
}

.hero__badge {
    margin-bottom: var(--space-5);
}

.hero__title {
    color: var(--cream);
    font-size: var(--text-3xl);
    margin-bottom: var(--space-5);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.hero__title em {
    color: var(--sage-green);
    font-style: normal;
    position: relative;
}

.hero__subtitle {
    color: rgba(254, 252, 243, 0.85);
    font-size: var(--text-md);
    margin-bottom: var(--space-6);
    line-height: var(--leading-relaxed);
}

.hero__cta-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    align-items: center;
}

.hero__micro {
    color: rgba(254, 252, 243, 0.5);
    font-size: var(--text-xs);
    margin-top: var(--space-3);
}

.hero__mockup {
    max-width: 320px;
    width: 100%;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.3));
    animation: mockup-float 6s ease-in-out infinite;
}

@keyframes mockup-float {

    0%,
    100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(-12px) rotate(1deg);
    }
}

/* === PHASE DIVIDER === */
.phase-divider {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-5);
}

.phase-divider__line {
    flex: 1;
    height: 1px;
    background: var(--gray-light);
}

.phase-divider__label {
    font-family: var(--font-accent);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--sage-green);
    white-space: nowrap;
}

/* === FOOTER === */
.footer {
    background: var(--teal-deep);
    color: rgba(254, 252, 243, 0.6);
    padding: var(--space-8) 0;
    text-align: center;
    font-size: var(--text-sm);
}

.footer__logo {
    max-width: 120px;
    margin: 0 auto var(--space-4);
    opacity: 0.6;
}

.footer__links {
    display: flex;
    justify-content: center;
    gap: var(--space-5);
    margin-bottom: var(--space-4);
    flex-wrap: wrap;
}

.footer__links a {
    color: rgba(254, 252, 243, 0.5);
    font-size: var(--text-xs);
    transition: color var(--duration-fast);
}

.footer__links a:hover {
    color: var(--sage-green);
}

.footer__disclaimer {
    max-width: var(--max-width-narrow);
    margin: var(--space-4) auto 0;
    font-size: var(--text-xs);
    color: rgba(254, 252, 243, 0.35);
    line-height: var(--leading-relaxed);
}

.footer p {
    color: rgba(254, 252, 243, 0.5);
    margin-bottom: var(--space-2);
}

/* === DESKTOP OVERRIDES === */
@media (min-width: 768px) {
    .section {
        padding: var(--space-16) 0;
    }

    .hero__container {
        flex-direction: row;
        text-align: left;
    }

    .hero__content {
        text-align: left;
    }

    .hero__title {
        font-size: var(--text-4xl);
    }

    .hero__cta-group {
        flex-direction: row;
    }

    .hero__mockup {
        max-width: 360px;
    }
}

@media (min-width: 1024px) {
    .hero__title {
        font-size: var(--text-5xl);
    }

    .hero__mockup {
        max-width: 420px;
    }

    .section {
        padding: var(--space-20) 0;
    }
}