/* ============================================
   LEX MCANINCH — Home & Repair
   Terracotta + Sand · Vibrant Modern
   ============================================ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --terra-900: #5C2E1E;
    --terra-800: #7A3B28;
    --terra-700: #9E4A33;
    --terra-600: #B85C3F;
    --terra-500: #C05A3A;
    --terra-400: #D4785A;
    --terra-300: #E0987A;
    --terra-200: #EAB89E;
    --terra-100: #F2D0BE;
    --terra-50:  #F9E8DF;

    --sand-900:  #3D2B1F;
    --sand-800:  #5C4032;
    --sand-700:  #7A5745;
    --sand-600:  #96705A;
    --sand-500:  #B08968;
    --sand-400:  #C9A87C;
    --sand-300:  #DCC4A0;
    --sand-200:  #E8D9BC;
    --sand-100:  #F2EAD4;
    --sand-50:   #FAF6F0;

    --white: #FFFFFF;
    --black: #1A1008;
    --gray-900: #2D2016;
    --gray-700: #4A3728;
    --gray-500: #7A6555;
    --gray-300: #B8A898;
    --gray-100: #E8E0D8;

    --font-heading: 'Outfit', sans-serif;
    --font-accent: 'Playfair Display', serif;

    --shadow-sm: 0 1px 3px rgba(26, 16, 8, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 16, 8, 0.10);
    --shadow-lg: 0 8px 32px rgba(26, 16, 8, 0.12);
    --shadow-xl: 0 16px 48px rgba(26, 16, 8, 0.14);

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-heading);
    color: var(--gray-900);
    background: var(--sand-50);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 246, 240, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--sand-200);
    transition: box-shadow 0.3s ease;
}

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

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--terra-700);
}

.nav-logo-icon {
    color: var(--terra-600);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--gray-700);
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--terra-600);
}

.nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--terra-500);
    transition: width 0.25s ease;
    border-radius: 2px;
}

.nav-links a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--terra-600);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
    background: var(--terra-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(192, 90, 58, 0.35);
}

.nav-cta::after {
    display: none !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--terra-900);
}

.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(92, 46, 30, 0.88) 0%,
        rgba(122, 59, 40, 0.78) 40%,
        rgba(160, 74, 51, 0.65) 100%
    );
}

.hero-shape {
    position: absolute;
    z-index: 1;
    opacity: 0.12;
}

.hero-shape--tl {
    top: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: var(--terra-300);
    border-radius: 50%;
}

.hero-shape--br {
    bottom: -120px;
    right: -60px;
    width: 500px;
    height: 500px;
    background: var(--sand-400);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    width: 100%;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(250, 246, 240, 0.15);
    border: 1px solid rgba(250, 246, 240, 0.25);
    color: var(--sand-100);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 24px;
    max-width: 800px;
}

.hero-title em {
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--terra-200);
}

.hero-sub {
    font-size: clamp(1.0625rem, 2vw, 1.3125rem);
    color: var(--sand-200);
    max-width: 560px;
    line-height: 1.65;
    margin-bottom: 40px;
}

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

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--sand-100);
    font-size: 0.9375rem;
    font-weight: 500;
}

.hero-badge svg {
    color: var(--terra-300);
    flex-shrink: 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 14px 28px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

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

.btn--primary:hover {
    background: var(--terra-600);
    border-color: var(--terra-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 90, 58, 0.4);
}

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

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

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

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

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

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

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

/* ============================================
   SECTION COMMON
   ============================================ */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--terra-600);
    margin-bottom: 16px;
}

.section-tag::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--terra-500);
    border-radius: 2px;
}

.section-tag--light {
    color: var(--sand-300);
}

.section-tag--light::before {
    background: var(--terra-300);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.15;
    margin-bottom: 20px;
}

.section-title--light {
    color: var(--white);
}

.section-title .accent {
    color: var(--terra-600);
}

.section-title .accent-light {
    color: var(--terra-300);
}

.section-sub {
    font-size: 1.0625rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.section-sub--light {
    color: var(--sand-300);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 100px 0;
    background: var(--sand-50);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--terra-500), var(--terra-300), var(--sand-400), var(--terra-500));
}

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

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--sand-200);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.service-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--terra-500), var(--terra-300));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-card:nth-child(2) .service-card-accent {
    background: linear-gradient(90deg, var(--sand-500), var(--sand-300));
}

.service-card:nth-child(3) .service-card-accent {
    background: linear-gradient(90deg, var(--terra-700), var(--terra-400));
}

