html,
body {
    height: 100%;
    margin: 0;
}

:root {
    --home-primary: #1f5c42;
    --home-primary-dark: #174a35;
    --home-accent: #c63d3d;
    --home-bg: #f4f7f5;
    --home-surface: #ffffff;
    --home-text: #1f2937;
    --home-muted: #6b7280;
    --home-border: #dbe4dc;
    --home-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --home-shadow-hover: 0 16px 34px rgba(0, 0, 0, 0.10);
    --home-radius-sm: 12px;
    --home-radius-md: 16px;
    --home-radius-lg: 18px;
    --home-radius-xl: 24px;
    --container-width: min(92%, 1440px);

    /* compatibilidad con nombres antiguos */
    --verde-pukaray: #1f5c42;
    --verde-pukaray-dark: #174a35;
    --verde-pukaray-hover: #21573f;
    --rojo-pukaray: #a12626;
    --rojo-pukaray-dark: #8d1f1f;
    --naranjo-pukaray: #dd6b20;
    --naranjo-pukaray-hover: #c75d19;
    --blanco: #ffffff;
    --texto: #1f2937;
    --texto-suave: #6b7280;
    --gris-fondo: #f4f7f5;
    --gris-claro: #edf2ee;
    --gris-borde: #dbe4dc;
    --sombra-suave: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radio-xl: 24px;
    --radio-lg: 18px;
    --radio-md: 16px;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--home-text);
    background: var(--home-bg);
}

a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    text-decoration: none;
}

.site-main {
    flex: 1;
    width: 100%;
    background: var(--home-bg);
    margin-top: 0;
    padding-top: 0;
}

/* BASE GENERAL */
.home-section {
    padding: 68px 0;
    background: transparent;
}

.home-section:first-of-type {
    padding-top: 0;
}

.section-heading {
    margin-bottom: 36px;
}

.section-heading.center {
    text-align: center;
}

.title-green,
.title-orange {
    margin: 0 0 22px;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.title-green {
    color: var(--home-primary);
}

.title-orange {
    color: var(--home-accent);
}

.subtitle-strong {
    margin: 0;
    font-size: clamp(1.2rem, 2vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--home-text);
}

.split-content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.text-block p {
    margin: 0 0 22px;
    color: var(--home-text);
    font-size: 1.08rem;
    line-height: 1.75;
    max-width: 760px;
}

.text-block p:last-child {
    margin-bottom: 0;
}

.media-block {
    width: 100%;
}

.reverse-mobile {
    direction: ltr;
}

/* BLOQUES VISUALES */
.content-card,
.info-card,
.media-card {
    background: var(--home-surface);
    border: 1px solid #edf2ee;
    border-radius: var(--home-radius-xl);
    box-shadow: var(--home-shadow);
}

/* VIDEO PLACEHOLDERS */
.video-placeholder {
    position: relative;
    width: 100%;
    min-height: 360px;
    border-radius: var(--home-radius-xl);
    background:
        linear-gradient(rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.04)),
        linear-gradient(135deg, #dfe8e1 0%, #eef4ef 100%);
    border: 1px solid #e5eee6;
    box-shadow: var(--home-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-placeholder:hover {
    transform: translateY(-4px);
    box-shadow: var(--home-shadow-hover);
}

.video-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.22), transparent 58%);
}

.video-thumb {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.play-button {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.30);
    border: 3px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    z-index: 2;
    transition: transform 0.25s ease, background 0.25s ease;
}

.video-placeholder:hover .play-button {
    transform: scale(1.04);
    background: rgba(255, 255, 255, 0.38);
}

.play-button::before {
    content: "";
    margin-left: 6px;
    width: 0;
    height: 0;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-left: 24px solid rgba(255, 255, 255, 0.95);
}

/* BOTONES */
.solid-btn,
.outline-btn,
.tour-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.solid-btn:hover,
.outline-btn:hover,
.tour-btn:hover {
    transform: translateY(-2px);
}

.solid-btn-green {
    background: var(--home-primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(31, 92, 66, 0.18);
}

.solid-btn-green:hover {
    background: var(--home-primary-dark);
}

.solid-btn-orange {
    background: var(--home-accent);
    color: #fff;
    box-shadow: 0 10px 24px rgba(198, 61, 61, 0.18);
}

.solid-btn-orange:hover {
    background: #ad3434;
}

.outline-btn-green {
    border: 1px solid var(--home-border);
    color: var(--home-text);
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.outline-btn-green:hover {
    background: #f8faf8;
    color: var(--home-primary);
    border-color: var(--home-primary);
}

/* CONTENEDORES AUXILIARES */
.section-surface {
    background: var(--home-surface);
    border: 1px solid #edf2ee;
    border-radius: var(--home-radius-xl);
    box-shadow: var(--home-shadow);
    padding: 34px;
}

.section-soft {
    background: linear-gradient(135deg, #eff7f1 0%, #ffffff 100%);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius-xl);
    padding: 34px;
}

/* RESPONSIVE BASE */
@media (max-width: 1200px) {
    .split-content {
        gap: 38px;
    }
}

@media (max-width: 992px) {
    .home-section {
        padding: 58px 0;
    }

    .split-content {
        grid-template-columns: 1fr;
    }

    .reverse-mobile {
        direction: ltr;
    }

    .video-placeholder {
        min-height: 300px;
    }

    .section-surface,
    .section-soft {
        padding: 28px;
    }
}

@media (max-width: 768px) {
    .title-green,
    .title-orange {
        margin-bottom: 18px;
    }

    .text-block p {
        font-size: 1rem;
    }

    .video-placeholder {
        min-height: 250px;
    }

    .play-button {
        width: 82px;
        height: 82px;
    }

    .play-button::before {
        border-top-width: 14px;
        border-bottom-width: 14px;
        border-left-width: 20px;
    }

    .section-surface,
    .section-soft {
        padding: 22px;
    }
}

@media (max-width: 576px) {
    .home-section {
        padding: 48px 0;
    }

    .video-placeholder {
        min-height: 220px;
        border-radius: 20px;
    }

    .solid-btn,
    .outline-btn,
    .tour-btn {
        width: 100%;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .section-surface,
    .section-soft {
        padding: 18px;
        border-radius: 18px;
    }
}