:root {
    --primary-black: #1a1a1a;
    --secondary-gray: #6b6b6b;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    
    /* New sophisticated color palette */
    --accent-orange: #d97643;
    --soft-taupe: #e8dfd4;
    --sage-green: #c5dad1;
    --soft-blue: #cce0dd;
    --cream: #f5f1eb;
    --warm-beige: #f0e6dc;
    --border-gray: #d4cdc4;
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-black);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    border-bottom: 1px solid var(--border-gray);
}


nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    border: none;
    outline: none;
}

.logo img {
    height: 50px;
    width: auto;
    border: none;
    outline: none;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--primary-black);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-black);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-orange);
}

.nav-links a:hover::after {
    width: 100%;
    background: var(--accent-orange);
}

/* Hero Section */
.hero {
    margin-top: 85px;
    min-height: auto;
    background: linear-gradient(135deg, var(--cream) 0%, var(--warm-beige) 100%);
    display: flex;
    align-items: center;
    padding: 2rem 3rem 1.5rem 3rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(to left, rgba(255,255,255,0.3), transparent);
    pointer-events: none;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

@keyframes fadeInUp {
    from {
        transform: translateY(20px);
    }
    to {
        transform: translateY(0);
    }
}

.hero-tag {
    display: inline-block;
    background: var(--accent-orange);
    color: var(--white);
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.015em;
    margin-bottom: 1.25rem;
    max-width: 900px;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--secondary-gray);
    max-width: 650px;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'Outfit', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-black);
    border: 2px solid var(--primary-black);
}

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

.arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.btn:hover .arrow {
    transform: translateX(5px);
}

/* Stats Section */
.stats {
    background: var(--sage-green);
    padding: 1.2rem 3rem;
    border-top: 1px solid var(--border-gray);
    border-bottom: 1px solid var(--border-gray);
}

.stats-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.stat-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-orange);
    margin-bottom: 0.2rem;
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.1);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--secondary-gray);
    font-weight: 400;
}

/* Project Carousel */
.project-carousel-section {
    background: var(--cream);
    padding: 0.5rem 0;
    position: relative;
}

.project-carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.project-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2rem 3rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
}

.project-carousel::-webkit-scrollbar { display: none; }

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: 1px solid var(--border-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary-black);
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.carousel-arrow:hover {
    background: var(--accent-orange);
    color: var(--white);
    border-color: var(--accent-orange);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.carousel-arrow-left { left: 0.5rem; }
.carousel-arrow-right { right: 0.5rem; }

/* Fade edges to hint scrollability */
.project-carousel-wrapper::before,
.project-carousel-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 5;
    pointer-events: none;
}
.project-carousel-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--cream), transparent);
}
.project-carousel-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--cream), transparent);
}

.carousel-card {
    flex-shrink: 0;
    width: 240px;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: start;
}

.carousel-card:hover {
    transform: scale(1.25);
    z-index: 10;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.carousel-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.carousel-card-info {
    background: var(--white);
    padding: 0.7rem 0.8rem;
}

.carousel-card-info h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.carousel-card-info p {
    font-size: 0.72rem;
    color: var(--secondary-gray);
}

/* Sectors Section */
.sectors {
    padding: 3.5rem 3rem;
    background: var(--cream);
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.sectors-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.sector-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: none;
    padding: 2.25rem 2.5rem;
    transition: all 0.4s ease;
    background: var(--white);
    opacity: 1;
    transform: translateY(0);
    border-radius: 16px;
    cursor: pointer;
}

/* Alternating card colors - Anthropic style */
.sector-card:nth-child(1) { background: var(--soft-taupe); }
.sector-card:nth-child(2) { background: var(--sage-green); }
.sector-card:nth-child(3) { background: var(--soft-blue); }
.sector-card:nth-child(4) { background: var(--warm-beige); }
.sector-card:nth-child(5) { background: var(--sage-green); }
.sector-card:nth-child(6) { background: var(--soft-taupe); }

.sector-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.sector-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.sector-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.sector-icon {
    font-size: 2.8rem;
    color: var(--secondary-gray);
    flex-shrink: 0;
}

.sector-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-black);
}

.sector-description {
    color: var(--secondary-gray);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.learn-more {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.learn-more:hover {
    gap: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--secondary-gray);
    max-width: 800px;
    margin: -1rem auto 3rem;
}

/* Projects Section */
.projects {
    padding: 6rem 3rem;
    background: var(--soft-blue);
}

.projects-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.project-card {
    background: var(--white);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 1;
    transform: scale(1);
    border-radius: 16px;
}

.project-card.visible {
    opacity: 1;
    transform: scale(1);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0,0,0,0.15);
}

