﻿
:root {
    --primary: #EB2129;
    --primary-hover: #d01820;
    --primary-glow: rgba(235, 33, 41, 0.2);
    --secondary: #172D96;
    --secondary-hover: #1a35b0;
    --body-bg: #ffffff;
    --section-grey: #f5f6f9;
    --card-bg: #ffffff;
    --card-hover: #f0f2f8;
    --card-border: rgba(23, 45, 150, 0.1);
    --text-white: #ffffff;
    --text-main: #2a2a2a;
    --text-muted: #585858;
    --text-dark: #172D96;
    --gold: #EB2129;
    --gold-glow: rgba(235, 33, 41, 0.2);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: none;
    font-size: 16px;
    overflow-x: hidden;
    background: var(--body-bg);
    color: var(--text-main);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

html::-webkit-scrollbar { display: none; }

body,
.modal-card,
.service-detail-container { scrollbar-width: none; }

body::-webkit-scrollbar,
.modal-card::-webkit-scrollbar,
.service-detail-container::-webkit-scrollbar { display: none; }

body {
    overflow-x: hidden;
    line-height: 1.6;
    background: var(--body-bg);
    color: var(--text-main);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input, textarea, select {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-dark);
}

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

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 14px 32px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(235, 33, 41, 0.15);
}

.btn:hover {
    background: linear-gradient(90deg, var(--primary-hover) 0%, var(--secondary-hover) 100%);
    transform: translateY(-1.5px);
    box-shadow: 0 6px 20px rgba(235, 33, 41, 0.25);
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 15px rgba(235, 33, 41, 0.15);
}

.btn-primary:hover {
    background: linear-gradient(90deg, var(--primary-hover) 0%, var(--secondary-hover) 100%);
    border: none;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 20px rgba(235, 33, 41, 0.25);
}

.btn-outline {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    color: #fff;
}

.btn-outline:hover {
    background: linear-gradient(90deg, var(--primary-hover) 0%, var(--secondary-hover) 100%);
    transform: translateY(-1.5px);
}

.btn-outline-white {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    color: #fff;
}

.btn-outline-white:hover {
    background: linear-gradient(90deg, var(--primary-hover) 0%, var(--secondary-hover) 100%);
    transform: translateY(-1.5px);
}

.btn-gold {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    border: none;
}

.btn-gold:hover {
    background: linear-gradient(90deg, var(--primary-hover) 0%, var(--secondary-hover) 100%);
    transform: translateY(-1.5px);
}

.btn-white {
    background: #ffffff;
    color: #111111;
    border: none;
}

.btn-white:hover {
    background: #f8f9fa;
    transform: translateY(-1.5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.btn-red-outline {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    color: #fff;
}

.btn-red-outline:hover {
    background: linear-gradient(90deg, var(--primary-hover) 0%, var(--secondary-hover) 100%);
    transform: translateY(-1.5px);
}

.btn-blue {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    border: none;
}

.btn-blue:hover {
    background: linear-gradient(90deg, var(--primary-hover) 0%, var(--secondary-hover) 100%);
    transform: translateY(-1.5px);
}

/* HEADER */
.service-area-wrap {
    position: absolute;
    top: 110px;
    left: 0;
    width: 100%;
    padding: 12px 12px 20px;
    z-index: 1;
}

.header-nav-with-area {
    display: flex;
    flex-direction: column;
}

.header-nav-with-area .nav-container-before-area { order: 1; width: 100%; }
.header-nav-with-area .service-area-source { order: 2; }

.service-area-bar {
    width: fit-content;
    max-width: 100%;
    min-height: 55px;
    margin: 0 auto;
    padding: 13px 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: var(--secondary);
    background: #f8f9fc;
    border: 1px solid rgba(23, 45, 150, 0.12);
    border-radius: 999px;
    box-shadow: 0 2px 5px rgba(23, 45, 150, 0.04);
    font-family: var(--font-heading);
    font-size: 0.93rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.service-area-phone-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-area-bar i {
    width: 5px;
    height: 5px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #f16b7c;
}

.service-area-bar b {
    margin-left: -8px;
    color: var(--secondary);
}

.service-area-bar a {
    color: var(--primary);
    font-size: 1.08rem;
    font-weight: 800;
}

.service-area-bar a:hover {
    color: var(--primary-hover);
}

.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    border-bottom: 0;
    transition: var(--transition-normal);
}

.header-nav::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 110px;
    z-index: 0;
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(23, 45, 150, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-normal);
}

.header-nav.scrolled {
    background: transparent;
    box-shadow: none;
}

.header-nav.scrolled::before { height: 80px; }
.header-nav.scrolled .service-area-wrap { top: 80px; }

.header-nav.header-hidden {
    transform: none;
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.header-nav.header-hidden::before { height: 0; opacity: 0; }

.header-nav.header-hidden .nav-container {
    height: 0 !important;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}

.header-nav.header-hidden .service-area-wrap {
    top: 0;
    padding-top: 12px;
}

.global-service-area .page-main,
.global-service-area .quote-page-main { padding-top: 180px; }

.global-service-area .service-area-wrap {
    padding-top: 10px;
    padding-bottom: 10px;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
}

.global-service-area .header-nav.header-hidden .service-area-wrap {
    padding-top: 10px;
}

.nav-container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 110px;
    transition: var(--transition-normal);
}

.header-nav.scrolled .nav-container {
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-img {
    height: 85px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-normal);
}

.logo-tagline {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #111;
    border-left: 1.5px solid rgba(0, 0, 0, 0.15);
    padding-left: 16px;
}

.header-nav.scrolled .logo-img {
    height: 60px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #333;
    padding: 8px 14px;
    border-radius: 50px;
    transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(235, 33, 41, 0.07);
}

/* Navigation des pages secondaires (devis, connexion, urgence, blog) */
.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-left: auto;
    white-space: nowrap;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 9px 16px;
    border-radius: 999px;
    color: #252525;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.35px;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.nav-links a + a {
    margin-left: 0;
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(235, 33, 41, 0.07);
}

