/* ============================================
   Rackliff's Redemption and Steve's Garage
   Fresh & Airy — Emerald + Cream
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --emerald-50:  #f0fdf4;
    --emerald-100: #dcfce7;
    --emerald-200: #bbf7d0;
    --emerald-300: #86efac;
    --emerald-400: #4ade80;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --emerald-950: #022c22;

    --cream-50:  #fefdf8;
    --cream-100: #fefce8;
    --cream-200: #fef9c3;
    --cream-300: #fef08a;
    --cream-400: #fde047;
    --cream-500: #ca8a04;
    --cream-600: #a16207;

    --surface-50:  #fafaf8;
    --surface-100: #f5f5f0;
    --surface-200: #e8e8e0;
    --surface-300: #d4d4cc;
    --surface-400: #a8a89e;
    --surface-500: #787870;
    --surface-600: #52524a;
    --surface-700: #3f3f38;
    --surface-800: #2a2a24;
    --surface-900: #1a1a16;

    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.06), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.06), 0 8px 10px -6px rgba(0,0,0,0.04);

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

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

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--surface-800);
    background-color: var(--cream-50);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

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

ul { list-style: none; }

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--emerald-800);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 500;
}
.skip-link:focus { top: 16px; }

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container { padding: 0 40px; }
}

@media (min-width: 1024px) {
    .container { padding: 0 48px; }
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    color: var(--surface-900);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 12px;
}
.section-label::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 2px;
    background: var(--emerald-500);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: 16px;
    color: var(--surface-900);
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--surface-600);
    max-width: 560px;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
    cursor: pointer;
}

.btn-primary {
    background: var(--emerald-700);
    color: #fff;
    box-shadow: 0 2px 8px rgba(4, 120, 87, 0.25);
}
.btn-primary:hover {
    background: var(--emerald-800);
    box-shadow: 0 4px 12px rgba(4, 120, 87, 0.35);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(4px);
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.6);
}

.btn-white {
    background: #fff;
    color: var(--emerald-800);
    box-shadow: var(--shadow-lg);
}
.btn-white:hover {
    background: var(--cream-50);
    transform: translateY(-1px);
    box-shadow: var(--shadow-xl);
}

.btn-outline {
    background: transparent;
    color: var(--emerald-700);
    border: 1.5px solid var(--emerald-300);
}
.btn-outline:hover {
    background: var(--emerald-50);
    border-color: var(--emerald-500);
}

.btn-lg { padding: 16px 32px; font-size: 1.0625rem; border-radius: var(--radius-md); }
.btn-full { width: 100%; justify-content: center; }

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 248, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow var(--transition);
}
.site-header.scrolled {
    box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    color: var(--surface-900);
    font-size: 0.9375rem;
    line-height: 1.2;
}
.logo:hover { color: var(--emerald-700); }

.logo-icon {
    flex-shrink: 0;
    color: var(--emerald-700);
}

.logo-text { font-size: 0.9375rem; }
.logo-sub { font-family: var(--font-body); font-size: 0.75rem; font-weight: 400; color: var(--surface-500); letter-spacing: 0.02em; }

.main-nav ul {
    display: none;
    align-items: center;
    gap: 4px;
}

.main-nav a {
    display: block;
    padding: 8px 14px;
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--surface-700);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}
.main-nav a:hover {
    color: var(--emerald-700);
    background: var(--emerald-50);
}

.nav-cta {
    background: var(--emerald-700) !important;
    color: #fff !important;
    font-weight: 500 !important;
    margin-left: 8px;
}
.nav-cta:hover {
    background: var(--emerald-800) !important;
    color: #fff !important;
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.nav-toggle:hover { background: var(--surface-100); }

.hamburger {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--surface-700);
    position: relative;
    transition: all var(--transition);
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--surface-700);
    border-radius: 2px;
    transition: all var(--transition);
}
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

.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 { top: 0; transform: rotate(-45deg); }

/* Mobile nav */
@media (max-width: 767px) {
    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 250, 248, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(0,0,0,0.06);
        padding: 16px 24px 24px;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-lg);
    }
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .main-nav ul {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .main-nav a { padding: 12px 16px; font-size: 1rem; }
    .nav-cta { margin-left: 0 !important; text-align: center; margin-top: 8px; }
    .nav-toggle { display: flex; }
}

@media (min-width: 768px) {
    .nav-toggle { display: none; }
    .main-nav ul { display: flex !important; }
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--emerald-900) 0%, var(--emerald-800) 40%, #0a5c4a 70%, var(--emerald-700) 100%);
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.8) 1px, transparent 0);
    background-size: 32px 32px;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(16, 185, 129, 0.2) 0%, transparent 60%),
                radial-gradient(ellipse 50% 40% at 20% 80%, rgba(6, 78, 59, 0.4) 0%, transparent 50%);
}

.hero-geometric {
    position: absolute;
    inset: 0;
}
.hero-geometric svg { width: 100%; height: 100%; }

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--emerald-200);
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 28px;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: clamp(2.25rem, 6vw, 4rem);
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.hero-title .highlight {
    color: var(--emerald-300);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.1875rem);
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
}
.trust-item svg { color: var(--emerald-400); flex-shrink: 0; }

