:root {
    --bg: #f4f7ef;
    --surface: #ffffff;
    --surface-strong: #21483d;
    --text: #20322c;
    --muted: #67776f;
    --line: rgba(33, 50, 44, 0.12);
    --accent: #4a8c57;
    --accent-deep: #21483d;
    --navy: #21483d;
    --navy-soft: #7a8d52;
    --shadow: 0 18px 44px rgba(33, 50, 44, 0.10);
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(118, 161, 112, 0.18), transparent 28%),
        radial-gradient(circle at 85% 20%, rgba(210, 172, 105, 0.10), transparent 30%),
        linear-gradient(180deg, #fbfcf7 0%, #f2f5ee 40%, #fafbf8 100%);
}

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

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

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

.topbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: #22453b;
    color: rgba(255, 255, 255, 0.82);
}

.topbar-inner,
.topbar-contact,
.topbar-socials,
.nav-shell,
.site-nav,
.hero-actions,
.stat-row,
.intro-grid,
.section-heading-row,
.quote-highlights,
.detail-meta,
.footer-contact,
.footer-socials,
.footer-bottom {
    display: flex;
    gap: 1rem;
}

.topbar-inner,
.nav-shell,
.section-heading-row,
.footer-bottom {
    align-items: center;
    justify-content: space-between;
}

.topbar-inner {
    padding: 0.8rem 0;
    font-size: 0.92rem;
}

.topbar-contact,
.topbar-socials {
    flex-wrap: wrap;
}

.topbar a:hover,
.footer-socials a:hover,
.footer-links a:hover {
    color: #fff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(14px);
    background: rgba(250, 252, 246, 0.94);
    border-bottom: 1px solid rgba(23, 33, 29, 0.08);
}

.nav-shell {
    padding: 1rem 0;
    gap: 1.2rem;
}

.brandmark {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    min-width: 0;
}

.brandmark img {
    width: 62px;
    height: 62px;
    object-fit: contain;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow);
}

.brandmark span {
    display: grid;
    gap: 0.2rem;
}

.brandmark strong {
    font-size: 1.05rem;
}

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

.site-nav {
    align-items: center;
    flex-wrap: wrap;
}

.site-nav > a,
.nav-dropdown-trigger {
    padding: 0.65rem 0.9rem;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 600;
    background: transparent;
    border: 0;
    font: inherit;
    cursor: pointer;
}

.site-nav > a.active,
.site-nav > a:hover,
.nav-dropdown-trigger.active,
.nav-dropdown-trigger:hover {
    color: var(--text);
    background: rgba(74, 140, 87, 0.10);
}

.site-nav .nav-cta,
.button-primary,
.button-secondary:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--accent-deep), var(--accent));
    box-shadow: 0 12px 24px rgba(33, 72, 61, 0.18);
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.nav-caret {
    font-weight: 800;
    line-height: 1;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.65rem);
    left: 0;
    min-width: 240px;
    padding: 0.6rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    display: none;
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
    gap: 0.2rem;
}

.nav-dropdown-link {
    padding: 0.7rem 0.8rem;
    border-radius: 12px;
    color: var(--muted);
    font-weight: 600;
}

.nav-dropdown-link:hover,
.nav-dropdown-link--top {
    background: rgba(74, 140, 87, 0.10);
    color: var(--text);
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    padding: 0.7rem 1rem;
    font: inherit;
    font-weight: 700;
}

.page-shell {
    padding: 3rem 0 5rem;
}

.hero {
    padding: 2rem 0 4rem;
}

.hero-grid,
.why-grid,
.cta-banner,
.detail-grid,
.contact-grid,
.quote-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

.hero-grid,
.why-grid,
.detail-grid,
.contact-grid,
.quote-grid {
    grid-template-columns: 1.1fr 0.9fr;
}

.hero-copy {
    padding: 1rem 0;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--navy-soft);
    font-weight: 800;
}

.eyebrow::before,
.section-kicker::before {
    content: "";
    width: 2.6rem;
    height: 1px;
    background: currentColor;
}

h1,
h2,
h3,
.display-title {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    line-height: 0.96;
    letter-spacing: -0.03em;
}

h1,
.display-title {
    font-size: clamp(3.4rem, 7vw, 6.2rem);
}