.nav-links a:last-child {
    min-width: 150px;
    padding-inline: 22px;
    color: #fff;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    box-shadow: 0 8px 20px rgba(23, 45, 150, .14);
}

.nav-links a:last-child:hover {
    color: #fff;
    background: linear-gradient(90deg, var(--primary-hover), var(--secondary-hover));
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(23, 45, 150, .22);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-switcher {
    display: flex;
    gap: 4px;
}

.lang-btn {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 50px;
    color: #555;
    border: 1.5px solid rgba(23, 45, 150, 0.15);
    transition: var(--transition-fast);
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.header-cta-sticky {
    padding: 10px 20px;
    font-size: 0.82rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* JOBS LINK */
.nav-jobs-link {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    padding: 8px 14px;
    border-radius: 50px;
    border: 1.5px solid var(--primary);
    transition: var(--transition-fast);
}

.nav-jobs-link:hover {
    background: var(--primary);
    color: #fff;
}

/* HERO SPLIT */
.hero-split {
    display: flex;
    min-height: 100vh;
    padding-top: 110px;
}

.hero-split-side {
    flex: 1;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 80px 64px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-split-side:hover {
    flex: 1.12;
}

.hero-split-side.particuliers {
    border-right: 2px solid rgba(255, 255, 255, 0.12);
}

.hero-split-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-split-side.particuliers .hero-split-bg {
    background-image: url('photo1-reparation.webp?v=20260621-2');
}

.hero-split-side.entreprises .hero-split-bg {
    background-image: url('photo4-isolation.webp?v=20260621-2');
}

.hero-split-side:hover .hero-split-bg {
    transform: scale(1.04);
}

.hero-split-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(23, 45, 150, 0.25) 0%, rgba(0, 0, 0, 0.72) 100%);
    transition: background 0.4s ease;
}

.hero-split-side:hover .hero-split-overlay {
    background: linear-gradient(180deg, rgba(23, 45, 150, 0.15) 0%, rgba(0, 0, 0, 0.82) 100%);
}

.hero-split-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
}

.hero-split-tag {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--gold);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-split-tag::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 2px;
    background: var(--gold);
}

.hero-split-content h2 {
    font-size: 2.6rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 16px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.hero-split-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 400px;
}

.hero-split-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 4px;
    transition: var(--transition-fast);
}

.hero-split-link:hover {
    color: var(--gold);
}

/* URGENCE BANNER */
.urgence-band {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 20px 0;
}

.urgence-band .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.urgence-band-text {
    display: flex;
    align-items: center;
    gap: 16px;
}

.urgence-pulse {
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.6);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }
}

.urgence-band h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

.urgence-band p {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.88);
}

/* INTRO HERO */
.intro-hero {
    background: var(--section-grey);
    padding: 80px 0;
    text-align: center;
    border-bottom: 1px solid var(--card-border);
}

.intro-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 20px;
}

.intro-hero-title {
    font-size: 2.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 32px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--secondary);
}

.intro-hero-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.intro-hero-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* 3 PILIERS PHOTO GRID — style SOS Roof */
.services-three {
    padding: 32px 0;
    background: var(--body-bg);
}

.svc-three-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.svc-three-photo-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block;
    text-decoration: none;
    height: 360px;
    border-radius: 12px;
}

.svc-three-photo-card .svc-photo-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.svc-three-photo-card:hover .svc-photo-bg {
    transform: scale(1.06);
}

.svc-three-photo-card .svc-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.72) 100%);
    transition: background 0.4s ease;
}

.svc-three-photo-card:hover .svc-photo-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.82) 100%);
}

.svc-three-photo-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    text-align: left;
    z-index: 2;
}

.svc-three-photo-label span {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

@media(max-width:768px) {
    .global-service-area .page-main,
    .global-service-area .quote-page-main { padding-top: 142px; }
    .svc-three-photo-grid {
        grid-template-columns: 1fr;
        padding: 0 16px;
    }

    .svc-three-photo-card {
        height: 240px;
    }
}

/* SECTION SHARED */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--body-bg);
}

.section-grey {
    background: var(--section-grey);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    color: var(--secondary);
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ABOUT */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 16px;
}

.about-title {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    margin-bottom: 24px;
    line-height: 1.15;
    color: var(--secondary);
}

.about-desc {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
}

.about-desc strong {
    color: var(--text-main);
}

.about-certified-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.about-certified {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(23, 45, 150, 0.05);
    border: 1px solid rgba(23, 45, 150, 0.12);
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
}

.about-certified svg {
    color: var(--secondary);
    flex-shrink: 0;
}

