/* =============================================
   MADéC — Image-Driven Design System
   Primary: #b74c20  |  Secondary: #766863
   Dark / Light mode support
   ============================================= */

/* --- CSS CUSTOM PROPERTIES --- */
:root {
    --primary: #b74c20;
    --primary-dark: #994018;
    --primary-light: #e8a87c;
    --primary-bg: #fdf0e8;
    --primary-border: #f5d5c0;
    --secondary: #766863;
    --secondary-dark: #5a4e4a;
    --accent: #e8a87c;

    --bg: #ffffff;
    --bg-alt: #f8fafb;
    --bg-footer: #1c1412;
    --surface: #ffffff;
    --surface-hover: #f8fafb;
    --text: #1e293b;
    --text-muted: #475569;
    --text-light: #64748b;
    --border: #e2e8f0;
    --border-light: #f1f5f9;

    --nav-bg: rgba(255, 255, 255, .97);
    --nav-text: #475569;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, .06);
    --card-shadow-hover: 0 12px 40px rgba(0, 0, 0, .12);
    --hero-gradient: linear-gradient(135deg, rgba(118, 104, 99, .75) 0%, rgba(183, 76, 32, .55) 100%);
    --page-hero-gradient: linear-gradient(135deg, rgba(118, 104, 99, .8) 0%, rgb(0 0 0 / 60%) 100%);
    --parallax-gradient: linear-gradient(135deg, rgba(118, 104, 99, .85) 0%, rgba(183, 76, 32, .75) 100%);
    --overlay-gradient: linear-gradient(180deg, transparent 30%, rgba(118, 104, 99, .85) 100%);
    --overlay-gradient-hover: linear-gradient(180deg, transparent 10%, rgba(183, 76, 32, .9) 100%);
    --img-bg-brightness: brightness(.2);
}

/* --- DARK MODE --- */
body.dark-mode {
    --bg: #121212;
    --bg-alt: #1a1a1a;
    --bg-footer: #0a0a0a;
    --surface: #1e1e1e;
    --surface-hover: #252525;
    --text: #e8e0dc;
    --text-muted: #b8ada8;
    --text-light: #a89e99;
    --border: #333;
    --border-light: #2a2a2a;

    --nav-bg: rgba(18, 18, 18, .97);
    --nav-text: #b8ada8;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, .3);
    --card-shadow-hover: 0 12px 40px rgba(0, 0, 0, .5);
    --primary-bg: #2a1a10;
    --primary-border: #4a2a1a;
    --hero-gradient: linear-gradient(135deg, rgba(18, 18, 18, .8) 0%, rgba(183, 76, 32, .5) 100%);
    --page-hero-gradient: linear-gradient(135deg, rgba(18, 18, 18, .85) 0%, rgba(183, 76, 32, .55) 100%);
    --parallax-gradient: linear-gradient(135deg, rgba(18, 18, 18, .9) 0%, rgba(183, 76, 32, .7) 100%);
    --overlay-gradient: linear-gradient(180deg, transparent 30%, rgba(18, 18, 18, .85) 100%);
    --overlay-gradient-hover: linear-gradient(180deg, transparent 10%, rgba(183, 76, 32, .85) 100%);
    --img-bg-brightness: brightness(.12);
}

/* --- RESET & BASE --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background .4s, color .4s;
}

body.madec-loading {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

img.img-fb-loading {
    background: linear-gradient(100deg, #eceff3 18%, #f7f8fa 38%, #eceff3 58%);
    background-size: 220% 100%;
    animation: imgSkeletonShimmer 1.15s linear infinite;
    filter: blur(7px);
    opacity: .55;
}

img.img-fb-loaded {
    animation: none;
    filter: none;
    opacity: 1;
    transition: filter .35s ease, opacity .35s ease;
}

img.img-fb-error {
    animation: none;
    filter: none;
    opacity: .4;
    background: linear-gradient(120deg, #f1f5f9, #e2e8f0);
}

@keyframes imgSkeletonShimmer {
    from {
        background-position: 100% 0;
    }

    to {
        background-position: -100% 0;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: .3s;
}

ul {
    list-style: none;
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

.text-accent {
    color: var(--primary);
}

/* --- LOADING SCREEN --- */
.loading-screen {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 24px;
    background: #0d0f1b;
    color: #fff;
    transition: opacity .45s ease, visibility .45s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-screen-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: min(360px, 84vw);
    padding: 14px 10px;
    text-align: center;
}

.loading-brand-row {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .17em;
    flex-wrap: nowrap;
}

.loading-brand-letter {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 7vw, 3.25rem);
    font-weight: 800;
    letter-spacing: .1em;
    text-indent: .05em;
    color: rgba(244, 244, 245, .9);
    text-shadow: none;
    opacity: 0;
    transform: translateY(6px);
    animation: loadingLetterIn .34s ease forwards;
}

.loading-brand-letter:nth-child(1) {
    animation-delay: .05s;
}

.loading-brand-letter:nth-child(2) {
    animation-delay: .14s;
}

.loading-brand-letter:nth-child(3) {
    animation-delay: .23s;
}

