/* ============================================
   Brainer & Brown Plumbing — Stylesheet
   Classic & Elegant | Burgundy + Blush
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --color-burgundy: #722F37;
    --color-burgundy-dark: #5A252C;
    --color-burgundy-light: #8B3A42;
    --color-blush: #F5E6E0;
    --color-blush-light: #FBF6F4;
    --color-blush-dark: #E8D0C8;
    --color-cream: #FDF8F6;
    --color-charcoal: #2C2426;
    --color-text: #3D2B2F;
    --color-text-light: #6B5458;
    --color-text-muted: #9A8588;
    --color-white: #FFFFFF;
    --color-border: #E8D8D4;
    
    --font-serif: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
    --font-sans: 'Lato', 'Helvetica Neue', Arial, 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;
    
    --container-max: 1200px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    --shadow-sm: 0 1px 3px rgba(114, 47, 55, 0.06);
    --shadow-md: 0 4px 16px rgba(114, 47, 55, 0.08);
    --shadow-lg: 0 8px 32px rgba(114, 47, 55, 0.12);
    --shadow-xl: 0 16px 48px rgba(114, 47, 55, 0.14);
    
    --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);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

address {
    font-style: normal;
}

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

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-charcoal);
}

.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-burgundy);
    margin-bottom: var(--space-sm);
    position: relative;
    padding-left: 2rem;
}

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

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: var(--space-md);
    color: var(--color-charcoal);
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-burgundy);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--color-white);
    color: var(--color-burgundy);
    border-color: var(--color-white);
}

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

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

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

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

/* ---------- Header / Navigation ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 246, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-base);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-charcoal);
}

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

.logo-amp {
    font-style: italic;
    color: var(--color-burgundy);
    font-weight: 400;
}

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

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

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

.nav-menu a {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--color-text);
    text-decoration: none;
    position: relative;
    padding: 0.25rem 0;
    transition: color var(--transition-fast);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-burgundy);
    transition: width var(--transition-base);
}

.nav-menu a:hover {
    color: var(--color-burgundy);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-cta a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-burgundy);
    color: var(--color-white) !important;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.875rem;
    transition: all var(--transition-base);
}

.nav-cta a::after {
    display: none;
}

.nav-cta a:hover {
    background: var(--color-burgundy-dark);
    color: var(--color-white) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1001;
}

.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 2px;
    background: var(--color-charcoal);
    transition: all var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--color-charcoal);
    transition: all var(--transition-base);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

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

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

/* Nav Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(44, 36, 38, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-burgundy);
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(114, 47, 55, 0.92) 0%,
        rgba(90, 37, 44, 0.88) 50%,
        rgba(70, 28, 34, 0.90) 100%
    );
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: 
        radial-gradient(circle at 25% 25%, white 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, white 1px, transparent 1px);
    background-size: 60px 60px;
}

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

.hero-divider {
    width: 60px;
    height: 2px;
    background: var(--color-blush);
    margin: 0 auto var(--space-lg);
    opacity: 0.7;
}

.hero-greeting {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-blush);
    margin-bottom: var(--space-md);
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 500;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: var(--space-lg);
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
}

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

.hero-sub {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    opacity: 0;
    animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
    opacity: 0;
    animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0;
    animation: fadeUp 0.8s ease 0.8s forwards;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255, 255, 255, 0.5);
    animation: bounce 2s infinite;
    transition: color var(--transition-fast);
}

.scroll-indicator:hover {
    color: rgba(255, 255, 255, 0.9);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-8px);
    }
    60% {
        transform: translateX(-50%) translateY(-4px);
    }
}

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

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

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

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

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    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: var(--color-burgundy);
    transform: scaleX(0);
    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 {
    margin-bottom: var(--space-md);
    color: var(--color-burgundy);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--color-charcoal);
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

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

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

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

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

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

.about-image-accent {
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--color-white);
}

.about-image-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: var(--color-burgundy);
    color: var(--color-white);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 1;
}

.badge-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.badge-text {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.8;
}

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

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

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.value-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
}

.value-item svg {
    flex-shrink: 0;
}

/* ---------- Service Areas Section ---------- */
.areas {
    padding: var(--space-4xl) 0;
    background: var(--color-cream);
}

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

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

.areas-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm) var(--space-xl);
}

.areas-list li {
    font-size: 1rem;
    color: var(--color-text);
    padding-left: 1.5rem;
    position: relative;
}

.areas-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background: var(--color-burgundy);
    border-radius: 50%;
    opacity: 0.4;
}

.areas-map {
    display: flex;
    justify-content: center;
}

.map-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4/3;
    background: var(--color-blush);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    border: 2px dashed var(--color-blush-dark);
    color: var(--color-burgundy);
    text-align: center;
    padding: var(--space-xl);
}

.map-placeholder svg {
    opacity: 0.6;
}

.map-placeholder span {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    padding: var(--space-4xl) 0;
    background: var(--color-burgundy);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: 
        radial-gradient(circle at 20% 50%, white 1px, transparent 1px),
        radial-gradient(circle at 80% 50%, white 1px, transparent 1px);
    background-size: 40px 40px;
}

.cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.cta-text {
    flex: 1;
    min-width: 280px;
}

.cta-title {
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.cta-desc {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
}

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

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

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

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

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

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

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

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

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

.contact-text a {
    color: var(--color-burgundy);
}

.contact-text a:hover {
    color: var(--color-burgundy-dark);
    text-decoration: underline;
}

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

.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.5rem;
}

.form-group label {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 0.02em;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-burgundy);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(114, 47, 55, 0.1);
}

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

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

.form-group 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='%23722F37' stroke-width='2' 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;
}

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-2xl);
    gap: var(--space-md);
}

.form-success.active {
    display: flex;
}

.form-success svg {
    color: var(--color-burgundy);
}

.form-success h3 {
    font-size: 1.5rem;
    color: var(--color-charcoal);
}

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

/* ---------- Footer ---------- */
.footer {
    background: var(--color-charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--space-3xl) 0 var(--space-lg);
}

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

.footer-tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: var(--space-md);
    max-width: 280px;
    opacity: 0.8;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

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

.footer-contact address {
    font-size: 0.9375rem;
    line-height: 1.8;
}

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    font-size: 0.875rem;
    opacity: 0.6;
}

/* ---------- Scroll Animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    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; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid,
    .areas-inner,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-cream);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px var(--space-xl) var(--space-xl);
        gap: var(--space-md);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
        z-index: 1000;
    }
    
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu a {
        font-size: 1.125rem;
    }
    
    .nav-cta {
        margin-top: var(--space-md);
        width: 100%;
    }
    
    .nav-cta a {
        width: 100%;
        justify-content: center;
    }
    
    .hero-headline {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-accent {
        right: 0;
        bottom: -1rem;
    }
    
    .about-values {
        grid-template-columns: 1fr;
    }
    
    .areas-list {
        grid-template-columns: 1fr;
    }
    
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: var(--space-3xl) var(--space-sm);
    }
    
    .services {
        padding: var(--space-3xl) 0;
    }
    
    .service-card {
        padding: var(--space-lg);
    }
    
    .contact-form-wrapper {
        padding: var(--space-lg);
    }
}
