:root {
    --color-primary: #ED1C24;
    --color-primary-earthy: #C1512F;
    --color-secondary-wood: #6B4226;
    --color-secondary-olive: #4B5D3A;
    --color-text-dark: #1A1A1A;
    --color-text-body: #4A4A4A;
    --color-bg-cream: #F7F1E8;
    --color-bg-light: #FFFFFF;

    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-accent-script: 'Caveat', cursive;

    --radius: 8px;
    --shadow: 0 4px 16px rgba(26, 26, 26, .08);
    --container: 1200px;
    --transition: .25s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-body);
    background: var(--color-bg-light);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--color-secondary-wood);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-primary);
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    line-height: 1.25;
    margin: 0 0 .5em;
}

p {
    margin: 0 0 1em;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 88px 0;
}

.section-cream {
    background: var(--color-bg-cream);
}

.section-title {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    margin-bottom: 16px;
}

.section-subtitle {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
    font-size: 17px;
}

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.text-olive {
    color: var(--color-secondary-olive);
}

.text-wood {
    color: var(--color-secondary-wood);
}

.mb-0 {
    margin-bottom: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(26, 26, 26, .1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
}

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

.brand-logo {
    height: 44px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: 4px;
}

.nav-link {
    display: block;
    padding: 10px 14px;
    font-weight: 500;
    font-size: 15px;
    color: var(--color-text-dark);
    border-radius: 6px;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link.active {
    color: var(--color-primary);
    font-weight: 600;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    text-decoration: none;
    transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-cta,
.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-cta:hover,
.btn-primary:hover {
    background: var(--color-primary-earthy);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--color-text-dark);
    border: 2px solid var(--color-secondary-wood);
}

.btn-outline:hover {
    background: var(--color-secondary-wood);
    color: #fff;
}

.btn-sm {
    padding: 9px 16px;
    font-size: 14px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text-dark);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.page-hero {
    background: linear-gradient(135deg, #2b170b 0%, #6B4226 55%, #C1512F 100%);
    color: #fff;
    padding: 80px 0;
}

.page-hero h1 {
    color: #fff;
    font-size: clamp(30px, 4vw, 46px);
    margin: 0;
}

.page-hero p {
    color: #e8dccb;
    max-width: 680px;
    margin: 14px 0 0;
    font-size: 17px;
}

.hero {
    position: relative;
    background: linear-gradient(135deg, #2b170b 0%, #6B4226 55%, #C1512F 100%);
    color: #fff;
    padding: 120px 0;
}

.hero-inner {
    max-width: 720px;
}

.hero .tagline-script {
    font-family: var(--font-accent-script);
    font-size: 32px;
    color: #F7D9C4;
    margin-bottom: 8px;
}

.hero-title {
    color: #fff;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-text {
    color: #e8dccb;
    font-size: 18px;
    margin-bottom: 0;
}

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

.hero .btn-outline {
    border-color: #fff;
    color: #fff;
}

.hero .btn-outline:hover {
    background: #fff;
    color: var(--color-text-dark);
}

.grid {
    display: grid;
    gap: 24px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

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

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    background: var(--color-bg-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(26, 26, 26, .12);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    background: var(--color-bg-cream);
    color: var(--color-secondary-olive);
    font-size: 26px;
}

.card-icon svg {
    width: 28px;
    height: 28px;
}

.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

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

.stat-card {
    text-align: center;
    background: var(--color-bg-light);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px 16px;
}

.stat-card .stat-number {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.1;
}

.stat-card .stat-label {
    color: var(--color-text-body);
    font-size: 14px;
    margin-top: 6px;
}

.map-frame {
    border: 0;
    width: 100%;
    height: 420px;
    border-radius: var(--radius);
}

.placeholder-thumb {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0e6d6, #dcc8a8);
    color: var(--color-secondary-wood);
}

.placeholder-thumb::before {
    content: '';
    position: absolute;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    border: 1px solid rgba(107, 66, 38, .12);
}

.placeholder-icon {
    position: relative;
    width: 52px;
    height: 52px;
    opacity: .9;
    transition: transform .4s ease, opacity .3s ease;
}

.product-card:hover .placeholder-icon {
    transform: scale(1.12) rotate(-4deg);
    opacity: 1;
}

.contact-card {
    padding: 24px;
}

.contact-card .card-icon {
    margin-bottom: 12px;
}

.contact-card h3 {
    font-size: 17px;
    margin-bottom: 6px;
}

.contact-card p,
.contact-card a {
    font-size: 15px;
    margin-bottom: 4px;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 9px 18px;
    border: 1px solid #ddd7cc;
    border-radius: 999px;
    background: #fff;
    color: var(--color-text-body);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.filter-btn:hover {
    border-color: var(--color-secondary-olive);
    color: var(--color-secondary-olive);
}

.filter-btn.active {
    background: var(--color-secondary-olive);
    border-color: var(--color-secondary-olive);
    color: #fff;
}

.divider {
    border: none;
    border-top: 1px solid #e8e2d6;
    margin: 0;
}

@media (max-width: 768px) {
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.card h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

.card p {
    margin-bottom: 0;
}

.card-cream {
    background: var(--color-bg-cream);
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--color-secondary-olive);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
}

.badge-light {
    background: var(--color-bg-cream);
    color: var(--color-secondary-wood);
}

.checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.checklist li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--color-secondary-olive);
    font-weight: 700;
}

.timeline {
    position: relative;
    max-width: 860px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #e2d5c2;
    transform: translateX(-50%);
}

.timeline-step {
    position: relative;
    width: 50%;
    padding: 0 40px 48px;
}

.timeline-step:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-step:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-num {
    position: absolute;
    top: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
}

.timeline-step:nth-child(odd) .timeline-num {
    right: -23px;
}

.timeline-step:nth-child(even) .timeline-num {
    left: -23px;
}

.timeline-step h3 {
    font-size: 18px;
    margin-bottom: 6px;
}

.timeline-step p {
    margin-bottom: 0;
    font-size: 15px;
}

.product-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    cursor: pointer;
    background: var(--color-bg-cream);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.product-card:hover .product-thumb img {
    transform: scale(1.05);
}

.product-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-body h3 {
    font-size: 17px;
    margin: 0;
}

.product-body p {
    font-size: 14px;
    margin: 0;
    flex: 1;
}

.product-category {
    align-self: flex-start;
}

.product-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--color-text-dark);
}

.form-group .form-note {
    font-size: 13px;
    color: #8a8177;
    margin-top: 4px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="file"],
select,
textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd7cc;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-text-dark);
    background: #fff;
    transition: border-color var(--transition), box-shadow var(--transition);
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-secondary-olive);
    box-shadow: 0 0 0 3px rgba(75, 93, 58, .15);
}

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

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

