/* ============================================
   EHD Rénovation — Full Responsive Stylesheet
   ============================================ */

/* ---------- CUSTOM PROPERTIES ---------- */
:root {
    --navy: #0A005B;
    --navy-dark: #06003a;
    --navy-light: #1a0f7a;
    --blue: #0A005B;
    --blue-light: #1a0f7a;
    --blue-lighter: #eeeaff;
    --accent: #EB7831;
    --accent-light: #f5a366;
    --accent-dark: #d4631f;
    --tertiary: #519496;
    --tertiary-light: #6fb3b5;
    --tertiary-dark: #3e7576;
    --gold: #EB7831;
    --gold-light: #f5a366;
    --white: #ffffff;
    --gray-50: #f7fafc;
    --gray-100: #edf2f7;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e0;
    --gray-400: #a0aec0;
    --gray-500: #718096;
    --gray-600: #4a5568;
    --gray-700: #2d3748;
    --gray-800: #1a202c;
    --gray-900: #171923;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 1px 2px rgba(0, 0, 0, .06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, .07), 0 2px 4px rgba(0, 0, 0, .06);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, .1), 0 6px 10px rgba(0, 0, 0, .08);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, .12);
    --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- RESET & BASE ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- ANIMATIONS ---------- */
.animate-target {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}

.animate-target.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service-card:nth-child(2) {
    transition-delay: .1s;
}

.service-card:nth-child(3) {
    transition-delay: .2s;
}

.service-card:nth-child(4) {
    transition-delay: .3s;
}

.value-card:nth-child(2) {
    transition-delay: .1s;
}

.value-card:nth-child(3) {
    transition-delay: .2s;
}

.value-card:nth-child(4) {
    transition-delay: .3s;
}

.process__step:nth-child(2) {
    transition-delay: .1s;
}

.process__step:nth-child(3) {
    transition-delay: .2s;
}

.process__step:nth-child(4) {
    transition-delay: .3s;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: .938rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.btn--primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, .5);
}

.btn--outline:hover {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn--white {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn--white:hover {
    background: var(--blue-lighter);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn--outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, .5);
}

.btn--outline-white:hover {
    background: rgba(255, 255, 255, .15);
    border-color: var(--white);
}

.btn--lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn--full {
    width: 100%;
}

/* ---------- SECTION COMMON ---------- */
.section-tag {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--tertiary-dark);
    background: rgba(81, 148, 150, .12);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--gray-800);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 640px;
    margin: 0 auto 48px;
}

/* ============ NAVBAR ============ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    transition: var(--transition);
}

.navbar--scrolled {
    background: rgba(255, 255, 255, .97);
    box-shadow: var(--shadow);
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

.navbar__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--navy);
    flex-shrink: 0;
}

.navbar__logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.navbar__logo-icon {
    width: 36px;
    height: 30px;
    color: var(--blue);
}

.navbar__nav {
    position: fixed;
    top: 0;
    left: 200px;
    right: 280px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    z-index: 1001;
    pointer-events: none;
}

.navbar__nav>* {
    pointer-events: auto;
}

.navbar__link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    font-size: .9rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.navbar__link:hover,
.navbar__link.active {
    color: var(--blue);
    background: var(--blue-lighter);
}

.navbar__dropdown {
    position: relative;
}

.navbar__dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
}

.navbar__dropdown:hover .navbar__dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navbar__dropdown-menu a {
    display: block;
    padding: 10px 16px;
    font-size: .875rem;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
}

.navbar__dropdown-menu a:hover {
    background: var(--blue-lighter);
    color: var(--blue);
}

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.navbar__phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--gray-700);
}

.navbar__phone:hover {
    color: var(--blue);
}

.navbar__cta {
    padding: 10px 22px;
    font-size: .875rem;
}

.navbar__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.navbar__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.navbar__burger.active span:nth-child(2) {
    opacity: 0;
}

.navbar__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Drawer header — only visible on mobile */
.navbar__drawer-header {
    display: none;
}

.navbar__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--gray-200);
    background: var(--white);
    cursor: pointer;
    color: var(--gray-600);
    transition: var(--transition);
}

.navbar__close:hover {
    background: var(--gray-100);
    color: var(--navy);
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 72px;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg img {
    width: 100%;
    height: 130%;
    object-fit: cover;
    will-change: transform;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 36, 64, .82) 0%, rgba(26, 54, 93, .6) 50%, rgba(43, 108, 176, .3) 100%);
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    padding: 80px 24px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.1rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero__h1-line {
    white-space: normal;
}

@media (min-width: 768px) {
    .hero__h1-line {
        white-space: nowrap;
    }
}

