:root {
    --bg: #f4f8f1;
    --bg-soft: #edf4e8;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-solid: #ffffff;
    --surface-dark: #173224;
    --text: #173122;
    --muted: #5a7163;
    --line: rgba(23, 49, 34, 0.12);
    --primary: #2f8f5b;
    --primary-dark: #206845;
    --accent: #c6e86a;
    --shadow: 0 22px 50px rgba(22, 48, 34, 0.12);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(198, 232, 106, 0.45), transparent 28%),
        radial-gradient(circle at right 15%, rgba(47, 143, 91, 0.16), transparent 24%),
        linear-gradient(180deg, #f7fbf4 0%, #eef5e9 100%);
}

img {
    display: block;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    color: var(--muted);
    line-height: 1.7;
}

h1,
h2,
h3 {
    margin: 0 0 0.8rem;
    font-family: 'Urbanist', sans-serif;
    line-height: 1.05;
}

main {
    display: block;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(244, 248, 241, 0.8);
    border-bottom: 1px solid rgba(23, 49, 34, 0.08);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 82px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.1rem;
}

.brand small {
    color: var(--muted);
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), #64b76d);
    color: #fff;
    font-weight: 800;
    font-family: 'Urbanist', sans-serif;
    box-shadow: var(--shadow);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.site-nav a {
    color: var(--muted);
    font-weight: 500;
}

.site-nav a.active,
.site-nav a:hover {
    color: var(--text);
}

.menu-toggle {
    display: none;
    padding: 0;
    border: 0;
    background: transparent;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: var(--text);
    border-radius: 999px;
}

.hero,
.page-hero {
    padding: 4.5rem 0 2rem;
}

.page-hero.compact {
    padding-bottom: 0;
}

.hero-grid,
.split-panel,
.product-detail-grid,
.contact-grid {
    display: grid;
    gap: 1.6rem;
}

.company-hero-layout,
.company-story-grid {
    display: grid;
    gap: 1.2rem;
}

.hero-copy h1,
.page-hero h1 {
    font-size: clamp(2.5rem, 7vw, 5.2rem);
    max-width: 11ch;
}

.hero-copy p,
.page-hero p {
    font-size: 1.08rem;
    max-width: 60ch;
}

.company-hero-copy h1,
.company-detail-copy h2 {
    max-width: 12ch;
}

.badge,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
}

.badge {
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(198, 232, 106, 0.4);
    margin-bottom: 1rem;
}

.hero-actions,
.product-card-actions,
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.btn,
.chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.85rem 1.25rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    transition: 0.2s ease;
}

.btn-icon,
.inline-icon,
.featured-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    line-height: 1;
}

.btn-icon {
    width: 1.1rem;
    margin-right: 0.35rem;
    font-size: 0.95rem;
}

.inline-icon {
    width: 1.05rem;
    margin-right: 0.45rem;
    color: var(--primary-dark);
    font-size: 0.92rem;
}

.featured-icon {
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--primary-dark);
}

.btn-secondary,
.chip {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(23, 49, 34, 0.12);
}

.chip.active {
    background: rgba(47, 143, 91, 0.12);
    border-color: rgba(47, 143, 91, 0.28);
    color: var(--primary-dark);
}

.glass-card,
.category-card,
.product-card,
.info-card,
.contact-form,
.company-floating-card {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.glass-card,
.info-card,
.contact-form {
    padding: 1.6rem;
}

.company-hero {
    overflow: hidden;
}

.company-hero-copy {
    display: grid;
    gap: 1rem;
}

.company-hero-copy p,
.company-detail-copy p {
    max-width: 58ch;
}

.company-hero-points {
    display: grid;
    gap: 0.9rem;
}

.company-visual {
    display: grid;
    gap: 1rem;
}

.company-visual-main,
.company-floating-card {
    overflow: hidden;
}

.company-visual-main {
    border-radius: 30px;
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.82);
}

.company-visual-main img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.company-visual-stack {
    display: grid;
    gap: 1rem;
}

.company-floating-card img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.company-floating-copy {
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.15rem 1.15rem;
}

.company-floating-copy strong {
    font-family: 'Urbanist', sans-serif;
    font-size: 1.05rem;
}