.form-error {
    color: var(--color-primary);
    font-size: 13px;
    margin-top: 4px;
}

.alert {
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 24px;
    font-weight: 500;
    font-size: 15px;
}

.alert-success {
    background: #e8f5e9;
    color: #2e7d32;
}

.alert-error {
    background: #fdecea;
    color: #c62828;
}

.faq-item {
    border: 1px solid #e8e2d6;
    border-radius: 8px;
    background: #fff;
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 18px 20px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    line-height: 1;
    color: var(--color-primary);
    transition: transform var(--transition);
    flex-shrink: 0;
}

.faq-item.open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.faq-answer-inner {
    padding: 0 20px 18px;
    font-size: 15px;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 300;
    padding: 24px;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 22px;
    background: none;
    border: none;
    color: #fff;
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
}

.table-wrap {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table th,
.table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #f0ece4;
    font-size: 14px;
    vertical-align: middle;
}

.table th {
    background: var(--color-bg-cream);
    font-family: var(--font-heading);
    color: var(--color-text-dark);
    font-weight: 600;
}

.table tr:last-child td {
    border-bottom: none;
}

.table img.thumb {
    width: 64px;
    height: 48px;
    object-fit: cover;
    border-radius: 4px;
}

.site-footer {
    background: #21170f;
    color: #c9bcab;
}

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

.footer-logo-wrap {
    display: inline-block;
    background: #ffffff;
    padding: 12px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.footer-logo {
    height: 36px;
    width: auto;
    display: block;
    margin: 0;
}

.site-footer p {
    color: #b8aa98;
    font-size: 14px;
}

.site-footer .tagline-script {
    font-family: var(--font-accent-script);
    font-size: 24px;
    color: #F7D9C4;
    margin: 12px 0 0;
}

.footer-title {
    color: #fff;
    font-size: 16px;
    margin-bottom: 16px;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 9px;
}

.footer-links a,
.footer-contact a {
    color: #b8aa98;
    font-size: 14px;
}

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

.footer-contact li {
    font-size: 14px;
    color: #b8aa98;
}

.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social a {
    color: #b8aa98;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, .15);
    padding: 8px 14px;
    border-radius: 999px;
}

.footer-social a:hover {
    color: #fff;
    border-color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 18px 0;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    color: #8d8070;
    text-align: center;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .header-inner .btn-cta {
        padding: 10px 16px;
        font-size: 13px;
    }

    .site-nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 12px 24px rgba(26, 26, 26, .12);
        max-height: 0;
        overflow: hidden;
        transition: max-height .3s ease;
    }

    .header-inner.nav-open .site-nav {
        max-height: 440px;
    }

    .nav-list {
        flex-direction: column;
        padding: 16px 24px 24px;
    }

    .nav-link {
        padding: 12px 8px;
        border-bottom: 1px solid #f0ece4;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 64px 0;
    }

    .hero {
        padding: 84px 0;
    }

    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        left: 22px;
        transform: none;
    }

    .timeline-step,
    .timeline-step:nth-child(odd),
    .timeline-step:nth-child(even) {
        width: 100%;
        left: 0;
        text-align: left;
        padding: 0 0 40px 60px;
    }

    .timeline-step:nth-child(odd) .timeline-num,
    .timeline-step:nth-child(even) .timeline-num {
        left: 0;
        right: auto;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
