/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0d4d7a;
    --secondary-color: #0a2f4d;
    --accent-color: #f7b500;
    --text-dark: #1a2a36;
    --text-light: #4f5f6d;
    --bg-light: #eef3f7;
    --bg-steel: #d9e2ea;
    --elec-accent: #f2c230;
    --clim-accent: #1fb4ff;
    --alarm-accent: #f45d48;
    --bg-white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(120deg, #ffb347, var(--accent-color));
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(180deg, #f4f7fa 0%, #eaf0f5 100%);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.9rem 0;
    border-bottom: 1px solid #cdd8e2;
    box-shadow: 0 6px 20px rgba(10, 47, 77, 0.08);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0.55rem 0;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 10px 24px rgba(10, 47, 77, 0.14);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 0.08em;
}

.nav-logo img {
    display: block;
    height: 34px;
    width: 120px;
    object-fit: contain;
}

.navbar .nav-container .nav-logo .nav-logo-image {
    display: block;
    width: 120px !important;
    height: 34px !important;
    max-width: 120px !important;
    max-height: 34px !important;
    min-height: 34px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

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

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

.nav-item.active .nav-link {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(13, 77, 122, 0.05);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

.hero-side{
    background-color: #FFF !important;

}
/* center child img */
.hero-side img{
    display: block;
    margin: 0 auto;
}

/* Hero::before removed */

/* Hero::after removed */
#LOGO{
    height: 100px;
}
.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;

    border-radius: 16px;
}

.hero-content {
    color: white;
}

.hero-brand-logo {
    display: block;
    height: 88px;
    width: auto;
    margin-bottom: 0.8rem;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.35));
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    font-family: 'Space Grotesk', sans-serif;
}