.hero__subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, .85);
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Google badge */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 60px;
    padding: 10px 22px 10px 14px;
    transition: var(--transition);
}

.hero__badge:hover {
    background: rgba(255, 255, 255, .25);
}

.hero__badge-g {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero__badge-stars {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero__badge-score {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--white);
}

.stars {
    display: flex;
    gap: 2px;
}

.hero__badge-label {
    font-weight: 500;
}

@media (max-width: 480px) {
    .hero__content {
        padding-top: 12vh;
    }

    .hero__badge {
        margin-bottom: 30px;
    }
}

/* ============ SERVICES ============ */
.services {
    padding: 100px 0;
    text-align: center;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.services__blueprint-bg {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    z-index: 0;
    background: url('images/Construction Blueprint.webp') center/cover no-repeat;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    text-align: left;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.service-card__img {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.service-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.service-card:hover .service-card__img img {
    transform: scale(1.08);
}

.service-card__body {
    padding: 24px;
}

.service-card__body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.service-card__body p {
    font-size: .9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============ ABOUT ============ */
.about {
    padding: 100px 0;
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(81, 148, 150, .12) 0%, transparent 70%);
    pointer-events: none;
}

.about::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10, 0, 91, .08) 0%, transparent 70%);
    pointer-events: none;
}

.about__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about__content .section-title {
    text-align: left;
}

.about__content p {
    font-size: 1.05rem;
    margin-bottom: 32px;
    color: var(--gray-600);
}

.about__stats {
    display: flex;
    gap: 40px;
    margin-bottom: 36px;
}

.about__stat {
    display: flex;
    flex-direction: column;
}

.about__stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--blue);
    line-height: 1.2;
}

.about__stat-label {
    font-size: .85rem;
    color: var(--gray-500);
    font-weight: 500;
}

.about__image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
}

/* ============ VALUES ============ */
.values {
    padding: 100px 0;
    text-align: center;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.values::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/entreprise-renovation-lausanne.webp') center/cover no-repeat;
    opacity: 0.06;
    pointer-events: none;
}

.values__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.value-card {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    text-align: center;
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.value-card__icon {
    width: 64px;
    height: 64px;
    background: var(--blue-lighter);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--blue);
}

.value-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.value-card p {
    font-size: .9rem;
    color: var(--gray-500);
}

/* ============ PORTFOLIO ============ */
.portfolio {
    padding: 100px 0;
    text-align: center;
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--tertiary), var(--navy));
}

.portfolio__wrapper {
    position: relative;
}

.portfolio__track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0 16px;
    scrollbar-width: none;
}

.portfolio__track::-webkit-scrollbar {
    display: none;
}

.portfolio__item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    flex: 0 0 350px;
    aspect-ratio: 4/3;
    scroll-snap-align: start;
    transition: var(--transition);
}

.portfolio__item:hover {
    transform: scale(1.02);
}

.portfolio__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.portfolio__item:hover img {
    transform: scale(1.08);
}

.portfolio__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 0, 91, .8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.portfolio__item:hover .portfolio__overlay {
    opacity: 1;
}

.portfolio__overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: .95rem;
}

/* Portfolio Arrows */
.portfolio__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    color: var(--navy);
}

.portfolio__arrow:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.portfolio__arrow--left {
    left: -24px;
}

.portfolio__arrow--right {
    right: -24px;
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, .9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
    cursor: pointer;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 0 60px rgba(0, 0, 0, .5);
    transform: scale(.9);
    transition: transform .3s ease;
}

.lightbox.active .lightbox__img {
    transform: scale(1);
}

.lightbox__close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox__close:hover {
    background: var(--accent);
}

.lightbox__caption {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    background: rgba(10, 0, 91, .6);
    padding: 8px 24px;
    border-radius: 30px;
    backdrop-filter: blur(8px);
}

/* ============ PROCESS ============ */
.process {
    padding: 100px 0;
    background: var(--navy);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

.process::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url('images/Sketch.webp') center/cover no-repeat;
    opacity: 0.06;
    pointer-events: none;
}

.process .section-tag {
    background: rgba(255, 255, 255, .12);
    color: var(--gold-light);
}

.process .section-title {
    color: var(--white);
}

.process .section-subtitle {
    color: rgba(255, 255, 255, .6);
}

.process__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    text-align: left;
}

.process__step {
    padding: 36px 28px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.process__step:hover {
    background: rgba(255, 255, 255, .1);
    transform: translateY(-6px);
}

.process__step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 16px;
}

.process__step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.process__step p {
    font-size: .9rem;
    color: rgba(255, 255, 255, .6);
    line-height: 1.6;
}