.loading-brand-letter:nth-child(4) {
    animation-delay: .32s;
}

.loading-brand-letter:nth-child(5) {
    animation-delay: .41s;
}

.loading-brand-letter:nth-child(3),
.loading-brand-letter:nth-child(5) {
    color: var(--accent);
}

.loading-track {
    position: relative;
    width: min(320px, 100%);
    height: 3px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, .14);
    box-shadow: none;
}

.loading-track::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
    animation: loadingShimmer 1.4s linear infinite;
}

.loading-track::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 45%;
    border-radius: inherit;
    background: var(--accent);
    box-shadow: none;
    animation: loadingSweep 1s ease-in-out infinite;
}

.loading-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
}

.loading-status::before {
    content: none;
}

@keyframes loadingLetterIn {
    from {
        opacity: 0;
        transform: translateY(6px);
        filter: blur(1px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes loadingSweep {
    0% {
        transform: translateX(-120%);
    }

    100% {
        transform: translateX(250%);
    }
}

@keyframes loadingShimmer {
    from {
        transform: translateX(-120%);
    }

    to {
        transform: translateX(120%);
    }
}

@media (max-width: 520px) {
    .loading-screen-inner {
        padding: 12px 8px;
    }

    .loading-status {
        font-size: .78rem;
        letter-spacing: .12em;
    }
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: background .4s, padding .4s, box-shadow .4s;
}

.navbar.scrolled {
    background: var(--nav-bg);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, .08);
}

body.dark-mode .navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, .3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 42px;
    width: auto;
    border-radius: 6px;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--secondary);
    transition: color .4s;
}

.navbar.scrolled .logo-text {
    color: var(--secondary);
}

/* On pages with dark hero, override initial nav colors */
.dark-hero .navbar:not(.scrolled) .logo-text {
    color: #fff;
}

.dark-hero .navbar:not(.scrolled) .nav-links a {
    color: rgba(255, 255, 255, .9);
}

.dark-hero .navbar:not(.scrolled) .nav-links a:hover,
.dark-hero .navbar:not(.scrolled) .nav-links a.active {
    color: #fff;
}

.dark-hero .navbar:not(.scrolled) .lang-toggle,
.dark-hero .navbar:not(.scrolled) .theme-toggle {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .3);
    color: #fff;
}

.dark-hero .navbar:not(.scrolled) .hamburger span {
    background: #fff;
}

/* Index page: hero-split has light bg, so keep dark nav text in light mode */
.dark-hero.has-light-hero .navbar:not(.scrolled) .logo-text {
    color: var(--secondary);
}

.dark-hero.has-light-hero .navbar:not(.scrolled) .nav-links a {
    color: var(--nav-text);
}

.dark-hero.has-light-hero .navbar:not(.scrolled) .nav-links a:hover,
.dark-hero.has-light-hero .navbar:not(.scrolled) .nav-links a.active {
    color: var(--secondary);
}

.dark-hero.has-light-hero .navbar:not(.scrolled) .lang-toggle,
.dark-hero.has-light-hero .navbar:not(.scrolled) .theme-toggle {
    background: var(--bg-alt);
    border-color: var(--border);
    color: var(--text);
}

.dark-hero.has-light-hero .navbar:not(.scrolled) .hamburger span {
    background: var(--text);
}

/* In dark mode, index hero bg is dark so re-apply white nav */
body.dark-mode.has-light-hero .navbar:not(.scrolled) .logo-text {
    color: #fff;
}

body.dark-mode.has-light-hero .navbar:not(.scrolled) .nav-links a {
    color: rgba(255, 255, 255, .9);
}

body.dark-mode.has-light-hero .navbar:not(.scrolled) .nav-links a:hover,
body.dark-mode.has-light-hero .navbar:not(.scrolled) .nav-links a.active {
    color: #fff;
}

body.dark-mode.has-light-hero .navbar:not(.scrolled) .lang-toggle,
body.dark-mode.has-light-hero .navbar:not(.scrolled) .theme-toggle {
    background: rgba(255, 255, 255, .15);
    border-color: rgba(255, 255, 255, .3);
    color: #fff;
}