.project-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image {
    transform: scale(1.1);
}

.project-info {
    padding: 2rem;
}

.project-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-black);
}

.project-location {
    color: var(--accent-orange);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 3rem;
    background: var(--warm-beige);
}

.testimonials-header {
    max-width: 1400px;
    margin: 0 auto 3rem;
    text-align: center;
}

.testimonials-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.rating-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.stars {
    color: var(--accent-orange);
    font-size: 1.5rem;
    letter-spacing: 0.2rem;
}

.rating-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-black);
}

.rating-count {
    color: var(--secondary-gray);
    font-size: 1rem;
}

.testimonials-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2rem 0 2rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
}

.testimonials-grid::-webkit-scrollbar { display: none; }

.testimonial-card {
    background: var(--white);
    padding: 1.2rem;
    border-left: 3px solid var(--accent-orange);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: center center;
    z-index: 1;
    overflow: hidden;
    min-width: 260px;
    max-width: 260px;
    flex-shrink: 0;
}

.testimonial-card .testimonial-stars {
    color: var(--accent-orange);
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05rem;
}

.testimonial-card .testimonial-text {
    font-size: 0.72rem;
    line-height: 1.55;
    color: var(--primary-black);
    margin-bottom: 0.5rem;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-card .testimonial-author {
    font-weight: 600;
    color: var(--secondary-gray);
    font-size: 0.65rem;
    margin-bottom: 0.2rem;
}

.testimonial-card .testimonial-source {
    font-size: 0.6rem;
    color: var(--secondary-gray);
    opacity: 0.7;
    font-style: italic;
}

/* Hover expand — pop up */
.testimonial-card:hover {
    transform: scale(1.8);
    z-index: 100;
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
    border-left-width: 4px;
    padding: 1.4rem;
}

.testimonial-card:hover .testimonial-text {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-gray);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-black);
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background: var(--accent-orange);
    color: var(--white);
    border-color: var(--accent-orange);
}

.testimonials-cta {
    text-align: center;
    margin-top: 3rem;
}

.review-platforms {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.platform-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    text-decoration: none;
    color: var(--primary-black);
    transition: all 0.3s ease;
}

.platform-badge:hover {
    border-color: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.platform-badge .stars {
    font-size: 1rem;
}

/* CTA Section */
.cta {
    padding: 8rem 3rem;
    background: var(--sage-green);
    text-align: center;
}

.cta h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.25rem;
    color: var(--secondary-gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
/* Georgie Awards */
.georgie-awards {
    padding: 5rem 3rem;
    background: #1a1a1a;
    color: #ffffff;
}

.georgie-awards-content {
    max-width: 1400px;
    margin: 0 auto;
}

.georgie-header {
    text-align: center;
    margin-bottom: 3rem;
}

.georgie-title-block h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: #d4a44a;
}

.georgie-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.75);
    max-width: 800px;
    margin: 0 auto;
}

.georgie-year-group {
    margin-bottom: 2.5rem;
}

.georgie-year {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #d4a44a;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(212,164,74,0.25);
}

.georgie-cards {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.georgie-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 1rem 1.2rem;
    flex: 1;
    min-width: 220px;
    max-width: 300px;
    transition: all 0.3s ease;
}

.georgie-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(212,164,74,0.4);
    transform: translateY(-2px);
}

.georgie-card.winner {
    border-left: 3px solid #d4a44a;
}

.georgie-card.finalist {
    border-left: 3px solid rgba(212,164,74,0.4);
}

.georgie-badge {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #d4a44a;
    display: block;
    margin-bottom: 0.4rem;
}

.georgie-card h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

.georgie-card p {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    font-style: italic;
}

.georgie-closing {
    text-align: center;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
    max-width: 800px;
    margin: 2rem auto 0;
    font-style: italic;
}

@media (max-width: 768px) {
    .georgie-awards { padding: 3rem 1.5rem; }
    .georgie-title-block h2 { font-size: 1.3rem; }
    .georgie-card { min-width: 100%; max-width: 100%; }
}

footer {
    background: #1a1a1a;
    color: rgba(255,255,255,0.8);
    padding: 4rem 3rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-brand p {
    line-height: 1.8;
    font-size: 1rem;
}

.footer-section h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--white);
}

/* Floating CTA — mobile only */
.floating-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--accent-orange);
    padding: 0.75rem 1.5rem;
    justify-content: center;
    align-items: center;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.15);
}

