:root {
    --emerald-950: #022c22;
    --emerald-900: #064e3b;
    --lime-50: #f7fee7;
    --lime-100: #ecfccb;
    --amber-200: #fde68a;
    --line: rgba(2, 44, 34, .12);
}

* { box-sizing: border-box; }
body {
    margin: 0;
    color: var(--emerald-950);
    background: #fff;
    font-family: Poppins, Arial, Helvetica, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
main { min-height: 62vh; }

.icon { width: 22px; height: 22px; flex: 0 0 auto; }
.site-header { color: var(--emerald-950); }
.nav {
    height: 96px;
    padding: 8px 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
}
.logo img { width: 96px; }
.nav-links, .nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-links a {
    padding: 6px 16px;
    border-radius: 999px;
    transition: .25s ease;
}
.nav-links a:hover { background: var(--emerald-900); color: #fff; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 24px;
    border: 1px solid var(--emerald-900);
    border-bottom-width: 4px;
    border-radius: 8px;
    cursor: pointer;
    transition: .2s ease;
}
.button:hover { transform: translateY(-1px); border-bottom-width: 6px; }
.button-light { background: #fff; color: var(--emerald-950); }
.button-dark { background: var(--emerald-900); color: #fff; }
.button-dark:hover, .button-light:hover { background: var(--emerald-950); color: #fff; }
.menu-button { display: none; border: 0; background: transparent; color: var(--emerald-950); }

.section { padding: 48px 64px; }
.section-tight { padding: 16px 16px 32px; }
.hero {
    padding: 64px 48px;
    background: var(--lime-50);
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 32px;
}
.hero h1, .headline {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.15;
    font-weight: 600;
}
.hero p { max-width: 560px; }
.hero-image { mix-blend-mode: multiply; width: 100%; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.center { text-align: center; align-items: center; }
.section-title {
    margin: 0;
    font-size: clamp(1.35rem, 3vw, 2rem);
    line-height: 1.2;
    font-weight: 600;
}
.section-top {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
}
.caps { text-transform: uppercase; display: flex; align-items: center; gap: 12px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 32px; }
.feature { display: flex; flex-direction: column; gap: 18px; }
.feature h5 { margin: 0; font-size: 1.1rem; font-weight: 500; }
.feature p { margin: 0; }

.card {
    position: relative;
    padding: 16px;
    background: var(--lime-50);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: .25s ease;
}
.card:hover { transform: scale(1.03); }
.card-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}
.card-image img { width: 100%; height: 100%; object-fit: cover; }
.card h5 { margin: 0; font-weight: 500; }
.card p { margin: 0; font-size: .85rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.share {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.82);
    border-radius: 50%;
}

.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; }
.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }
.tile {
    min-height: 160px;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 16px;
    text-align: center;
}
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile-light { background: var(--lime-50); }
.tile-dark { background: var(--emerald-900); color: #fff; }
.tile-amber { background: var(--amber-200); }
.big-number { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-images { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.about-images img { border-radius: 16px; height: 320px; object-fit: cover; width: 100%; }
.about-images img:first-child { margin-top: 80px; }
.stats { display: flex; gap: 28px; flex-wrap: wrap; }
.stat strong { display: block; font-size: clamp(1.6rem, 4vw, 2.5rem); }
.panel { border-radius: 16px; padding: 32px; }
.panel-light { background: var(--lime-50); }
.panel-amber { background: var(--amber-200); }
.panel-dark { background: var(--emerald-900); color: #fff; }
.border-panel { border: 1px solid var(--emerald-900); border-bottom-width: 4px; border-radius: 16px; padding: 24px; }

.carousel { position: relative; overflow: hidden; border-radius: 16px; }
.slides { display: flex; transition: transform .35s ease; }
.slide { flex: 0 0 100%; padding: 0 8px; }
.slide img { width: 100%; border-radius: 12px; }
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,.14);
    cursor: pointer;
}
.carousel-button.prev { left: 22px; }
.carousel-button.next { right: 22px; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 0; background: #d1d5db; cursor: pointer; }
.dot.active { background: var(--emerald-950); }

.product-detail { display: grid; grid-template-columns: 2fr 3fr; gap: 64px; }
.product-main-image { border: 1px solid var(--line); border-radius: 16px; padding: 8px; }
.mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini-card { background: var(--lime-50); border-radius: 8px; padding: 16px; font-size: .85rem; }
.table-wrap { overflow-x: auto; border-radius: 16px; }
table { width: 100%; min-width: 720px; border-collapse: collapse; border: 1px solid var(--line); }
th { background: var(--emerald-900); color: #fff; text-align: left; }
th, td { padding: 14px 20px; border-bottom: 1px solid #d1d5db; }
td:first-child { color: var(--emerald-900); font-weight: 600; }

.form-field {
    border: 1px solid var(--emerald-900);
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    gap: 12px;
    align-items: center;
}
.form-field input, .form-field textarea {
    width: 100%;
    border: 0;
    outline: 0;
    resize: vertical;
}
.map-frame { width: 100%; min-height: 50vh; border: 0; border-radius: 12px; }
.updating { min-height: 85vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; }
.updating img { width: min(384px, 90vw); margin: 0 auto 24px; }

.footer-wrap { padding: 32px 16px 0; }
.footer { background: var(--emerald-950); color: #fff; border-radius: 16px 16px 0 0; overflow: hidden; }
.footer-grid {
    padding: 64px 48px 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}
.footer-logo { width: 112px; margin-bottom: 16px; }
.footer p { font-size: .9rem; }
.footer-contact { display: flex; flex-direction: column; gap: 14px; }
.socials { display: flex; gap: 18px; }
.copyright { margin: 0; padding: 16px 48px; text-align: center; background: var(--emerald-900); }

@media (max-width: 900px) {
    .nav { height: 80px; padding: 8px 16px; }
    .logo img { width: 80px; }
    .menu-button { display: inline-flex; }
    .nav-actions { display: none; }
    .nav-links {
        display: none;
        position: absolute;
        left: 0;
        top: 72px;
        z-index: 50;
        width: 100%;
        background: #fff;
        border-bottom: 4px solid var(--emerald-900);
        border-radius: 0 0 16px 16px;
        padding: 16px;
        flex-direction: column;
        align-items: stretch;
    }
    .nav-links.open { display: flex; }
    .section { padding: 48px 16px; }
    .hero, .grid-2, .grid-3, .about-grid, .product-detail, .footer-grid { grid-template-columns: 1fr; }
    .hero { padding: 48px 16px; }
    .hero .stack { order: 2; }
    .hero-image { order: 1; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .grid-5 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .mosaic { grid-template-columns: 1fr; }
    .span-2, .span-3 { grid-column: span 1; }
    .about-images { grid-template-columns: 1fr; }
    .about-images img:first-child { margin-top: 0; }
    .mini-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { padding: 48px 16px 16px; gap: 24px; }
}

@media (max-width: 560px) {
    .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .section-top { flex-direction: column; }
    .button { width: 100%; }
}
