:root {
    --primary: #3c4220;
    --primary-light: #4d5530;
    --primary-dark: #2b3016;
    --cream: #fffff0;
    --cream-warm: #faf6eb;
    --gold: #f4a61e;
    --gold-light: #f7bc4f;
    --gold-dark: #d48f0e;
    --text-dark: #2b2b2b;
    --text-muted: #6b6b5e;
    --shadow-soft: 0 4px 20px rgba(60, 66, 32, 0.08);
    --shadow-medium: 0 8px 32px rgba(60, 66, 32, 0.12);
    --shadow-strong: 0 16px 48px rgba(60, 66, 32, 0.18);
    --shadow-gold: 0 4px 24px rgba(244, 166, 30, 0.25);

    --font-body: 'Montserrat', sans-serif;
    --font-display: 'Playfair Display', serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --nav-height: 80px;
}

/* =========================================
           RESET & BASE
           ========================================= */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--text-dark);
    background-image: url('CRC LOGO FILES/yellowmarble.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    color: var(--primary);
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

/* Utility: skip-to-content for accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--gold);
    color: #fff;
    padding: 0.75rem 1.5rem;
    z-index: 9999;
    font-weight: 600;
    border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
    top: 0;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================
           SECTION TITLES
           ========================================= */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.section-heading {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtext {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.8;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-header .section-subtext {
    margin: 0 auto;
}

/* =========================================
           BUTTONS
           ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border: 2px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.2), 0 4px 0 var(--gold-dark), 0 6px 16px rgba(244,166,30,0.3);
}

.btn-light {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 4px 0 rgba(0,0,0,0.2), 0 6px 16px rgba(0,0,0,0.15);
}

/* =========================================
           NAVIGATION
           ========================================= */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--nav-height);
    background: linear-gradient(rgba(250, 250, 248, 0.4), rgba(250, 250, 248, 0.4)),
                url('CRC LOGO FILES/whitemarble.webp') center / cover;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    transition: all 0.35s var(--ease-out);
    border-bottom: 1px solid rgba(60, 66, 32, 0.06);
}

.navbar.scrolled {
    box-shadow: var(--shadow-soft);
    height: 68px;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo img {
    height: 80px;
    width: auto;
    transition: height 0.35s var(--ease-out);
}

.navbar.scrolled .logo img {
    height: 48px;
}

.nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--primary);
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s var(--ease-out);
}

.nav-cta {
    font-size: 0.8rem;
    padding: 0.65rem 1.4rem;
}

.nav-cta-mobile-item {
    display: none;
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1001;
    background: none;
    border: none;
}

.hamburger span {
    display: block;
    height: 2.5px;
    width: 100%;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.35s var(--ease-out);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8.75px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8.75px) rotate(-45deg);
}

/* Mobile overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(43, 48, 22, 0.4);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* =========================================
           HERO
           ========================================= */
.hero {
    padding-top: calc(var(--nav-height) + 2rem);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: rgba(255, 252, 228, 0.76);
}

/* Subtle texture */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    bottom: 0;
    width: 55%;
    background: linear-gradient(135deg, rgba(60, 66, 32, 0.03) 0%, rgba(244, 166, 30, 0.04) 100%);
    border-radius: 0 0 0 40%;
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 560px;
}

.hero-text .section-label {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.7s var(--ease-out) 0.2s forwards;
}

.hero-text h1 {
    font-size: clamp(2.4rem, 5.5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.7s var(--ease-out) 0.35s forwards;
}

.hero-text h1 .highlight {
    color: var(--gold);
    position: relative;
}

.hero-text p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.7s var(--ease-out) 0.5s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.7s var(--ease-out) 0.65s forwards;
}

.hero-image-wrapper {
    position: relative;
    opacity: 0;
    transform: translateX(30px);
    animation: fadeLeft 0.9s var(--ease-out) 0.5s forwards;
    width: 130%;
    margin-left: -15%;
}

.hero-image-wrapper .main-image {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 6px 0 rgba(60,66,32,0.14), 0 16px 48px rgba(60,66,32,0.22);
}

.hero-image-wrapper .main-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Floating badge on hero image */
.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--primary);
    color: #fff;
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
}

.hero-badge i {
    font-size: 1.4rem;
    color: var(--gold);
}