.floating-cta a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

/* View Projects link below carousel — mobile only */
.carousel-view-projects {
    display: none;
    text-align: center;
    padding: 0.75rem 1.5rem 0.25rem;
    background: var(--cream);
}

.carousel-view-projects a {
    color: var(--accent-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    border-bottom: 1.5px solid var(--accent-orange);
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
}

.carousel-view-projects a:hover {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .large-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sectors-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        gap: 0.8rem;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }
    
    .logo img {
        height: 40px;
    }
    
    .nav-links {
        display: none;
    }

    body {
        padding-bottom: 3.5rem;
    }
    
    .hero {
        padding: 1rem 1.5rem 0.75rem;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 0.6rem;
        line-height: 1.3;
    }

    /* Mobile: keep hero-description visible (shrunk) so Lighthouse has
       a clear above-the-fold LCP candidate. Was display:none which
       caused NO_LCP — Lighthouse observer never settled. */
    .hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 0.75rem;
        max-width: 100%;
    }
    
    /* Mobile carousel fix */
    .project-carousel-section {
        padding: 0;
    }
    
    .project-carousel {
        padding: 1rem 2.5rem;
        gap: 0.75rem;
    }
    
    .carousel-arrow {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .carousel-arrow-left { left: 0.25rem; }
    .carousel-arrow-right { right: 0.25rem; }
    
    .project-carousel-wrapper::before,
    .project-carousel-wrapper::after {
        width: 30px;
    }
    
    .carousel-card {
        width: 180px;
    }
    
    .carousel-card img {
        height: 120px;
    }
    
    .carousel-card:hover {
        transform: scale(1.05);
    }
    
    .carousel-card-info {
        padding: 0.5rem 0.6rem;
    }
    
    .carousel-card-info h3 {
        font-size: 0.75rem;
    }
    
    .carousel-card-info p {
        font-size: 0.65rem;
    }
    
    .hero-buttons {
        display: none;
    }

    .hero-tag {
        margin-bottom: 0.75rem;
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

    .stats {
        padding: 0.5rem 1.5rem;
    }

    .stats-container {
        gap: 0.5rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .floating-cta {
        display: flex;
    }

    .carousel-view-projects {
        display: block;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    /* Compact sector cards on mobile */
    .sectors {
        padding: 2rem 1.5rem;
    }
    
    .sectors-grid {
        gap: 0.75rem;
    }
    
    .sector-card {
        padding: 1.25rem 1.5rem;
        border-radius: 12px;
    }
    
    .sector-icon {
        font-size: 1.8rem;
    }
    
    .sector-title {
        font-size: 1.15rem;
    }
    
    .sector-description {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.75rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .learn-more {
        font-size: 0.85rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .projects {
        padding: 3rem 1.5rem;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-info {
        padding: 1rem 1.25rem;
    }
    
    .project-title {
        font-size: 1.2rem;
    }
    
    .large-projects-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials {
        padding: 3rem 1.5rem;
    }
    
    .testimonials-header h2 {
        font-size: 1.3rem;
    }
    
    .testimonials-grid {
        gap: 0.8rem;
    }
    
    .testimonial-card {
        min-width: 220px;
        max-width: 220px;
    }
    
    .testimonial-card:hover {
        transform: scale(1.05);
        box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    }
    
    .cta {
        padding: 3rem 1.5rem;
    }
    
    .cta h2 {
        font-size: 1.3rem;
    }
    
    .cta p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .review-platforms {
        flex-direction: column;
        align-items: center;
    }
}
    
/* Mobile Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
    padding: 5px;
}
.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--primary-black);
    transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
    .hamburger { display: flex; position: relative; z-index: 10002; }
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        z-index: 10001;
        padding: 0;
        margin: 0;
        list-style: none;
    }
    .nav-links.open { display: flex !important; }
    .nav-links li { list-style: none; text-align: center; }
    .nav-links a { font-size: 1.5rem; font-weight: 500; color: var(--primary-black); text-decoration: none; }
}
    
/* eurohouse-lcp-fix-v1 */
/* Homepage only: render a single project list per breakpoint to
   avoid duplicate image downloads. Lazy-loaded images inside a
   display:none parent are skipped by modern browsers. */
@media (min-width: 769px) {
    .project-carousel-section,
    .carousel-view-projects { display: none !important; }
}
@media (max-width: 768px) {
    section.projects { display: none !important; }
}

/* Respect the `hidden` attribute even when a .floating-cta mobile rule would otherwise show it. */
.floating-cta[hidden] { display: none !important; }