body.dark-mode.has-light-hero .navbar:not(.scrolled) .hamburger span {
    background: #fff;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: .9rem;
    font-weight: 500;
    color: var(--nav-text);
    position: relative;
    padding: 4px 0;
    transition: color .3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width .3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.navbar.scrolled .nav-links a {
    color: var(--nav-text);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
    color: var(--secondary);
}

.nav-cta {
    background: var(--primary) !important;
    color: #fff !important;
    padding: 8px 20px !important;
    border-radius: 8px;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-1px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lang-toggle,
.theme-toggle {
    background: var(--border-light);
    border: 1px solid var(--border);
    padding: 6px 14px;
    border-radius: 6px;
    color: var(--secondary);
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.theme-toggle {
    padding: 6px 10px;
    font-size: 1rem;
}

.lang-toggle:hover,
.theme-toggle:hover {
    background: var(--primary-bg);
    color: var(--primary);
}

.navbar.scrolled .lang-toggle,
.navbar.scrolled .theme-toggle {
    background: var(--border-light);
    border-color: var(--border);
    color: var(--secondary);
}

/* HAMBURGER */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: .3s;
}

.navbar.scrolled .hamburger span {
    background: var(--text);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- HERO SPLIT LAYOUT --- */
.hero-split {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--bg);
}

.hero-bg-geometric {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.hero-bg-geometric>svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-bg-image-home {
    display: none;
}

body.has-light-hero {
    background: transparent;
}

body.has-light-hero::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .74) 55%, rgba(255, 255, 255, .86) 100%),
        url('images/Picture1.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Geometric SVG background */
.hero-geom-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    color: var(--primary)#b74c20;
    left: -50vw;
}

.geom-svg {
    width: 100%;
    height: 100%;
}

/* Ambient gradient blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .15;
    animation: blobFloat 12s ease-in-out infinite alternate;
}

.hero-blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    top: -10%;
    right: 5%;
}

.hero-blob-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    bottom: 10%;
    right: 25%;
    animation-delay: -4s;
    animation-duration: 15s;
}

.hero-blob-3 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    top: 30%;
    left: 35%;
    animation-delay: -8s;
    animation-duration: 18s;
    opacity: .08;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -20px) scale(1.05);
    }

    100% {
        transform: translate(-20px, 15px) scale(.95);
    }
}

body.dark-mode .hero-blob {
    opacity: .08;
}

/* SVG geometry animations */
.geo-rotate-slow {
    animation: geoSpin 60s linear infinite;
}

.geo-rotate-reverse {
    animation: geoSpin 45s linear infinite reverse;
}

@keyframes geoSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.geom-svg .geo-rotate-slow,
.geom-svg .geo-rotate-reverse {
    transform-origin: 1020px 400px;
}

.hero-gradient-left {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--bg) 38%, transparent 72%);
}

.hero-gradient-bottom {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, var(--bg) 100%);
}

/* Container */
.hero-split-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    padding-top: 120px;
    padding-bottom: 80px;
}

/* Text side */
.hero-split-text {
    text-align: left;
}

.hero-split .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-bg);
    color: var(--primary);
    border: 1px solid var(--primary-border);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-split .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    letter-spacing: -1px;
    color: var(--text);
    line-height: 1.15;
}

.hero-split .hero-title .accent {
    color: var(--primary);
}

.hero-split .hero-subtitle {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    max-width: 520px;
    margin: 0 0 32px;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.8;
}

.hero-split .hero-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Image side */
.hero-split-image {
    display: flex;
    align-items: stretch;
    gap: 16px;
}

.hero-img-wrapper {
    position: relative;
    flex: 1;
    min-width: 0;
}

/* Stat cards alongside image */
.hero-stats-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    flex-shrink: 0;
    width: 130px;
}

.hero-stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 18px 14px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform .3s, box-shadow .3s;
}

.hero-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

.hero-stat-card i {
    display: block;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 8px;
    opacity: .7;
}

.hero-stat-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: .68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .3px;
    line-height: 1.3;
}

.hero-img-wrapper img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(183, 76, 32, .18);
    position: relative;
    z-index: 2;
}

.hero-img-accent {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border-radius: 24px;
    border: 2px solid var(--primary-light);
    z-index: 1;
}

.hero-img-frame {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    border-radius: 20px;
    background: var(--primary);
    opacity: .12;
    z-index: 0;
}

/* Scroll indicator (reuse) */
.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.hero-scroll a {
    display: block;
    width: 28px;
    height: 44px;
    border-radius: 14px;
    border: 2px solid var(--primary-light);
    position: relative;
}

.hero-scroll a span {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 28px;
    }
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: .95rem;
    font-weight: 600;
    transition: all .3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(183, 76, 32, .3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, .25);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* --- SECTIONS --- */
.section {
    padding: 100px 0;
    background: var(--bg);
    transition: background .4s;
}

.section-alt {
    background: var(--bg-alt);
}

.section-dark {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
}

.img-bg-section {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: var(--img-bg-brightness);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.05rem;
}

.section-header-light h2,
.section-header-light p {
    color: #fff;
}

.section-header-light p {
    color: rgba(255, 255, 255, .8);
}

.section-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 12px;
}

.tag-light {
    color: var(--accent);
}

/* --- PAGE HERO (sub pages) --- */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: #00000073;
    backdrop-filter: brightness(0.5);
}



.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
}

.page-hero-tag {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 12px;
}

.page-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
}

/* --- SPLIT BLOCK (image + text) --- */
.split-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-reverse .split-image {
    order: 2;
}

.split-reverse .split-text {
    order: 1;
}

.split-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .1);
}

.split-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.img-accent-box {
    position: absolute;
    bottom: -10px;
    right: -10px;
    background: var(--primary);
    color: #fff;
    padding: 16px 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(183, 76, 32, .3);
}

.accent-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.accent-text {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.split-text h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin-bottom: 20px;
}

.split-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.value-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.pill {
    padding: 6px 16px;
    border-radius: 50px;
    background: var(--primary-bg);
    color: var(--primary);
    font-size: .8rem;
    font-weight: 600;
    border: 1px solid var(--primary-border);
}

