/* ═══════════════════════════════════════════
   DELI MART — Classic & Elegant Café Site
   Palette: Emerald Green + Cream
   Fonts: Cormorant Garamond + Lato
   ═══════════════════════════════════════════ */

/* ─── RESET & BASE ─── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --emerald-950: #042f23;
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --cream-50: #fdf8f0;
    --cream-100: #f9f0e0;
    --cream-200: #f0e4cc;
    --cream-300: #e8d5b4;
    --forest: #1a3c34;
    --gold: #b8860b;
    --gold-light: #d4a843;
    --text-dark: #1a1a1a;
    --text-medium: #3d3d3d;
    --text-light: #6b6b6b;
    --white: #ffffff;

    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --shadow-sm: 0 1px 3px rgba(6, 78, 59, 0.08);
    --shadow-md: 0 4px 16px rgba(6, 78, 59, 0.1);
    --shadow-lg: 0 8px 32px rgba(6, 78, 59, 0.12);
    --shadow-xl: 0 16px 48px rgba(6, 78, 59, 0.15);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--cream-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

address {
    font-style: normal;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-sm);
    background: var(--emerald-900);
    color: var(--cream-50);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-size: 0.875rem;
}
.skip-link:focus {
    top: var(--space-sm);
}

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

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--light {
    background: var(--white);
    color: var(--emerald-900);
    border-color: var(--white);
}
.btn--light:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn--light-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}
.btn--light-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn--dark {
    background: var(--emerald-900);
    color: var(--cream-50);
    border-color: var(--emerald-900);
}
.btn--dark:hover {
    background: var(--emerald-800);
    border-color: var(--emerald-800);
}

.btn--nav {
    background: var(--emerald-900);
    color: var(--cream-50);
    border-color: var(--emerald-900);
    padding: 0.625rem 1.5rem;
    font-size: 0.8125rem;
}
.btn--nav:hover {
    background: var(--emerald-800);
    border-color: var(--emerald-800);
}

/* ─── TYPOGRAPHY ─── */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--emerald-900);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-medium);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: var(--space-md);
}

/* ─── SECTION LAYOUT ─── */
.section {
    padding: var(--space-3xl) 0;
}

.section-header.centered {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

/* ═══════════════════════════════════════════
   HEADER / NAVIGATION
   ═══════════════════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(253, 248, 240, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 78, 59, 0.08);
    transition: box-shadow var(--transition);
}
.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--emerald-900);
    border: 1.5px solid var(--emerald-900);
    padding: 0.25rem 0.5rem;
    letter-spacing: 0.05em;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--emerald-900);
    letter-spacing: 0.02em;
}

.primary-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.primary-nav a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--text-medium);
    transition: color var(--transition);
    position: relative;
}
.primary-nav a:not(.btn--nav)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--emerald-700);
    transition: width var(--transition);
}
.primary-nav a:not(.btn--nav):hover {
    color: var(--emerald-800);
}
.primary-nav a:not(.btn--nav):hover::after {
    width: 100%;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    position: relative;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--emerald-900);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all var(--transition);
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--emerald-900);
    left: 0;
    transition: all var(--transition);
}
.hamburger::before { top: -7px; }
.hamburger::after { bottom: -7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-950);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(4, 47, 35, 0.88) 0%,
        rgba(6, 78, 59, 0.78) 50%,
        rgba(4, 47, 35, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-3xl) var(--space-lg);
    max-width: 800px;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--cream-300);
    margin-bottom: var(--space-md);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5.5vw, 4.25rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--cream-50);
    margin-bottom: var(--space-md);
}

.hero-headline em {
    font-style: italic;
    color: var(--gold-light);
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(253, 248, 240, 0.8);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(253, 248, 240, 0.5);
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: scrollBounce 2s ease-in-out infinite;
}
.hero-scroll svg {
    opacity: 0.5;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */
.about {
    background: var(--cream-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-images {
    position: relative;
    min-height: 600px;
}

.about-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 72%;
    height: 80%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 58%;
    height: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream-50);
}
.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-accent {
    position: absolute;
    top: -20px;
    right: 30%;
    width: 80px;
    height: 80px;
    background: var(--emerald-900);
    border-radius: var(--radius-sm);
    opacity: 0.1;
    z-index: -1;
}

.about-text {
    padding: var(--space-md) 0;
}

.about-features {
    margin-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.feature {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: var(--emerald-700);
    margin-top: 2px;
}

.feature h4 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--emerald-900);
    margin-bottom: 0.25rem;
}

