/* ========================================
   Rivertown Fine Books — Stylesheet
   Palette: Terracotta + Sand + Trust Blue
   ======================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    --color-terracotta: #B85C38;
    --color-terracotta-dark: #9A4B2C;
    --color-terracotta-light: #D4845E;
    --color-sand: #F5F0E8;
    --color-sand-dark: #E8DFD0;
    --color-sand-mid: #EDE5D8;
    --color-navy: #1E2D3D;
    --color-navy-light: #2C3E50;
    --color-ink: #1A1A1A;
    --color-ink-light: #4A4A4A;
    --color-ink-muted: #6B6B6B;
    --color-white: #FFFFFF;
    --color-off-white: #FAFAF7;

    --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

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

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

    --shadow-sm: 0 1px 3px rgba(30, 45, 61, 0.08);
    --shadow-md: 0 4px 12px rgba(30, 45, 61, 0.1);
    --shadow-lg: 0 8px 30px rgba(30, 45, 61, 0.12);
    --shadow-xl: 0 16px 50px rgba(30, 45, 61, 0.15);

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    --max-width: 1200px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-ink);
    background-color: var(--color-off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-terracotta);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-terracotta-dark);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul, ol {
    list-style: none;
}

address {
    font-style: normal;
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--color-navy);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-size: 0.875rem;
}

.skip-link:focus {
    top: var(--space-md);
}

/* ---------- Typography ---------- */
.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-navy);
    margin-bottom: var(--space-lg);
}

.section-subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-ink-light);
    max-width: 640px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.8125rem 1.75rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn--primary {
    background-color: var(--color-terracotta);
    color: var(--color-white);
    border: 2px solid var(--color-terracotta);
}

.btn--primary:hover {
    background-color: var(--color-terracotta-dark);
    border-color: var(--color-terracotta-dark);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background-color: transparent;
    color: var(--color-navy);
    border: 2px solid var(--color-navy);
}

.btn--outline:hover {
    background-color: var(--color-navy);
    color: var(--color-white);
    transform: translateY(-1px);
}

.btn--sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.btn--full {
    width: 100%;
}

/* ---------- Header / Navigation ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(250, 250, 247, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-sand-dark);
    transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--color-navy);
}

.logo--light {
    color: var(--color-white);
}

.logo-mark {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-terracotta);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-terracotta);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.logo--light .logo-mark {
    color: var(--color-white);
    border-color: var(--color-white);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-ink-light);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-terracotta);
    background-color: var(--color-sand);
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: background-color var(--transition-fast);
}

.nav-toggle:hover {
    background-color: var(--color-sand);
}

.hamburger {
    position: relative;
    width: 20px;
    height: 14px;
    display: block;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-navy);
    border-radius: 1px;
    position: absolute;
    left: 0;
    transition: all var(--transition-base);
}

.hamburger::before { top: 0; }
.hamburger span { top: 6px; }
.hamburger::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 6px;
}

.nav-toggle[aria-expanded="true"] .hamburger span {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    bottom: 6px;
}

/* ---------- HERO ---------- */
.hero {
    padding-top: 72px;
    background-color: var(--color-sand);
    overflow: hidden;
}

.hero-container {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

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

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: var(--space-lg);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-navy);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--color-ink-light);
    margin-bottom: var(--space-2xl);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--color-ink-muted);
    line-height: 1.4;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--color-sand-dark);
}

/* Hero Image Grid */
.hero-visual {
    position: relative;
}

.hero-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: var(--space-md);
}

.hero-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.hero-img--large {
    grid-row: 1 / 3;
}

.hero-img--large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3/4;
}

.hero-img--small img,
.hero-img--accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img--small img {
    aspect-ratio: 4/3;
}

.hero-img--accent img {
    aspect-ratio: 4/3;
}

.hero-badge {
    position: absolute;
    bottom: var(--space-lg);
    left: calc(-1 * var(--space-lg));
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.8125rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    box-shadow: var(--shadow-lg);
}

.hero-badge svg {
    flex-shrink: 0;
}

/* ---------- Section Spacing ---------- */
.section {
    padding: var(--space-4xl) 0;
}

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

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ---------- ABOUT ---------- */
.about {
    background-color: var(--color-white);
}

.about-container {
    padding: var(--space-3xl) var(--space-lg);
}

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

.about-image-col {
    position: relative;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 6/7;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background-color: var(--color-terracotta);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content .section-title {
    margin-bottom: var(--space-xl);
}

.about-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-ink-light);
    margin-bottom: var(--space-lg);
}

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

.value-item {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.value-icon {
    color: var(--color-terracotta);
    flex-shrink: 0;
    margin-top: 2px;
}

.value-item h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--space-xs);
}

.value-item p {
    font-size: 0.9375rem;
    color: var(--color-ink-muted);
    line-height: 1.6;
}

/* ---------- COLLECTIONS ---------- */
.collections {
    background-color: var(--color-sand);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.collection-card {
    background-color: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.collection-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.collection-img {
    overflow: hidden;
    height: 220px;
}

.collection-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.collection-info {
    padding: var(--space-xl);
}

.collection-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    background-color: var(--color-sand);
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.collection-info h3 {
    font-family: var(--font-display);
    font-size: 1.1875rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.collection-info p {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--color-ink-muted);
}

/* ---------- COMMUNITY ---------- */
.community {
    background-color: var(--color-white);
}

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

.community-content .section-title {
    margin-bottom: var(--space-xl);
}

.community-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-ink-light);
    margin-bottom: var(--space-lg);
}