/* --- SERVICE IMAGE CARDS (homepage preview) --- */
.services-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.services-preview-grid.services-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.service-img-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 320px;
    display: block;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .15);
}

.service-img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
}

.service-img-card:hover img {
    transform: scale(1.08);
}

.service-img-overlay {
    position: absolute;
    inset: 0;
    background: var(--overlay-gradient);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    color: #fff;
    transition: background .3s;
}

.service-img-card:hover .service-img-overlay {
    background: var(--overlay-gradient-hover);
}

.service-img-num {
    font-size: .8rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
}

.service-img-overlay h3 {
    font-size: 1.15rem;
    margin: 6px 0 4px;
    color: #fff;
}

.service-img-overlay p {
    font-size: .85rem;
    color: rgba(255, 255, 255, .8);
    line-height: 1.5;
}

/* --- SERVICE LIST (services page) --- */
.service-list {
    margin-bottom: 20px;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-muted);
    font-size: .95rem;
}

.service-list li i {
    color: var(--primary);
    font-size: .9rem;
}

/* --- BREADCRUMB BAR --- */
.breadcrumb-bar {
    background: var(--bg-alt);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    transition: background .4s;
}

.breadcrumb-bar .container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
}

.breadcrumb-bar a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color .3s;
}

.breadcrumb-bar a:hover {
    color: var(--primary-dark);
}

.breadcrumb-bar i {
    font-size: .65rem;
    color: var(--text-light);
}

.breadcrumb-bar span {
    color: var(--text-muted);
}

/* --- SERVICE CARDS (services.html summary) --- */
.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card {
    background: var(--surface);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform .3s, box-shadow .3s, background .4s;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, .12);
}

.service-card-img {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s;
}

.service-card:hover .service-card-img img {
    transform: scale(1.06);
}

.service-card-num {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-body {
    padding: 28px 28px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.service-card-body h3 {
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 12px;
}

.service-card-body>p {
    color: var(--text-muted);
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
    margin-top: auto;
    transition: color .3s, gap .3s;
}

.service-card-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

.service-card-link i {
    font-size: .8rem;
    transition: transform .3s;
}

.service-card-link:hover i {
    transform: translateX(4px);
}

/* --- DETAIL CHECKLIST GRID --- */
.detail-checklist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.detail-check-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 28px 24px;
    border: 1px solid var(--border);
    transition: transform .3s, box-shadow .3s, background .4s;
}

.detail-check-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.detail-check-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--primary-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 14px;
}

.detail-check-card h4 {
    font-size: 1.05rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

.detail-check-card p {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- OTHER SERVICES GRID --- */
.other-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.other-service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 24px;
    background: var(--surface);
    border-radius: 16px;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: transform .3s, box-shadow .3s, background .4s;
}

.other-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
}

.other-service-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
    transition: background .3s;
}

.other-service-card:hover .other-service-icon {
    background: var(--primary-dark);
}

.other-service-card h4 {
    font-size: 1rem;
    color: var(--secondary);
    transition: color .3s;
}

.other-service-card:hover h4 {
    color: var(--primary);
}

/* --- GESTION DETAIL GRID --- */
.gestion-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.gestion-detail-card {
    background: var(--surface);
    border-radius: 18px;
    padding: 32px 28px;
    border: 1px solid var(--border);
    transition: transform .3s, box-shadow .3s, background .4s;
}

.gestion-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .1);
}

.gestion-detail-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.gestion-detail-header h3 {
    font-size: 1.3rem;
    color: var(--secondary);
}

.gestion-detail-card>p {
    font-size: .95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.gestion-detail-card .service-list {
    margin-top: 0;
}

/* --- CTA BANNER (Modern) --- */
.cta-banner {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cta-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(28, 20, 18, .92) 0%, rgba(61, 34, 24, .85) 40%, rgba(183, 76, 32, .75) 100%);
}

body.dark-mode .cta-bg-overlay {
    background: linear-gradient(135deg, rgba(10, 9, 6, .95) 0%, rgba(30, 19, 14, .9) 40%, rgba(122, 50, 21, .8) 100%);
}

.cta-geom {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-geom svg {
    width: 100%;
    height: 100%;
}

.cta-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
    gap: 60px;
}

/* Text side */
.cta-text-side {
    color: #fff;
}

.cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 20px;
}

.cta-text-side h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    line-height: 1.25;
    margin-bottom: 18px;
    color: #fff;
    font-weight: 700;
}

.cta-highlight {
    position: relative;
    color: var(--accent);
}

.cta-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 8px;
    background: rgba(232, 168, 124, .2);
    border-radius: 4px;
    z-index: -1;
}

.cta-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, .7);
    max-width: 480px;
}

/* Glass card side */
.cta-card-side {
    display: flex;
    justify-content: center;
}

.cta-glass-card {
    position: relative;
    background: rgba(255, 255, 255, .07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 24px;
    padding: 40px 32px;
    max-width: 380px;
    width: 100%;
    overflow: hidden;
    transition: transform .4s, box-shadow .4s;
}

.cta-glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, .3);
}