.service-card:nth-child(4) .service-card-accent {
    background: linear-gradient(90deg, var(--sand-600), var(--sand-400));
}

.service-card:nth-child(5) .service-card-accent {
    background: linear-gradient(90deg, var(--terra-400), var(--terra-200));
}

.service-card:nth-child(6) .service-card-accent {
    background: linear-gradient(90deg, var(--sand-400), var(--terra-300));
}

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

.service-card:nth-child(even) .service-icon {
    background: var(--sand-100);
    color: var(--sand-600);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.65;
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: var(--terra-50);
    border-radius: 50%;
    opacity: 0.6;
}

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

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

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

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

.about-shape {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background: var(--terra-500);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.2;
}

.about-stat-card {
    position: absolute;
    bottom: 24px;
    left: -24px;
    background: var(--terra-600);
    color: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
}

.about-stat-label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--terra-100);
    letter-spacing: 0.02em;
}

.about-content {
    position: relative;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--gray-500);
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--gray-700);
    font-size: 0.9375rem;
}

.about-feature svg {
    color: var(--terra-500);
    flex-shrink: 0;
}

/* ============================================
   WHY US
   ============================================ */
.why-us {
    padding: 100px 0;
    background: var(--terra-800);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: var(--terra-700);
    border-radius: 50%;
    opacity: 0.3;
}

.why-us::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: var(--sand-800);
    border-radius: 50%;
    opacity: 0.15;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.why-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, background 0.3s ease;
}

.why-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.12);
}

.why-card-num {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    margin-bottom: 16px;
}

.why-card h3 {
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.why-card p {
    font-size: 0.9375rem;
    color: var(--sand-300);
    line-height: 1.65;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    padding: 100px 0;
    background: var(--sand-50);
    position: relative;
}

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

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--sand-200);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.testimonial-quote-mark {
    font-family: var(--font-accent);
    font-size: 4rem;
    line-height: 1;
    color: var(--terra-200);
    margin-bottom: 8px;
}

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

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

.testimonial-avatar {
    width: 44px;
    height: 44px;
    background: var(--terra-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--terra-600);
}

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

.testimonial-location {
    display: block;
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-top: 2px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    padding: 80px 0;
    background: var(--terra-600);
    position: relative;
    overflow: hidden;
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
}

.cta-shape--left {
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: var(--terra-500);
    opacity: 0.4;
}

.cta-shape--right {
    bottom: -80px;
    right: -60px;
    width: 250px;
    height: 250px;
    background: var(--sand-400);
    opacity: 0.2;
}

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

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.0625rem;
    color: var(--terra-100);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 100px 0;
    background: var(--white);
}

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

.contact-text {
    font-size: 1.0625rem;
    color: var(--gray-500);
    line-height: 1.75;
    margin-bottom: 36px;
}

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

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

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

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

.contact-detail-value {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-900);
}

.contact-link {
    color: var(--terra-600);
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--terra-700);
    text-decoration: underline;
}

/* FORM */
.contact-form-wrap {
    background: var(--sand-50);
    border-radius: var(--radius-xl);
    padding: 40px;
    border: 1px solid var(--sand-200);
}

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

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--sand-300);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    color: var(--gray-900);
    background: var(--white);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--terra-500);
    box-shadow: 0 0 0 3px rgba(192, 90, 58, 0.12);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 48px 24px;
}

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

.form-success-icon {
    width: 72px;
    height: 72px;
    background: var(--terra-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--terra-600);
}

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

.form-success p {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.65;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gray-900);
    color: var(--sand-300);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo svg {
    color: var(--terra-400);
}

.footer-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--sand-600);
}

.footer-links h4 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: var(--sand-600);
    transition: color 0.2s ease;
}

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

.footer-contact h4 {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: var(--sand-600);
    margin-bottom: 12px;
}

.footer-link {
    color: var(--terra-400);
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--terra-300);
    text-decoration: underline;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--sand-700);
}

/* ============================================
   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);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 246, 240, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid var(--sand-200);
        transform: translateY(-120%);
        opacity: 0;
        transition: transform 0.35s ease, opacity 0.35s ease;
        pointer-events: none;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: clamp(2.25rem, 10vw, 3.5rem);
    }

    .hero-badges {
        flex-direction: column;
        gap: 12px;
    }

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

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

    .about-stat-card {
        left: 16px;
        bottom: 16px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

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

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

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

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

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

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

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

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

    .contact-form-wrap {
        padding: 24px;
    }
}