/* ============ TESTIMONIALS ============ */
.testimonials {
    padding: 100px 0;
    text-align: center;
    background: var(--gray-50);
    position: relative;
}

.testimonials::before {
    content: '\201C';
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 16rem;
    color: rgba(10, 0, 91, .04);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    text-align: left;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.testimonial-card__stars {
    display: flex;
    gap: 3px;
}

.testimonial-card__text {
    flex: 1;
    font-size: .95rem;
    font-style: italic;
    color: var(--gray-600);
    line-height: 1.7;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.testimonial-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blue-lighter);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .85rem;
    flex-shrink: 0;
}

.testimonial-card__author strong {
    font-size: .9rem;
    color: var(--gray-800);
    display: block;
}

.testimonial-card__author span {
    font-size: .8rem;
    color: var(--gray-400);
}

/* ============ CTA ============ */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 40%, var(--accent-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.2' opacity='0.06'%3E%3C!-- house --%3E%3Cpath d='M60 140 L100 105 L140 140 L140 180 L60 180Z'/%3E%3Cpath d='M100 105 L100 80'/%3E%3Crect x='85' y='155' width='30' height='25'/%3E%3Crect x='68' y='148' width='16' height='14'/%3E%3C!-- paint roller --%3E%3Crect x='220' y='40' width='60' height='24' rx='4'/%3E%3Cline x1='250' y1='64' x2='250' y2='110'/%3E%3Cline x1='244' y1='110' x2='256' y2='110'/%3E%3C!-- paintbrush --%3E%3Cpath d='M340 130 L365 130 L368 165 L337 165Z'/%3E%3Cline x1='352' y1='165' x2='352' y2='220'/%3E%3C!-- roof / triangle --%3E%3Cpath d='M30 280 L90 235 L150 280'/%3E%3Cline x1='50' y1='270' x2='50' y2='280'/%3E%3Cline x1='130' y1='270' x2='130' y2='280'/%3E%3C!-- ladder --%3E%3Cline x1='210' y1='230' x2='230' y2='330'/%3E%3Cline x1='250' y1='230' x2='270' y2='330'/%3E%3Cline x1='215' y1='250' x2='255' y2='250'/%3E%3Cline x1='220' y1='270' x2='260' y2='270'/%3E%3Cline x1='225' y1='290' x2='265' y2='290'/%3E%3Cline x1='227' y1='310' x2='267' y2='310'/%3E%3C!-- window --%3E%3Crect x='310' y='260' width='60' height='50' rx='2'/%3E%3Cline x1='340' y1='260' x2='340' y2='310'/%3E%3Cline x1='310' y1='285' x2='370' y2='285'/%3E%3C!-- trowel --%3E%3Cpath d='M170 350 L200 335 L210 345 L180 360Z'/%3E%3Cline x1='170' y1='350' x2='150' y2='370'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 400px 400px;
    pointer-events: none;
}

.cta h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
}

.cta p {
    color: rgba(255, 255, 255, .75);
    max-width: 600px;
    margin: 0 auto 36px;
    font-size: 1.05rem;
}

.cta__actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ============ CONTACT ============ */
.contact {
    padding: 100px 0;
    background: var(--white);
    text-align: center;
}

.contact__inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    text-align: left;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: .85rem;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: .95rem;
    color: var(--gray-700);
    transition: var(--transition);
    background: var(--gray-50);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-lighter);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 8px;
}

.contact__info-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact__info-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: var(--blue-lighter);
    color: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact__info-card strong {
    font-size: .9rem;
    color: var(--gray-800);
    display: block;
    margin-bottom: 2px;
}

.contact__info-card p {
    font-size: .9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.contact__info-card a {
    color: var(--blue);
    font-weight: 500;
}

.contact__info-card a:hover {
    text-decoration: underline;
}

/* ============ FOOTER ============ */
.footer {
    background: var(--gray-900);
    padding: 64px 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer__brand .navbar__logo {
    color: var(--white);
    margin-bottom: 16px;
}

.footer__logo-img {
    height: 56px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
}

.footer__brand .navbar__logo-icon {
    color: var(--blue-light);
}

.footer__brand p {
    font-size: .9rem;
    color: var(--gray-400);
    line-height: 1.7;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__links h4 {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--gray-300);
    margin-bottom: 8px;
}

.footer__links a {
    font-size: .875rem;
    color: var(--gray-400);
}

.footer__links a:hover {
    color: var(--white);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 24px 0;
}

.footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer__bottom p {
    font-size: .8rem;
    color: var(--gray-500);
}

.footer__bottom-links {
    display: flex;
    gap: 24px;
}

.footer__bottom-links a {
    font-size: .8rem;
    color: var(--gray-500);
}

.footer__bottom-links a:hover {
    color: var(--gray-300);
}

/* ============================================
   RESPONSIVE — TABLET (max-width: 1118px)
   ============================================ */
@media (max-width: 1118px) {
    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .values__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process__steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio__item {
        flex: 0 0 300px;
    }

    .portfolio__arrow {
        display: none;
    }

    .testimonials__grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 520px;
        margin: 0 auto;
    }

    .about__inner {
        gap: 40px;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }

    .contact__inner {
        grid-template-columns: 1fr;
    }
}

/* ============ FILE UPLOAD ============ */
.file-upload-wrapper {
    position: relative;
    width: 100%;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--white);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-sm);
    color: var(--gray-600);
    font-size: .95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.file-upload-wrapper input[type="file"]:hover+.file-upload-label,