.cta-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(183, 76, 32, .3);
}

.cta-glass-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.cta-glass-card p {
    font-size: .92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .65);
    margin-bottom: 24px;
}

.cta-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 12px;
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    font-size: .92rem;
    transition: transform .3s, box-shadow .3s;
    text-decoration: none;
}

.cta-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, .2);
}

.cta-card-btn i {
    transition: transform .3s;
}

.cta-card-btn:hover i {
    transform: translateX(4px);
}

.cta-card-glow {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: .2;
    pointer-events: none;
}

/* --- GALLERY PREVIEW (homepage) --- */
.gallery-preview {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 220px 220px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-large {
    grid-row: 1 / 3;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .6));
    color: #fff;
    font-size: .85rem;
    font-weight: 500;
}

/* --- GALLERY MASONRY (galerie page) --- */
.gallery-filters {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.gal-filter {
    padding: 8px 20px;
    border-radius: 50px;
    border: 2px solid var(--border);
    background: var(--surface);
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: .3s;
}

.gal-filter:hover,
.gal-filter.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.gallery-masonry {
    columns: 3;
    column-gap: 20px;
}

.gallery-masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    transition: transform .3s;
}

.gallery-masonry-item:hover {
    transform: translateY(-4px);
}

.gallery-masonry-item img {
    width: 100%;
    display: block;
    transition: transform .5s;
}

.gallery-masonry-item:hover img {
    transform: scale(1.04);
}

.gallery-masonry-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: #fff;
    background: linear-gradient(transparent, rgba(0, 0, 0, .7));
    opacity: 0;
    transition: opacity .3s;
}

.gallery-masonry-item:hover .gallery-masonry-caption {
    opacity: 1;
}

.gallery-masonry-caption h4 {
    font-size: .95rem;
    margin-bottom: 4px;
    color: #fff;
    opacity: 0;
}

.gallery-masonry-caption span {
    font-size: .75rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
}

.gallery-masonry-item.hidden {
    display: none;
}

/* --- LIGHTBOX --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, .92);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 8px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, .1);
    border: none;
    color: #fff;
    font-size: 1.4rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    transition: .3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    top: 20px;
    right: 20px;
}

.lightbox-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, .25);
}

.lightbox-caption {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: .95rem;
    text-align: center;
    background: rgba(0, 0, 0, .5);
    padding: 8px 20px;
    border-radius: 8px;
}

/* --- VALUES VISUAL GRID (apropos page) --- */
.values-visual-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-visual-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--card-shadow);
    transition: transform .3s, box-shadow .3s, background .4s;
}

.value-visual-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}

.value-visual-img {
    height: 200px;
    overflow: hidden;
}

.value-visual-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.value-visual-card:hover .value-visual-img img {
    transform: scale(1.08);
}

.value-visual-content {
    padding: 24px;
}

.value-visual-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--primary-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.value-visual-content h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.value-visual-content p {
    font-size: .9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- OBJECTIVES CARDS --- */
.obj-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.obj-cards.obj-cards-5 {
    grid-template-columns: repeat(5, 1fr);
}

.obj-card {
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 16px;
    padding: 36px;
    color: #fff;
    transition: transform .3s, background .3s;
}

.obj-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, .14);
}

.obj-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 16px;
    line-height: 1;
}

.obj-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #fff;
}

.obj-card p {
    font-size: .9rem;
    color: rgba(255, 255, 255, .8);
    line-height: 1.6;
}

/* --- ABOUT: STRATEGIC OBJECTIVES REDESIGN --- */
.objectives-strategic .section-header {
    margin-bottom: 40px;
}

.objectives-strategic .section-header h2,
.objectives-strategic .obj-card h3,
.objectives-strategic .obj-num {
    font-family: 'Inter', 'Segoe UI', sans-serif;
}

.objectives-strategic .section-header h2 {
    font-weight: 800;
    letter-spacing: -.02em;
}

.objectives-strategic .obj-cards.obj-cards-5 {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 18px;
}

.objectives-strategic .obj-cards.obj-cards-5 .obj-card:nth-child(1),
.objectives-strategic .obj-cards.obj-cards-5 .obj-card:nth-child(2),
.objectives-strategic .obj-cards.obj-cards-5 .obj-card:nth-child(3) {
    grid-column: span 4;
}

.objectives-strategic .obj-cards.obj-cards-5 .obj-card:nth-child(4),
.objectives-strategic .obj-cards.obj-cards-5 .obj-card:nth-child(5) {
    grid-column: span 6;
}

.objectives-strategic .obj-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 180px;
    padding: 26px 24px 22px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .14);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .07));
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .2);
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.objectives-strategic .obj-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), rgba(255, 255, 255, .25));
    opacity: .9;
}