h2 {
    font-size: clamp(2.3rem, 4.6vw, 3.5rem);
}

h3 {
    font-size: 1.7rem;
}

.lead,
.section-copy,
.card-copy,
.detail-copy,
.policy-copy,
.page-copy {
    color: var(--muted);
    line-height: 1.75;
    font-size: 1.02rem;
}

.hero-actions,
.stat-row,
.quote-highlights,
.detail-meta,
.footer-contact,
.footer-socials {
    flex-wrap: wrap;
}

.quote-top-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.quote-helper-copy {
    margin: 0 0 1.2rem;
    color: var(--muted);
    line-height: 1.65;
}

.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 1.35rem;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button-primary:hover,
.button-secondary:hover,
.product-card:hover,
.category-card:hover,
.feature-card:hover,
.policy-card:hover,
.contact-card:hover {
    transform: translateY(-2px);
}

.button-secondary {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.82);
}

.stat-row {
    margin-top: 2rem;
}

.stat-card,
.feature-card,
.product-card,
.category-card,
.policy-card,
.contact-card,
.form-card,
.aside-card,
.detail-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: var(--shadow);
}

.stat-card {
    min-width: 160px;
    padding: 1rem 1.15rem;
}

.stat-card strong {
    display: block;
    font-size: 1.7rem;
    color: var(--navy);
}

.hero-media,
.why-media,
.quote-media,
.contact-media,
.detail-media {
    position: relative;
}

.hero-media::after,
.why-media::after,
.quote-media::after,
.contact-media::after,
.detail-media::after {
    content: "";
    position: absolute;
    inset: auto -1rem -1rem auto;
    width: 40%;
    height: 40%;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(209, 165, 97, 0.18), rgba(25, 77, 64, 0.08));
    z-index: -1;
}

.hero-media img,
.why-media img,
.quote-media img,
.contact-media img,
.detail-media img {
    border-radius: 32px;
    box-shadow: var(--shadow);
    object-fit: cover;
}

.hero-media img,
.why-media img,
.quote-media img {
    min-height: 520px;
}

section,
.page-section {
    padding: 4rem 0;
}

.section-header {
    max-width: 760px;
    margin-bottom: 2rem;
}

.intro-grid,
.product-grid,
.category-grid,
.policy-grid,
.style-group-grid,
.spec-grid,
.footer-grid {
    display: grid;
    gap: 1.35rem;
}

.intro-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.product-card,
.category-card,
.policy-card,
.contact-card,
.detail-card,
.form-card,
.aside-card {
    overflow: hidden;
}

.feature-card img,
.product-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.feature-card .content,
.product-card .content,
.category-card .content,
.policy-card .content,
.contact-card .content,
.detail-card .content,
.form-card,
.aside-card {
    padding: 1.4rem;
}

.product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card .tag {
    display: inline-flex;
    margin-bottom: 0.9rem;
    padding: 0.36rem 0.75rem;
    border-radius: 999px;
    background: rgba(74, 140, 87, 0.10);
    color: var(--navy);
    font-size: 0.82rem;
    font-weight: 800;
}

.product-card .actions {
    margin-top: 1rem;
}

.category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.style-group-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 2rem;
}

.style-group-grid--page {
    margin-top: 2rem;
}

.category-card {
    min-height: 100%;
}

.category-card .content,
.style-group-card .content {
    display: grid;
    gap: 1rem;
}

.style-group-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(241, 246, 235, 0.94));
    box-shadow: var(--shadow);
}

.style-group-section {
    margin-top: 2.5rem;
    scroll-margin-top: 8rem;
}

.compact-section-header {
    margin-bottom: 1.4rem;
}

.empty-style-note {
    padding: 1.2rem 1.4rem;
    border: 1px dashed rgba(74, 140, 87, 0.24);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.78);
}