.file-upload-wrapper input[type="file"]:focus+.file-upload-label {
    border-color: var(--blue);
    background: var(--blue-lighter);
    color: var(--blue);
}

.file-upload-label.has-file {
    border-style: solid;
    border-color: var(--tertiary);
    color: var(--tertiary-dark);
    background: rgba(81, 148, 150, .12);
}

.file-upload-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.file-upload-preview {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    background-color: var(--gray-200);
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 1;
}

.file-upload-preview.active {
    opacity: 1;
}

/* ============ LEGAL PAGE ============ */
.legal-page {
    padding-top: 120px;
    /* Accounts for fixed header */
    padding-bottom: 80px;
    background: var(--white);
    min-height: 80vh;
}

.legal-content {
    max-width: 800px;
    /* Optimal reading width */
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.2;
}

.legal-date {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 48px;
    font-style: italic;
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 24px;
}

.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-top: 40px;
    margin-bottom: 16px;
}

.legal-content p,
.legal-content ul {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.legal-content ul {
    padding-left: 24px;
    list-style-type: disc;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-content strong {
    color: var(--gray-800);
    font-weight: 600;
}

/* ============================================
   RESPONSIVE — NAVBAR (max-width: 1118px)
   ============================================ */
@media (max-width: 1118px) {

    /* ── drawer panel ── */
    .navbar__nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100%;
        transform: translateX(100%);
        z-index: 9999;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 10px 24px 20px;
        gap: 0;
        transition: transform .3s cubic-bezier(.4, 0, .2, 1);
        overflow-y: auto;
        pointer-events: auto;
    }

    .navbar__nav.active {
        transform: translateX(0);
    }

    /* ── drawer header (logo + close) ── */
    .navbar__drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 16px;
        margin-bottom: 8px;
        border-bottom: 1px solid var(--gray-200);
    }

    .navbar__close {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--radius-sm);
        transition: background .2s;
    }

    .navbar__close:hover {
        background: var(--gray-100);
    }

    /* ── nav links ── */
    .navbar__nav>.navbar__link,
    .navbar__dropdown>.navbar__link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 12px;
        font-size: 1rem;
        font-weight: 500;
        color: var(--gray-700);
        border-radius: var(--radius-sm);
        transition: background .2s, color .2s;
    }

    .navbar__nav>.navbar__link:hover,
    .navbar__dropdown>.navbar__link:hover {
        background: var(--blue-lighter);
        color: var(--blue);
    }

    /* ── chevron rotation ── */
    .navbar__dropdown>.navbar__link svg {
        transition: transform .25s ease;
        flex-shrink: 0;
    }

    .navbar__dropdown.open>.navbar__link svg {
        transform: rotate(180deg);
    }

    /* ── dropdown sub-menu ── */
    .navbar__dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        padding: 0 0 0 16px;
        transition: max-height .3s ease, padding .3s ease;
    }

    .navbar__dropdown.open .navbar__dropdown-menu {
        max-height: 400px;
        padding: 4px 0 4px 16px;
    }

    .navbar__dropdown-menu a {
        padding: 12px 14px;
        font-size: .925rem;
        color: var(--gray-600);
        border-radius: var(--radius-sm);
        display: block;
        transition: background .2s, color .2s;
    }

    .navbar__dropdown-menu a:hover {
        background: var(--blue-lighter);
        color: var(--blue);
    }

    /* ── hide desktop elements ── */
    .navbar__phone {
        display: none;
    }

    .navbar__cta {
        display: none;
    }

    .navbar__burger {
        display: flex;
    }
}