.hero-badge .badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
}

.hero-badge .badge-text span {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    font-family: var(--font-display);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =========================================
           OUR WORK / PORTFOLIO
           ========================================= */
.portfolio {
    padding: 5rem 0;
    background-color: rgba(255, 252, 228, 0.76);
}

.carousel-container {
    overflow: hidden;
    position: relative;
    margin-top: 1rem;
    border-radius: var(--radius-md);
    /* Fade edges */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
    contain: layout paint;
}

.carousel {
    display: flex;
    animation: carouselScroll 30s linear infinite;
    will-change: transform;
}

.carousel-item {
    flex-shrink: 0;
    width: 320px;
    padding: 0 8px;
}

.carousel-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}


@keyframes carouselScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-320px * 9));
    }
}

/* =========================================
           SERVICES (new section)
           ========================================= */
.services {
    padding: 5rem 0;
    background-color: rgba(255, 252, 228, 0.76);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: #fff;
    border: 1px solid rgba(60, 66, 32, 0.1);
    border-radius: 6px;
    padding: 2.5rem 2rem;
    transition: all 0.35s var(--ease-out);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 4px 0 rgba(60,66,32,0.1), 0 8px 24px rgba(60,66,32,0.07);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gold);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s var(--ease-out);
}


.service-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--cream-warm), rgba(244, 166, 30, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.4rem;
    color: var(--gold);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* =========================================
           PROCESS / WORKING WITH US
           ========================================= */
.process {
    padding: 5rem 0;
    background-color: rgba(255, 252, 228, 0.76);
}

.process-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.process-images {
    position: relative;
}

.process-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.process-img-main img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.process-img-float {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 60%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-strong);
    border: 4px solid var(--cream);
}

.process-img-float img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* =========================================
           TESTIMONIALS
           ========================================= */
.testimonials {
    padding: 5rem 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

/* Decorative circle */
.testimonials::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonials .section-label {
    color: var(--gold-light);
}

.testimonials .section-heading {
    color: var(--cream);
}

.testimonials .section-subtext {
    color: rgba(255, 255, 240, 0.6);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: rgba(255, 255, 240, 0.06);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s var(--ease-out);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 4px 0 rgba(0,0,0,0.18), 0 8px 24px rgba(0,0,0,0.12);
}


.stars {
    color: var(--gold);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-style: italic;
    color: rgba(255, 255, 240, 0.85);
    font-size: 0.95rem;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold);
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 0;
}

.author-info p {
    font-size: 0.78rem;
    color: rgba(255, 255, 240, 0.5);
    margin: 0;
}

/* =========================================
           FOOTER
           ========================================= */
footer {
    background-color: rgba(255, 252, 228, 0.76);
    border-top: 1px solid rgba(60, 66, 32, 0.08);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 1rem 0 1.5rem;
}

.footer-brand .logo img {
    height: 52px;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: all 0.3s var(--ease-out);
}


.footer-heading {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}


.contact-line {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-line i {
    color: var(--gold);
    width: 16px;
    text-align: center;
}

.contact-line a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}


/* =========================================
           ITRAST CREDIT
           ========================================= */
.footer-credit {
    border-top: 1px solid rgba(60, 66, 32, 0.1);
    padding: 1.5rem 0;
    text-align: center;
    background: var(--primary-dark);
}

.footer-credit-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 240, 0.5);
    text-decoration: none;
    transition: transform 0.4s var(--ease-out), filter 0.4s var(--ease-out);
}

.footer-credit-link p {
    margin: 0;
}


.footer-credit-logo {
    height: 22px;
    width: auto;
}

