/* ============================================
   A & E Ductioners — Brand Styles
   Palette: Terracotta + Sand | Fresh & Airy
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    /* Terracotta */
    --terracotta-50: #FDF0E8;
    --terracotta-100: #FADDD0;
    --terracotta-200: #F5C4B0;
    --terracotta-300: #EDAA8C;
    --terracotta-400: #E08A64;
    --terracotta-500: #C4703F;
    --terracotta-600: #A85A2E;
    --terracotta-700: #8B4825;
    --terracotta-800: #733C21;
    --terracotta-900: #5E311C;
    
    /* Sand */
    --sand-50: #FDFBF7;
    --sand-100: #FAF6EE;
    --sand-200: #F5EDE0;
    --sand-300: #EDDFC8;
    --sand-400: #E0CBB0;
    --sand-500: #C4AA88;
    --sand-600: #A88B6A;
    --sand-700: #8B7054;
    --sand-800: #735B45;
    --sand-900: #5E4A38;
    
    /* Neutrals */
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    
    /* Typography */
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 100px;
    
    /* Transitions */
    --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-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-800);
    background-color: var(--sand-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

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

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

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 251, 247, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
    background: rgba(253, 251, 247, 0.97);
    border-bottom-color: var(--sand-200);
    box-shadow: 0 1px 20px rgba(196, 112, 63, 0.06);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--gray-900);
    font-family: var(--font-display);
    font-size: 1.15rem;
}

.nav-logo-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--gray-900);
}

.logo-accent {
    color: var(--terracotta-500);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-link {
    display: block;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: 8px;
    transition: color var(--transition-fast), background var(--transition-fast);
}

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

.nav-link--cta {
    background: var(--terracotta-500);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 50px;
    margin-left: 8px;
}

.nav-link--cta:hover {
    background: var(--terracotta-600);
    color: var(--white) !important;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    align-items: center;
    justify-content: center;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    position: relative;
    transition: background var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    transition: transform var(--transition-base);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg) translate(7px, 7px);
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(94, 49, 28, 0.82) 0%,
        rgba(139, 72, 37, 0.72) 40%,
        rgba(196, 112, 63, 0.55) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 0 80px;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(253, 240, 232, 0.15);
    border: 1px solid rgba(245, 196, 176, 0.3);
    color: var(--sand-100);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 18px;
    border-radius: 50px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-accent {
    color: var(--terracotta-200);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(253, 251, 247, 0.85);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--white);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(253, 251, 247, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(253, 251, 247, 0.25);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(253, 251, 247, 0.6);
    animation: scrollBounce 2s ease-in-out infinite;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--terracotta-600);
    border-color: var(--terracotta-600);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 112, 63, 0.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--terracotta-700);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--sand-100);
    color: var(--terracotta-700);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(253, 251, 247, 0.5);
}

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

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

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

/* --- Section shared --- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--terracotta-500);
    margin-bottom: 12px;
}

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

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* --- Services --- */
.services {
    padding: var(--section-padding) 0;
    background: var(--sand-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    padding: 36px 28px;
    border: 1px solid var(--sand-200);
    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(--terracotta-400), var(--terracotta-600));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(196, 112, 63, 0.1);
    border-color: var(--terracotta-200);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--terracotta-50);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.service-description {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--gray-700);
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--terracotta-400);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- Why Us --- */
.why-us {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.why-us-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.why-us-images {
    position: relative;
}

.why-us-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(196, 112, 63, 0.12);
}

.why-us-img--main {
    width: 100%;
    aspect-ratio: 6/7;
}

.why-us-img--secondary {
    position: absolute;
    bottom: -32px;
    right: -24px;
    width: 55%;
    aspect-ratio: 4/3;
    border: 5px solid var(--white);
}

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

.why-us-badge {
    position: absolute;
    top: -16px;
    left: -16px;
    background: var(--terracotta-500);
    color: var(--white);
    padding: 12px 18px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 8px 24px rgba(196, 112, 63, 0.3);
}

.why-us-content {
    padding: 16px 0;
}

.why-us-intro {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 40px;
}

