/* ============================================
   RILEY OIL & BRAKES — Brand Stylesheet
   Palette: Burgundy + Blush | Serif + Sans
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --color-burgundy: #6B0F1A;
    --color-burgundy-dark: #4A0A12;
    --color-burgundy-light: #8B1A26;
    --color-blush: #F5E6D3;
    --color-blush-light: #FDF3EB;
    --color-blush-dark: #E8D0BC;
    --color-cream: #FDF8F4;
    --color-cream-dark: #F5EDE5;
    --color-text: #1A1210;
    --color-text-muted: #5C4A42;
    --color-text-light: #8A7060;
    --color-border: #E8D8CC;
    --color-white: #FFFFFF;
    --color-success: #2D6A4F;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Segoe UI', system-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: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 3px rgba(107, 15, 26, 0.06);
    --shadow-md: 0 4px 20px rgba(107, 15, 26, 0.08);
    --shadow-lg: 0 8px 40px rgba(107, 15, 26, 0.12);
    --shadow-xl: 0 16px 60px rgba(107, 15, 26, 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);
    background-color: var(--color-cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
    list-style: none;
}

label {
    display: block;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--color-text);
    font-size: 0.9rem;
    letter-spacing: 0.02em;
}

input, select, textarea {
    font-family: var(--font-sans);
    font-size: 1rem;
    width: 100%;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-text);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    padding: 0.75rem 1rem;
    outline: none;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--color-burgundy);
    box-shadow: 0 0 0 3px rgba(107, 15, 26, 0.1);
}

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

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 24 24' fill='none' stroke='%236B0F1A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ---------- Side Stripe ---------- */
.side-stripe {
    position: fixed;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--color-burgundy) 0%, var(--color-burgundy-light) 50%, var(--color-burgundy) 100%);
    z-index: 1000;
    opacity: 0.8;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 4px;
    right: 0;
    z-index: 900;
    background: rgba(253, 248, 244, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow var(--transition-base);
}

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
}

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

.logo-mark {
    color: var(--color-burgundy);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    align-items: baseline;
    gap: var(--space-xs);
}

.logo-primary {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.logo-amp {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.logo-secondary {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

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

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

.logo-light .logo-amp {
    color: var(--color-blush-dark);
}

/* ---------- Navigation ---------- */
.nav {
    display: flex;
    align-items: center;
}

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

.nav-menu a {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    color: var(--color-text-muted);
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-menu a:hover {
    color: var(--color-burgundy);
    background: rgba(107, 15, 26, 0.06);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    z-index: 950;
}

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-burgundy);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--color-burgundy-dark);
    border-color: var(--color-burgundy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline:hover {
    background: var(--color-burgundy);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-full {
    width: 100%;
}

/* ---------- Section Shared ---------- */
.section-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-burgundy);
    margin-bottom: var(--space-md);
    position: relative;
    padding-left: 2.5rem;
}

.section-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.75rem;
    height: 1.5px;
    background: var(--color-burgundy);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
}

.section-title em {
    font-style: italic;
    color: var(--color-burgundy);
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    line-height: 1.8;
}

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

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

/* ---------- Hero ---------- */
.hero {
    padding-top: 100px;
    padding-bottom: 0;
    background: var(--color-cream);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

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

/* Hero Visual */
.hero-visual {
    position: relative;
    padding-left: var(--space-2xl);
}

.hero-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
}

.hero-img-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero-img-accent {
    position: absolute;
    bottom: -40px;
    left: -60px;
    width: 240px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-white);
    z-index: 2;
}

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

.hero-badge {
    position: absolute;
    top: -20px;
    right: 20px;
    background: var(--color-white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    z-index: 3;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-burgundy);
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.3); }
}

/* Hero Content */
.hero-content {
    padding: var(--space-2xl) 0;
}

.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-burgundy);
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.hero-eyebrow::before {
    content: '';
    width: 2rem;
    height: 1.5px;
    background: var(--color-burgundy);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--color-text);
    margin-bottom: var(--space-xl);
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-2xl);
    max-width: 520px;
}

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

.hero-trust {
    display: flex;
    gap: var(--space-2xl);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.trust-item svg {
    color: var(--color-burgundy);
    flex-shrink: 0;
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

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

/* ---------- Services ---------- */
.services {
    padding: var(--space-4xl) 0;
    background: var(--color-cream);
    position: relative;
}

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

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--color-border);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-burgundy), var(--color-burgundy-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--color-blush-light);
    margin-bottom: var(--space-xl);
}

.service-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.75;
}

/* ---------- About ---------- */
.about {
    padding: var(--space-4xl) 0;
    background: var(--color-blush-light);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(107, 15, 26, 0.03);
    pointer-events: none;
}

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

.about-visual {
    position: relative;
}

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

.about-img-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 220px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-blush-light);
}

.about-img-secondary img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.about-content {
    position: relative;
    z-index: 1;
}

.about-text {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.85;
    margin-bottom: var(--space-xl);
}

.about-text:not(:last-child) {
    margin-bottom: var(--space-xl);
}

.about-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-burgundy);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

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