/* =========================================
           BACK TO TOP
           ========================================= */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 6px;
    background: var(--primary);
    color: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.35s var(--ease-out);
    z-index: 100;
    border: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 4px 0 var(--primary-dark), 0 6px 16px rgba(60,66,32,0.25);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================
           SCROLL REVEAL
           ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
           RESPONSIVE: TABLET (max 992px)
           ========================================= */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-badge {
        left: 50%;
        bottom: -24px;
        transform: translateX(-50%);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .process-images {
        order: -1;
    }

    .process-img-float {
        bottom: -20px;
        right: -15px;
        width: 55%;
    }

    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

/* =========================================
           RESPONSIVE: MOBILE (max 768px)
           ========================================= */
@media (max-width: 768px) {
    :root {
        --nav-height: 68px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        height: 100dvh;
        background: linear-gradient(rgba(250, 250, 248, 0.4), rgba(250, 250, 248, 0.4)),
                    url('CRC LOGO FILES/whitemarble.webp') center / cover;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 1000;
        transform: none;
        left: auto;
        transition: right 0.4s var(--ease-out);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-overlay {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .nav-cta-mobile-item {
        display: list-item;
    }

    .hero {
        min-height: auto;
        padding-top: calc(var(--nav-height) + 2rem);
        padding-bottom: 4rem;
    }

    .hero-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-inner {
        padding: 3rem 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .contact-line {
        justify-content: center;
    }

    .carousel-item {
        width: 280px;
    }

    @keyframes carouselScroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-280px * 9));
        }
    }
}

/* =========================================
           RESPONSIVE: SMALL MOBILE (max 420px)
           ========================================= */
@media (max-width: 420px) {
    .container {
        width: 92%;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .btn {
        padding: 0.85rem 1.5rem;
        font-size: 0.78rem;
    }

    .hero-badge {
        padding: 0.9rem 1.1rem;
        gap: 0.5rem;
    }

    .hero-badge .badge-text span {
        font-size: 1.1rem;
    }

    .hero-badge .badge-text {
        font-size: 0.72rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .process-img-main img {
        height: 260px;
    }

    .process-img-float img {
        height: 150px;
    }

    .carousel-item {
        width: 240px;
    }

    @keyframes carouselScroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-240px * 9));
        }
    }
}

/* =========================================
           RESPONSIVE: 360px
           ========================================= */
@media (max-width: 374px) {
    html {
        font-size: 14px;
    }

    .container {
        width: 94%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        text-align: center;
        justify-content: center;
    }

    .hero-badge {
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        margin-top: 1rem;
    }

    .nav-links {
        width: 85%;
    }

    .carousel-item {
        width: 220px;
    }

    @keyframes carouselScroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-220px * 9));
        }
    }
}

/* =========================================
           WIDE SCREENS (min 1400px)
           ========================================= */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero-grid {
        gap: 6rem;
    }
}

@media (min-width: 1800px) {
    html {
        font-size: 18px;
    }

    .container {
        max-width: 1500px;
    }
}

/* =========================================
   HOVER EFFECTS — MOUSE/TRACKPAD ONLY
   (touch screens skip this entire block)
   ========================================= */
@media (hover: hover) and (pointer: fine) {

    .btn-primary:hover {
        background: var(--primary);
        border-color: var(--primary);
        transform: translateY(2px);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 2px 0 var(--primary-dark), 0 4px 12px rgba(60,66,32,0.25);
    }

    .btn-light:hover {
        background: #fff;
        color: var(--primary);
        border-color: #fff;
        transform: translateY(2px);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 2px 0 rgba(0,0,0,0.15), 0 3px 10px rgba(0,0,0,0.1);
    }

    .nav-link:hover {
        color: var(--gold);
    }

    .nav-link:hover::after {
        width: 100%;
    }

    .carousel-item img:hover {
        transform: scale(1.03);
        box-shadow: var(--shadow-medium);
    }

    .service-card:hover::before {
        transform: scaleY(1);
    }

    .service-card:hover {
        transform: translateY(-3px);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 8px 0 rgba(60,66,32,0.1), 0 16px 36px rgba(60,66,32,0.12);
    }

    .testimonial-card:hover {
        background: rgba(255, 255, 240, 0.1);
        transform: translateY(-3px);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 8px 0 rgba(0,0,0,0.18), 0 18px 40px rgba(0,0,0,0.18);
    }

    .social-link:hover {
        background: var(--gold);
        transform: translateY(-3px);
        box-shadow: var(--shadow-gold);
    }

    .footer-links a:hover {
        color: var(--gold);
    }

    .contact-line a:hover {
        color: var(--gold);
    }

    .footer-credit-link:hover {
        transform: translateY(-4px);
        filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
    }

    .back-to-top:hover {
        background: var(--gold);
        transform: translateY(2px);
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), 0 2px 0 var(--gold-dark), 0 4px 12px rgba(244,166,30,0.3);
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .carousel {
        animation: none;
    }
}