/* ============================================
   ROSE VALLEY CAKES — Custom Styles
   Bold editorial | Midnight Blue + Mint
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --color-midnight: #0a1628;
    --color-midnight-light: #132240;
    --color-midnight-mid: #1a2d4a;
    --color-mint: #a8d5ba;
    --color-mint-light: #c8e6d0;
    --color-mint-dark: #7fb892;
    --color-cream: #f8f6f2;
    --color-warm-white: #faf9f7;
    --color-text-dark: #1a1a1a;
    --color-text-muted: #5a5a5a;
    --color-text-light: #f0ede8;
    --color-border: rgba(10, 22, 40, 0.1);
    --color-border-dark: rgba(255, 255, 255, 0.08);

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

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

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
    --shadow-md: 0 8px 30px rgba(10, 22, 40, 0.08);
    --shadow-lg: 0 20px 60px rgba(10, 22, 40, 0.12);
    --shadow-glow: 0 0 40px rgba(168, 213, 186, 0.15);

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

/* --- 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-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* --- Focus Styles --- */
:focus-visible {
    outline: 2px solid var(--color-mint);
    outline-offset: 2px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-mint);
    color: var(--color-midnight);
    box-shadow: 0 4px 15px rgba(168, 213, 186, 0.3);
}

.btn-primary:hover {
    background: var(--color-mint-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 213, 186, 0.4);
}

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

.btn-outline:hover {
    background: var(--color-midnight);
    color: var(--color-cream);
}

.btn-outline-light {
    background: transparent;
    color: var(--color-cream);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

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

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 1rem 2rem;
}

/* --- Section Eyebrow --- */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-mint-dark);
    margin-bottom: var(--space-sm);
}

/* --- Section Headline --- */
.section-headline {
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: var(--color-midnight);
    margin-bottom: var(--space-md);
}

.section-dark .section-headline,
.section-cta .section-headline {
    color: var(--color-cream);
}

/* --- Section Desc --- */
.section-desc {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    line-height: 1.7;
}

.section-dark .section-desc {
    color: rgba(240, 237, 232, 0.7);
}

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

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

/* ============================================
   HEADER
   ============================================ */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(248, 246, 242, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

#main-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-midnight);
    letter-spacing: -0.01em;
}

.logo svg {
    color: var(--color-mint-dark);
}

#main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

#main-nav a {
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--color-text-dark);
    position: relative;
    padding: 0.25rem 0;
}

#main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--color-mint-dark);
    transition: width var(--transition-base);
}

#main-nav a:hover::after,
#main-nav a.active::after {
    width: 100%;
}

#main-nav .btn-primary {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-midnight);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
    background: var(--color-cream);
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

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

.hero-content {
    max-width: 580px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-mint-dark);
    margin-bottom: var(--space-md);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--color-midnight);
    margin-bottom: var(--space-lg);
}

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

.hero-sub {
    font-size: 1.125rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
    max-width: 480px;
}

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

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

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-midnight);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

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

/* Hero Image Column */
.hero-image-col {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.hero-image-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 480px;
    width: 100%;
}

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

.hero-image-accent {
    position: absolute;
    bottom: -40px;
    left: -60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-cream);
    max-width: 280px;
    width: 100%;
}

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

.hero-accent-text {
    position: absolute;
    top: 40px;
    right: -20px;
    font-family: var(--font-serif);
    font-size: 0.875rem;
    font-style: italic;
    color: var(--color-mint-dark);
    writing-mode: vertical-rl;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Hero Wave */
.hero-wave {
    color: var(--color-midnight);
    flex-shrink: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.section-dark {
    background: var(--color-midnight);
    padding: var(--space-4xl) 0;
}

.section-light {
    background: var(--color-cream);
    padding: var(--space-4xl) 0;
}

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

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

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

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.about-floating-card {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: var(--color-mint);
    color: var(--color-midnight);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    box-shadow: var(--shadow-md);
}

.about-content-col {
    padding-left: var(--space-lg);
}

.about-content-col p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(240, 237, 232, 0.75);
    margin-bottom: var(--space-md);
}

.about-content-col p:first-of-type {
    font-size: 1.1875rem;
    color: rgba(240, 237, 232, 0.85);
}

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

.about-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1rem;
    color: var(--color-text-light);
}

.about-features svg {
    color: var(--color-mint);
    flex-shrink: 0;
}

/* ============================================
   SPECIALTIES SECTION
   ============================================ */
.specialties-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

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

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

.specialty-card:nth-child(1) { grid-row: span 1; }

.specialty-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-midnight);
    color: var(--color-mint);
    border-radius: var(--radius-sm);
    margin: var(--space-lg);
    margin-bottom: 0;
}

.specialty-card h3 {
    font-size: 1.5rem;
    color: var(--color-midnight);
    padding: 0 var(--space-lg);
    margin-bottom: var(--space-xs);
}

.specialty-card > p {
    padding: 0 var(--space-lg) var(--space-md);
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.specialty-img {
    overflow: hidden;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

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

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

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

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

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: var(--space-lg);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--color-cream);
}

.gallery-item--large {
    grid-column: span 5;
    grid-row: span 2;
}

.gallery-item--large img {
    height: 100%;
    min-height: 500px;
}

.gallery-item--wide {
    grid-column: span 7;
}

.gallery-item--wide img {
    height: 100%;
    min-height: 280px;
}

/* Default gallery items */
.gallery-item:not(.gallery-item--large):not(.gallery-item--wide) {
    height: 280px;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    position: relative;
}