.belgian-badge {
    display: flex;
    align-items: center;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.belgian-badge:hover {
    opacity: 1;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 36px 24px;
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: 0 2px 12px rgba(23, 45, 150, 0.06);
}

.stat-box:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--primary-glow);
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* TESTIMONIALS */
.testimonials-wrap {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    padding: 0 48px;
}

.testimonials-overflow {
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 10px;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 48px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(23, 45, 150, 0.07);
}

.quote-mark {
    font-size: 4rem;
    color: rgba(235, 33, 41, 0.12);
    line-height: 1;
    position: absolute;
    top: 20px;
    left: 40px;
    font-family: Georgia, serif;
}

.t-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 28px;
    line-height: 1.75;
}

.t-author {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 8px;
}

.t-stars {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 3px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--secondary);
    transition: var(--transition-fast);
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary);
    border-color: transparent;
    color: #fff;
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    background: var(--card-border);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot.active {
    background: var(--primary);
    width: 24px;
    border-radius: 10px;
}

/* SERVICES PHOTO GRID */
.svc-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.svc-photo-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: block;
    border-radius: 8px;
    text-decoration: none;
    height: 280px;
}

.svc-photo-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.svc-photo-card:hover .svc-photo-bg {
    transform: scale(1.07);
}

.svc-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(23, 45, 150, 0) 40%, rgba(23, 45, 150, 0.82) 100%);
    transition: background 0.35s ease;
}

.svc-photo-card:hover .svc-photo-overlay {
    background: linear-gradient(180deg, rgba(235, 33, 41, 0.1) 20%, rgba(23, 45, 150, 0.92) 100%);
}

.svc-photo-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 24px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    z-index: 2;
    transition: padding 0.3s ease;
}

.svc-photo-card.svc-large .svc-photo-label {
    font-size: 1.25rem;
    padding: 28px 32px;
}

.svc-photo-card:hover .svc-photo-label {
    padding-bottom: 28px;
}

.svc-photo-label::after {
    content: ' →';
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    display: inline-block;
    transform: translateX(-6px);
}

.svc-photo-card:hover .svc-photo-label::after {
    opacity: 1;
    transform: translateX(0);
}

.svc-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.svc-cta-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #2a2a2a;
    margin: 0 0 8px 0;
    letter-spacing: 0.5px;
}

/* CLIENTS */
.clients-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 48px;
}

.client-tab {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 18px;
    border-radius: 50px;
    border: 1.5px solid var(--card-border);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.client-tab:hover,
.client-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.clients-logos {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
    align-items: center;
}

.client-logo-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 10px;
    padding: 20px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 72px;
    transition: var(--transition-fast);
    box-shadow: 0 2px 8px rgba(23, 45, 150, 0.05);
}

.client-logo-box:hover {
    border-color: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 45, 150, 0.1);
}

.client-logo-name {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--secondary);
    text-align: center;
}

/* CTA FINAL */
.cta-final {
    padding: 80px 0;
}

.cta-final-card {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    border-radius: var(--border-radius);
    padding: 64px 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    box-shadow: 0 20px 50px rgba(235, 33, 41, 0.2);
}

.cta-final-text h2 {
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: -0.5px;
    color: #fff;
    margin-bottom: 12px;
}

.cta-final-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    max-width: 520px;
}

.cta-final-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

/* FOOTER */
.footer {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.footer-top {
    padding: 80px 0 60px;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-nav-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dark);
}

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.footer-contact-info a {
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition-fast);
}

.footer-contact-info a:hover {
    color: var(--primary-hover);
}


.footer-phones-divider {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    margin: 40px 0 24px;
}

.footer-phones-row {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 24px;
}

.footer-phone-inline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    background: rgba(23, 45, 150, 0.04);
    border: 1px solid rgba(23, 45, 150, 0.08);
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-muted);
    box-shadow: 0 2px 8px rgba(23, 45, 150, 0.02);
}

.footer-phone-icon {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    margin-right: 4px;
}

.footer-city-label {
    font-weight: 600;
    color: var(--text-dark);
}

.footer-city-separator {
    color: var(--primary);
    opacity: 0.6;
    margin: 0 4px;
}

.footer-city-colon {
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 4px;
}

.footer-phone-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--primary);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
}

.footer-phone-number:hover {
    color: var(--primary-hover);
    transform: translateY(-0.5px);
}

.footer-bottom-bar {
    background: #ffffff;
    color: #666666;
    padding: 24px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-social {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-social-separator {
    color: rgba(0, 0, 0, 0.15);
    font-size: 0.8rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #666666;
    transition: var(--transition-fast);
    text-transform: uppercase;
}

.footer-social-link svg {
    stroke: currentColor;
    transition: transform 0.2s ease;
}

.footer-social-link:hover {
    color: #111111;
}

.footer-social-link:hover svg {
    transform: scale(1.1);
}

.footer-bottom-lang {
    display: flex;
    gap: 12px;
}

.lang-link {
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 700;
    color: #888888;
    transition: var(--transition-fast);
}

.lang-link:hover,
.lang-link.active {
    color: #111111;
}

.footer-bottom-copy {
    font-size: 0.78rem;
    color: #888888;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* MODAL */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(23, 45, 150, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    padding: 20px;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: #fff;
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(23, 45, 150, 0.2);
    transform: scale(0.92);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-overlay.open .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--primary);
    background: rgba(235, 33, 41, 0.08);
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.82rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-muted);
}

