/* ===========================
   VARIABLES & RESET
=========================== */
:root {
    --green-dark:    #1a6b35;
    --green-mid:     #2a9d52;
    --green-light:   #5ec47a;
    --green-pale:    #e8f8ed;
    --teal:          #0d9488;
    --white:         #ffffff;
    --gray-50:       #f8faf9;
    --gray-100:      #f1f5f2;
    --gray-200:      #dde8e1;
    --gray-400:      #94a89b;
    --gray-600:      #4b6356;
    --gray-900:      #111c15;
    --font:          'Inter', sans-serif;
    --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md:     0 4px 16px rgba(0,0,0,.10);
    --shadow-lg:     0 12px 40px rgba(0,0,0,.14);
    --radius:        12px;
    --radius-sm:     8px;
    --radius-lg:     20px;
    --transition:    0.25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===========================
   UTILITIES
=========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-mid);
    background: var(--green-pale);
    padding: 4px 14px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-sub {
    max-width: 600px;
    margin: 0 auto;
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--green-mid);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(42,157,82,.35);
}
.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(42,157,82,.45);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,.6);
}
.btn-outline:hover {
    background: rgba(255,255,255,.12);
    border-color: var(--white);
}

.btn-full { width: 100%; justify-content: center; }


/* ===========================
   NAVBAR
=========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255,255,255,.97);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,.2));
    transition: filter var(--transition);
}
.navbar.scrolled .nav-logo img {
    filter: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,.9);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.navbar.scrolled .nav-link { color: var(--gray-600); }

.nav-link:hover { color: var(--white); background: rgba(255,255,255,.12); }
.navbar.scrolled .nav-link:hover { color: var(--green-mid); background: var(--green-pale); }

.nav-cta {
    background: var(--green-mid);
    color: var(--white) !important;
    padding: 8px 20px;
    box-shadow: 0 2px 10px rgba(42,157,82,.3);
}
.nav-cta:hover {
    background: var(--green-dark) !important;
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition);
}
.navbar.scrolled .nav-toggle span { background: var(--gray-900); }


/* ===========================
   HERO
=========================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(22, 90, 45, 0.88) 0%,
        rgba(13, 148, 136, 0.72) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding-top: 100px;
    padding-bottom: 80px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-light);
    border: 1px solid rgba(94,196,122,.4);
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 24px;
    background: rgba(94,196,122,.1);
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
}

.highlight {
    color: var(--green-light);
    position: relative;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,.82);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.scroll-cue {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255,255,255,.4);
    border-radius: 14px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 6px;
}
.scroll-cue span {
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,.8);
    border-radius: 2px;
    animation: scrollBounce 1.6s infinite;
}
@keyframes scrollBounce {
    0%, 100% { opacity: 1; transform: translateY(0); }
    50% { opacity: 0.3; transform: translateY(10px); }
}


/* ===========================
   ABOUT
=========================== */
.about { background: var(--white); }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-text .lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--gray-900);
    line-height: 1.65;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
}

.stat { text-align: center; }
.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--green-mid);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 0.8rem;
    color: var(--gray-400);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all var(--transition);
}
.about-card:hover {
    background: var(--green-pale);
    border-color: var(--green-light);
    transform: translateX(4px);
}

.about-card-icon {
    width: 44px;
    height: 44px;
    background: var(--green-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--green-mid);
    transition: background var(--transition);
}
.about-card:hover .about-card-icon {
    background: var(--white);
}
.about-card-icon svg { width: 20px; height: 20px; }

.about-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}
.about-card p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.5;
}


/* ===========================
   SUSTAINABILITY
=========================== */
.sustainability {
    background: var(--gray-50);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 72px;
}

.why-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 28px;
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}
.why-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--green-light);
}

.why-icon {
    width: 52px;
    height: 52px;
    background: var(--green-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--green-mid);
}
.why-icon svg { width: 24px; height: 24px; }

.why-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gray-900);
}
.why-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.advantages-section { margin-bottom: 48px; }

.advantages-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 32px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.adv-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1px solid var(--gray-200);
    position: relative;
    transition: all var(--transition);
}
.adv-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.adv-num {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--gray-200);
    line-height: 1;
    margin-bottom: 14px;
    font-variant-numeric: tabular-nums;
}

.adv-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}
.adv-card p {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.esg-banner {
    background: linear-gradient(135deg, var(--green-dark), var(--teal));
    border-radius: var(--radius-lg);
    padding: 32px 40px;
    color: var(--white);
}
.esg-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}
.esg-inner svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    opacity: 0.8;
}
.esg-inner p {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.6;
    opacity: 0.95;
}


/* ===========================
   APPLICATIONS
=========================== */
.applications { background: var(--white); }

.apps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.app-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    background: var(--white);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.app-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.app-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.app-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.app-card:hover .app-image img {
    transform: scale(1.05);
}

.app-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--green-mid);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
}

.app-body {
    padding: 28px;
    flex: 1;
}
.app-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--gray-900);
}
.app-body p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}


/* ===========================
   CONTACT
=========================== */
.contact { background: var(--gray-50); }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--green-pale);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--green-mid);
}
.contact-icon svg { width: 20px; height: 20px; }

.contact-item h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    margin-bottom: 4px;
}
.contact-item p, .contact-item a {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.65;
}
.contact-item a:hover { color: var(--green-mid); }

/* Form */
.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}
.form-group:last-of-type { margin-bottom: 24px; }

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.9rem;
    color: var(--gray-900);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-400); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-mid);
    box-shadow: 0 0 0 3px rgba(42,157,82,.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a89b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 36px; cursor: pointer; }

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-top: 12px;
}


/* ===========================
   FOOTER
=========================== */
.footer {
    background: var(--gray-900);
    color: rgba(255,255,255,.6);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 64px 0 48px;
}

.footer-brand .footer-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    margin-bottom: 16px;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,.4));
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
    max-width: 260px;
}

.footer-col h5 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li, .footer-col ul a {
    font-size: 0.875rem;
    color: rgba(255,255,255,.55);
    transition: color var(--transition);
}

.footer-col ul a:hover { color: var(--green-light); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 24px 0;
    text-align: center;
    font-size: 0.82rem;
}


/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
    .advantages-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 860px) {
    .section { padding: 72px 0; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .why-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .apps-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 80px 24px 40px;
        gap: 4px;
        box-shadow: -8px 0 40px rgba(0,0,0,.15);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }
    .nav-menu.open { right: 0; }

    .nav-link { color: var(--gray-600) !important; font-size: 1rem; width: 100%; }
    .nav-link:hover { background: var(--green-pale) !important; color: var(--green-mid) !important; }
    .nav-cta { background: var(--green-mid) !important; color: var(--white) !important; }

    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

    .hero-content h1 { font-size: 2rem; }
    .hero-actions { flex-direction: column; align-items: flex-start; }
    .about-stats { flex-wrap: wrap; gap: 20px; }
    .footer-top { grid-template-columns: 1fr; }
    .contact-form { padding: 28px 20px; }
    .esg-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .advantages-grid { grid-template-columns: 1fr; }
    .apps-grid { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 1.75rem; }
}


/* ===========================
   SCROLL ANIMATIONS
=========================== */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
