/* ============================================================
   HOMEPAGE STYLES
   home.css | Loaded only on index.php
   ============================================================ */

/* ---------- HERO ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 60% at 80% 0%, rgba(34,197,94,.10) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 0% 100%, rgba(164,198,57,.10) 0%, transparent 60%),
        linear-gradient(180deg, #fdfffc 0%, #f4f9f1 100%);
    padding: clamp(72px, 10vw, 130px) 0 clamp(56px, 8vw, 110px);
    isolation: isolate;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15,23,42,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15,23,42,.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
    z-index: -1;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
    min-height: clamp(420px, 56vw, 620px);
}
.hero__copy {
    /* keep the text column self-contained so it doesn't push the visual */
    min-width: 0;
    max-width: 600px;
}
@media (max-width: 992px) {
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        min-height: 0;
    }
    .hero__copy { max-width: 100%; margin: 0 auto; }
    .hero__visual { order: -1; max-width: 380px; margin: 0 auto; }
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(255,255,255,.85);
    border: 1px solid rgba(34,197,94,.30);
    color: var(--be-green-800);
    border-radius: var(--be-radius-pill);
    font-family: var(--be-font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 8px 20px rgba(34,197,94,.10);
    backdrop-filter: blur(8px);
    margin-bottom: 28px;
}
.hero__badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--be-green-500);
    box-shadow: 0 0 0 4px rgba(34,197,94,.25);
    animation: hero-pulse 2s ease-in-out infinite;
}
@keyframes hero-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(34,197,94,.25); }
    50% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

.hero__title {
    font-size: clamp(2.4rem, 5.5vw, 4.25rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.03em;
    color: var(--be-ink);
    margin: 0 0 24px;
}
.hero__title .accent {
    background: var(--be-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero__lead {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.7;
    color: var(--be-text);
    max-width: 540px;
    margin: 0 0 36px;
}
@media (max-width: 992px) { .hero__lead { margin-left: auto; margin-right: auto; } }

.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 992px) { .hero__cta { justify-content: center; } }

/* Trust strip under CTAs */
.hero__trust {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 44px;
    flex-wrap: wrap;
}
@media (max-width: 992px) { .hero__trust { justify-content: center; } }
.hero__trust-item {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.hero__trust-item strong {
    font-family: var(--be-font-display);
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--be-ink);
    letter-spacing: -.02em;
}
.hero__trust-item .accent { color: var(--be-green-600); }
.hero__trust-item span {
    font-size: 12.5px;
    color: var(--be-text-2);
    text-transform: uppercase;
    letter-spacing: 1.4px;
    font-weight: 600;
    margin-top: 4px;
}
.hero__trust-sep {
    width: 1px; height: 38px;
    background: var(--be-line-2);
}
@media (max-width: 560px) { .hero__trust-sep { display: none; } }

/* Hero visual */
.hero__visual {
    position: relative;
    aspect-ratio: 1/1;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;     /* center inside grid column */
    justify-self: center;
}
.hero__visual-frame {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--be-gradient);
    opacity: .12;
    animation: hero-spin 28s linear infinite;
}
.hero__visual-frame::before,
.hero__visual-frame::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1.5px dashed rgba(34,197,94,.40);
}
.hero__visual-frame::before { inset: 8%; }
.hero__visual-frame::after  { inset: 18%; border-style: solid; border-color: rgba(34,197,94,.20); }
@keyframes hero-spin {
    to { transform: rotate(360deg); }
}
.hero__visual-img {
    position: absolute;
    inset: 14%;
    border-radius: 50%;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 40px 80px rgba(15,23,42,.18), inset 0 0 0 8px rgba(255,255,255,.6);
    padding: 8%;
    animation: hero-float-img 7s ease-in-out infinite;
}
.hero__visual-img img {
    width: 100%; height: 100%;
    object-fit: contain;
}
@keyframes hero-float-img {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Hero floating chips */
.hero__chip {
    position: absolute;
    background: #fff;
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: var(--be-shadow-md);
    display: flex; align-items: center; gap: 12px;
    font-family: var(--be-font-display);
    border: 1px solid var(--be-line);
    z-index: 2;
}
.hero__chip i, .hero__chip svg {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--be-gradient);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.hero__chip strong { font-size: 16px; color: var(--be-ink); display: block; }
.hero__chip span { font-size: 12px; color: var(--be-text-2); }
.hero__chip--1 { top: 10%; left: -4%; animation: hero-float-chip 6s ease-in-out infinite; }
.hero__chip--2 { bottom: 14%; right: -4%; animation: hero-float-chip 7s ease-in-out infinite reverse; }
@keyframes hero-float-chip {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@media (max-width: 1200px) {
    .hero__chip { padding: 10px 14px; font-size: 13px; }
    .hero__chip i, .hero__chip svg { width: 32px; height: 32px; }
    .hero__chip strong { font-size: 14px; }
    .hero__chip span { font-size: 11px; }
}
@media (max-width: 560px) {
    .hero__chip--1 { left: 4%; top: 4%; }
    .hero__chip--2 { right: 4%; bottom: 4%; }
}

/* ---------- TRUST MARQUEE ---------- */
.trust-marquee {
    background: #fff;
    border-top: 1px solid var(--be-line);
    border-bottom: 1px solid var(--be-line);
    padding: 22px 0;
    overflow: hidden;
}
.trust-marquee__track {
    display: flex;
    gap: 64px;
    align-items: center;
    width: max-content;
    animation: marquee 32s linear infinite;
}
.trust-marquee__item {
    font-family: var(--be-font-display);
    font-weight: 700;
    color: var(--be-text-2);
    font-size: 1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}
.trust-marquee__item::before {
    content: '';
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--be-green-500);
}
@keyframes marquee {
    to { transform: translateX(-50%); }
}

/* ---------- ABOUT SECTION ---------- */
.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }

.about__visual {
    position: relative;
    aspect-ratio: 4/3;
}
.about__visual img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: var(--be-radius-xl);
    box-shadow: var(--be-shadow-lg);
}
.about__visual::after {
    content: '';
    position: absolute;
    inset: -12px -12px auto auto;
    width: 140px; height: 140px;
    background: var(--be-gradient);
    border-radius: var(--be-radius-xl);
    opacity: .18;
    z-index: -1;
}
.about__visual-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border-radius: var(--be-radius-lg);
    padding: 18px 22px;
    box-shadow: var(--be-shadow-md);
    display: flex; gap: 14px; align-items: center;
}
.about__visual-badge .num {
    font-family: var(--be-font-display);
    font-size: 2.4rem;
    font-weight: 800;
    background: var(--be-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.about__visual-badge .lbl {
    font-size: 12.5px;
    color: var(--be-text-2);
    text-transform: uppercase;
    letter-spacing: 1.3px;
    font-weight: 600;
    line-height: 1.3;
}

.about__features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 28px;
    margin: 28px 0 32px;
    list-style: none;
    padding: 0;
}
@media (max-width: 540px) { .about__features { grid-template-columns: 1fr; } }
.about__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--be-ink);
    font-size: 14.5px;
}
.about__features li::before {
    content: '✓';
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--be-green-500);
    color: #fff;
    display: inline-flex;
    align-items: center; justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

/* ---------- SOLUTIONS GRID ---------- */
.solutions__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
@media (max-width: 900px) { .solutions__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .solutions__grid { grid-template-columns: 1fr; } }