/* ---------- Why Us ---------- */
.why-us {
    padding: var(--space-4xl) 0;
    background: var(--color-cream);
}

.why-us-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.why-us-content {
    order: 1;
}

.why-us-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.85;
    margin-bottom: var(--space-2xl);
}

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

.diff-item {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: var(--space-lg);
}

.diff-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-blush-dark);
    line-height: 1;
    padding-top: 0.15em;
}

.diff-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

.diff-text {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.75;
}

.why-us-visual {
    order: 2;
    position: relative;
}

.why-us-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
}

.why-us-img img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.why-us-quote {
    position: absolute;
    bottom: -30px;
    left: -30px;
    right: -20px;
    background: var(--color-burgundy);
    color: var(--color-blush);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    z-index: 2;
    box-shadow: var(--shadow-xl);
}

.why-us-quote blockquote {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: var(--space-md);
    color: var(--color-blush-light);
}

.why-us-quote cite {
    font-size: 0.85rem;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-blush-dark);
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: var(--space-4xl) 0;
    background: var(--color-white);
}

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

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

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

.testimonial-quote-mark {
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 1;
    color: var(--color-burgundy);
    opacity: 0.15;
    position: absolute;
    top: var(--space-lg);
    left: var(--space-xl);
}

.testimonial-text {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    margin-top: var(--space-xl);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

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

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text);
}

.author-detail {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* ---------- Contact ---------- */
.contact {
    padding: var(--space-4xl) 0;
    background: var(--color-cream);
}

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

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

.contact-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.85;
    margin-bottom: var(--space-2xl);
}

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

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

.detail-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--color-blush-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.detail-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-light);
}

.detail-value {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.6;
}

.detail-value-link {
    font-size: 1.05rem;
    color: var(--color-burgundy);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.detail-value-link:hover {
    color: var(--color-burgundy-dark);
    text-decoration: underline;
}

/* Contact Form */
.contact-form-wrapper {
    position: relative;
}

.contact-form-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-sm);
}

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

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

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    margin-bottom: var(--space-sm);
}

.form-success {
    display: none;
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
}

.form-success.show {
    display: block;
}

.form-success svg {
    margin: 0 auto var(--space-lg);
}

.form-success h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--space-md);
}

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

.contact-form.hidden {
    display: none;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--color-burgundy-dark);
    color: var(--color-blush);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid rgba(245, 230, 211, 0.15);
}

.footer-brand {
    max-width: 300px;
}

.footer-desc {
    font-size: 0.95rem;
    color: var(--color-blush-dark);
    line-height: 1.75;
    margin-top: var(--space-lg);
}

.footer-links h4,
.footer-contact h4,
.footer-hours h4 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-blush-light);
    margin-bottom: var(--space-lg);
}

.footer-links ul,
.footer-contact ul,
.footer-hours ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer-links a,
.footer-contact a {
    font-size: 0.9rem;
    color: var(--color-blush-dark);
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--color-white);
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--color-blush-dark);
    gap: var(--space-md);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(245, 230, 211, 0.08);
}

.footer-hours li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

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

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-blush-dark);
    opacity: 0.7;
}

/* ---------- Reveal Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

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

    .hero-img-main img {
        height: 400px;
    }

    .hero-img-accent {
        left: -20px;
        bottom: -20px;
        width: 180px;
    }

    .hero-img-accent img {
        height: 130px;
    }

    .about-layout,
    .why-us-layout,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
    }

    .why-us-content {
        order: 2;
    }

    .why-us-visual {
        order: 1;
    }

    .why-us-quote {
        left: 0;
        right: 0;
        bottom: -20px;
    }

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

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

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

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

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

    .side-stripe {
        width: 3px;
    }

    .site-header {
        left: 3px;
    }

    /* Mobile nav */
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-cream);
        flex-direction: column;
        align-items: stretch;
        padding: 80px var(--space-xl) var(--space-xl);
        gap: 0;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
        z-index: 940;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu a {
        padding: var(--space-md);
        font-size: 1rem;
        border-bottom: 1px solid var(--color-border);
        border-radius: 0;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(26, 18, 16, 0.4);
        z-index: 930;
    }

    .nav-overlay.show {
        display: block;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding-top: 80px;
    }

    .hero-img-main img {
        height: 300px;
    }

    .hero-img-accent {
        width: 140px;
        bottom: -15px;
        left: -10px;
    }

    .hero-img-accent img {
        height: 100px;
    }

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

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

    .hero-trust {
        flex-direction: column;
        gap: var(--space-md);
    }

    .hero-wave svg {
        height: 50px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* About */
    .about-visual {
        max-width: 400px;
    }

    .about-img-main img {
        height: 300px;
    }

    .about-img-secondary {
        width: 160px;
        bottom: -20px;
        right: -10px;
    }

    .about-img-secondary img {
        height: 120px;
    }

    .about-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }

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

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

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

    .contact-form-card {
        padding: var(--space-xl);
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.5rem;
    }

    .hero-eyebrow {
        font-size: 0.75rem;
    }

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

    .service-card {
        padding: var(--space-xl);
    }
}
