:root {
    --bg: #f5f5f5;
    --surface: #ffffff;
    --surface-strong: #f0f0f0;
    --surface-deep: #1f1f1f;
    --text: #1b1b1b;
    --text-soft: #5f5f5f;
    --line: rgba(0, 0, 0, 0.12);
    --primary: #c92e2e;
    --primary-deep: #a32020;
    --accent: #2e7d32;
    --accent-soft: #edf7ee;
    --shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-sm: 6px;
    --container: 1180px;
    --font-body: 'Manrope', sans-serif;
    --font-heading: 'Manrope', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
}

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

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

button,
input,
textarea {
    font: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--line);
}

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

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

.brand-badge {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--primary);
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: none;
}

.brand-logo {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 50%;
    background-color: #fff;
}

.brand-title,
.brand-subtitle {
    display: block;
    line-height: 1;
}

.brand-title {
    font-weight: 800;
    font-size: 1.05rem;
}

.brand-subtitle {
    margin-top: 0.3rem;
    color: var(--text-soft);
    font-size: 0.82rem;
}

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

.site-nav a {
    color: var(--text-soft);
    font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--primary);
}

.nav-cta {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    color: #fff !important;
    background: var(--primary);
    box-shadow: none;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 8px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    margin: 5px auto;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero-section,
.page-hero {
    position: relative;
    overflow: hidden;
}

.hero-section {
    padding: 3.5rem 0 3rem;
}

.hero-grid,
.page-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.page-hero {
    padding: 3rem 0 1.5rem;
}

.compact-page-hero {
    padding-bottom: 1rem;
}

.eyebrow {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    line-height: 1.08;
}

h1 {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    margin-bottom: 1rem;
}

h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    margin-bottom: 0.85rem;
}

h3 {
    font-size: 1.2rem;
    margin-bottom: 0.55rem;
}

p {
    color: var(--text-soft);
}

.hero-text {
    max-width: 58ch;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 8px;
    padding: 0.8rem 1.15rem;
    border: 1px solid var(--line);
    font-weight: 700;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
    transform: none;
}

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

.button-secondary {
    background: #fff;
    color: var(--text);
    border-color: var(--line);
}

.hero-metrics,
.stats-grid {
    display: grid;
    gap: 1rem;
}

.hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2rem;
}

.hero-metrics div,
.stat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1rem 1.1rem;
    box-shadow: var(--shadow);
}

.hero-metrics strong,
.stat-card strong {
    display: block;
    font-size: 1.45rem;
    color: var(--primary-deep);
}

.hero-card,
.page-hero-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 0.8rem;
    box-shadow: var(--shadow);
}

.photo-frame img,
.media-card img,
.photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-md) - 4px);
}

.photo-frame {
    overflow: hidden;
}

.hero-glow {
    display: none;
}

.section {
    padding: 3.5rem 0;
}

.surface-section {
    background: #fafafa;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

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

.category-grid,
.promise-grid,
.product-preview-grid,
.stats-grid,
.story-grid,
.catalog-grid {
    display: grid;
    gap: 1.3rem;
}

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

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

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

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

.category-gallery {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.45fr);
    gap: 1.2rem;
    align-items: stretch;
}

.category-gallery-header {
    margin-bottom: 0;
    background: linear-gradient(180deg, #fffdf8 0%, #f5efe3 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.3rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.category-gallery-header h3 {
    margin-bottom: 0.45rem;
    font-size: clamp(1.35rem, 1.8vw, 1.9rem);
}

.category-gallery-header p:last-child {
    margin-bottom: 0;
}

.gallery-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 0;
    grid-auto-rows: minmax(110px, 1fr);
}

.gallery-tile {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius-sm) + 2px);
    border: 1px solid var(--line);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
}

.gallery-strip .gallery-tile:first-child {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 240px;
}

.gallery-strip .gallery-tile:nth-child(6),
.gallery-strip .gallery-tile:nth-child(7),
.gallery-strip .gallery-tile:nth-child(8) {
    min-height: 120px;
}

/* Showcase Grid Styles for ALL Category */
.showcase-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 0.75rem;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.showcase-slot {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--surface-strong);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.showcase-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.8s ease-in-out, transform 0.5s ease;
}

.showcase-slot:hover img {
    transform: scale(1.05);
}

.slot-large {
    grid-row: span 2;
}

.showcase-slot.changing img {
    opacity: 0;
}

@media (max-width: 768px) {
    .showcase-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 150px);
    }
    .slot-large {
        grid-column: span 2;
        grid-row: span 1;
    }
}

.category-card,
.offer-card,
.info-card,
.product-card,
.promise-card,
.story-card,
.catalog-card,
.team-card,
.contact-panel,
.hours-panel,
.map-card,
.form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: var(--shadow);
}

.category-card img {
    width: 100%;
    max-height: 170px;
    margin-bottom: 1rem;
}

.media-card img {
    max-height: 210px;
}

.catalog-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: calc(var(--radius-sm) + 2px);
    margin-bottom: 1rem;
}