/* ============================================
   RESPONSIVE — TABLET SMALL (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {

    .hero {
        min-height: 85vh;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 6vw, 2.8rem);
    }

    .hero__content {
        padding: 60px 24px;
    }

    .about__inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__image {
        order: -1;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__inner .footer__links:last-child {
        display: flex;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }

    .footer__bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ============================================
   RESPONSIVE — MOBILE (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        min-height: 100vh;
        min-height: 100svh;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .hero__subtitle {
        font-size: 1rem;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__badge {
        padding: 8px 16px 8px 10px;
    }

    .services,
    .about,
    .values,
    .testimonials,
    .contact,
    .portfolio {
        padding: 64px 0;
    }

    .process {
        padding: 64px 0;
    }

    .cta {
        padding: 56px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 36px;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .values__grid {
        grid-template-columns: 1fr;
    }

    .process__steps {
        grid-template-columns: 1fr;
    }

    .portfolio__item {
        flex: 0 0 260px;
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .testimonials__grid .testimonial-card:last-child {
        max-width: 100%;
    }

    .about__stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .about__stat-number {
        font-size: 1.6rem;
    }

    .cta__actions {
        flex-direction: column;
        align-items: center;
    }

    .cta__actions .btn {
        width: 100%;
        max-width: 320px;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer__bottom-links {
        flex-direction: column;
        gap: 8px;
    }
}

/* ============ SERVICE PAGES CUSTOM STYLES ============ */

/* Page Header (Smaller Hero) */
.page-header {
    position: relative;
    padding: 160px 0 80px;
    background: var(--navy);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.page-header__bg {
    position: absolute;
    inset: 0;
    opacity: 0.4;
}

.page-header__bg img {
    width: 100%;
    height: 130%;
    object-fit: cover;
    will-change: transform;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Hub */
.services-hub {
    padding: 80px 0;
}

/* Services Detail Layout */
.services-detail {
    padding: 80px 0;
}

.services-detail__grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 992px) {
    .services-detail__grid {
        grid-template-columns: 1fr;
    }
}

/* Sidebar */
.service-sidebar {
    background: var(--gray-50);
    padding: 24px;
    border-radius: var(--radius);
    position: sticky;
    top: 100px;
}

.service-sidebar h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--navy);
    border-bottom: 2px solid var(--gray-200);
    padding-bottom: 12px;
}

.service-sidebar ul {
    list-style: none;
}

.service-sidebar li {
    margin-bottom: 8px;
}

.service-sidebar a {
    display: block;
    padding: 10px 16px;
    background: var(--white);
    border-radius: var(--radius-sm);
    color: var(--gray-600);
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.service-sidebar a:hover,
.service-sidebar a.active {
    background: var(--blue);
    color: var(--white);
    border-color: var(--blue);
}

.service-sidebar__contact {
    margin-top: 32px;
    background: var(--navy);
    color: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
}

.service-sidebar__contact h4 {
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.service-sidebar__contact p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.service-sidebar__contact .btn {
    width: 100%;
}

/* Service Content */
.service-content h2 {
    font-size: 1.8rem;
    color: var(--navy);
    margin-bottom: 24px;
}

.service-content h3 {
    font-size: 1.4rem;
    color: var(--gray-800);
    margin: 40px 0 16px;
}

.service-content p {
    margin-bottom: 16px;
    color: var(--gray-600);
}

.service-content ul {
    list-style: none;
    margin-bottom: 24px;
}

.service-content li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--gray-700);
}

.service-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.service-content__image {
    margin-bottom: 32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.service-content__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.service-cta {
    margin-top: 60px;
    padding: 40px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--gray-200);
}

.service-cta h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.service-cta p {
    margin-bottom: 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============ SERVICE ALTERNATING ROWS ============ */
.svc-rows {
    padding: 80px 0 0;
}

.svc-row {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px 0;
    border-bottom: 1px solid var(--gray-200);
}

.svc-row:last-child {
    border-bottom: none;
}

.svc-row--reverse {
    flex-direction: row-reverse;
}

.svc-row__img {
    flex: 1 1 50%;
    min-width: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.svc-row__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/3;
    display: block;
    transition: transform .5s ease;
}

.svc-row:hover .svc-row__img img {
    transform: scale(1.03);
}

.svc-row__content {
    flex: 1 1 50%;
    min-width: 0;
}

.svc-row__content h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 16px;
    line-height: 1.25;
}

.svc-row__content p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 16px;
}

.svc-row__content ul {
    list-style: none;
    margin-bottom: 24px;
    padding: 0;
}

.svc-row__content li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: var(--gray-700);
    font-size: .975rem;
    line-height: 1.6;
}

.svc-row__content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

/* ============ BEFORE / AFTER SLIDER ============ */
.ba-slider {
    display: grid;
    place-content: center;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    --position: 50%;
}

.ba-slider__images {
    aspect-ratio: 4/3;
}

.ba-slider__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
    display: block;
    transform: scaleX(-1);
}

