:root {
    --green-primary: #34a853;
    --green-secondary: #1a542a;
    --green-dark: #0d2a15;
    --green-soft: #e7f4ea;
    --red-primary: #6b1e11;
    --red-soft: #f1e1dd;
    --light: #f5f3eb;
    --white: #ffffff;

    --text-main: #f5f3eb;
    --text-body: #203126;
    --text-soft: rgba(245, 243, 235, 0.84);
    --text-muted: #5b6d60;

    --glass: rgba(255, 255, 255, 0.08);
    --glass-strong: rgba(255, 255, 255, 0.13);
    --surface: rgba(255, 255, 255, 0.92);
    --surface-soft: rgba(255, 255, 255, 0.82);
    --surface-green: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
    --border: rgba(255, 255, 255, 0.14);
    --border-soft: rgba(26, 84, 42, 0.12);

    --shadow-main: 0 24px 80px rgba(5, 24, 11, 0.22);
    --shadow-soft: 0 14px 36px rgba(5, 24, 11, 0.12);
    --shadow-card: 0 20px 55px rgba(13, 42, 21, 0.10);

    --radius-xl: 30px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 12px;

    --container-width: min(1180px, calc(100% - 48px));
    --transition: 0.25s ease;

    /* compatibilidad con estilos existentes */
    --home-primary: var(--green-primary);
    --home-primary-dark: var(--green-secondary);
    --home-accent: var(--red-primary);
    --home-bg: transparent;
    --home-surface: var(--surface);
    --home-text: var(--text-body);
    --home-muted: var(--text-muted);
    --home-border: rgba(26, 84, 42, 0.14);
    --home-shadow: var(--shadow-soft);
    --home-shadow-hover: 0 22px 50px rgba(13, 42, 21, 0.16);
    --home-radius-sm: var(--radius-sm);
    --home-radius-md: var(--radius-md);
    --home-radius-lg: var(--radius-lg);
    --home-radius-xl: var(--radius-xl);

    --verde-pukaray: var(--green-primary);
    --verde-pukaray-dark: var(--green-secondary);
    --verde-pukaray-hover: #2a8a46;
    --rojo-pukaray: var(--red-primary);
    --rojo-pukaray-dark: #57180d;
    --naranjo-pukaray: #b54a1a;
    --naranjo-pukaray-hover: #983a10;
    --blanco: var(--white);
    --texto: var(--text-body);
    --texto-suave: var(--text-muted);
    --gris-fondo: transparent;
    --gris-claro: #eef3ee;
    --gris-borde: rgba(26, 84, 42, 0.12);
    --sombra-suave: var(--shadow-soft);
    --radio-xl: var(--radius-xl);
    --radio-lg: var(--radius-lg);
    --radio-md: var(--radius-md);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    min-height: 100%;
    margin: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    color: var(--text-body);
    background:
        radial-gradient(circle at 8% 10%, rgba(52, 168, 83, 0.18), transparent 18%),
        radial-gradient(circle at 84% 14%, rgba(255, 255, 255, 0.1), transparent 12%),
        radial-gradient(circle at 92% 88%, rgba(107, 30, 17, 0.12), transparent 18%),
        linear-gradient(135deg, #f2f6f1 0%, #edf3ee 44%, #f6f4ec 100%);
    overflow-x: hidden;
    position: relative;
}

body::before,
body::after {
    content: "";
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(18px);
}

body::before {
    top: -100px;
    left: -60px;
    width: 260px;
    height: 260px;
    background: rgba(52, 168, 83, 0.11);
}

body::after {
    right: -60px;
    bottom: -80px;
    width: 300px;
    height: 300px;
    background: rgba(107, 30, 17, 0.09);
}

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

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

a:hover {
    text-decoration: none;
}

.container {
    width: var(--container-width);
    margin: 0 auto;
}

.site-main {
    flex: 1;
    width: 100%;
    background: transparent;
    padding-top: 0;
    position: relative;
    z-index: 1;
}

.home-section {
    padding: 72px 0;
    background: transparent;
}

.home-section:first-of-type {
    padding-top: 0;
}

.section-heading {
    margin-bottom: 36px;
}

.section-heading.center {
    text-align: center;
}

.section-heading p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.title-green,
.title-orange {
    margin: 0 0 18px;
    font-size: clamp(2.1rem, 4vw, 3.3rem);
    line-height: 1.06;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.title-green {
    color: var(--green-secondary);
}

.title-orange {
    color: var(--red-primary);
}

.subtitle-strong {
    margin: 0;
    font-size: clamp(1.18rem, 2vw, 1.8rem);
    font-weight: 800;
    line-height: 1.35;
    color: var(--green-dark);
}

.split-content {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.reverse-mobile {
    direction: ltr;
}

.text-block p {
    margin: 0 0 22px;
    color: var(--text-body);
    font-size: 1.05rem;
    line-height: 1.85;
    max-width: 760px;
}

.text-block p:last-child {
    margin-bottom: 0;
}

.content-card,
.info-card,
.media-card,
.section-surface,
.section-soft {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.section-surface,
.section-soft {
    padding: 34px;
}

.section-soft {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 250, 247, 0.9)),
        linear-gradient(135deg, rgba(52, 168, 83, 0.06), rgba(107, 30, 17, 0.03));
}

.media-block {
    width: 100%;
}

.video-placeholder {
    position: relative;
    width: 100%;
    min-height: 360px;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(rgba(13, 42, 21, 0.14), rgba(13, 42, 21, 0.08)),
        linear-gradient(135deg, rgba(26, 84, 42, 0.12) 0%, rgba(255, 255, 255, 0.88) 100%);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.video-placeholder:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 60px rgba(13, 42, 21, 0.18);
}

.video-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.28));
}

