/* ==========================================================================
   RESET
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
}

a {
    -webkit-tap-highlight-color: transparent;
}

*:focus-visible {
    outline: 3px solid var(--sc-gold);
    outline-offset: 2px;
}


/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--sc-nav-h) + 40px) 0 70px;
    color: white;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: linear-gradient(rgba(0,0,0,0.35), rgba(0,0,0,0.35)), url("site_images/background-hero.jpeg"); 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        105deg,
        rgba(var(--sc-green-rgb), .94) 0%,
        rgba(var(--sc-green-rgb), .82) 32%,
        rgba(var(--sc-green-rgb), .38) 62%,
        rgba(var(--sc-green-rgb), .08) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.hero-text {
    animation: fadeUp .8s ease both;
}

.hero-text h1 {
    margin-bottom: 20px;
    font-size: clamp(2.1rem, 4.2vw, 3.4rem);
    line-height: 1.12;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .35);
}

.hero-text p {
    max-width: 54ch;
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .92);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 15px 30px;
    color: var(--sc-green);
    font-weight: 700;
    text-decoration: none;
    background: var(--sc-gold);
    border-radius: 999px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .3);
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.hero-cta:hover {
    background: var(--sc-white);
    box-shadow: 0 14px 32px rgba(0, 0, 0, .4);
    transform: translateY(-3px);
}

/* ---- Hero Buttons ---- */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    padding: 14px 22px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 20px;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease,
        color .25s ease,
        border-color .25s ease;
}

.hero-btn-arrow {
    font-size: 1.35rem;
    line-height: 1;
    transition: transform .25s ease;
}

.hero-btn:hover .hero-btn-arrow {
    transform: translateX(4px);
}

/* Main CTA */

.hero-btn-primary {
    color: var(--sc-green);
    background: var(--sc-gold);
    border: 2px solid var(--sc-gold);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
}

.hero-btn-primary:hover {
    color: var(--sc-green);
    background: white;
    border-color: white;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .35);
    transform: translateY(-3px);
}

/* Secondary CTA */

.hero-btn-secondary {
    color: white;
    background: rgba(255, 255, 255, .08);
    border: 2px solid rgba(255, 255, 255, .7);
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

.hero-btn-secondary:hover {
    color: var(--sc-green);
    background: white;
    border-color: white;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .3);
    transform: translateY(-3px);
}

/* ---- Circles + spinning shape overlay ---- */

.product-circles-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 340px;
}

.hero-shape-spin {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    width: min(560px, 130vw);
    height: min(560px, 130vw);
    opacity: .45;
    filter: drop-shadow(0 0 45px rgba(var(--sc-gold-rgb), .18));
    pointer-events: none;
    animation: shapeSpin 42s linear infinite;
}

.product-circles {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.circle {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 35% 30%, #124a12, var(--sc-green) 70%);
    border: 2px solid rgba(255, 215, 0, .18);
    border-radius: 50%;
    box-shadow: var(--sc-shadow-strong);
    opacity: 0;
    animation:
        circlePop .75s cubic-bezier(.34, 1.56, .64, 1) both,
        circleFloat 5s ease-in-out infinite;
    animation-delay: var(--d, 0s), calc(var(--d, 0s) + .75s);
}

.circle img {
    width: 95px;
    height: 95px;
    transition: transform .3s ease;
}

.circle:hover {
    box-shadow: 0 0 0 6px rgba(255, 215, 0, .18), var(--sc-shadow-strong);
}

.circle:hover img {
    transform: scale(1.14) rotate(-4deg);
}

@keyframes circlePop {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-25deg);
    }
    55% {
        opacity: 1;
        transform: scale(1.14) rotate(6deg);
    }
    78% {
        transform: scale(.95) rotate(-3deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

@keyframes circleFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}

@keyframes shapeSpin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
        gap: 46px;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: calc(var(--sc-nav-h) + 24px) 0 56px;
    }

    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(var(--sc-green-rgb), .95) 0%,
            rgba(var(--sc-green-rgb), .85) 55%,
            rgba(var(--sc-green-rgb), .6) 100%
        );
    }

    .circle {
        width: 108px;
        height: 108px;
    }

    .circle img {
        width: 72px;
        height: 72px;
    }

    .product-circles {
        gap: 16px;
    }

    .product-circles-wrap {
        min-height: 260px;
    }
}

@media (max-width: 420px) {
    .circle {
        width: 92px;
        height: 92px;
    }

    .circle img {
        width: 60px;
        height: 60px;
    }
}


/* ==========================================================================
   ABOUT
   ========================================================================== */

.about {
    padding: 90px 0;
    background: #f8f9fa;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.card {
    padding: 34px 22px;
    text-align: center;
    background: white;
    border-radius: var(--sc-radius-lg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
    box-shadow: var(--sc-shadow-soft);
    transform: translateY(-6px);
}

.card img {
    height: 110px;
    margin-bottom: 15px;
    object-fit: contain;
}

.card h3 {
    color: var(--sc-green);
}

.mission-text h2 {
    margin-bottom: 10px;
    color: var(--sc-green);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.bar {
    width: 80px;
    height: 4px;
    margin: 15px 0;

    background: var(--sc-gold);
}


/* ==========================================================================
   NEWSLETTER
   ========================================================================== */

.newsletter {
    padding: 90px 0;
    text-align: center;
    color: white;
    background: var(--sc-green);
}

.newsletter h2 {
    margin-bottom: 10px;
    font-size: clamp(1.8rem, 3.6vw, 2.4rem);
}

.form {
    display: flex;
    max-width: 520px;
    margin: 30px auto 0;
}

.form input {
    flex: 1;
    min-width: 0;
    padding: 18px;
    font-size: 1.1rem;
    border: none;
    border-radius: 4px 0 0 4px;
}

.form input:focus {
    outline: 3px solid var(--sc-gold);
    outline-offset: -3px;
}

.form button {
    padding: 0 40px;
    font-weight: bold;
    color: white;
    background: var(--sc-green);
    border: 2px solid var(--sc-gold);
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.form button:hover {
    color: var(--sc-green);
    background: var(--sc-gold);
}

@media (max-width: 480px) {
    .form {
        flex-direction: column;
        gap: 10px;
    }

    .form input,
    .form button {
        border-radius: var(--sc-radius);
        width: 100%;
    }
}


/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials {
    padding: 100px 0;

    text-align: center;

    background: #f8f9fa;
}

/* ==========================================================================
   RESPONSIVE (general)
   ========================================================================== */

@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
}