/* =========================================================
   HARVEST LANDING (content-first) — hero, videos, CTAs
   Shares banner + slideshow styles from custom-form-styles.css
   ========================================================= */

.harvest-landing {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 48px) 40px;
    color: #333;
}

/* The full-bleed hero video uses 100vw; stop it from creating a horizontal
   scrollbar. Scoped: this stylesheet only loads on the harvest landing page. */
body { overflow-x: hidden; }

/* ---- Shared button ---- */
.hl-btn {
    display: inline-block;
    box-sizing: border-box;
    padding: 15px 28px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.1s ease, background-color 0.25s ease, box-shadow 0.25s ease;
    border: 2px solid transparent;
    line-height: 1.2;
}
.hl-btn:active { transform: translateY(1px); }
.hl-btn-primary { background: #007cba; color: #fff; box-shadow: 0 6px 18px rgba(0, 124, 186, 0.28); }
.hl-btn-primary:hover { background: #005a87; color: #fff; }
.hl-btn-secondary { background: #28a745; color: #fff; box-shadow: 0 6px 18px rgba(40, 167, 69, 0.25); }
.hl-btn-secondary:hover { background: #1f8a38; color: #fff; }
.hl-btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.85); }
.hl-btn-outline:hover { background: rgba(255, 255, 255, 0.15); color: #fff; }

.hl-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}
.hl-cta-row-center { justify-content: center; }

/* ---- HERO ---- */
.hl-hero {
    text-align: center;
    padding: 0 0 clamp(20px, 4vw, 40px);
}
.hl-hero-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 40px) 0 0;
    background: radial-gradient(1200px 400px at 50% -10%, #f0f8ff 0%, rgba(240, 248, 255, 0) 70%);
}

.hl-eyebrow {
    display: inline-block;
    font-weight: 700;
    color: #2d5016;
    background: #eef7e6;
    padding: 6px 16px;
    border-radius: 999px;
    margin: 0 0 16px;
    font-size: 15px;
}
.hl-title {
    font-size: clamp(28px, 5vw, 46px);
    line-height: 1.12;
    color: #2d5016;
    margin: 0 0 16px;
    font-weight: 800;
}
.hl-subtitle {
    font-size: clamp(16px, 2.2vw, 20px);
    line-height: 1.55;
    color: #555;
    margin: 0 auto 28px;
    max-width: 680px;
}
/* Full-bleed hero: spans the whole viewport width, large height */
.hl-hero-video {
    position: relative;
    left: 50%;
    width: 100vw;
    margin: 0 -50vw;
    height: clamp(360px, 68vh, 720px);
    overflow: hidden;
    background: #000;
}
.hl-hero-video-el {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Small pause / play toggle for the muted background loop */
.hl-hero-video-toggle {
    position: absolute;
    right: 18px;
    bottom: 18px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    z-index: 2;
    display: none; /* hidden per design; JS still handles reduced-motion pause */
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}
.hl-hero-video-toggle:hover { background: rgba(0, 0, 0, 0.7); }
/* Pause icon (two bars) — shown while the video is playing */
.hl-hero-video-toggle::before,
.hl-hero-video-toggle::after {
    content: "";
    width: 5px;
    height: 16px;
    background: #fff;
    border-radius: 1px;
}
.hl-hero-video-toggle::before { margin-right: 5px; }
/* Paused state → show a single play triangle instead of the two bars */
.hl-hero-video-toggle.is-paused::before {
    width: 0;
    height: 0;
    margin-right: 0;
    margin-left: 4px;
    background: transparent;
    border-style: solid;
    border-width: 8px 0 8px 13px;
    border-color: transparent transparent transparent #fff;
}
.hl-hero-video-toggle.is-paused::after { display: none; }

/* ---- 2026 BANNER ---- */
.hl-banner { margin: 12px 0 8px; text-align: center; }
.hl-banner .hl-cta-row { margin-top: 18px; }

/* ---- EDUCATION (slideshow + text) ---- */
.hl-education {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 40px;
    align-items: center;
    margin: 40px 0;
    padding: 32px 0;
    border-top: 1px solid #eef0f2;
    border-bottom: 1px solid #eef0f2;
}
.hl-education .grape-usage-slideshow { margin: 0; }
.hl-edu-text .edu-block { margin-bottom: 20px; }
.hl-edu-text .edu-block:last-child { margin-bottom: 0; }
.hl-edu-text h3 { font-size: 21px; color: #2d5016; margin: 0 0 10px; }
.hl-edu-text p { color: #444; line-height: 1.65; margin: 0 0 10px; }

/* ---- WATCH (YouTube video grid) ---- */
.hl-watch { text-align: center; margin: 44px 0; }
.hl-watch h2 { font-size: clamp(24px, 3.5vw, 34px); color: #2d5016; margin: 0 0 8px; }
.hl-section-sub { color: #666; font-size: 17px; margin: 0 auto 26px; max-width: 560px; }
.hl-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}
.hl-video-card { margin: 0; }
.hl-video-embed {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
    background: #000;
    aspect-ratio: 16 / 9;
}
.hl-video-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.hl-video-card figcaption {
    margin-top: 12px;
    font-weight: 700;
    color: #2d5016;
    font-size: 16px;
}

/* ---- CLOSING CTA BAND ---- */
.hl-cta-band {
    text-align: center;
    background: linear-gradient(135deg, #2d5016 0%, #3f6b22 100%);
    color: #fff;
    border-radius: 20px;
    padding: clamp(32px, 5vw, 52px) clamp(20px, 4vw, 40px);
    margin: 40px 0 20px;
}
.hl-cta-band h2 { font-size: clamp(24px, 3.5vw, 34px); margin: 0 0 10px; color: #fff; }
.hl-cta-band > p { font-size: 17px; color: rgba(255, 255, 255, 0.9); margin: 0 auto 24px; max-width: 560px; }
.hl-cta-band .bismillah { color: #f5e9c8; margin-top: 26px; font-size: 16px; }

/* ---- FLOATING STICKY CTA ---- */
.hl-sticky-cta {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 900;
    background: #007cba;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 14px 22px;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}
.hl-sticky-cta.visible { opacity: 1; visibility: visible; transform: none; }
.hl-sticky-cta:hover { background: #005a87; color: #fff; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
    .hl-education {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .hl-video-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 640px;
    }
    .hl-hero-video { height: clamp(240px, 46vh, 420px); }
}
@media (max-width: 600px) {
    .hl-cta-row { flex-direction: column; }
    .hl-btn { width: 100%; text-align: center; }
    .hl-sticky-cta {
        left: 16px;
        right: 16px;
        bottom: 16px;
        text-align: center;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hl-sticky-cta { transition: opacity 0.2s ease; transform: none; }
}