/* Connecting line */
.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(12.5% + var(--space-xl) * 0.5);
    right: calc(12.5% + var(--space-xl) * 0.5);
    height: 2px;
    background: linear-gradient(to right, var(--color-mint), var(--color-mint-dark));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-mint);
    line-height: 1;
    margin-bottom: var(--space-sm);
    opacity: 0.6;
}

.process-step h3 {
    font-size: 1.375rem;
    color: var(--color-midnight);
    margin-bottom: var(--space-sm);
}

.process-step p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 260px;
    margin: 0 auto;
}

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

.testimonial-card {
    background: var(--color-midnight-light);
    border: 1px solid var(--color-border-dark);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: relative;
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    background: var(--color-midnight-mid);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.testimonial-quote {
    color: var(--color-mint);
    opacity: 0.4;
    margin-bottom: var(--space-md);
}

.testimonial-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: rgba(240, 237, 232, 0.85);
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.author-name {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-cream);
}

.author-detail {
    font-size: 0.8125rem;
    color: var(--color-mint);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ============================================
   CTA SECTION
   ============================================ */
.section-cta {
    background: linear-gradient(135deg, var(--color-midnight) 0%, var(--color-midnight-light) 100%);
    padding: var(--space-4xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 213, 186, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.section-cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(168, 213, 186, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.section-cta .section-eyebrow {
    color: var(--color-mint);
}

.section-cta .section-headline {
    color: var(--color-cream);
    margin-bottom: var(--space-md);
}

.cta-text {
    font-size: 1.125rem;
    color: rgba(240, 237, 232, 0.7);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

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

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

.contact-info p {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-midnight);
    color: var(--color-mint);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.0625rem;
    color: var(--color-midnight);
    margin-bottom: 0.125rem;
}

.contact-item span,
.contact-item a {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--color-mint-dark);
}

.map-wrapper {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-warm-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
}

.contact-form-wrapper h3 {
    font-size: 1.75rem;
    color: var(--color-midnight);
    margin-bottom: var(--space-xs);
}

.form-subtitle {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.contact-form {
    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.875rem;
    font-weight: 500;
    color: var(--color-midnight);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: var(--color-cream);
    color: var(--color-text-dark);
    transition: all var(--transition-fast);
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-mint-dark);
    box-shadow: 0 0 0 3px rgba(168, 213, 186, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
    opacity: 0.6;
}

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

/* Form success state */
.form-success {
    text-align: center;
    padding: var(--space-2xl);
}

.form-success svg {
    color: var(--color-mint-dark);
    margin-bottom: var(--space-md);
}

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-midnight);
    margin-bottom: var(--space-sm);
}

.form-success p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
    background: var(--color-midnight);
    color: var(--color-text-light);
}

.footer-inner {
    padding: var(--space-3xl) 0 var(--space-xl);
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-3xl);
}

.footer-brand .logo {
    color: var(--color-cream);
    font-size: 1.375rem;
    margin-bottom: var(--space-md);
}

.footer-brand p {
    font-size: 0.9375rem;
    color: rgba(240, 237, 232, 0.6);
    line-height: 1.7;
    max-width: 300px;
}

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

.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-mint);
    margin-bottom: var(--space-md);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-col a {
    font-size: 0.9375rem;
    color: rgba(240, 237, 232, 0.6);
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--color-cream);
}

.footer-bottom {
    border-top: 1px solid var(--color-border-dark);
    padding: var(--space-lg) 0;
}

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

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

/* ============================================
   SCROLL REVEAL ANIMATIONS
   Progressive enhancement — hidden by default,
   revealed via JS only for below-fold content.
   ============================================ */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Prefers reduced motion: skip animations */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    * {
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   RESPONSIVE — Tablet
   ============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        order: 2;
    }

    .hero-sub {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image-col {
        order: 1;
        align-items: center;
    }

    .hero-image-main {
        max-width: 400px;
    }

    .hero-image-accent {
        left: -20px;
        bottom: -20px;
    }

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

    .about-content-col {
        padding-left: 0;
        order: -1;
    }

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

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

    .gallery-item--large {
        grid-column: span 2;
    }

    .gallery-item--wide {
        grid-column: span 2;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2xl);
    }

    .process-steps::before {
        display: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

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

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

/* ============================================
   RESPONSIVE — Mobile
   ============================================ */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }

    .mobile-menu-btn {
        display: flex;
    }

    #main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-cream);
        box-shadow: var(--shadow-lg);
        padding: 100px var(--space-xl) var(--space-xl);
        transition: right var(--transition-base);
        z-index: 999;
    }

    #main-nav.open {
        right: 0;
    }

    #main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

    #main-nav a {
        font-size: 1.125rem;
    }

    /* Mobile overlay */
    #main-nav::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(10, 22, 40, 0.5);
        left: 80%;
        width: 20%;
        opacity: 0;
        transition: opacity var(--transition-base);
        pointer-events: none;
    }

    #main-nav.open::before {
        opacity: 1;
        left: 0;
        width: 100%;
    }

    .hero-headline {
        font-size: clamp(2.25rem, 8vw, 3rem);
    }

    .hero-image-accent {
        display: none;
    }

    .hero-accent-text {
        display: none;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .section-light,
    .section-dark,
    .section-cta {
        padding: var(--space-3xl) 0;
    }

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

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

    .gallery-item--large,
    .gallery-item--wide {
        grid-column: span 1;
    }

    .gallery-item--large img {
        min-height: 300px;
    }

    .gallery-item:not(.gallery-item--large):not(.gallery-item--wide) {
        height: 240px;
    }

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

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

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

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

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

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

/* ============================================
   RESPONSIVE — Small Mobile
   ============================================ */
@media (max-width: 360px) {
    .hero-headline {
        font-size: 2rem;
    }

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