/* Before image: flipped horizontally, needs left-side clipping */
.ba-slider__img--before {
    position: absolute;
    inset: 0;
    z-index: 2;
    clip-path: inset(0 0 0 calc(100% - var(--position)));
}

.ba-slider__range {
    position: absolute;
    inset: 0;
    cursor: pointer;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: 10;
}

.ba-slider__range:focus-visible~.ba-slider__button {
    outline: 5px solid black;
    outline-offset: 3px;
}

.ba-slider__line {
    position: absolute;
    inset: 0;
    width: .2rem;
    height: 100%;
    background-color: #fff;
    left: var(--position);
    transform: translateX(-50%);
    pointer-events: none;
    z-index: 5;
}

.ba-slider__button {
    position: absolute;
    background-color: #fff;
    color: black;
    padding: .5rem;
    border-radius: 100vw;
    display: grid;
    place-items: center;
    top: 50%;
    left: var(--position);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 5;
    box-shadow: 1px 1px 1px hsl(0, 50%, 2%, .5);
}

/* Labels */
.ba-slider__label {
    position: absolute;
    bottom: 16px;
    padding: 6px 14px;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: var(--white);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    border-radius: 20px;
    z-index: 4;
    pointer-events: none;
    transition: opacity .3s ease;
}

.ba-slider__label--after {
    right: 16px;
    opacity: clamp(0, calc((90 - var(--value)) / 20), 1);
}

.ba-slider__label--before {
    left: 16px;
    opacity: clamp(0, calc((var(--value) - 10) / 20), 1);
}

/* Disable hover scale on slider images, but keep them flipped */
.svc-row:hover .svc-row__img .ba-slider img {
    transform: scaleX(-1);
}

/* ============ SERVICE CTA CONTACT FORM ============ */
.svc-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 40%, var(--accent-dark) 100%);
    position: relative;
    overflow: hidden;
}

.svc-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.2' opacity='0.06'%3E%3C!-- house --%3E%3Cpath d='M60 140 L100 105 L140 140 L140 180 L60 180Z'/%3E%3Cpath d='M100 105 L100 80'/%3E%3Crect x='85' y='155' width='30' height='25'/%3E%3Crect x='68' y='148' width='16' height='14'/%3E%3C!-- paint roller --%3E%3Crect x='220' y='40' width='60' height='24' rx='4'/%3E%3Cline x1='250' y1='64' x2='250' y2='110'/%3E%3Cline x1='244' y1='110' x2='256' y2='110'/%3E%3C!-- paintbrush --%3E%3Cpath d='M340 130 L365 130 L368 165 L337 165Z'/%3E%3Cline x1='352' y1='165' x2='352' y2='220'/%3E%3C!-- roof / triangle --%3E%3Cpath d='M30 280 L90 235 L150 280'/%3E%3Cline x1='50' y1='270' x2='50' y2='280'/%3E%3Cline x1='130' y1='270' x2='130' y2='280'/%3E%3C!-- ladder --%3E%3Cline x1='210' y1='230' x2='230' y2='330'/%3E%3Cline x1='250' y1='230' x2='270' y2='330'/%3E%3Cline x1='215' y1='250' x2='255' y2='250'/%3E%3Cline x1='220' y1='270' x2='260' y2='270'/%3E%3Cline x1='225' y1='290' x2='265' y2='290'/%3E%3Cline x1='227' y1='310' x2='267' y2='310'/%3E%3C!-- window --%3E%3Crect x='310' y='260' width='60' height='50' rx='2'/%3E%3Cline x1='340' y1='260' x2='340' y2='310'/%3E%3Cline x1='310' y1='285' x2='370' y2='285'/%3E%3C!-- trowel --%3E%3Cpath d='M170 350 L200 335 L210 345 L180 360Z'/%3E%3Cline x1='170' y1='350' x2='150' y2='370'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 400px 400px;
    pointer-events: none;
}

.svc-cta .container {
    position: relative;
    z-index: 1;
}

.svc-cta__inner {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.svc-cta__text h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}

.svc-cta__text p {
    color: rgba(255, 255, 255, .8);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.svc-cta__text .svc-cta__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-light);
    font-weight: 700;
    font-size: 1.15rem;
}

.svc-cta__text .svc-cta__phone:hover {
    color: var(--white);
}

.svc-cta__form {
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.svc-cta__form .form-group label {
    color: rgba(255, 255, 255, .85);
}

.svc-cta__form .form-group input,
.svc-cta__form .form-group select,
.svc-cta__form .form-group textarea {
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .2);
    color: var(--white);
}