.video-thumb {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.play-button {
    position: relative;
    z-index: 2;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.48);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform var(--transition), background var(--transition);
}

.video-placeholder:hover .play-button {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.3);
}

.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.98);
}

.solid-btn,
.outline-btn,
.tour-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 800;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.solid-btn:hover,
.outline-btn:hover,
.tour-btn:hover {
    transform: translateY(-2px);
}

.solid-btn-green {
    background: linear-gradient(135deg, var(--green-primary), var(--green-secondary));
    color: var(--white);
    box-shadow: 0 12px 30px rgba(26, 84, 42, 0.2);
}

.solid-btn-green:hover {
    background: linear-gradient(135deg, #3eb260, #154826);
}

.solid-btn-orange {
    background: linear-gradient(135deg, var(--red-primary), #8b2a19);
    color: var(--white);
    box-shadow: 0 12px 28px rgba(107, 30, 17, 0.18);
}

.solid-btn-orange:hover {
    background: linear-gradient(135deg, #7f2414, #5f180d);
}

.outline-btn-green {
    color: var(--green-secondary);
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(26, 84, 42, 0.16);
    box-shadow: 0 10px 22px rgba(13, 42, 21, 0.08);
}

.outline-btn-green:hover {
    color: var(--white);
    background: linear-gradient(135deg, var(--green-primary), var(--green-secondary));
    border-color: transparent;
}

@media (max-width: 1200px) {
    :root {
        --container-width: min(100% - 40px, 1000px);
    }

    .split-content {
        gap: 38px;
    }
}

@media (max-width: 992px) {
    :root {
        --container-width: min(100% - 32px, 1000px);
    }

    .home-section {
        padding: 58px 0;
    }

    .split-content {
        grid-template-columns: 1fr;
    }

    .video-placeholder {
        min-height: 300px;
    }

    .section-surface,
    .section-soft {
        padding: 28px;
    }
}

@media (max-width: 768px) {
    :root {
        --container-width: min(100% - 24px, 1000px);
    }

    .title-green,
    .title-orange {
        margin-bottom: 16px;
    }

    .text-block p,
    .section-heading 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;
    }

    body::before {
        top: -120px;
        left: -120px;
        width: 210px;
        height: 210px;
    }

    body::after {
        right: -120px;
        bottom: -120px;
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 576px) {
    :root {
        --container-width: calc(100% - 20px);
        --radius-xl: 24px;
        --radius-lg: 20px;
        --radius-md: 16px;
    }

    .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;
    }

    body::before,
    body::after {
        display: none;
    }
}