.objectives-strategic .obj-card::after {
    content: '';
    position: absolute;
    right: -42px;
    bottom: -42px;
    width: 140px;
    height: 140px;
    border-radius: inherit;
    background: radial-gradient(circle, rgba(232, 168, 124, .2), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.objectives-strategic .obj-card:hover {
    transform: translateY(-7px);
    border-color: rgba(232, 168, 124, .5);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .3);
}

.objectives-strategic .obj-num {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 46px;
    height: 46px;
    margin: 0;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .92rem;
    letter-spacing: .08em;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(140deg, rgba(183, 76, 32, .9), rgba(232, 168, 124, .88));
    box-shadow: 0 10px 18px rgba(0, 0, 0, .22);
}

.objectives-strategic .obj-card h3 {
    max-width: calc(100% - 62px);
    font-size: 1.1rem;
    line-height: 1.32;
    margin-bottom: 12px;
    font-weight: 700;
}

.objectives-strategic .obj-card p {
    font-size: .9rem;
    line-height: 1.68;
    color: rgba(255, 255, 255, .84);
}

@media (max-width: 1024px) {
    .objectives-strategic .obj-cards.obj-cards-5 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .objectives-strategic .obj-cards.obj-cards-5 .obj-card:nth-child(1),
    .objectives-strategic .obj-cards.obj-cards-5 .obj-card:nth-child(2),
    .objectives-strategic .obj-cards.obj-cards-5 .obj-card:nth-child(3),
    .objectives-strategic .obj-cards.obj-cards-5 .obj-card:nth-child(4),
    .objectives-strategic .obj-cards.obj-cards-5 .obj-card:nth-child(5) {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .objectives-strategic .obj-cards.obj-cards-5 {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .objectives-strategic .obj-card {
        min-height: 0;
        padding: 22px 18px 18px;
    }

    .objectives-strategic .obj-num {
        width: 40px;
        height: 40px;
        font-size: .8rem;
    }
}

/* --- SERVICE SUB-TITLE --- */
.service-sub-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin: 28px 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-sub-title i {
    font-size: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--primary-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* --- GESTION MODULES --- */
.gestion-modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.gestion-module {
    background: var(--bg-alt);
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform .3s, box-shadow .3s, background .4s;
}

.gestion-module:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, .1);
}

.gestion-module-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin: 0 auto 16px;
}

.gestion-module h4 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

.gestion-module p {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* --- TEAM SECTION --- */
.team-founder {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    align-items: center;
    background: var(--bg-alt);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 60px;
    transition: background .4s;
}

.team-founder-img {
    height: 100%;
}

.team-founder-img img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
}

.team-founder-info {
    padding: 40px;
}

.team-role {
    font-family: 'Inter', sans-serif;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
}

.team-founder-info h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    color: var(--secondary);
}

.team-founder-info p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 20px;
}

.team-social {
    display: flex;
    gap: 12px;
}

.team-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--secondary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.team-social a:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--card-shadow);
    transition: transform .3s, box-shadow .3s, background .4s;
    text-align: center;
    cursor: pointer;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}

.team-card-img {
    height: 260px;
    overflow: hidden;
}

.team-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s;
}

.team-card:hover .team-card-img img {
    transform: scale(1.06);
}

.team-card-info {
    padding: 20px;
}

.team-card-info h4 {
    font-size: 1.05rem;
    margin-bottom: 4px;
    color: var(--secondary);
}

.team-card-info span {
    font-size: .8rem;
    color: var(--text-light);
}

/* --- TEAM MODAL --- */
.team-modal {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10, 10, 10, .72);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity .25s ease;
}

.team-modal.active {
    display: flex;
    opacity: 1;
}

.team-modal-panel {
    position: relative;
    width: min(980px, 100%);
    display: grid;
    grid-template-columns: minmax(320px, 40%) 1fr;
    background: var(--surface);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .35);
    transform: scale(.92) translateY(12px);
    opacity: 0;
    transition: opacity .3s ease;
    padding: 0;
    height: min(80vh, 680px);
}

.team-modal.active .team-modal-panel {
    animation: teamModalZoomIn .28s cubic-bezier(.2, .8, .2, 1) forwards;
}

.team-modal-media {
    position: relative;
    min-height: 100%;
    background: linear-gradient(180deg, var(--primary-bg), var(--bg-alt));
}

.team-modal-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 42%, rgba(14, 14, 18, .78) 100%);
    pointer-events: none;
}

.team-modal-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-modal-identity {
    position: absolute;
    left: 24px;
    right: 20px;
    bottom: 22px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.team-modal-content {
    padding: 34px 36px;
    height: 100%;
    overflow-y: auto;
}

.team-modal-role {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 255, 255, .2);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-align: center;
}

.team-modal-identity h3 {
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 6px 24px rgba(0, 0, 0, .45);
    font-family: revert;
    text-align: center;
}

.team-modal-content p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1rem;
}



.team-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(118, 104, 99, .9);
    cursor: pointer;
    transition: transform .2s, background .2s;
    z-index: 1;
}

.team-modal-close:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.team-modal-backdrop {
    position: absolute;
    inset: 0;
}

body.team-modal-open {
    overflow: hidden;
}