.highlight {
    background: linear-gradient(120deg, #ffd166 0%, #ff9f1c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    opacity: 0.92;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.88;
    line-height: 1.8;
    max-width: 62ch;
}

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

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #12202b;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: #f4f9fd;
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.hero-trust {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.trust-item {
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.trust-item strong {
    font-size: 0.95rem;
}

.trust-item span {
    font-size: 0.8rem;
    opacity: 0.85;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-card {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-xl);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.profile-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border-right: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(45deg);
    opacity: 0.7;
}

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

/* Section Styles */
section {
    padding: 5rem 0;
    scroll-margin-top: 92px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
    font-family: 'Space Grotesk', sans-serif;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* About Section */
.about {
    background: linear-gradient(180deg, #f2f6fa 0%, #e9f0f6 100%);
}

.section-entreprise,
.section-services,
.section-gallery,
.section-elec,
.section-clim,
.section-alarm,
.contact {
    border-top: 1px solid rgba(10, 47, 77, 0.08);
}

.section-elec {
    background: linear-gradient(180deg, rgba(242, 194, 48, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
}

.section-clim {
    background: linear-gradient(180deg, rgba(31, 180, 255, 0.09) 0%, rgba(255, 255, 255, 0) 100%);
}

.section-alarm {
    background: linear-gradient(180deg, rgba(244, 93, 72, 0.08) 0%, rgba(255, 255, 255, 0) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-carousel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.skills h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-size: 1.3rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.skill-tag {
    background: #e4edf5;
    color: #0a2f4d;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

#services .service-card:nth-child(1) .service-icon {
    background: linear-gradient(135deg, #8d6a00, var(--elec-accent));
}

#services .service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #0d4d7a, var(--clim-accent));
}

#services .service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #7a1f1f, var(--alarm-accent));
}

#services .service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, #495866, #8ea0b2);
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid #d9e2ea;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.service-description {
    color: var(--text-light);
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    background: linear-gradient(180deg, #e7f2fa 0%, #f1f7fb 100%);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.portfolio-image {
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.project-placeholder {
    opacity: 0.8;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.portfolio-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.portfolio-tech span {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.contact-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 14px;
    border: 1px solid #ced8e1;
    box-shadow: 0 20px 34px rgba(10, 47, 77, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

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

/* Image Carousel Styles */
.image-carousel {
    margin: 2rem 0;
    position: relative;
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid #c8d7e3;
}

#climatisation .image-carousel {
    border-color: rgba(31, 180, 255, 0.45);
}

#gallery .image-carousel {
    border-color: rgba(13, 77, 122, 0.35);
}

.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 430px;
    overflow: hidden;
    background: #0e2435;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0b1b29;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: saturate(1.02) contrast(1.02);
    transition: transform 0.7s ease, filter 0.7s ease;
}

.carousel-slide.is-active img {
    animation: carouselZoom 4s ease both;
}

@keyframes carouselZoom {
    0% {
        transform: scale(1.08);
        filter: saturate(1.08) contrast(1.05);
    }
    100% {
        transform: scale(1);
        filter: saturate(1.02) contrast(1.02);
    }
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(8, 25, 39, 0.66);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: white;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--accent-color);
    transform: scale(1.2);
}

#climatisation .carousel-dot.active {
    background: var(--clim-accent);
}

/* Responsive carousel */
@media (max-width: 768px) {
    .carousel-container {
        aspect-ratio: 4 / 3;
        max-height: 320px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-prev {
        left: 0.5rem;
    }
    
    .carousel-next {
        right: 0.5rem;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        aspect-ratio: 1 / 1;
        max-height: 280px;
    }
    
    .carousel-prev,
    .carousel-next {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Footer */
.footer {
    background: linear-gradient(120deg, #0b2235 0%, #0a2f4d 100%);
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-trust {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        flex-direction: row;
        justify-content: space-around;
    }

    .stat-item {
        padding: 1.5rem;
    }

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

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-brand-logo {
        height: 64px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-trust {
        margin-top: 1.4rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .service-card,
    .contact-form {
        padding: 1.5rem;
    }
}

/* =============================
   FULL REDESIGN OVERRIDES
   ============================= */

:root {
    --artisan-bg: #f4f1ea;
    --artisan-surface: #ffffff;
    --artisan-ink: #1b2a34;
    --artisan-muted: #5b6a75;
    --artisan-blue: #0f4c81;
    --artisan-steel: #2b3e50;
    --artisan-safety: #ffb703;
    --artisan-elec: #f4a300;
    --artisan-clim: #34a0d9;
    --artisan-alarm: #d64545;
}

body {
    background: radial-gradient(circle at 15% 10%, #ffffff 0%, var(--artisan-bg) 46%, #e8e2d7 100%);
    color: var(--artisan-ink);
}

.navbar {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(27, 42, 52, 0.1);
}

.nav-logo {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    max-height: 36px;
    overflow: hidden;
}

.nav-logo img {
    height: 34px;
    width: 120px;
    object-fit: contain;
}

.navbar .nav-container .nav-logo .nav-logo-image {
    width: 120px !important;
    height: 34px !important;
    max-width: 120px !important;
    max-height: 34px !important;
}

.nav-logo h2 {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: 0.08em;
}

.nav-link {
    color: var(--artisan-steel);
    font-size: 0.82rem;
}

.hero {
    padding-top: 7.8rem;
    min-height: 88vh;
    background:
        linear-gradient(120deg, rgba(11, 27, 38, 0.85) 0%, rgba(11, 27, 38, 0.45) 45%, rgba(11, 27, 38, 0.85) 100%),
        linear-gradient(140deg, #173753 0%, #0f4c81 45%, #1274b8 100%);
}

.hero::before,
.hero::after {
    pointer-events: none;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    color: #f1f7ff;
    background: rgba(255, 255, 255, 0.08);
}

.hero-subtitle {
    max-width: 60ch;
}

.hero-panel {
    position: relative;
    z-index: 2;
    color: #f6fbff;
    
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: transparent;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-side{
    background: #ffffff;
    /* fill the div */
    background-size: cover;
    background-repeat: no-repeat;
     padding: 0px !important;
    
}

.hero-panel img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 12px;
    object-fit: contain;
    margin-left: auto;
}

.hero-panel ul {
    list-style: none;
    display: grid;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

.hero-panel li {
    font-size: 0.95rem;
    opacity: 0.95;
}

.panel-badge {
    display: inline-block;
    background: var(--artisan-safety);
    color: #1f2a33;
    font-weight: 700;
    border-radius: 8px;
    padding: 0.45rem 0.75rem;
}

.section {
    padding: 5.4rem 0;
    scroll-margin-top: 86px;
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-top: 1px solid rgba(27, 42, 52, 0.08);
}

.section-dark {
    background: #f5f8fb;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.2rem;
    align-items: start;
}

.split.reverse {
    grid-template-columns: 1fr 1fr;
}

.lead {
    color: var(--artisan-muted);
    margin-bottom: 1.8rem;
    line-height: 1.8;
    font-size: 1.15rem;
    font-weight: 400;
    max-width: 65ch;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.fact-card {
    background: var(--artisan-surface);
    border: 1px solid #dbe3ea;
    border-radius: 12px;
    padding: 1rem;
    display: grid;
    gap: 0.3rem;
}

.fact-card strong {
    font-size: 1.4rem;
    color: var(--artisan-blue);
}

.fact-card span {
    font-size: 0.84rem;
    color: var(--artisan-muted);
}

.services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
    text-align: left;
    border-radius: 12px;
    border: 1px solid #d6dee6;
    background: linear-gradient(180deg, #fff 0%, #fbfdff 100%);
}

.service-card h3 {
    margin-bottom: 0.55rem;
    font-size: 1.12rem;
}

.service-card p {
    margin: 0;
    color: var(--artisan-muted);
}

.service-card.elec {
    border-top: 4px solid var(--artisan-elec);
}

.service-card.clim {
    border-top: 4px solid var(--artisan-clim);
}

.service-card.alarm {
    border-top: 4px solid var(--artisan-alarm);
}

.service-card.maint {
    border-top: 4px solid var(--artisan-steel);
}

.service-section {
    border-top: 1px solid rgba(27, 42, 52, 0.12);
}

.elec-band {
    background: #fff8ec;
}

.clim-band {
    background: #eef8fd;
}

.alarm-band {
    background: #fff1f1;
}

.check-list,
.contact-list {
    list-style: none;
    display: grid;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.check-list li,
.contact-list li {
    position: relative;
    padding-left: 1.8rem;
    color: var(--artisan-muted);
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
}

.check-list li::before,
.contact-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--artisan-blue), #1274b8);
    border-radius: 50%;
    opacity: 0.7;
}

.contact-section {
    background: #eef3f7;
}

.contact-form {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #d3dde6;
}

.image-carousel {
    border-radius: 12px;
    border: 1px solid rgba(20, 54, 78, 0.16);
    box-shadow: 0 14px 24px rgba(13, 36, 54, 0.12);
}

.carousel-container {
    aspect-ratio: 16 / 9;
    max-height: 360px;
}

.carousel-slide img {
    object-fit: cover;
    object-position: center;
}

.carousel-prev,
.carousel-next {
    border-radius: 8px;
    width: 42px;
    height: 42px;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .split,
    .split.reverse {
        grid-template-columns: 1fr;
    }

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

    .hero-panel {
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 6.3rem;
    }

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

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

    .carousel-container {
        aspect-ratio: 4 / 3;
        max-height: 320px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.95rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e8eef3;
}

.modal-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #6b7280;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f3f4f6;
    color: #374151;
}

.modal-body {
    padding: 2rem;
}

.contact-options {
    display: grid;
    gap: 1rem;
}

.contact-option {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border: 2px solid #e8eef3;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.contact-option:hover {
    border-color: var(--artisan-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(11, 58, 99, 0.1);
}

.option-icon {
    font-size: 2.5rem;
    margin-right: 1.5rem;
}

.option-content h4 {
    margin: 0 0 0.5rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.option-content p {
    margin: 0;
    color: var(--artisan-muted);
    font-size: 0.95rem;
}

/* Mobile responsive for contact modal */
@media (max-width: 480px) {
    .contact-option {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
    }
    
    .option-icon {
        font-size: 2rem;
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .option-content h4 {
        font-size: 1.1rem;
    }
    
    .option-content p {
        font-size: 0.9rem;
    }
}

/* ===== Google Reviews section ===== */
.reviews-section {
    padding: 5.4rem 0;
}

.reviews-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin: -1.5rem 0 2.5rem;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    justify-content: center;
    margin: 0 auto 3rem;
    padding: 1.4rem 2rem;
    background: #fff;
    border: 1px solid #d3dde6;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    max-width: 520px;
}

.reviews-summary-score {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
    font-family: 'Space Grotesk', sans-serif;
}

.reviews-summary-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.reviews-summary-count {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.reviews-summary-count a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.reviews-summary-count a:hover {
    text-decoration: underline;
}

.stars {
    display: inline-flex;
    gap: 2px;
    font-size: 1.1rem;
    line-height: 1;
}

.star {
    color: #e0e0e0;
}

.star-full {
    color: #f7b500;
}

.star-half {
    color: #f7b500;
    background: linear-gradient(90deg, #f7b500 50%, #e0e0e0 50%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.star-empty {
    color: #e0e0e0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: #fff;
    border: 1px solid #d3dde6;
    border-radius: 14px;
    padding: 1.6rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.review-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    overflow: hidden;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-author {
    flex: 1;
    min-width: 0;
}

.review-name {
    margin: 0;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1rem;
}

.review-date {
    margin: 2px 0 0;
    color: var(--text-light);
    font-size: 0.85rem;
}

.review-source {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-color);
    background: rgba(13, 77, 122, 0.08);
    padding: 4px 10px;
    border-radius: 999px;
    flex-shrink: 0;
}

.review-text {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

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

@media (max-width: 700px) {
    .reviews-summary {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== SEO hidden nav (visible to crawlers, invisible to humans) ===== */
.seo-links-nav {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    pointer-events: none;
}

.seo-links-nav h2 {
    margin: 0;
    font-size: 1px;
}

.seo-links-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.seo-links-nav a {
    color: inherit;
    text-decoration: none;
    font-size: 1px;
}