.progress-bar-wrap {
    width: 100%;
    height: 4px;
    background: rgba(23, 45, 150, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 36px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 14px;
    color: var(--secondary);
}

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

.form-label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    background: #f8f9ff;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(235, 33, 41, 0.08);
}

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

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23172D96'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 22px;
}

textarea.form-input {
    resize: vertical;
    min-height: 100px;
}

.radio-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.radio-label {
    flex: 1;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9ff;
    border: 1px solid var(--card-border);
    padding: 11px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.radio-input {
    display: none;
}

.radio-input:checked+.radio-label {
    background: rgba(235, 33, 41, 0.07);
    border-color: var(--primary);
    color: var(--primary);
}

.form-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--card-border);
}

/* SERVICE DETAIL */
.service-detail-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--body-bg);
    z-index: 950;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
    transform: translateY(20px);
    /* Keep the service hero below the fixed navigation, with the same
       generous breathing room as the reference layout. */
    padding-top: 170px;
    background-color: #fafbfe;
    background-image: radial-gradient(circle at 20% 20%, rgba(235,33,41,.035), transparent 32%), radial-gradient(circle at 85% 45%, rgba(23,45,150,.045), transparent 34%);
}

.service-detail-container::after {
    content: '';
    position: absolute;
    top: 548px;
    right: 4%;
    width: 45%;
    height: 345px;
    border-radius: 10px;
    background: rgba(23,45,150,.16);
    pointer-events: none;
}

.service-detail-container::before {
    content: '';
    position: absolute;
    top: 134px;
    left: 2.6%;
    width: 45%;
    height: 350px;
    border-radius: 10px;
    background: rgba(235,33,41,.15);
    pointer-events: none;
}

.service-detail-container.open {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.service-detail-banner {
    width: min(1740px, calc(100% - 160px));
    height: clamp(520px, 36vw, 695px);
    margin: 0 auto;
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: 9px;
    overflow: hidden;
    z-index: 1;
}

.service-detail-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,20,30,.18) 0%, rgba(15,20,35,.28) 52%, rgba(15,20,35,.58) 100%);
    z-index: 1;
}

.service-detail-banner .container {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    padding: 0;
}

.service-detail-banner .btn-primary {
    position: absolute;
    top: 30px;
    right: 30px;
    min-width: 275px;
    padding: 17px 28px;
    border-radius: 8px;
    font-size: .9rem;
}

.service-detail-title {
    position: absolute;
    left: 32px;
    bottom: 38px;
    color: #fff;
    font-size: clamp(2rem,3vw,3.4rem);
    font-weight: 900;
    text-transform: uppercase;
    max-width: 82%;
    line-height: 1.05;
    letter-spacing: -1px;
    text-shadow: 0 3px 12px rgba(0,0,0,.32);
}

.sd-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.88rem;
    margin-bottom: 28px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.sd-back:hover {
    color: var(--primary-hover);
    transform: translateX(-4px);
}

.sd-content-pad {
    position: relative;
    z-index: 2;
    padding: 70px 0;
}

.sd-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 52px;
    box-shadow: 0 4px 24px rgba(23, 45, 150, 0.08);
}

.sd-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.sd-intro {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-main);
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--card-border);
}

.sd-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--card-border);
}

.sd-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sd-section-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sd-section-title::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 20px;
    background: var(--primary);
    border-radius: 4px;
    flex-shrink: 0;
}

.sd-includes {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.sd-include-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.sd-include-item svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.sd-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.sd-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--section-grey);
    border-radius: var(--border-radius);
    padding: 20px;
}

.sd-step-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.3;
    line-height: 1;
    flex-shrink: 0;
    min-width: 44px;
}

.sd-step h4 {
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--secondary);
}

.sd-step p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.sd-why {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
    padding: 24px;
    background: var(--section-grey);
    border-radius: var(--border-radius);
    border: 1px solid var(--card-border);
}

.sd-why-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50px;
    padding: 10px 18px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary);
}

.sd-faq {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sd-faq-item {
    border: 1px solid var(--card-border);
    border-radius: 10px;
    overflow: hidden;
}

.sd-faq-item.open {
    border-color: var(--primary);
}

.sd-faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
    gap: 16px;
    transition: var(--transition-fast);
}

.sd-faq-q:hover,
.sd-faq-item.open .sd-faq-q {
    color: var(--primary);
}

.sd-faq-q svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.sd-faq-item.open .sd-faq-q svg {
    transform: rotate(180deg);
}

.sd-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.sd-faq-item.open .sd-faq-a {
    max-height: 400px;
}

.sd-faq-a p {
    padding: 0 20px 20px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    border-top: 1px solid var(--card-border);
    padding-top: 16px;
}

/* RESPONSIVE */
@media(max-width:1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .svc-three-card {
        border-right: none;
        border-bottom: 1px solid var(--card-border);
    }

    .svc-three-card:last-child {
        border-bottom: none;
    }

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

    .footer-phones-row {
        justify-content: center;
        gap: 24px;
    }

    .svc-photo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .svc-photo-card {
        height: 280px;
    }

    .clients-logos {
        grid-template-columns: repeat(4, 1fr);
    }

    .cta-final-card {
        flex-direction: column;
        gap: 32px;
        text-align: center;
        padding: 48px 32px;
    }
}