.solution-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--be-line);
    border-radius: var(--be-radius-lg);
    padding: 32px 28px;
    transition: transform .45s var(--be-ease),
                border-color .35s var(--be-ease),
                box-shadow .45s var(--be-ease);
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    min-height: 280px;
}
.solution-card::before {
    content: '';
    position: absolute;
    inset: auto -40% -50% auto;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: var(--be-gradient-soft);
    z-index: -1;
    transition: transform .6s var(--be-ease);
}
.solution-card:hover {
    transform: translateY(-8px);
    border-color: var(--be-green-300);
    box-shadow: var(--be-shadow-md);
}
.solution-card:hover::before {
    transform: scale(1.3);
}
.solution-card__icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: var(--be-gradient);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 22px;
    box-shadow: var(--be-shadow-green);
}
.solution-card__title {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--be-ink);
}
.solution-card__text {
    color: var(--be-text-2);
    font-size: .94rem;
    line-height: 1.65;
    margin-bottom: 22px;
    flex-grow: 1;
}
.solution-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--be-font-display);
    font-weight: 700;
    font-size: 14px;
    color: var(--be-green-700);
    margin-top: auto;
}
.solution-card__link i,
.solution-card__link svg {
    transition: transform .3s var(--be-ease-spring);
}
.solution-card__link:hover {
    color: var(--be-green-800);
}
.solution-card__link:hover i,
.solution-card__link:hover svg { transform: translateX(4px); }

/* ---------- WHY BIO FUELS ---------- */
.bio__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}
@media (max-width: 900px) { .bio__grid { grid-template-columns: 1fr; } }

.bio__collage {
    position: relative;
    aspect-ratio: 4/3.4;
}
.bio__collage img {
    position: absolute;
    border-radius: var(--be-radius-lg);
    object-fit: cover;
    box-shadow: var(--be-shadow-md);
}
.bio__collage img:nth-of-type(1) {
    top: 0; left: 0;
    width: 64%; height: 68%;
    z-index: 1;
}
.bio__collage img:nth-of-type(2) {
    bottom: 0; right: 0;
    width: 60%; height: 64%;
    border: 6px solid #fff;
    z-index: 2;
}
.bio__collage::before {
    content: '';
    position: absolute;
    top: 8%; right: 4%;
    width: 110px; height: 110px;
    border-radius: 50%;
    background: var(--be-gradient);
    opacity: .25;
    z-index: 0;
    filter: blur(2px);
}

.bio__feature-list {
    display: grid;
    gap: 22px;
    margin-top: 24px;
}
.bio__feature {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    align-items: start;
}
.bio__feature-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--be-green-50);
    color: var(--be-green-700);
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--be-green-100);
}
.bio__feature h4 { font-size: 1.05rem; margin-bottom: 4px; }
.bio__feature p { color: var(--be-text-2); margin: 0; font-size: .92rem; line-height: 1.65; }

/* ---------- WHY CHOOSE US (DARK) ---------- */
.wcu {
    position: relative;
    overflow: hidden;
}
.wcu::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 25%, rgba(34,197,94,.18) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(164,198,57,.14) 0%, transparent 40%);
    z-index: 0;
}
.wcu::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}
.wcu__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(40px, 6vw, 72px);
    align-items: center;
}
@media (max-width: 900px) { .wcu__inner { grid-template-columns: 1fr; } }

.wcu__lead {
    color: rgba(255,255,255,.78);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 32px;
}