.community-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

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

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

.feature-row strong {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 2px;
}

.feature-row span {
    font-size: 0.9375rem;
    color: var(--color-ink-muted);
    line-height: 1.5;
}

.community-visual {
    position: relative;
}

.community-image-stack {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.community-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: absolute;
}

.community-img--1 {
    top: 0;
    right: 0;
    width: 80%;
}

.community-img--1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 5/6;
}

.community-img--2 {
    bottom: 0;
    left: 0;
    width: 60%;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--color-white);
}

.community-img--2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.testimonials .section-eyebrow {
    color: var(--color-terracotta-light);
}

.testimonials .section-title {
    color: var(--color-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.testimonial-quote {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--color-terracotta-light);
    margin-bottom: var(--space-sm);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--space-xl);
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-white);
}

.testimonial-location {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ---------- VISIT ---------- */
.visit {
    background-color: var(--color-sand);
}

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

.visit-info .section-title {
    margin-bottom: var(--space-2xl);
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.visit-detail {
    display: flex;
    gap: var(--space-lg);
    align-items: flex-start;
}

.visit-detail-icon {
    color: var(--color-terracotta);
    flex-shrink: 0;
    margin-top: 2px;
    width: 20px;
    height: 20px;
}

.visit-detail strong {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.visit-detail span,
.visit-detail a {
    font-size: 0.9375rem;
    color: var(--color-ink-light);
    line-height: 1.6;
}

.visit-detail a:hover {
    color: var(--color-terracotta);
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.map-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 6/5;
    transition: transform var(--transition-slow);
}

.map-link:hover img {
    transform: scale(1.03);
}

.map-overlay {
    position: absolute;
    bottom: var(--space-lg);
    left: var(--space-lg);
    background-color: var(--color-navy);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    transition: background-color var(--transition-fast);
}

.map-link:hover .map-overlay {
    background-color: var(--color-terracotta);
}

/* ---------- CONTACT ---------- */
.contact {
    background-color: var(--color-white);
}

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

.contact-content .section-title {
    margin-bottom: var(--space-lg);
}

.contact-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-ink-light);
    margin-bottom: var(--space-2xl);
}

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

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-navy);
    padding: var(--space-md) var(--space-lg);
    border: 1px solid var(--color-sand-dark);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.contact-link:hover {
    border-color: var(--color-terracotta);
    color: var(--color-terracotta);
    background-color: var(--color-sand);
}

.contact-link svg {
    flex-shrink: 0;
    color: var(--color-terracotta);
}

/* Contact Form */
.contact-form-wrapper {
    background-color: var(--color-sand);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-navy);
}

.form-input {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--color-ink);
    background-color: var(--color-white);
    border: 1.5px solid var(--color-sand-dark);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: all var(--transition-fast);
    outline: none;
    width: 100%;
}

.form-input:focus {
    border-color: var(--color-terracotta);
    box-shadow: 0 0 0 3px rgba(184, 92, 56, 0.15);
}

.form-input::placeholder {
    color: var(--color-ink-muted);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%236B6B6B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background-color: #E8F5E9;
    color: #2E7D32;
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 500;
    margin-top: var(--space-md);
}

.form-success svg {
    flex-shrink: 0;
    color: #2E7D32;
}

/* ---------- FOOTER ---------- */
.site-footer {
    background-color: var(--color-navy);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-4xl) 0 var(--space-xl);
}

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

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: var(--space-lg);
    max-width: 280px;
}

.footer-heading {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-terracotta-light);
}

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

.hours-list li {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
    font-size: 0.875rem;
}

.hours-day {
    color: rgba(255, 255, 255, 0.6);
}

.hours-time {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.footer-address {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.footer-contact p {
    font-size: 0.9375rem;
    margin-bottom: var(--space-sm);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--color-terracotta-light);
}

.footer-bottom {
    padding-top: var(--space-xl);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ---------- Scroll Reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .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; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .hero-visual {
        max-width: 500px;
    }

    .about-grid,
    .community-grid,
    .visit-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .about-image-col {
        order: -1;
        max-width: 500px;
    }

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

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .footer-brand {
        grid-column: 1 / -1;
    }
}

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

    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: rgba(250, 250, 247, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--color-sand-dark);
        padding: var(--space-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }

    .nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .nav-link {
        display: block;
        width: 100%;
        padding: var(--space-md);
        border-radius: var(--radius-md);
    }

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

    .hero-grid {
        gap: var(--space-2xl);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-md);
    }

    .stat-divider {
        display: none;
    }

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

    .hero-img--large {
        grid-row: auto;
    }

    .hero-badge {
        left: var(--space-md);
    }

    .collections-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid .testimonial-card:last-child {
        max-width: none;
    }

    .community-image-stack {
        min-height: 350px;
    }

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

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .section {
        padding: var(--space-3xl) 0;
    }

    .hero-container {
        padding-top: var(--space-2xl);
        padding-bottom: var(--space-2xl);
    }

    .hero-headline {
        font-size: 1.75rem;
    }

    .contact-form-wrapper {
        padding: var(--space-lg);
    }
}
