/* =======================================================================
   REVANTA SEEDS — HOMEPAGE STYLESHEET
   Loaded only on index.php via the $extra_css hook in includes/header.php.
   Truly homepage-only visuals live here (hero banner, crop portfolio
   grid, FAQ, map+form). Reusable components shared with other pages
   (section headings, split image/text blocks, feature cards, process
   steps, CTA strip, the navy stats band) now live in css/style.css —
   see its "9. SHARED PAGE COMPONENTS" section.
   ======================================================================= */

/* -----------------------------------------------------------------------
   HERO / BANNER
   ----------------------------------------------------------------------- */
.rv-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f2f6ef 0%, #ffffff 78%);
    padding: 64px 0 10px;
}

.rv-hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    z-index: 0;
    opacity: 0.5;
}

.rv-hero-blob-1 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 30% 30%, rgba(108, 199, 42, 0.22), rgba(108, 199, 42, 0));
    top: -120px;
    right: -80px;
}

.rv-hero-blob-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at 30% 30%, rgba(1, 0, 102, 0.10), rgba(1, 0, 102, 0));
    bottom: -60px;
    left: -60px;
}

.rv-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 520px;
}

.rv-hero-content h1 {
    font-size: 46px;
    line-height: 1.18;
    margin-bottom: 20px;
}

.rv-hero-content h1 span {
    color: var(--rv-green);
}

.rv-hero-content p.lead {
    font-size: 17px;
    color: #514d4e;
    max-width: 540px;
    margin-bottom: 30px;
}

.rv-hero-stats {
    display: flex;
    gap: 34px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.rv-hero-stats .rv-hs-num {
    font-family: var(--rv-font-heading);
    font-weight: 700;
    font-size: 26px;
    color: var(--rv-navy);
    display: block;
    line-height: 1.2;
}

.rv-hero-stats .rv-hs-label {
    font-size: 13px;
    color: var(--rv-gray-400);
}

.rv-hero-media {
    position: relative;
    text-align: center;
}

.rv-hero-media .rv-hero-ring {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 88%;
    max-width: 460px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: linear-gradient(140deg, #eef7e7 0%, #e2eefd 100%);
    z-index: 0;
}

.rv-hero-media img {
    position: relative;
    z-index: 1;
    max-width: 92%;
    filter: drop-shadow(0 25px 30px rgba(1, 0, 102, 0.18));
}

.rv-hero-badge {
    position: absolute;
    z-index: 2;
    background: var(--rv-white);
    border-radius: var(--rv-radius);
    box-shadow: var(--rv-shadow-strong);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rv-hero-badge-1 {
    top: 12%;
    left: -2%;
}

.rv-hero-badge-2 {
    bottom: 8%;
    right: -2%;
}

.rv-hero-badge .rv-hb-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--rv-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rv-hero-badge strong {
    display: block;
    font-family: var(--rv-font-heading);
    color: var(--rv-navy);
    font-size: 15px;
    line-height: 1.2;
}

.rv-hero-badge small {
    color: var(--rv-gray-400);
    font-size: 12px;
}

.rv-hero-curve {
    position: relative;
    z-index: 1;
    margin-top: 30px;
}

.rv-hero-curve svg {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 991.98px) {
    .rv-hero-inner {
        min-height: 0;
        flex-direction: column;
    }

    .rv-hero-content {
        text-align: center;
        margin-bottom: 40px;
    }

    .rv-hero-content h1 {
        font-size: 34px;
    }

    .rv-hero-content p.lead {
        margin-left: auto;
        margin-right: auto;
    }

    .rv-hero-stats {
        justify-content: center;
    }

    .rv-hero-badge {
        padding: 10px 14px;
    }

    .rv-hero-badge strong {
        font-size: 13px;
    }
}

/* -----------------------------------------------------------------------
   CROP PORTFOLIO
   ----------------------------------------------------------------------- */
.rv-crop-card {
    position: relative;
    display: block;
    border-radius: var(--rv-radius);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--rv-shadow);
}

.rv-crop-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.rv-crop-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(1, 0, 102, 0.85) 0%, rgba(1, 0, 102, 0.05) 55%, rgba(1, 0, 102, 0) 100%);
}

.rv-crop-card:hover img {
    transform: scale(1.08);
}

.rv-crop-label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 18px 16px;
    color: var(--rv-white);
}

.rv-crop-label span {
    font-family: var(--rv-font-heading);
    font-weight: 600;
    font-size: 15.5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.rv-crop-label svg {
    width: 15px;
    height: 15px;
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.rv-crop-card:hover .rv-crop-label svg {
    transform: translateX(4px);
}

/* -----------------------------------------------------------------------
   FAQ
   ----------------------------------------------------------------------- */
.rv-faq .accordion-item {
    border: none;
    border-radius: var(--rv-radius) !important;
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: 0 4px 14px rgba(1, 0, 102, 0.06);
}

.rv-faq .accordion-button {
    font-family: var(--rv-font-heading);
    font-weight: 600;
    font-size: 15.5px;
    color: var(--rv-navy);
    padding: 20px 24px;
}

.rv-faq .accordion-button:not(.collapsed) {
    background: var(--rv-navy);
    color: var(--rv-white);
    box-shadow: none;
}

.rv-faq .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.rv-faq .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.rv-faq .accordion-body {
    padding: 20px 24px 24px;
    font-size: 14.5px;
    color: var(--rv-gray-400);
}