.wcu__stats {
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: var(--be-radius-xl);
    padding: 36px;
    backdrop-filter: blur(8px);
}
.wcu__stats-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(34,197,94,.15);
    border: 1px solid rgba(34,197,94,.3);
    color: var(--be-green-300);
    border-radius: var(--be-radius-pill);
    font-family: var(--be-font-display);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin-bottom: 22px;
}
.wcu__stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.wcu__stat {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--be-radius);
    padding: 22px;
    text-align: center;
}
.wcu__stat-num {
    font-family: var(--be-font-display);
    font-size: 2.4rem;
    font-weight: 800;
    background: var(--be-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 6px;
}
.wcu__stat-lbl {
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: rgba(255,255,255,.7);
    font-weight: 600;
}

/* ---------- PROJECTS GRID ---------- */
.projects__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
@media (max-width: 992px) { .projects__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .projects__grid { grid-template-columns: 1fr; } }

.project-card {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: var(--be-radius-lg);
    overflow: hidden;
    box-shadow: var(--be-shadow);
    cursor: pointer;
}
.project-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .8s var(--be-ease);
}
.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(11,22,32,.85) 100%);
    opacity: 0;
    transition: opacity .35s var(--be-ease);
}
.project-card:hover img { transform: scale(1.08); }
.project-card:hover::after { opacity: 1; }
.project-card__caption {
    position: absolute;
    left: 18px;
    bottom: 18px;
    right: 18px;
    z-index: 2;
    color: #fff;
    transform: translateY(8px);
    opacity: 0;
    transition: opacity .35s var(--be-ease) .05s, transform .35s var(--be-ease) .05s;
}
.project-card:hover .project-card__caption {
    transform: translateY(0);
    opacity: 1;
}
.project-card__caption strong {
    display: block;
    font-family: var(--be-font-display);
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.project-card__caption span {
    font-size: 12.5px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--be-green-300);
}

/* ---------- PRESENCE / LIVE PLANTS ---------- */
.presence__grid {
    display: grid;
    grid-template-columns: 0.85fr 1.35fr;   /* give image side ~60% of row */
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}
@media (max-width: 900px) { .presence__grid { grid-template-columns: 1fr; } }

.presence__visual {
    position: relative;
}
.presence__visual img {
    width: 100%;
    max-width: 720px;                       /* lifts ceiling from grid-col width */
    min-height: 460px;                      /* keeps it tall + prominent on desktop */
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    filter: drop-shadow(0 30px 50px rgba(34,197,94,.22));
    transition: transform .6s var(--be-ease);
}
.presence__visual:hover img {
    transform: scale(1.02);
}
@media (max-width: 900px) {
    .presence__visual img { min-height: 0; max-width: 560px; }
}

.presence__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 30px;
}
@media (max-width: 480px) { .presence__stats { grid-template-columns: 1fr; } }
.presence__stat {
    background: #fff;
    border: 1px solid var(--be-line);
    border-radius: var(--be-radius-lg);
    padding: 22px 18px;
    text-align: center;
    transition: transform .35s var(--be-ease), box-shadow .35s var(--be-ease);
}
.presence__stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--be-shadow-md);
}
.presence__stat strong {
    display: block;
    font-family: var(--be-font-display);
    font-size: 2.1rem;
    font-weight: 800;
    background: var(--be-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}
.presence__stat span {
    margin-top: 8px;
    display: block;
    font-size: 12.5px;
    color: var(--be-text-2);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 600;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    isolation: isolate;
    background: var(--be-gradient-dark);
    padding: clamp(56px, 7vw, 88px) 0;
    color: #fff;
}
.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0% 100%, rgba(164,198,57,.20) 0%, transparent 45%),
        radial-gradient(circle at 100% 0%, rgba(34,197,94,.20) 0%, transparent 45%);
    z-index: 0;
}
.cta-banner__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 36px;
    align-items: center;
}
@media (max-width: 800px) {
    .cta-banner__inner { grid-template-columns: 1fr; text-align: center; }
    .cta-banner__cta { justify-content: center; }
}
.cta-banner h2 { color: #fff; margin: 0 0 12px; max-width: 600px; }
.cta-banner p {
    color: rgba(255,255,255,.78);
    margin: 0;
    max-width: 520px;
    font-size: 1.02rem;
}
.cta-banner__cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- TAGLINE TICKER ---------- */
.tagline-ticker {
    background: var(--be-ink);
    color: #fff;
    padding: 14px 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.tagline-ticker__track {
    display: flex;
    gap: 64px;
    align-items: center;
    width: max-content;
    animation: marquee 26s linear infinite;
}
.tagline-ticker__item {
    font-family: var(--be-font-display);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,.9);
    display: inline-flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
}
.tagline-ticker__item svg {
    color: var(--be-green-400);
    width: 18px; height: 18px;
}