.cta-banner {
    grid-template-columns: 1.2fr auto;
    padding: 2rem;
    border-radius: 34px;
    background: linear-gradient(135deg, #21483d, #5f7a45);
    color: #fff;
    box-shadow: var(--shadow);
}

.cta-banner p {
    margin: 0.8rem 0 0;
    color: rgba(255, 255, 255, 0.84);
}

.policy-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.spec-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-sections {
    display: grid;
    gap: 1.35rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.spec-card h3 {
    font-size: 1.35rem;
}

.policy-card ul,
.detail-list,
.help-list {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--muted);
    line-height: 1.75;
}

.detail-meta {
    margin: 1.4rem 0;
}

.meta-pill {
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: rgba(31, 93, 77, 0.08);
    color: var(--navy);
    font-weight: 800;
}

.form-card,
.aside-card {
    padding: 1.6rem;
}

form {
    display: grid;
    gap: 1rem;
}

.form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
    display: grid;
    gap: 0.45rem;
}

.field.full {
    grid-column: 1 / -1;
}

label {
    font-weight: 700;
}

.field-help,
.file-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.92rem 1rem;
    font: inherit;
    color: var(--text);
    background: #fcfdfb;
}

input[type="file"] {
    padding: 0.75rem 0;
    background: transparent;
    border: 0;
}

.quote-submit {
    width: 100%;
    margin-top: 0.2rem;
}

textarea {
    min-height: 150px;
    resize: vertical;
}

.flash {
    margin-bottom: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    font-weight: 700;
}

.flash.success {
    background: rgba(74, 140, 87, 0.12);
    color: #2c5d36;
}

.flash.error {
    background: rgba(160, 67, 48, 0.12);
    color: #8f3420;
}

.contact-grid .aside-card,
.quote-grid .aside-card {
    display: grid;
    gap: 1rem;
}

.contact-card h3,
.policy-card h3,
.feature-card h3,
.category-card h3,
.product-card h3 {
    margin-bottom: 0.65rem;
}

.site-footer {
    margin-top: 4rem;
    padding: 4rem 0 1.4rem;
    background:
        linear-gradient(180deg, rgba(33, 72, 61, 0.98), rgba(28, 57, 49, 0.98)),
        #21433a;
    color: rgba(255, 255, 255, 0.82);
}

.section-tools {
    display: grid;
    gap: 0.45rem;
    min-width: 240px;
}

.section-select-label {
    font-size: 0.84rem;
    font-weight: 800;
    color: var(--navy-soft);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-select {
    border-radius: 999px;
    border: 1px solid rgba(74, 140, 87, 0.18);
    background: rgba(255, 255, 255, 0.92);
    padding-right: 2.5rem;
    font-weight: 700;
}

.footer-grid {
    grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
    align-items: start;
}

.footer-brand h2,
.footer-links h3 {
    color: #fff;
    margin-bottom: 0.85rem;
}

.footer-links {
    display: grid;
    gap: 0.7rem;
}

.footer-contact {
    margin-top: 1rem;
    flex-direction: column;
    gap: 0.45rem;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    flex-wrap: wrap;
}

.footer-socials {
    gap: 0.75rem;
}

@media (max-width: 1080px) {
    .hero-grid,
    .why-grid,
    .detail-grid,
    .contact-grid,
    .quote-grid,
    .footer-grid,
    .cta-banner {
        grid-template-columns: 1fr;
    }

    .intro-grid,
    .product-grid,
    .category-grid,
    .policy-grid,
    .style-group-grid,
    .spec-grid,
    .detail-sections {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .site-nav {
        display: none;
        width: 100%;
        padding-top: 1rem;
        flex-direction: column;
        align-items: stretch;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-menu {
        position: static;
        min-width: 100%;
        margin-top: 0.4rem;
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav > a,
    .nav-dropdown-trigger,
    .site-nav .nav-cta {
        width: 100%;
        justify-content: center;
    }

    .topbar-inner,
    .nav-shell {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-media img,
    .why-media img,
    .quote-media img {
        min-height: 360px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(var(--container), calc(100% - 1.2rem));
    }

    .intro-grid,
    .product-grid,
    .category-grid,
    .policy-grid,
    .form-grid,
    .style-group-grid,
    .spec-grid,
    .detail-sections {
        grid-template-columns: 1fr;
    }

    .section-tools {
        width: 100%;
        min-width: 0;
    }

    .stat-card {
        width: 100%;
    }

    .cta-banner {
        padding: 1.4rem;
    }

    .brandmark img {
        width: 54px;
        height: 54px;
    }
}