.svc-cta__form .form-group input::placeholder,
.svc-cta__form .form-group textarea::placeholder {
    color: rgba(255, 255, 255, .4);
}

.svc-cta__form .form-group input:focus,
.svc-cta__form .form-group select:focus,
.svc-cta__form .form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, .2);
    background: rgba(255, 255, 255, .15);
}

.svc-cta__form .form-group select option {
    background: var(--navy);
    color: var(--white);
}

/* ── Responsive: Alternating Rows ── */
@media (max-width: 768px) {

    .svc-row,
    .svc-row--reverse {
        flex-direction: column;
        gap: 28px;
        padding: 40px 0;
    }

    .svc-row__img,
    .svc-row__content {
        flex: 1 1 100%;
    }

    .svc-row__content h3 {
        font-size: 1.35rem;
    }

    .svc-cta__inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .svc-cta {
        padding: 56px 0;
    }
}

/* ── Parallax: disable on reduced motion ── */
@media (prefers-reduced-motion: reduce) {

    .hero__bg img,
    .page-header__bg img {
        height: 100% !important;
        will-change: auto !important;
        transform: none !important;
    }
}

/* ============ WHATSAPP WEBCHAT ============ */
#whatsapp-chat {
    box-sizing: border-box !important;
    outline: none !important;
    position: fixed;
    width: 350px;
    border-radius: 10px;
    box-shadow: 0 1px 15px rgba(32, 33, 36, 0.28);
    bottom: 25px;
    right: 30px;
    overflow: hidden;
    z-index: 9999;
    /* High z-index to stay on top */
    animation-name: showchat;
    animation-duration: 0.5s;
    transform: scale(1);
    background: #fff;
    font-family: var(--font), sans-serif;
}

.blantershow-chat {
    background: #fff;
    color: #404040;
    position: fixed;
    display: flex;
    font-weight: 600;
    justify-content: space-between;
    align-items: center;
    z-index: 9998;
    bottom: 25px;
    right: 30px;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none !important;
}

.blantershow-chat:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    color: #404040;
}

.blantershow-chat svg {
    margin-right: 10px;
    width: 24px;
    height: 24px;
}

/* Header */
.whatsapp-chat-header {
    background: #095e54;
    color: #fff;
    padding: 20px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.whatsapp-chat-header p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #fff !important;
}

.whatsapp-chat-name {
    font-size: 16px;
    font-weight: 700;
}

.whatsapp-chat-header small {
    opacity: 0.8;
    font-size: 12px;
}

.whatsapp-chat-avatar {
    position: relative;
}

.whatsapp-chat-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
}

.whatsapp-chat-avatar::after {
    content: "";
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background-color: #4ad504;
    border-radius: 50%;
    border: 2px solid #095e54;
}

.close-chat {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    line-height: 1;
    opacity: 0.8;
}

.close-chat:hover {
    opacity: 1;
    color: #fff;
}

/* Body */
.start-chat {
    background: #e5ddd5;
    position: relative;
}

.whatsapp-chat-body {
    padding: 20px;
    background-image: url("https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png");
    background-size: 400px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
}

.whatsapp-message-container {
    display: flex;
    margin-bottom: 20px;
}

.whatsapp-message {
    background: #fff;
    padding: 8px 12px;
    border-radius: 0 8px 8px 8px;
    box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
    position: relative;
    max-width: 80%;
}

.whatsapp-message::before {
    content: "";
    position: absolute;
    top: 0;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid #fff;
    border-left: 8px solid transparent;
}

.whatsapp-author {
    font-size: 13px;
    font-weight: 700;
    color: #e542a3;
    /* Or typical WA color like #e542a3 or #128c7e */
    color: rgba(0, 0, 0, 0.4);
    margin-bottom: 2px;
}

.whatsapp-text {
    font-size: 14px;
    color: #111;
    line-height: 1.4;
}

.whatsapp-time {
    font-size: 11px;
    color: rgba(0, 0, 0, 0.45);
    text-align: right;
    margin-top: 4px;
    margin-right: -4px;
    margin-bottom: -4px;
}

/* Input Area */
.blanter-msg {
    padding: 10px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #ddd;
}

#chat-input {
    flex: 1;
    border: none;
    border-radius: 20px;
    padding: 10px 15px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    resize: none;
    height: 40px;
    /* Fixed height for single line feel, typically expands but keeping simple */
    overflow: hidden;
}

#send-it {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #919191;
    transition: color 0.2s;
}

#send-it:hover {
    color: #095e54;
}

/* Animations */
@keyframes showhide {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
}

@keyframes showchat {
    from {
        transform: scale(0);
        opacity: 0;
    }
}

.hide {
    display: none;
    opacity: 0;
    pointer-events: none;
}