.feature p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ═══════════════════════════════════════════
   MENU
   ═══════════════════════════════════════════ */
.menu {
    background: var(--emerald-900);
    color: var(--cream-50);
}

.menu .section-eyebrow {
    color: var(--gold-light);
}

.menu .section-title {
    color: var(--cream-50);
}

.menu .section-subtitle {
    color: rgba(253, 248, 240, 0.7);
}

.menu-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
}

.category-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(253, 248, 240, 0.15);
}

.category-icon {
    width: 24px;
    height: 24px;
    color: var(--gold-light);
}

.category-header h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cream-50);
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.menu-list li {
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(253, 248, 240, 0.07);
}
.menu-list li:last-child {
    border-bottom: none;
}

.menu-item-name {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--cream-50);
    margin-bottom: 0.25rem;
}

.menu-item-desc {
    font-size: 0.9375rem;
    color: rgba(253, 248, 240, 0.6);
    line-height: 1.5;
}

.menu-footer {
    text-align: center;
    margin-top: var(--space-2xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(253, 248, 240, 0.1);
}
.menu-footer p {
    font-size: 0.875rem;
    color: rgba(253, 248, 240, 0.5);
    font-style: italic;
}

/* ═══════════════════════════════════════════
   GALLERY
   ═══════════════════════════════════════════ */
.gallery {
    background: var(--cream-100);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: var(--space-md);
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-item--large {
    grid-column: 1 / 8;
    grid-row: 1 / 2;
    aspect-ratio: 4/3;
}
.gallery-item:nth-child(2) {
    grid-column: 8 / 13;
    grid-row: 1 / 2;
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: var(--space-md);
}
.gallery-item:nth-child(2) img {
    height: 100%;
}
.gallery-item:nth-child(3) {
    grid-column: 1 / 5;
    grid-row: 2 / 3;
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: var(--space-md);
}
.gallery-item:nth-child(3) img {
    height: 100%;
}
.gallery-item:nth-child(4) {
    grid-column: 5 / 13;
    grid-row: 2 / 3;
    aspect-ratio: 16/7;
}

.gallery-item--wide {
    grid-column: 5 / 13;
    grid-row: 2 / 3;
    aspect-ratio: 16/7;
}

/* ═══════════════════════════════════════════
   VISIT
   ═══════════════════════════════════════════ */
.visit {
    background: var(--cream-50);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.visit-info {
    padding: var(--space-lg) 0;
}

.visit-address {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    margin: var(--space-lg) 0;
    padding: var(--space-md);
    background: var(--cream-100);
    border-radius: var(--radius-md);
}

.address-icon {
    width: 24px;
    height: 24px;
    color: var(--emerald-700);
    flex-shrink: 0;
    margin-top: 2px;
}

.visit-address strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--emerald-900);
    margin-bottom: 0.25rem;
}

.visit-address div {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.visit-phone {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.visit-phone svg {
    width: 20px;
    height: 20px;
    color: var(--emerald-700);
}

.visit-phone a {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--emerald-900);
    transition: color var(--transition);
}
.visit-phone a:hover {
    color: var(--emerald-600);
}

.hours {
    margin-top: var(--space-lg);
}
.hours h4 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--emerald-900);
    margin-bottom: var(--space-sm);
}
.hours ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.hours li {
    display: flex;
    justify-content: space-between;
    gap: var(--space-lg);
    font-size: 0.9375rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--cream-200);
}
.hours li span:first-child {
    color: var(--text-medium);
}
.hours li span:last-child {
    color: var(--emerald-800);
    font-weight: 500;
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}
.visit-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
.contact {
    background: var(--cream-100);
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-text {
    padding: var(--space-2xl) var(--space-2xl) var(--space-2xl) var(--space-xl);
}

.contact-text .section-title {
    margin-bottom: var(--space-sm);
}

.contact-text p {
    font-size: 1.0625rem;
    color: var(--text-medium);
    line-height: 1.7;
}

.contact-form {
    padding: var(--space-2xl) var(--space-xl) var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-medium);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--cream-50);
    border: 1.5px solid var(--cream-300);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
    width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-700);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: var(--space-sm) var(--space-md);
    background: rgba(5, 150, 105, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.2);
    border-radius: var(--radius-sm);
    color: var(--emerald-800);
    font-size: 0.9375rem;
}
.form-success svg {
    width: 20px;
    height: 20px;
    color: var(--emerald-700);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
    background: var(--emerald-950);
    color: rgba(253, 248, 240, 0.7);
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(253, 248, 240, 0.1);
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}
.footer-brand .logo-mark {
    border-color: rgba(253, 248, 240, 0.5);
    color: var(--cream-50);
}
.footer-brand .logo-text {
    color: var(--cream-50);
}
.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--cream-50);
    margin-bottom: var(--space-md);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.footer-links a {
    font-size: 0.9375rem;
    color: rgba(253, 248, 240, 0.6);
    transition: color var(--transition);
}
.footer-links a:hover {
    color: var(--gold-light);
}