@keyframes teamModalZoomIn {
    from {
        opacity: 0;
        transform: scale(.92) translateY(12px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* --- CONTACT --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-info h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: 16px;
}

.contact-info>p {
    color: var(--text-muted);
    margin-bottom: 32px;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    background: var(--bg-alt);
    border: 1px solid var(--border);
    transition: border-color .3s, background .4s;
}

.contact-card:hover {
    border-color: var(--primary);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--primary-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card h4 {
    font-family: 'Inter', sans-serif;
    font-size: .85rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-card p {
    font-size: .9rem;
    color: var(--text-light);
}

.contact-legal {
    color: var(--text-light);
    font-size: .85rem;
}

.contact-legal p {
    margin-bottom: 4px;
}

.contact-form-wrap {
    background: var(--surface);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border);
    transition: background .4s, border-color .4s;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 2px solid var(--border);
    background: var(--bg-alt);
    font-family: 'Inter', sans-serif;
    font-size: .95rem;
    color: var(--text);
    transition: border-color .3s, background .3s;
    outline: none;
}

.form-group input[type="file"] {
    padding: 10px 12px;
    background: var(--surface);
    cursor: pointer;
}

.form-group input[type="file"]::file-selector-button {
    margin-right: 12px;
    border: 0;
    border-radius: 8px;
    background: var(--primary-bg);
    color: var(--primary-dark);
    font: inherit;
    font-weight: 600;
    padding: 10px 14px;
    cursor: pointer;
    transition: background .3s, color .3s;
}

.form-group input[type="file"]::file-selector-button:hover {
    background: var(--primary);
    color: #fff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    background: var(--surface);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-help,
.form-error {
    display: block;
    margin-top: 8px;
    font-size: .8rem;
}

.form-help {
    color: var(--text-light);
}

.form-error {
    color: #b91c1c;
    min-height: 1em;
}

body.dark-mode .form-error {
    color: #fca5a5;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
}

.form-success i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.form-success h3 {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-light);
}

.form-success.error i {
    color: #dc2626;
}

.form-success.error h3 {
    color: #b91c1c;
}

.form-success.error p {
    color: var(--text-muted);
}

/* --- MAP --- */
.map-section {
    width: 100%;
}

.map-section iframe {
    width: 100%;
    display: block;
}

/* --- FOOTER --- */
.footer {
    background: var(--bg-footer);
    color: rgba(255, 255, 255, .8);
    padding: 60px 0 0;
    transition: background .4s;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo {
    height: 100px;
    width: 100px;
    border-radius: 8px;
}

.footer-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.footer-tagline {
    font-size: .85rem;
    color: var(--accent);
    font-style: italic;
}

.footer-nav h4,
.footer-contact-col h4 {
    font-family: 'Inter', sans-serif;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    margin-bottom: 16px;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nav a {
    font-size: .9rem;
    color: rgba(255, 255, 255, .6);
    transition: .3s;
}

.footer-nav a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.footer-contact-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-col li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .9rem;
    color: rgba(255, 255, 255, .6);
}

.footer-contact-col li i {
    color: var(--accent);
    width: 16px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: .8rem;
    color: rgba(255, 255, 255, .4);
}

/* --- BACK TO TOP --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 900;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: .4s;
    box-shadow: 0 4px 15px rgba(183, 76, 32, .3);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

/* --- REVEAL ANIMATIONS --- */
.reveal-up,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity .8s, transform .8s;
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed {
    opacity: 1;
    transform: translate(0);
}

/* =============================================
   SERVICE DETAIL PAGES
   ============================================= */

/* Intro split */
.sd-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.sd-intro-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--text);
}

.sd-intro-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 16px;
}

.sd-intro-img img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .12);
    object-fit: cover;
    aspect-ratio: 4/3;
}

/* Prestation cards */
.sd-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.sd-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
    border: 1px solid var(--border);
    transition: transform .35s, box-shadow .35s;
}

.sd-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(183, 76, 32, .12);
}

.sd-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 20px;
}

.sd-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    margin-bottom: 12px;
    color: var(--text);
}

.sd-card p {
    color: var(--text-light);
    font-size: .92rem;
    line-height: 1.65;
}

/* Process / methodology steps */
.sd-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 40px;
    position: relative;
}

.sd-process::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(12.5% + 16px);
    right: calc(12.5% + 16px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: .3;
    z-index: 0;
}

.sd-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.sd-step-num {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(183, 76, 32, .25);
}

.sd-step h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--text);
}

.sd-step p {
    color: var(--text-light);
    font-size: .9rem;
    line-height: 1.6;
}

/* FAQ Accordion */
.sd-faq {
    max-width: 780px;
    margin: 40px auto 0;
}

.sd-faq-item {
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 14px;
    overflow: hidden;
    background: var(--surface);
    transition: box-shadow .3s;
}

.sd-faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
}

.sd-faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    gap: 16px;
    transition: color .3s;
}

.sd-faq-q:hover {
    color: var(--primary);
}

.sd-faq-q i {
    font-size: .8rem;
    color: var(--primary);
    transition: transform .35s;
    flex-shrink: 0;
}

.sd-faq-item.open .sd-faq-q i {
    transform: rotate(180deg);
}

.sd-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .4s ease;
    padding: 0 24px;
}

.sd-faq-item.open .sd-faq-a {
    max-height: 300px;
    padding: 0 24px 20px;
}