.show {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

@media screen and (max-width: 480px) {
    #whatsapp-chat {
        width: auto;
        left: 20px;
        right: 20px;
        bottom: 20px;
    }

    .blantershow-chat {
        right: 20px;
        bottom: 20px;
        width: auto;
    }
}

/* ============ COOKIE CONSENT BANNER ============ */
#ehd-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: rgba(10, 14, 30, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 24px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.35);
}

#ehd-consent-banner.ehd-consent--visible {
    transform: translateY(0);
}

.ehd-consent__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.ehd-consent__text {
    flex: 1 1 0;
    min-width: 260px;
}

.ehd-consent__text p {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
}

.ehd-consent__link {
    color: #7ecac3;
    text-decoration: underline;
    margin: 0 2px;
}

.ehd-consent__link:hover {
    color: #fff;
}

.ehd-consent__actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ── Shared button base ── */
.ehd-consent__btn {
    cursor: pointer;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 10px 22px;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
    font-family: inherit;
}

.ehd-consent__btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Accept (primary — prominent green) */
.ehd-consent__btn--accept {
    background: #095e54;
    color: #fff;
}

.ehd-consent__btn--accept:hover {
    background: #0c7a6e;
}

/* Settings (secondary — subtle outline, less prominent) */
.ehd-consent__btn--settings {
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-weight: 500;
}

.ehd-consent__btn--settings:hover {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.04);
}

/* Save in modal (neutral) */
.ehd-consent__btn--save {
    background: var(--gray-100, #f3f4f6);
    color: var(--gray-700, #374151);
    border: 1px solid var(--gray-300, #d1d5db);
}

.ehd-consent__btn--save:hover {
    background: var(--gray-200, #e5e7eb);
}

/* ============ COOKIE SETTINGS MODAL ============ */
#ehd-consent-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#ehd-consent-modal.ehd-modal--visible {
    opacity: 1;
}

.ehd-modal__box {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

#ehd-consent-modal.ehd-modal--visible .ehd-modal__box {
    transform: translateY(0);
}

.ehd-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.ehd-modal__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--navy, #0e1b2e);
    margin: 0;
}

.ehd-modal__close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    color: var(--gray-400, #9ca3af);
    padding: 4px 8px;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.ehd-modal__close:hover {
    color: var(--gray-700, #374151);
    background: var(--gray-100, #f3f4f6);
}

.ehd-modal__body {
    padding: 16px 24px 8px;
}

.ehd-modal__intro {
    font-size: 0.875rem;
    color: var(--gray-500, #6b7280);
    line-height: 1.6;
    margin: 0 0 20px;
}

.ehd-modal__link {
    color: var(--blue, #2563eb);
    text-decoration: underline;
}

.ehd-modal__link:hover {
    color: var(--navy, #0e1b2e);
}

/* Category row */
.ehd-modal__category {
    padding: 20px 0;
    border-top: 1px solid var(--gray-200, #e5e7eb);
}

.ehd-modal__cat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.ehd-modal__cat-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900, #111827);
    margin: 0;
}

.ehd-modal__cat-desc {
    font-size: 0.8125rem;
    color: var(--gray-500, #6b7280);
    line-height: 1.6;
    margin: 0;
}

/* ── Toggle switch ── */
.ehd-toggle {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    flex-shrink: 0;
}

.ehd-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.ehd-toggle__slider {
    position: absolute;
    inset: 0;
    background: var(--gray-300, #d1d5db);
    border-radius: 34px;
    transition: background 0.25s ease;
    cursor: pointer;
}

.ehd-toggle__slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.ehd-toggle input:checked+.ehd-toggle__slider {
    background: #095e54;
}

.ehd-toggle input:checked+.ehd-toggle__slider::before {
    transform: translateX(22px);
}

/* Disabled (essentiels) */
.ehd-toggle--disabled .ehd-toggle__slider {
    background: #095e54;
    cursor: not-allowed;
    opacity: 0.6;
}

.ehd-toggle--disabled .ehd-toggle__slider::before {
    transform: translateX(22px);
}

/* Modal footer */
.ehd-modal__footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 16px 24px 24px;
    background: #fff;
    position: sticky;
    bottom: 0;
    border-top: 1px solid var(--gray-100, #f3f4f6);
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .ehd-consent__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .ehd-consent__actions {
        width: 100%;
        flex-direction: row-reverse;
    }

    .ehd-consent__btn {
        flex: 1;
        text-align: center;
    }

    .ehd-modal__footer {
        flex-direction: column-reverse;
    }

    .ehd-modal__footer .ehd-consent__btn {
        width: 100%;
        text-align: center;
    }
}