.catalog-card.media-card img {
    display: none;
}

.offer-band {
    padding: 1rem 0;
}

.offer-grid,
.split-layout,
.contact-layout,
.map-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.offer-cards,
.split-stack,
.team-cards {
    display: grid;
    gap: 1rem;
}

.offer-card {
    background: #fff;
}

.offer-card.accent {
    background: #fff;
    color: #fff;
}

.offer-card.accent p {
    color: var(--text-soft);
}

.offer-card.accent .offer-tag {
    color: var(--primary);
}

.offer-card.accent h3 {
    color: var(--text);
}

.offer-tag,
.pill {
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    background: #f2f2f2;
    color: var(--primary);
    padding: 0.35rem 0.75rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    display: grid;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.feature-list li {
    padding-left: 1.3rem;
    position: relative;
    color: var(--text-soft);
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary);
}

.location-teaser,
.promo-callout {
    margin-top: 1.8rem;
    border-radius: var(--radius-md);
    padding: 1.2rem;
    background: #fff;
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.filter-button {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    padding: 0.65rem 0.9rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
}

.filter-button.active,
.filter-button:hover {
    background: #f5f5f5;
    color: var(--primary);
    border-color: var(--primary);
}

.catalog-card strong,
.product-card strong {
    color: var(--primary-deep);
    font-size: 1.2rem;
}

.store-section-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
    align-items: center;
}

.store-section-image {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.store-section-image img {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.store-section-copy {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow);
}

.store-feature-list {
    margin-top: 1rem;
}

.photo-card {
    overflow: hidden;
    padding: 0.75rem;
    min-height: 220px;
}

.catalog-card.is-hidden {
    display: none;
}

.category-gallery.is-hidden {
    display: none;
}

.contact-list,
.hours-list {
    display: grid;
    gap: 1rem;
    margin: 1.25rem 0;
}

.contact-list span,
.hours-list span {
    display: block;
    color: var(--text-soft);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.hours-list div,
.contact-list div {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(29, 44, 34, 0.08);
}

.hours-list strong {
    color: var(--primary-deep);
}

.hours-note {
    font-size: 0.92rem;
}

.map-frame {
    height: 320px;
    overflow: hidden;
    border-radius: var(--radius-md);
    margin-top: 1.2rem;
}

.contact-form {
    display: grid;
    gap: 1rem;
}

.contact-form label {
    display: grid;
    gap: 0.4rem;
}

.contact-form span {
    font-weight: 700;
    color: var(--text);
}

.contact-form input,
.contact-form textarea {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 8px;
    padding: 0.9rem 1rem;
    color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(31, 107, 79, 0.18);
    border-color: var(--primary);
}

.site-footer {
    padding-top: 3rem;
    background: #252525;
    color: rgba(255, 255, 255, 0.9);
}

.site-footer p,
.site-footer a,
.site-footer .brand-subtitle {
    color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.9fr;
    gap: 1.5rem;
    padding-bottom: 2rem;
}

.site-footer h3 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 1rem;
}

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

.footer-brand .brand-title,
.footer-brand .brand-subtitle {
    color: #fff;
}

.footer-text {
    max-width: 40ch;
    margin-top: 1rem;
}

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

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

.reveal-delay {
    transition-delay: 0.08s;
}

.reveal-delay-2 {
    transition-delay: 0.16s;
}

.reveal-delay-3 {
    transition-delay: 0.24s;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .menu-toggle {
        display: inline-block;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.5rem);
        left: 1rem;
        right: 1rem;
        background: rgba(255, 253, 248, 0.98);
        border: 1px solid var(--line);
        border-radius: 22px;
        padding: 1rem;
        box-shadow: var(--shadow);
        display: none;
        flex-direction: column;
        align-items: flex-start;
    }

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

    .hero-grid,
    .page-hero-grid,
    .offer-grid,
    .split-layout,
    .store-section-layout,
    .contact-layout,
    .map-form-grid,
    .story-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .category-grid,
    .promise-grid,
    .product-preview-grid,
    .stats-grid,
    .catalog-grid,
    .gallery-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .category-gallery {
        grid-template-columns: 1fr;
    }

    .gallery-strip .gallery-tile:first-child {
        grid-column: span 2;
        grid-row: span 1;
        min-height: 220px;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .section,
    .hero-section,
    .page-hero {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .category-grid,
    .promise-grid,
    .product-preview-grid,
    .stats-grid,
    .catalog-grid,
    .gallery-strip {
        grid-template-columns: 1fr;
    }

    .gallery-strip {
        grid-auto-rows: auto;
    }

    .gallery-strip .gallery-tile:first-child {
        grid-column: span 1;
        min-height: 220px;
    }

    .gallery-tile {
        aspect-ratio: 4 / 3;
    }

    .promo-callout,
    .location-teaser {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-shell {
        min-height: 78px;
    }

    .brand-badge {
        width: 44px;
        height: 44px;
        border-radius: 16px;
    }
}