.sd-faq-a p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: .95rem;
}

/* Bottom CTA */
.sd-cta-section {
    background: linear-gradient(135deg, var(--primary), #a0421b);
    padding: 80px 0;
}

.sd-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.sd-cta-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #fff;
    margin-bottom: 10px;
}

.sd-cta-text h2 .text-accent {
    color: var(--accent);
}

.sd-cta-text p {
    color: rgba(255, 255, 255, .85);
    font-size: 1.05rem;
}

.sd-cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.sd-cta-actions .btn-primary {
    background: #fff;
    color: var(--primary);
    font-weight: 600;
}

.sd-cta-actions .btn-primary:hover {
    background: var(--accent);
    color: #fff;
}

.sd-cta-actions .btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, .4);
    color: #fff;
}

.sd-cta-actions .btn-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, .1);
}

/* Service "En savoir plus" link button */
.service-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 24px;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    font-size: .92rem;
    text-decoration: none;
    transition: background .3s, transform .3s;
}

.service-link-btn:hover {
    background: var(--accent);
    transform: translateX(4px);
}

.service-link-btn i {
    font-size: .75rem;
    transition: transform .3s;
}

.service-link-btn:hover i {
    transform: translateX(4px);
}

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 1024px) {
    .services-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-preview-grid.services-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .values-visual-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .obj-cards {
        grid-template-columns: 1fr;
    }

    .obj-cards.obj-cards-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .gestion-modules {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-checklist-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gestion-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-masonry {
        columns: 2;
    }

    .sd-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sd-process {
        grid-template-columns: repeat(2, 1fr);
    }

    .sd-process::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--surface);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 20px;
        box-shadow: -5px 0 30px rgba(0, 0, 0, .15);
        transition: right .4s;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        color: var(--text) !important;
        font-size: 1rem;
    }

    .nav-links a:hover,
    .nav-links a.active {
        color: var(--primary) !important;
    }

    .hamburger {
        display: flex;
    }

    .hero-split-container {
        grid-template-columns: 1fr;
        gap: 32px;
        padding-top: 100px;
    }

    .hero-split-image {
        order: -1;
        flex-direction: row;
        align-items: flex-end;
    }

    .hero-stats-cards {
        flex-direction: row;
        width: auto;
        gap: 10px;
    }

    .hero-stat-card {
        flex: 1;
        padding: 14px 10px;
    }

    .hero-img-wrapper img {
        height: 340px;
    }

    .hero-img-accent {
        top: -10px;
        right: -10px;
    }

    .hero-split .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-split-text {
        text-align: center;
    }

    .hero-split .hero-subtitle {
        margin: 0 auto 32px;
    }

    .hero-split .hero-actions {
        justify-content: center;
    }

    .split-block {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .split-reverse .split-image,
    .split-reverse .split-text {
        order: unset;
    }

    .split-image img {
        height: 280px;
    }

    .services-preview-grid {
        grid-template-columns: 1fr;
    }

    .service-img-card {
        height: 260px;
    }

    .obj-cards.obj-cards-5 {
        grid-template-columns: 1fr;
    }

    .gestion-modules {
        grid-template-columns: 1fr;
    }

    .service-cards-grid {
        grid-template-columns: 1fr;
    }

    .detail-checklist-grid {
        grid-template-columns: 1fr;
    }

    .other-services-grid {
        grid-template-columns: 1fr;
    }

    .gestion-detail-grid {
        grid-template-columns: 1fr;
    }

    .gallery-preview {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .gallery-large {
        grid-row: auto;
    }

    .gallery-masonry {
        columns: 1;
    }

    .values-visual-grid {
        grid-template-columns: 1fr;
    }

    .team-founder {
        grid-template-columns: 1fr;
    }

    .team-founder-img img {
        min-height: 250px;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .img-bg-section {
        background-attachment: scroll;
    }

    .cta-inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .cta-desc {
        margin: 0 auto;
    }

    .cta-card-side {
        justify-content: center;
    }

    .cta-glass-card {
        max-width: 360px;
    }

    .sd-intro {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .sd-intro-img {
        order: -1;
    }

    .sd-cards-grid {
        grid-template-columns: 1fr;
    }

    .sd-process {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .sd-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .sd-cta-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .hero-split .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-split-image {
        flex-direction: column;
    }

    .hero-stats-cards {
        flex-direction: row;
        width: auto;
    }

    .hero-stat-card {
        flex: 1;
    }

    .hero-img-wrapper img {
        height: 260px;
    }

    .page-hero {
        min-height: 280px;
        height: 40vh;
    }

    .section {
        padding: 60px 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .gallery-preview {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 24px;
    }

    .gallery-filters {
        gap: 6px;
    }

    .gal-filter {
        padding: 6px 14px;
        font-size: .8rem;
    }
}

@media (max-width: 900px) {
    .team-modal-panel {
        grid-template-columns: 1fr;
        height: min(88vh, 760px);
    }

    .team-modal-media {
        min-height: 42vh;
    }

    .team-modal-content {
        padding: 26px 24px;
    }
}