@media(max-width:768px) {
    .service-area-wrap {
        top: 80px;
        padding: 8px 12px 10px;
    }

    .service-area-bar {
        min-height: 44px;
        padding: 9px 14px;
        gap: 8px;
        font-size: 0.68rem;
    }

    .service-area-phone-icon {
        width: 15px;
        height: 15px;
    }

    .service-area-bar i {
        width: 4px;
        height: 4px;
    }

    .service-area-bar b {
        margin-left: -4px;
    }

    .service-area-bar a {
        font-size: 0.78rem;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #fff;
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        transition: var(--transition-normal);
        border-top: 1px solid rgba(23, 45, 150, 0.08);
    }

    .header-nav-with-area .nav-menu {
        top: 142px;
        height: calc(100vh - 142px);
    }

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

    .nav-link {
        color: #333;
        font-size: 1.1rem;
        padding: 12px 20px;
    }

    .hamburger {
        display: flex;
    }

    .nav-actions {
        display: none;
    }

    .logo-tagline {
        display: none;
    }

    .hero-split {
        flex-direction: column;
        padding-top: 80px;
    }

    .hero-split-side {
        padding: 60px 28px;
        min-height: 52vh;
    }

    .hero-split-side.particuliers {
        border-right: none;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    }

    .hero-split-content h2 {
        font-size: 2rem;
    }

    .intro-hero-title {
        font-size: 1.8rem;
    }

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

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

    .footer-phones-row {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-bottom-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .footer-bottom-social {
        flex-direction: column;
        gap: 12px;
    }

    .svc-photo-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .svc-photo-card {
        height: 220px;
    }

    .service-detail-container {
        padding-top: 96px;
    }

    .service-detail-container::before,
    .service-detail-container::after {
        display: none;
    }

    .service-detail-banner {
        width: calc(100% - 28px);
        height: 360px;
        min-height: 0;
    }

    .service-detail-banner .container {
        display: block;
    }

    .service-detail-title {
        left: 22px;
        bottom: 26px;
        font-size: 1.65rem;
        max-width: calc(100% - 44px);
    }

    .service-detail-banner .btn-primary {
        top: 18px;
        right: 18px;
        min-width: 0;
        padding: 13px 18px;
        font-size: .72rem;
    }

    .sd-card {
        padding: 28px;
    }

    .sd-includes,
    .sd-steps {
        grid-template-columns: 1fr;
    }

    .clients-logos {
        grid-template-columns: repeat(3, 1fr);
    }

    .urgence-band .container {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

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

/* =========================================
   SERVICES FILTERING
========================================= */
.services-filter {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 0 auto 40px auto;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--card-bg);
    color: var(--secondary);
    border: 1.5px solid var(--card-border);
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(23, 45, 150, 0.05);
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

.filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.svc-photo-card {
    transition: opacity 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.svc-photo-card.fade-out {
    opacity: 0 !important;
    transform: scale(0.94) !important;
}

.svc-photo-card.hidden-filter {
    display: none !important;
}

/* =========================================
   SOS ROOF-STYLE SCROLL REVEAL ANIMATIONS
========================================= */

/* Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.88);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Reveal classes — hidden by default, revealed by JS */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Staggered delay helpers */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.45s !important; }
.delay-5 { transition-delay: 0.6s !important; }

/* =========================================
   GRADIENT TEXT — SOS ROOF STYLE
========================================= */

/* Animated gradient on section eyebrows */
.section-eyebrow,
.intro-eyebrow,
.about-label {
    background: linear-gradient(90deg, var(--primary) 0%, #d01820 40%, var(--secondary) 80%, var(--primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* Gradient on hero split tags */
.hero-split-tag {
    background: linear-gradient(90deg, var(--primary) 0%, #ff4a50 60%, var(--primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3.5s linear infinite;
}

.hero-split-tag::before {
    background: var(--gold);
    -webkit-text-fill-color: initial;
}

/* Stat numbers — already gradient, now animated */
.stat-num {
    background: linear-gradient(135deg, var(--primary) 0%, #d01820 35%, var(--secondary) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

/* Section titles — color accent on hover */
.section-title {
    position: relative;
    transition: color 0.3s ease;
}

/* Intro hero title with gradient */
.intro-hero-title {
    background: linear-gradient(135deg, var(--secondary) 0%, #172D96 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =========================================
   ENHANCED CARD HOVER — SOS ROOF
========================================= */

/* Service photo cards — colored border glow on hover */
.svc-photo-card {
    border-radius: 14px;
    overflow: hidden;
}

.svc-photo-card:hover {
    box-shadow: 0 12px 40px rgba(235, 33, 41, 0.28), 0 4px 16px rgba(23, 45, 150, 0.18);
    transform: translateY(-4px);
}

.svc-three-photo-card:hover {
    box-shadow: 0 12px 40px rgba(235, 33, 41, 0.28);
}

/* Service label — gradient underline on hover */
.svc-photo-label {
    position: relative;
}

.svc-photo-label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transition: width 0.4s ease;
    border-radius: 2px;
}

.svc-photo-card:hover .svc-photo-label::after {
    width: 40px;
}

/* =========================================
   URGENCE BAND — Animated gradient
========================================= */

.urgence-band {
    background: linear-gradient(90deg, var(--primary) 0%, #d01820 30%, var(--secondary) 70%, #1a35b0 100%);
    background-size: 300% 100%;
    animation: gradientShift 6s ease infinite;
}

/* =========================================
   STAT BOXES — border color on scroll
========================================= */

.stat-box.revealed {
    border-color: rgba(235, 33, 41, 0.2);
}

/* =========================================
   SVC THREE PHOTO NUM — gradient
========================================= */
.svc-three-photo-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.svc-three-photo-arrow {
    font-size: 1.1rem;
    color: var(--gold) !important;
    -webkit-text-fill-color: var(--gold);
    display: block;
    margin-top: 8px;
    transform: translateX(0);
    transition: transform 0.3s ease;
    width: auto !important;
}

.svc-three-photo-card:hover .svc-three-photo-arrow {
    transform: translateX(8px);
}

/* =========================================
   FOOTER — gradient line accent
========================================= */
.footer-phones-divider {
    background: linear-gradient(90deg, transparent, var(--primary) 20%, var(--secondary) 80%, transparent);
    height: 1px;
    margin: 40px 0 32px;
    border: none;
    opacity: 0.5;
}

/* =========================================
   BUTTONS — shimmer animation on hover
========================================= */
.btn-primary::after,
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
    transition: left 0.5s ease;
}

.btn {
    position: relative;
    overflow: hidden;
}

.btn:hover::after {
    left: 150%;
}

/* =========================================
   CTA FINAL — photo de toiture + voile sombre
========================================= */
.cta-final-card {
    background-image:
        linear-gradient(105deg, rgba(12, 30, 125, 0.96) 0%, rgba(20, 37, 135, 0.88) 48%, rgba(20, 17, 98, 0.82) 100%),
        url('card-toiture-neuve.webp?v=20260618');
    background-position: center, center 44%;
    background-size: cover, cover;
    background-repeat: no-repeat;
    animation: none;
    border: none;
}

/* =========================================
   ABOUT TITLE — color accent word
========================================= */
.about-title span.accent,
.section-title span.accent {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
/* Bouton d'urgence permanent sur toutes les pages */
.page-urgence-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
}

.btn-urgence {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #eb2129 0%, #172d96 100%);
    color: #fff;
    font-family: var(--font-heading, Montserrat, sans-serif);
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(235, 33, 41, 0.35), 0 4px 20px rgba(23, 45, 150, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-urgence:hover {
    color: #fff;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 28px rgba(235, 33, 41, 0.48), 0 8px 28px rgba(23, 45, 150, 0.4);
}

@media (max-width: 600px) {
    .page-urgence-float { right: 14px; bottom: 14px; }
    .btn-urgence { padding: 12px 18px; font-size: 0.68rem; }
}

/* Page de demande de devis détaillée */
.quote-page { background: #f5f6f9; }
.quote-page-main { padding: 130px 20px 70px; }
.quote-page-card { width: min(980px, 100%); margin: 0 auto; padding: 42px; background: #fff; border-radius: 18px; box-shadow: 0 18px 55px rgba(23,45,150,.12); }
.quote-page-heading { text-align: center; margin-bottom: 36px; }
.quote-page-heading h1 { margin: 8px 0 10px; color: var(--secondary); font-size: clamp(2rem,5vw,3rem); }
.quote-page-heading p { color: var(--text-muted); }
.detailed-quote-form fieldset { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 22px; margin: 0 0 28px; padding: 26px; border: 1px solid var(--card-border); border-radius: 14px; }
.detailed-quote-form legend { padding: 0 10px; color: var(--secondary); font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800; }
.quote-field { display: flex; flex-direction: column; gap: 7px; color: var(--text-muted); font-size: .84rem; font-weight: 600; }
.quote-field-wide { grid-column: 1 / -1; }
.quote-field input:not([type=radio]):not([type=checkbox]), .quote-field select, .quote-field textarea { width: 100%; border: 1px solid #d9ddea; border-radius: 7px; padding: 11px 12px; background: #fff; color: var(--text-main); font: inherit; font-weight: 500; }
.quote-field textarea { resize: vertical; }
.quote-field input:focus, .quote-field select:focus, .quote-field textarea:focus { outline: 2px solid rgba(23,45,150,.16); border-color: var(--secondary); }
.quote-options { display: flex; flex-wrap: wrap; gap: 12px 24px; min-height: 42px; align-items: center; }
.quote-options label { display: inline-flex; gap: 7px; align-items: center; color: var(--text-main); font-weight: 500; }
.quote-options-stack { align-items: flex-start; flex-direction: column; gap: 8px; }
.quote-field small { font-weight: 400; }
.quote-submit-row { display: flex; flex-direction: column; align-items: center; gap: 12px; }
#quote-status.success { color: #17823b; } #quote-status.error { color: var(--primary); }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
@media(max-width:700px){.quote-page-main{padding:100px 12px 40px}.quote-page-card{padding:24px 16px}.detailed-quote-form fieldset{grid-template-columns:1fr;padding:20px 14px}.quote-field-wide{grid-column:auto}.quote-page .nav-links{display:none}}

/* Parcours d'intervention urgente */
.emergency-page { min-height: 100vh; background: #f4f6fb; }
.emergency-main {
    min-height: 100vh;
    padding: 124px 24px 70px;
    color: var(--text-main);
    background:
        radial-gradient(circle at 8% 15%, rgba(235,33,41,.1), transparent 30%),
        radial-gradient(circle at 92% 85%, rgba(23,45,150,.12), transparent 34%),
        #f4f6fb;
}
.emergency-content {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 20px;
    width: min(1180px,100%);
    margin: 0 auto;
    padding: 54px;
    overflow: hidden;
    border: 1px solid rgba(23,45,150,.1);
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 28px 80px rgba(23,45,150,.13);
}
.emergency-content::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 7px;
    background: linear-gradient(90deg,var(--primary),#ba3e60,var(--secondary));
}
.emergency-kicker {
    grid-column: 1 / -1;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-bottom: 0;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(235,33,41,.09);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}
.emergency-content h1 {
    grid-column: 1 / -1;
    margin: -4px 0 2px;
    color: var(--secondary);
    font-size: clamp(2.6rem,5vw,4.7rem);
    line-height: 1.02;
    letter-spacing: -.04em;
}
.emergency-content > p { grid-column: 1 / -1; max-width: 900px; margin: -5px 0 0; color: var(--text-muted); line-height: 1.7; }
.emergency-content > p + p { margin-top: -18px; }
.emergency-content h2 { margin: 0 0 18px; color: var(--secondary); font-size: 1.08rem; line-height: 1.35; }
.emergency-content section {
    position: relative;
    min-height: 290px;
    margin: 14px 0 0;
    padding: 66px 26px 26px;
    border: 1px solid #e2e6f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(23,45,150,.06);
}
.emergency-content section::before {
    position: absolute;
    top: 22px;
    left: 26px;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg,var(--primary),var(--secondary));
    color: #fff;
    font-family: var(--font-heading);
    font-size: .76rem;
    font-weight: 800;
}
.emergency-content section:nth-of-type(1)::before { content: '01'; }
.emergency-content section:nth-of-type(2)::before { content: '02'; }
.emergency-content section:nth-of-type(3)::before { content: '03'; }
.emergency-content ul,.emergency-content ol { margin: 0; padding-left: 19px; }
.emergency-content li { margin: 8px 0; color: #4d5568; font-size: .92rem; line-height: 1.55; }
.emergency-consent {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 10px;
    padding: 24px 26px;
    border-radius: 16px;
    background: #101d59;
    color: #fff;
}
.emergency-consent label { display: flex; align-items: center; gap: 12px; font-weight: 700; line-height: 1.45; cursor: pointer; }
.emergency-consent input { flex: 0 0 auto; width: 21px; height: 21px; accent-color: var(--primary); }
.emergency-consent .btn-light {
    flex: 0 0 auto;
    min-width: 230px;
    border: 0;
    background: linear-gradient(90deg,var(--primary),#d02e48);
    color: #fff;
    box-shadow: 0 10px 24px rgba(235,33,41,.25);
}
.emergency-consent .btn-light:hover { color: #fff; transform: translateY(-1px); }
.btn-light.disabled { opacity: .42; cursor: not-allowed; pointer-events: auto; box-shadow: none; }
@media(max-width:950px){.emergency-content{grid-template-columns:1fr;padding:42px 30px}.emergency-content section{min-height:0;margin-top:5px}.emergency-consent{align-items:stretch;flex-direction:column}.emergency-consent .btn-light{width:100%;min-width:0}}
@media(max-width:560px){.emergency-main{padding:92px 12px 35px}.emergency-content{gap:16px;padding:34px 18px 20px;border-radius:18px}.emergency-content h1{font-size:2.35rem}.emergency-content section{padding:62px 20px 22px}.emergency-consent{padding:20px}.emergency-content > p + p{margin-top:-12px}}

/* Connexion et création de compte */
.auth-page { min-height: 100vh; background: #f5f6f9; }
.auth-main { min-height: 100vh; display: grid; place-items: center; padding: 110px 20px 50px; background: radial-gradient(circle at top left,rgba(235,33,41,.1),transparent 36%),radial-gradient(circle at bottom right,rgba(23,45,150,.13),transparent 40%); }
.auth-card { width: min(460px,100%); padding: 36px; background: #fff; border: 1px solid var(--card-border); border-radius: 18px; box-shadow: 0 18px 55px rgba(23,45,150,.14); }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 30px; padding: 5px; border-radius: 10px; background: #f1f3f8; }
.auth-tab { padding: 11px; border: 0; border-radius: 8px; background: transparent; color: var(--text-muted); font-weight: 800; cursor: pointer; }
.auth-tab.active { background: #fff; color: var(--secondary); box-shadow: 0 3px 12px rgba(23,45,150,.1); }
.auth-form { display: none; }
.auth-form.active { display: flex; flex-direction: column; gap: 17px; }
.auth-form h1 { margin: 0; color: var(--secondary); }
.auth-form p { margin: -7px 0 3px; color: var(--text-muted); }
.auth-form label { display: flex; flex-direction: column; gap: 7px; color: var(--text-main); font-size: .86rem; font-weight: 700; }
.auth-form input { padding: 12px 13px; border: 1px solid #d9ddea; border-radius: 7px; font: inherit; }
.auth-form input:focus { outline: 2px solid rgba(23,45,150,.15); border-color: var(--secondary); }
.auth-switch { border: 0; background: none; color: var(--primary); cursor: pointer; }
.auth-message { color: var(--primary)!important; text-align: center; }
.auth-confirmation { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.auth-confirmation-icon { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: linear-gradient(135deg,#eb2129,#172d96); color: #fff; font-size: 2rem; font-weight: 900; }
.auth-confirmation h1 { margin: 0; color: var(--secondary); }
.auth-confirmation p { margin: 0; color: var(--text-muted); line-height: 1.55; }
.auth-confirmation .btn { margin-top: 8px; }
.blog-page { background: #f5f6f9; }
.blog-main { padding: 105px 20px 70px; }
.blog-main > article { width: min(1120px,100%); margin: 0 auto; }
.blog-hero { position: relative; min-height: 460px; overflow: hidden; border-radius: 18px; background-position: center; background-size: cover; }
.blog-hero-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 55px; background: linear-gradient(180deg,transparent 25%,rgba(8,16,56,.88)); color: #fff; }
.blog-hero-overlay span { margin-bottom: 12px; font-family: var(--font-heading); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.blog-hero-overlay h1 { max-width: 850px; margin: 0; color: #fff; font-size: clamp(2rem,5vw,3.7rem); line-height: 1.08; }
.blog-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 60px; align-items: start; padding-top: 55px; }
.blog-content { padding: 0 10px; }
.blog-lead { margin: 0 0 42px; color: var(--secondary); font-size: 1.25rem; font-weight: 600; line-height: 1.7; }
.blog-content section { margin: 0 0 38px; }
.blog-content h2 { margin: 0 0 13px; color: #111; font-size: 1.35rem; }
.blog-content p { color: var(--text-muted); line-height: 1.8; }
.blog-aside { position: sticky; top: 110px; padding: 28px; border-radius: 14px; background: #fff; box-shadow: 0 14px 40px rgba(23,45,150,.1); }
.blog-aside h3 { margin: 0 0 12px; color: var(--secondary); }
.blog-aside p { margin-bottom: 22px; color: var(--text-muted); line-height: 1.6; }
.blog-back { display: block; margin-top: 20px; color: var(--secondary); font-weight: 700; text-decoration: none; }
.account-page { min-height: 100vh; background: #f5f6f9; }
.account-main { padding: 125px 20px 70px; }
.account-shell { width: min(1120px,100%); margin: 0 auto; }
.account-welcome { margin-bottom: 38px; }
.account-welcome h1 { margin: 8px 0 10px; color: var(--secondary); font-size: clamp(2.2rem,5vw,3.8rem); }
.account-welcome p { color: var(--text-muted); font-size: 1.05rem; }
.account-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; }
.account-action { display: grid; grid-template-columns: 58px 1fr; gap: 18px; min-height: 205px; padding: 28px; border: 1px solid var(--card-border); border-radius: 16px; background: #fff; color: var(--text-main); text-decoration: none; box-shadow: 0 10px 35px rgba(23,45,150,.08); transition: transform .25s ease,box-shadow .25s ease; }
.account-action:hover { transform: translateY(-4px); box-shadow: 0 16px 42px rgba(23,45,150,.14); }
.account-action-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: rgba(23,45,150,.08); color: var(--secondary); font-size: 1.8rem; font-weight: 900; }
.account-action h2 { margin: 3px 0 10px; color: var(--secondary); font-size: 1.25rem; }
.account-action p { margin: 0; color: var(--text-muted); line-height: 1.6; }
.account-action strong { grid-column: 2; color: var(--primary); }
.account-action-urgent { background: linear-gradient(135deg,#eb2129,#172d96); color: #fff; }
.account-action-urgent .account-action-icon { background: rgba(255,255,255,.18); color: #fff; }
.account-action-urgent h2,.account-action-urgent p,.account-action-urgent strong { color: #fff; }
.account-action-muted { cursor: default; }
.account-action-muted:hover { transform: none; }
.account-profile-button { width: 100%; border: 1px solid var(--card-border); text-align: left; font: inherit; cursor: pointer; }
.profile-modal-card { max-width: 720px; }
.profile-modal-card h2 { margin: 0 0 28px; color: var(--secondary); }
.profile-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.profile-form label { display: flex; flex-direction: column; gap: 7px; color: var(--text-main); font-size: .86rem; font-weight: 700; }
.profile-form input { padding: 12px 13px; border: 1px solid #d9ddea; border-radius: 7px; font: inherit; }
.profile-form input:focus { outline: 2px solid rgba(23,45,150,.15); border-color: var(--secondary); }
.profile-wide { grid-column: 1 / -1; }
.profile-status { min-height: 24px; margin-top: 18px; color: #17823b; font-weight: 700; }
@media(max-width:700px){.account-main{padding:100px 14px 40px}.account-grid{grid-template-columns:1fr}.account-action{padding:22px}.account-page .logo-tagline{display:none}.profile-form{grid-template-columns:1fr}.profile-wide{grid-column:auto}}
@media(max-width:800px){.blog-layout{grid-template-columns:1fr;gap:25px}.blog-aside{position:static}.blog-hero{min-height:380px}.blog-hero-overlay{padding:30px}}
@media(max-width:650px){.auth-card{padding:26px 20px}.emergency-page .nav-links,.auth-page .nav-links{display:none}}

@media(max-width:520px) {
    .service-area-bar {
        flex-wrap: wrap;
        row-gap: 5px;
        max-width: 360px;
    }

    .service-area-bar b {
        display: none;
    }

    .service-area-bar a {
        flex-basis: 100%;
        text-align: center;
    }

    .header-nav-with-area .nav-menu {
        top: 154px;
        height: calc(100vh - 154px);
    }

    .hero-split {
        padding-top: 80px;
    }
}


/* Hide tagline on mobile devices */
@media(max-width: 768px) {
    .logo-tagline {
        display: none !important;
    }
}