.why-us-features {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.why-us-feature {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.feature-icon-circle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--terracotta-50);
    border: 1px solid var(--terracotta-200);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-title {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.feature-text {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* --- Process --- */
.process {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--sand-50) 0%, var(--sand-100) 100%);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.process-step {
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--terracotta-200);
    line-height: 1;
    margin-bottom: 16px;
}

.step-icon {
    width: 64px;
    height: 64px;
    background: var(--white);
    border: 2px solid var(--terracotta-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--terracotta-500);
}

.step-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--gray-900);
}

.step-text {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.step-connector {
    display: none;
}

/* --- Testimonials --- */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--sand-50);
    border-radius: 20px;
    padding: 36px 28px;
    border: 1px solid var(--sand-200);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(196, 112, 63, 0.08);
    border-color: var(--terracotta-200);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

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

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--terracotta-500);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray-900);
}

.author-location {
    display: block;
    font-size: 0.82rem;
    color: var(--gray-500);
}

/* --- Service Areas --- */
.service-areas {
    padding: var(--section-padding) 0;
    background: var(--sand-100);
}

.areas-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.areas-intro {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 36px;
}

.areas-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.area-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-800);
}

.areas-note {
    font-size: 0.92rem;
    color: var(--gray-600);
}

.areas-note a {
    color: var(--terracotta-600);
    font-weight: 600;
}

.areas-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(196, 112, 63, 0.1);
    aspect-ratio: 4/3;
    min-height: 400px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* --- CTA Banner --- */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--terracotta-700) 0%, var(--terracotta-500) 50%, var(--terracotta-400) 100%);
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.1rem;
    color: rgba(253, 251, 247, 0.85);
    margin-bottom: 36px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

/* --- Contact --- */
.contact {
    padding: var(--section-padding) 0;
    background: var(--sand-50);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-intro {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-detail {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--terracotta-50);
    border: 1px solid var(--terracotta-200);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-800);
    line-height: 1.6;
}

.contact-link {
    color: var(--terracotta-600);
    font-weight: 500;
}

.contact-link:hover {
    color: var(--terracotta-700);
}

/* Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--sand-200);
    box-shadow: 0 16px 48px rgba(196, 112, 63, 0.06);
}

.form-title {
    font-size: 1.4rem;
    margin-bottom: 28px;
    color: var(--gray-900);
}

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

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--sand-300);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--sand-50);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terracotta-400);
    box-shadow: 0 0 0 3px rgba(196, 112, 63, 0.1);
    background: var(--white);
}

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

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

/* Form success */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    margin: 0 auto 20px;
}

.form-success h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.form-success p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.7;
}

/* --- Footer --- */
.footer {
    background: var(--gray-900);
    padding: 64px 0 0;
    color: rgba(253, 251, 247, 0.7);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 16px;
}

.footer-logo-icon circle {
    fill: var(--terracotta-500);
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(253, 251, 247, 0.6);
}

.footer-contact-mini {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: rgba(253, 251, 247, 0.6);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-contact-link:hover {
    color: var(--terracotta-300);
}

.footer-heading {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(253, 251, 247, 0.6);
    transition: color var(--transition-fast);
}

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

.footer-links li:not(:has(a)) {
    font-size: 0.9rem;
    color: rgba(253, 251, 247, 0.6);
}

.footer-bottom {
    border-top: 1px solid rgba(253, 251, 247, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(253, 251, 247, 0.45);
}

.footer-bottom a {
    color: rgba(253, 251, 247, 0.5);
}

.footer-bottom a:hover {
    color: var(--terracotta-300);
}

/* --- Back to top --- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--terracotta-500);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(196, 112, 63, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--terracotta-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 112, 63, 0.4);
}

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

/* Default visible state for no-JS */
.reveal {
    opacity: 1;
    transform: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .step-connector {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 64px;
    }
    
    /* Mobile nav */
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        background: rgba(253, 251, 247, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid var(--sand-200);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }
    
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        width: 100%;
        padding: 12px 16px;
    }
    
    .nav-link--cta {
        margin-left: 0;
        margin-top: 8px;
        text-align: center;
    }
    
    /* Hero */
    .hero-content {
        padding: 100px 0 60px;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .hero-stat-divider {
        display: none;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Why Us */
    .why-us-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .why-us-img--secondary {
        right: 0;
        bottom: -24px;
    }
    
    /* Process */
    .process-steps {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    /* Areas */
    .areas-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .areas-list {
        grid-template-columns: 1fr;
    }
    
    /* Contact */
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    /* CTA */
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .service-card {
        padding: 28px 22px;
    }
}