.company-floating-card-soft {
    background: rgba(244, 248, 241, 0.9);
}

.company-story-card {
    height: 100%;
}

.company-detail-panel {
    align-items: start;
}

.company-detail-copy {
    display: grid;
    gap: 0.9rem;
}

.company-detail-list {
    align-self: stretch;
}

.section {
    padding: 2.5rem 0;
}

.section-muted {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.5));
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.category-grid,
.product-grid,
.company-grid {
    display: grid;
    gap: 1.2rem;
}

.featured-products-grid {
    display: grid;
    gap: 1rem;
}

.featured-card {
    overflow: hidden;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
}

.featured-card-media {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    padding: 0.55rem;
    --smart-scale: 1;
    --smart-shift-x: 0%;
    --smart-shift-y: 0%;
    background:
        radial-gradient(circle at top, rgba(198, 232, 106, 0.34), transparent 45%),
        linear-gradient(180deg, #ffffff 0%, #f0f6eb 100%);
}

.featured-card-media img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    transform: translate(var(--smart-shift-x), var(--smart-shift-y)) scale(var(--smart-scale));
    transform-origin: center center;
}

.featured-badge {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 1;
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(198, 232, 106, 0.95);
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(22, 48, 34, 0.14);
}

.featured-card-body {
    display: grid;
    gap: 0.7rem;
    padding: 1rem;
}

.featured-card-body h3 {
    margin: 0;
    font-size: 1.3rem;
    line-height: 1.02;
}

.featured-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.featured-note {
    color: var(--primary-dark);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.category-card,
.product-card {
    overflow: hidden;
}

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.category-card,
.product-card-body {
    padding: 1.4rem;
}

.product-card-media {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    padding: 0.5rem;
    --smart-scale: 1;
    --smart-shift-x: 0%;
    --smart-shift-y: 0%;
    background:
        radial-gradient(circle at top, rgba(198, 232, 106, 0.34), transparent 45%),
        linear-gradient(180deg, #ffffff 0%, #f0f6eb 100%);
}

.product-card-media img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    transform: translate(var(--smart-shift-x), var(--smart-shift-y)) scale(var(--smart-scale));
    transform-origin: center center;
    transition: transform 0.25s ease;
}

.product-gallery-main img,
.thumb-button img {
    height: 100%;
    object-fit: contain;
}

.product-gallery-main {
    display: grid;
    place-items: center;
    min-height: 640px;
    padding: 1rem;
    --smart-scale: 1;
    --smart-shift-x: 0%;
    --smart-shift-y: 0%;
    background:
        radial-gradient(circle at top, rgba(198, 232, 106, 0.28), transparent 42%),
        linear-gradient(180deg, #ffffff 0%, #edf5e7 100%);
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-position: center center;
    transform: translate(var(--smart-shift-x), var(--smart-shift-y)) scale(var(--smart-scale));
    transform-origin: center center;
    transition: transform 0.25s ease;
}

.text-link {
    color: var(--primary-dark);
    font-weight: 700;
}

.reference {
    color: var(--muted);
    font-size: 0.95rem;
}

.reference-chip,
.price-tag,
.product-price {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    background: rgba(198, 232, 106, 0.28);
    color: var(--primary-dark);
    font-weight: 700;
}

.reference-chip {
    background: rgba(23, 49, 34, 0.06);
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.product-price {
    font-size: 1.05rem;
    width: fit-content;
    margin: 0.25rem 0 0.5rem;
}

.catalog-carousel-shell {
    display: grid;
    gap: 1rem;
}

.catalog-filter-strip {
    margin-bottom: 1.2rem;
}

.catalog-filter-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.filter-launcher {
    display: grid;
    place-items: center;
    min-height: 48px;
    padding: 0.85rem 1.1rem;
    border: 1px solid rgba(23, 49, 34, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--text);
    font: inherit;
    font-weight: 700;
    box-shadow: var(--shadow);
    cursor: pointer;
    line-height: 1;
}

.filter-launcher-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
}

.filter-launcher-icon {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(198, 232, 106, 0.35);
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.filter-launcher-icon i,
.filter-option-icon i {
    line-height: 1;
}

.filter-launcher-label {
    display: inline-flex;
    align-items: center;
}

.catalog-filter-current {
    display: grid;
    place-items: center end;
    gap: 0.15rem;
}

.catalog-filter-current-inner {
    display: grid;
    justify-items: end;
    align-content: center;
    gap: 0.15rem;
}

.catalog-filter-current-label {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}

.catalog-filter-current strong {
    font-family: 'Urbanist', sans-serif;
    font-size: 1rem;
    line-height: 1.05;
}

.filter-modal[hidden] {
    display: none;
}

.filter-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.filter-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 28, 20, 0.48);
    backdrop-filter: blur(8px);
}

.filter-modal-panel {
    position: relative;
    z-index: 1;
    width: min(100% - 2rem, 760px);
    margin: 5vh auto 0;
    padding: 1.4rem;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(251, 253, 249, 0.98) 0%, rgba(241, 247, 236, 0.98) 100%);
    box-shadow: 0 32px 80px rgba(10, 28, 19, 0.28);
}