.footer-contact address {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: var(--space-sm);
}
.footer-contact a {
    font-size: 0.9375rem;
    color: var(--gold-light);
    transition: color var(--transition);
}
.footer-contact a:hover {
    color: var(--cream-50);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding-top: var(--space-lg);
    font-size: 0.8125rem;
    color: rgba(253, 248, 240, 0.4);
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL (progressive enhancement)
   ═══════════════════════════════════════════ */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .about-grid {
        gap: var(--space-xl);
    }
    .about-images {
        min-height: 450px;
    }
    .menu-categories {
        gap: var(--space-xl);
    }
    .gallery-item--large {
        grid-column: 1 / 9;
    }
    .gallery-item:nth-child(2) {
        grid-column: 9 / 13;
    }
    .gallery-item:nth-child(3) {
        grid-column: 1 / 6;
    }
    .gallery-item--wide {
        grid-column: 6 / 13;
    }
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    .about-images {
        min-height: 400px;
        order: -1;
    }
    .menu-categories {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    .visit-grid {
        grid-template-columns: 1fr;
    }
    .visit-map {
        aspect-ratio: 16/9;
    }
    .contact-card {
        grid-template-columns: 1fr;
    }
    .contact-text {
        padding: var(--space-xl);
    }
    .contact-form {
        padding: var(--space-md) var(--space-xl) var(--space-xl);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    :root {
        --space-3xl: 5rem;
    }

    .nav-toggle {
        display: block;
        z-index: 110;
    }

    .primary-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: var(--cream-50);
        padding: 100px var(--space-lg) var(--space-lg);
        transform: translateX(100%);
        transition: transform var(--transition);
        box-shadow: var(--shadow-xl);
        z-index: 100;
    }
    .primary-nav.open {
        transform: translateX(0);
    }
    .primary-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }
    .primary-nav a {
        font-size: 1.0625rem;
    }
    .btn--nav {
        margin-top: var(--space-sm);
    }

    .hero-headline {
        font-size: clamp(1.75rem, 7vw, 2.75rem);
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gallery-item--large {
        grid-column: 1 / -1;
        aspect-ratio: 16/9;
    }
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3) {
        grid-column: auto;
        grid-row: auto;
        display: block;
    }
    .gallery-item:nth-child(2) img,
    .gallery-item:nth-child(3) img {
        height: 200px;
    }
    .gallery-item--wide {
        grid-column: 1 / -1;
        aspect-ratio: 16/9;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    .footer-brand {
        grid-column: auto;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    .section {
        padding: var(--space-2xl) 0;
    }
    .about-images {
        min-height: 300px;
    }
    .about-img-main {
        width: 85%;
        height: 75%;
    }
    .about-img-secondary {
        width: 65%;
        height: 55%;
    }
    .contact-text {
        padding: var(--space-lg);
    }
    .contact-form {
        padding: var(--space-md) var(--space-lg) var(--space-lg);
    }
}