.trust-divider {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,0.2);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.4);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* --- Services --- */
.services {
    padding: 100px 0 80px;
    background: var(--cream-50);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-header .section-desc { margin: 0 auto; }

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

.service-card {
    background: #fff;
    border: 1px solid var(--surface-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald-500), var(--emerald-300));
    opacity: 0;
    transition: opacity var(--transition);
}
.service-card:hover {
    border-color: var(--emerald-200);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    color: var(--emerald-700);
}
.service-icon svg { width: 26px; height: 26px; }

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--surface-900);
}

.service-card > p {
    font-size: 0.9375rem;
    color: var(--surface-600);
    line-height: 1.65;
    margin-bottom: 20px;
}

.service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.service-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--surface-700);
}
.service-list li::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--emerald-400);
    border-radius: 50%;
    flex-shrink: 0;
}

@media (min-width: 640px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .services { padding: 120px 0 100px; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: var(--surface-100);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }

.about-img-secondary {
    position: absolute;
    bottom: -24px;
    right: -16px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--surface-100);
    max-width: 55%;
}
.about-img-secondary img { width: 100%; height: 100%; object-fit: cover; }

.about-accent {
    position: absolute;
    top: -16px;
    right: 24px;
    color: var(--emerald-500);
    opacity: 0.3;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.about-content .section-title { margin-bottom: 20px; }

.about-text {
    font-size: 1rem;
    color: var(--surface-600);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.value-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-sm);
    color: var(--emerald-700);
}
.value-icon svg { width: 20px; height: 20px; }

.value-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.0625rem;
    color: var(--surface-900);
    margin-bottom: 2px;
}
.value-item span {
    font-size: 0.875rem;
    color: var(--surface-500);
}

@media (min-width: 768px) {
    .about { padding: 120px 0; }
    .about-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* --- Gallery --- */
.gallery {
    padding: 100px 0 80px;
    background: var(--cream-50);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 44, 34, 0.7) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.125rem;
}

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

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .gallery-item--large { grid-row: span 2; }
}
@media (min-width: 1024px) {
    .gallery { padding: 120px 0 100px; }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 280px 280px;
    }
    .gallery-item--large { grid-column: span 1; grid-row: span 2; }
}

/* --- Testimonials --- */
.testimonials {
    padding: 100px 0 80px;
    background: linear-gradient(180deg, var(--surface-100) 0%, var(--cream-50) 100%);
}

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

.testimonial-card {
    background: #fff;
    border: 1px solid var(--surface-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
}
.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-100);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: var(--cream-500);
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--surface-700);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-50);
    border-radius: 50%;
    color: var(--emerald-600);
}
.author-avatar svg { width: 20px; height: 20px; }

.author-name {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--surface-900);
}
.author-location {
    display: block;
    font-size: 0.8125rem;
    color: var(--surface-500);
}

@media (min-width: 768px) {
    .testimonials { padding: 120px 0 100px; }
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- CTA --- */
.cta {
    padding: 100px 0;
    background: linear-gradient(145deg, var(--emerald-900) 0%, var(--emerald-800) 50%, #0a5c4a 100%);
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #fff;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    max-width: 480px;
}

.cta-actions { text-align: center; }
.cta-note {
    margin-top: 12px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
}

@media (min-width: 768px) {
    .cta { padding: 120px 0; }
    .cta-inner { grid-template-columns: 1fr auto; gap: 64px; }
}

/* --- Contact --- */
.contact {
    padding: 100px 0 80px;
    background: var(--cream-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
}

.contact-info .section-title { margin-bottom: 12px; }
.contact-desc {
    font-size: 1rem;
    color: var(--surface-600);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-sm);
    color: var(--emerald-700);
}
.contact-icon svg { width: 20px; height: 20px; }

.contact-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--surface-900);
    margin-bottom: 4px;
}
.contact-item p {
    font-size: 0.9375rem;
    color: var(--surface-600);
    line-height: 1.6;
}
.contact-item a {
    color: var(--emerald-700);
    font-weight: 500;
}
.contact-item a:hover { color: var(--emerald-500); }

/* Form */
.contact-form-wrap {
    background: #fff;
    border: 1px solid var(--surface-200);
    border-radius: var(--radius-xl);
    padding: 36px;
    box-shadow: var(--shadow-md);
}

.form-title {
    font-size: 1.375rem;
    margin-bottom: 6px;
    color: var(--surface-900);
}
.form-desc {
    font-size: 0.9375rem;
    color: var(--surface-500);
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--surface-700);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--surface-900);
    background: var(--surface-50);
    border: 1.5px solid var(--surface-200);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-500);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--surface-400); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 18px;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    border-radius: var(--radius-sm);
    color: var(--emerald-800);
    font-size: 0.9375rem;
}
.form-success svg { color: var(--emerald-600); flex-shrink: 0; }

@media (min-width: 768px) {
    .contact { padding: 120px 0 100px; }
    .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* --- Footer --- */
.site-footer {
    background: var(--surface-900);
    color: rgba(255,255,255,0.6);
    padding: 64px 0 0;
}

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

.logo-light { color: #fff; }
.logo-light .logo-sub { color: rgba(255,255,255,0.5); }
.logo-light:hover { color: var(--emerald-300); }

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 16px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--emerald-400); }

.footer-contact p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 4px;
}
.footer-contact a { color: var(--emerald-400); }
.footer-contact a:hover { color: var(--emerald-300); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
    .footer-bottom { flex-direction: row; justify-content: center; gap: 24px; }
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .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; }
}

/* Reduced motion: ensure everything is visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
    .scroll-line { animation: none; }
    .about-accent { animation: none; }
}