.filter-modal-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.filter-modal-close {
    width: 46px;
    height: 46px;
    border: 1px solid rgba(23, 49, 34, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: var(--text);
    font: inherit;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.filter-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    padding-bottom: 0.2rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 62px;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(23, 49, 34, 0.1);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.filter-option:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.96);
}

.filter-option.active {
    border-color: rgba(47, 143, 91, 0.28);
    background: rgba(198, 232, 106, 0.2);
    color: var(--primary-dark);
}

.filter-option-icon {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(198, 232, 106, 0.35);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.catalog-carousel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.catalog-carousel-count {
    margin: 0;
    font-weight: 600;
}

.carousel-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.carousel-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(23, 49, 34, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.78);
    color: var(--text);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.carousel-button:hover {
    background: #fff;
    transform: translateY(-1px);
}

.carousel-button:disabled {
    opacity: 0.45;
    cursor: default;
    transform: none;
}

.feature-list {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.product-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.8rem;
}

.product-card-body h3 {
    margin: 0;
    min-height: 2.4em;
}

.product-card-body p {
    margin: 0;
}

.product-card-body > p:not(.eyebrow) {
    display: -webkit-box;
    overflow: hidden;
    min-height: 4.9em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.product-card-actions {
    margin-top: auto;
    align-items: center;
}

.catalog-eco-order-note {
    margin-top: 0.7rem;
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    background: #fff3d9;
    border: 1px solid rgba(194, 134, 0, 0.18);
    color: #8a5a00;
    font-family: 'Urbanist', sans-serif;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--muted);
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(198, 232, 106, 0.18);
}

.product-gallery-main {
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 5;
}

.product-gallery-thumbs {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.thumb-button {
    width: 88px;
    height: 88px;
    padding: 0.5rem;
    border: 1px solid rgba(23, 49, 34, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    background: linear-gradient(180deg, #ffffff 0%, #eff6e9 100%);
}

.field {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.field label {
    font-weight: 600;
}

.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    font: inherit;
    background: rgba(255, 255, 255, 0.84);
}

.contact-link {
    color: var(--primary-dark);
    font-weight: 700;
}

.contact-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.site-footer {
    padding: 2rem 0 1.25rem;
}

.product-detail-section {
    padding-top: 3rem;
}

.product-summary {
    display: grid;
    gap: 1rem;
}

.product-summary h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    max-width: 12ch;
}

.product-intro {
    font-size: 1.1rem;
    max-width: 54ch;
}

.product-meta-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.meta-card {
    padding: 1rem 1.1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(23, 49, 34, 0.08);
    box-shadow: 0 14px 30px rgba(22, 48, 34, 0.08);
}

.meta-label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.meta-card strong {
    font-family: 'Urbanist', sans-serif;
    font-size: 1rem;
}

.product-story {
    padding: 1.25rem 1.35rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(23, 49, 34, 0.08);
}

.product-story h2 {
    margin-bottom: 0.55rem;
    font-size: 1.15rem;
}

.product-story p {
    margin: 0;
}

.footer-grid {
    display: grid;
    gap: 1rem;
    padding: 1.4rem 0;
    border-top: 1px solid var(--line);
}

.footer-bottom {
    border-top: 1px solid var(--line);
    padding-top: 1rem;
}
