@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Motion safety */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
/* =================================================================
   1. VARIABLES
   ================================================================= */

:root {
    /* Light Theme (single version) */
    --primary-color: #00A8A6;
    --primary-color-darker: #007F7D;
    --primary-color-hsl: 179, 100%, 38%;
    --glow-shadow: 0 0 15px hsla(var(--primary-color-hsl), 0.25);
    --easing-out: cubic-bezier(.22,.61,.36,1);
    --easing-in: cubic-bezier(.32,0,.67,0);

    --text-color-main: #0F172A;         /* slate-900 */
    --text-color-secondary: #475569;    /* slate-600 */
    
    --bg-color: #FFFFFF;
    --card-bg: #F8FAFC;                 /* slate-50 */
    
    --border-color: #E2E8F0;            /* slate-200 */

    /* Icon gradients (same as screenshot style) */
    --gradient-blue: linear-gradient(135deg, #3b82f6, #22d3ee);
    --gradient-orange: linear-gradient(135deg, #f97316, #ef4444);
    --gradient-yellow: linear-gradient(135deg, #eab308, #f97316);
    --gradient-green: linear-gradient(135deg, #22c55e, #10b981);
    --gradient-purple: linear-gradient(135deg, #8b5cf6, #a855f7);
    --gradient-cyan: linear-gradient(135deg, #06b6d4, #22d3ee);

    /* Typography */
    --font-family: 'Inter', sans-serif;

    /* Layout & Sizing */
    --container-width: 1200px;
    --border-radius: 12px;
    --transition-speed: 0.3s;

    /* Consistent vertical rhythm for sections */
    --section-spacing-sm: 56px;
    --section-spacing: 84px;
    --section-spacing-lg: 112px;
}
 
/* Ensure light-logo shows */
.logo-light { display: inline; }

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid hsla(var(--primary-color-hsl), 0.6);
    outline-offset: 2px;
}

/* Remove any residual top whitespace */
html, body {
    margin: 0 !important;
    padding: 0 !important;
}

/* If header exists before hero, ensure no extra offset */
body > header:first-of-type { margin-top: 0 !important; padding-top: 0 !important; }
body > header:first-of-type + main .hero,
body > header:first-of-type + .hero,
main > section:first-of-type,
section.hero:first-of-type,
.hero:first-of-type {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remove any default top spacing that browsers may add */
html, body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* If header is sticky/fixed, eliminate extra offset */
header.site-header,
header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Ensure first section doesn't add extra top margin */
main > section:first-of-type,
section.hero:first-of-type,
.hero:first-of-type {
    margin-top: 0 !important;
}

/* =================================================================
   2. BASE & RESET STYLES
   ================================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color-main);
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

/* Remove any default top spacing and compensate for sticky header height */
html, body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

header,
.site-header {
    position: sticky;
    top: 0;
}

/* Ensure the very first section starts at the top with no extra margin */
main > section:first-of-type,
section.hero:first-of-type,
.hero:first-of-type {
    margin-top: 0 !important;
}

/* If a fixed or sticky header exists, reduce its initial offset */
header {
    margin-top: 0;
    padding-top: 0;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Avoid double spacing if hero follows header */
header + main .hero,
header + .hero {
    margin-top: 0 !important;
}

/* Global, coherent spacing between sections (marketing-friendly rhythm) */
section,
.container > section,
section.container,
header + .container > section,
main > section,
footer {
    margin-top: var(--section-spacing);
    margin-bottom: var(--section-spacing);
}
section[data-reveal],
[data-reveal] .service-card,
.faq-item,
.why-us-card,
.offer-card {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease, box-shadow 240ms ease, background-color var(--transition-speed) ease, border-color var(--transition-speed) ease;
    will-change: opacity, transform;
}
section[data-reveal].reveal-in,
[data-reveal] .service-card.reveal-in,
.faq-item.reveal-in,
.why-us-card.reveal-in,
.offer-card.reveal-in {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    section[data-reveal],
    [data-reveal] .service-card,
    .faq-item,
    .why-us-card,
    .offer-card {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Reduce spacing slightly on tablets/phones */
@media (max-width: 980px) {
    section,
    .container > section,
    section.container,
    header + .container > section,
    main > section,
    footer {
        margin-top: var(--section-spacing-sm);
        margin-bottom: var(--section-spacing-sm);
    }
}

/* Increase breathing room on very large screens */
@media (min-width: 1280px) {
    section,
    .container > section,
    section.container,
    header + .container > section,
    main > section,
    footer {
        margin-top: var(--section-spacing-lg);
        margin-bottom: var(--section-spacing-lg);
    }
}

/* =================================================================
   3. REUSABLE COMPONENTS
   ================================================================= */

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 200ms ease, background-color var(--transition-speed) ease, color var(--transition-speed) ease, border-color var(--transition-speed) ease;
    border: 1px solid transparent;
    cursor: pointer;
    will-change: transform, box-shadow;
}
.btn:hover {
    transform: translateY(-1px);
}
.btn:active {
    transform: translateY(0);
}
.btn:focus-visible {
    outline: 2px solid hsla(var(--primary-color-hsl), 0.6);
    outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease, border-color var(--transition-speed) ease;
    }
    .btn:hover, .btn:active {
        transform: none !important;
    }
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 1px solid transparent;
}

.btn-primary:hover {
    background-color: var(--primary-color-darker);
    box-shadow: var(--glow-shadow);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: #000;
    box-shadow: var(--glow-shadow);
}

/* --- Section Headings --- */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

/* Harmonize title/subtitle spacing for visual comfort */
.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-color-secondary);
    max-width: 700px;
    margin: 0 auto 2.25rem auto; /* a bit tighter to match new section gaps */
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-color-secondary);
    max-width: 700px;
    margin: 0 auto 3rem auto;
}

/* --- Badges --- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
}

.badge-promo {
    background-color: var(--danger-color);
    color: white;
    margin-bottom: 1rem;
}

.badge-faq {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

/* =================================================================
   4. LAYOUT & HEADER / FOOTER
   ================================================================= */

/* --- Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    will-change: transform, box-shadow;
    transition: transform 200ms ease, box-shadow 200ms ease, background-color var(--transition-speed) ease, border-color var(--transition-speed) ease;
}
.site-header.elevated {
    box-shadow: 0 8px 24px rgba(2, 6, 23, 0.08), 0 2px 8px rgba(2, 6, 23, 0.06);
}
.site-header.hide {
    transform: translateY(-100%);
}
@media (prefers-reduced-motion: reduce) {
    .site-header {
        transition: none !important;
    }
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-img {
    max-height: 80px;
}

.nav-links-desktop {
    display: none;
    gap: 2rem;
}

.nav-links-desktop a {
    color: var(--text-color-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed) ease;
}

.nav-links-desktop a:hover {
    color: var(--primary-color);
}

.nav-cta-desktop {
    display: none;
    gap: 1rem;
}

.nav-toggle-mobile {
    display: block;
    background: none;
    border: none;
    color: var(--text-color-main);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    transform-origin: top center;
    transform: translateY(-8px);
    opacity: 0;
    transition: transform 200ms ease, opacity 200ms ease;
}

.mobile-nav-menu.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
    .mobile-nav-menu,
    .mobile-nav-menu.active {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* =================================================================
   3.1 COUNTDOWN + MOTION
   ================================================================= */
.countdown {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: flex-start;
    margin: 1.5rem 0 0.5rem 0;
}
.countdown .countdown-item {
    display: grid;
    gap: 0.35rem;
    justify-items: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 420ms ease, transform 420ms ease;
}
.countdown .countdown-item.reveal-in {
    opacity: 1;
    transform: translateY(0);
}
.countdown .countdown-item span:first-child {
    font-weight: 800;
    font-size: clamp(1.1rem, 2.6vw, 1.5rem);
}
.countdown .countdown-item span:last-child {
    font-size: 0.85rem;
    color: var(--text-color-secondary);
}
@media (prefers-reduced-motion: reduce) {
    .countdown .countdown-item {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

.countdown .time {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.countdown .time-box {
    background-color: var(--primary-color);
    color: #0f172a; /* strong contrast like screenshot */
    min-width: 64px;
    padding: 0.5rem 0.75rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 800;
    font-size: 1.25rem;
    line-height: 1;
    border: 1px solid rgba(255,255,255,0.35);
    box-shadow:
        0 10px 20px rgba(0, 168, 166, 0.25),
        inset 0 1px 0 rgba(255,255,255,0.6),
        0 0 0 4px rgba(0, 168, 166, 0.12); /* outer glow ring */
    position: relative;
}

.countdown .time-box::after {
    /* glossy top highlight strip */
    content: "";
    position: absolute;
    top: 2px;
    left: 8px;
    right: 8px;
    height: 10px;
    border-radius: 10px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.7), rgba(255,255,255,0));
    pointer-events: none;
}

.countdown .label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-color-secondary);
    text-align: center;
}

/* subtle hover pulse if interactive */
.countdown .time-box:hover {
    box-shadow:
        0 12px 24px rgba(0, 168, 166, 0.28),
        inset 0 1px 0 rgba(255,255,255,0.65),
        0 0 0 6px rgba(0, 168, 166, 0.14);
    transform: translateY(-1px);
    transition: all var(--transition-speed) ease;
}

/* Responsive size */
@media (max-width: 480px) {
    .countdown .time-box {
        min-width: 56px;
        font-size: 1.1rem;
        padding: 0.45rem 0.6rem;
        border-radius: 10px;
    }
}
/* --- Footer --- */
.site-footer {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 6rem;
    transition: background-color var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-links a {
    color: var(--text-color-secondary);
    font-size: 1.5rem;
    margin-left: 1rem;
    transition: color var(--transition-speed) ease;
}

.social-links a:hover {
    color: var(--primary-color);
}


/* =================================================================
   5. PAGE SECTIONS
   ================================================================= */

/* --- Hero Section --- */
.hero {
    /* move headline slightly lower on the page */
    padding: clamp(9rem, 20vh, 11rem) 0 clamp(6rem, 14vh, 8rem);
    text-align: center;
    position: relative;
    overflow: visible; /* restore default to remove bg containment */
    z-index: 0; /* create stacking context */
}

/* Removed hero-bg animated grid per feedback */

.hero .hero-badge,
.hero .hero-title,
.hero .hero-subtitle,
.hero .hero-features,
.hero .hero-cta {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 500ms ease, transform 500ms ease;
    will-change: opacity, transform;
}
.reveal-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
@media (prefers-reduced-motion: reduce) {
    .hero .hero-badge,
    .hero .hero-title,
    .hero .hero-subtitle,
    .hero .hero-features,
    .hero .hero-cta {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .text-primary {
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-color-secondary);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
}
/* Prevent hero feature row from overlapping following sections visually */
.hero-features,
.hero-content,
.hero-title,
.hero-subtitle {
    position: relative;
    z-index: 1;
}

.hero-features .feature {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* tighter spacing for smaller icons */
    transition: transform 200ms ease, color 200ms ease, text-shadow 200ms ease;
}
.hero-features .feature:hover {
    transform: translateY(-2px);
    color: var(--primary-color);
    text-shadow: 0 0 12px rgba(34, 211, 238, 0.35);
}

.hero-features .feature i {
    color: #0F172A; /* slate-900: black/dark as requested */
    background: none; /* remove gradient */
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
    text-fill-color: initial;
    font-size: 1.25rem; /* smaller */
    line-height: 1;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* --- Sections General Padding --- */
main > section {
    padding: clamp(5rem, 12vw, 7rem) 0;
    position: relative; /* avoid margin-collapsing with previous section */
    z-index: 0;
    scroll-margin-top: 112px; /* account for sticky header when using anchor nav */
    clear: both; /* defensive: ensure new block formatting context */
}

/* ================================
   Urgent Intervention (reference)
   ================================ */
#urgent-intervention {
    padding: 0; /* we'll control spacing via the card */
}

.urgent-intervention-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.08);
    padding: clamp(1.25rem, 2vw, 1.75rem);
    position: relative;
}

.urgent-intervention-card::after {
    /* remove dark overlay for light theme coherence */
    content: none;
}

.urgent-intervention-card > .urgent-content,
.urgent-intervention-card > .urgent-benefits {
    position: relative;
    z-index: 1;
}

.urgent-intervention-card .section-title {
    text-align: left;
    color: var(--text-color-main);
    margin-bottom: 0.75rem;
}

#urgent-intervention p {
    color: var(--text-color-secondary);
    margin: 0 0 1.25rem 0;
    max-width: 48ch;
}

/* Layout: two columns on md+, stacked on small */
.urgent-intervention-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 900px) {
    .urgent-intervention-card {
        grid-template-columns: 1.1fr 1fr;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
    }
}

/* Buttons: lime primary and dark outline secondary */
.urgent-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.urgent-cta .btn.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 1px solid transparent;
}
.urgent-cta .btn.btn-primary:hover {
    background-color: #a3e635; /* lime-400/500 hover */
    box-shadow: 0 0 0 4px rgba(163, 230, 53, 0.15);
}

.urgent-cta .btn.btn-outline {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-color-main);
}
.urgent-cta .btn.btn-outline:hover {
    background-color: rgba(15,23,42,0.04); /* subtle slate tint */
    color: var(--text-color-main);
}

/* Benefit pills (right column) */
.urgent-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

@media (min-width: 520px) and (max-width: 899px) {
    .urgent-benefits {
        grid-template-columns: 1fr 1fr;
    }
}
@media (min-width: 900px) {
    .urgent-benefits {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.125rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(2,6,23,0.06);
}

.benefit-item h4 {
    color: var(--text-color-main);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.125rem 0;
}
.benefit-item p {
    color: var(--text-color-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Icon: circular with gradient per index (green, cyan, purple) */
.benefit-icon {
    /* smaller, more discreet icons for "Pourquoi nous choisir?" */
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-size: 0.95rem;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}

/* Slightly larger on medium+ screens for balance */
@media (min-width: 900px) {
  .benefit-icon {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
  }
}

.urgent-benefits .benefit-item:nth-child(1) .benefit-icon {
    background-image: linear-gradient(135deg, #22c55e, #10b981); /* green */
}
.urgent-benefits .benefit-item:nth-child(2) .benefit-icon {
    background-image: linear-gradient(135deg, #06b6d4, #22d3ee); /* cyan */
}
.urgent-benefits .benefit-item:nth-child(3) .benefit-icon {
    background-image: linear-gradient(135deg, #8b5cf6, #a855f7); /* purple */
}

/* --- Services Section --- */
#services, section.services {
    margin-top: clamp(4rem, 10vh, 6rem); /* increased separation */
    position: relative;
    z-index: 0;
    isolation: isolate; /* create new stacking context */
}
#services::before, section.services::before {
    content: "";
    display: block;
    height: 1px; /* prevents margin-collapsing */
    margin-top: 0;
    opacity: 0;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Service icon container and icon sizing/visibility */
.service-card .service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    margin: 0 auto 1rem auto;
    background: var(--gradient-orange); /* default fallback like other cards */
}

.service-card:nth-child(1) .service-icon { background: var(--gradient-cyan); }
.service-card:nth-child(2) .service-icon { background: var(--gradient-orange); }
.service-card:nth-child(3) .service-icon { background: var(--gradient-yellow); }

/* Ensure the icon glyph itself is visible (white on colored chip) */
.service-card .service-icon i {
    color: #ffffff !important;
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    text-fill-color: initial !important;
    font-size: 1.25rem;
    line-height: 1;
}

.service-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    will-change: transform;
}
.service-card .service-icon i {
    /* Ensure service icons are visible (not transparent/white) */
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    text-fill-color: initial !important;
    color: var(--text-color-main) !important; /* dark text */
    font-size: 1.5rem;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-shadow);
}
/* Ensure the first card never intrudes into the hero due to transforms on small viewports */
#services .service-card:first-child {
    will-change: transform;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2rem;
    color: white;
}

.from-blue-500.to-cyan-500 { background-image: var(--gradient-blue-light); }
.from-orange-500.to-red-500 { background-image: var(--gradient-orange); }
.from-yellow-500.to-orange-500 { background-image: var(--gradient-yellow); }
.from-green-500.to-emerald-500 { background-image: var(--gradient-green); }


.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-color-secondary);
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

/* This rule is intentionally left blank as the icons are now handled by the .benefit-icon rule below */

/* --- Highlights Section --- */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.highlight-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.highlight-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.highlight-card h3 {
    font-size: 1.25rem;
    margin: 0 0 0.25rem 0;
}

.highlight-card p {
    color: var(--text-color-secondary);
    margin: 0;
}

/* --- Promo Section --- */
.promo-header {
    text-align: center;
    margin-bottom: 3rem;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.countdown-item {
    text-align: center;
}

.countdown-item span:first-child {
    display: block;
    background-color: var(--primary-color);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 2rem;
    font-weight: 700;
    min-width: 60px;
}

.countdown-item span:last-child {
    font-size: 0.875rem;
    color: var(--text-color-secondary);
    margin-top: 0.25rem;
    display: block;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: center;
}

.offer-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all var(--transition-speed) ease;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-shadow);
}

.offer-card.popular {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--glow-shadow);
}

.popular-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background-color: var(--primary-color);
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.offer-discount {
    display: inline-block;
    background-color: var(--danger-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.offer-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.offer-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

/* --- FAQ Section --- */
.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-categories {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

/* Light-theme coherent Urgent Intervention (replacing dark navy look) */
#urgent-intervention {
    padding: 0;
}
.urgent-intervention-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(2,6,23,0.06);
    padding: clamp(1.25rem, 2vw, 1.75rem);
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    position: relative;
}
.urgent-intervention-card::after { content: none; }

.urgent-intervention-card .section-title {
    text-align: left;
    color: var(--text-color-main);
    margin-bottom: 0.5rem;
}
#urgent-intervention p {
    color: var(--text-color-secondary);
    margin: 0 0 1rem 0;
    max-width: 52ch;
}

@media (min-width: 900px) {
    .urgent-intervention-card {
        grid-template-columns: 1.1fr 1fr;
        align-items: center;
        gap: 2rem;
        padding: 2rem;
    }
}

/* Buttons keep same colors: lime primary + outline consistent with light theme */
.urgent-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}
.urgent-cta .btn.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 1px solid transparent;
}
.urgent-cta .btn.btn-primary:hover {
    background-color: #a3e635;
    box-shadow: 0 0 0 4px rgba(163, 230, 53, 0.15);
}
.urgent-cta .btn.btn-outline {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-color-main);
}
.urgent-cta .btn.btn-outline:hover {
    background-color: #eef2f7;
    color: var(--text-color-main);
}

/* Benefit pills on light background */
.urgent-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
@media (min-width: 520px) and (max-width: 899px) {
    .urgent-benefits { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
    .urgent-benefits { grid-template-columns: 1fr; gap: 1rem; }
}
.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.125rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    box-shadow: 0 6px 14px rgba(2,6,23,0.06);
}
.benefit-item h4 {
    color: var(--text-color-main);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.125rem 0;
}
.benefit-item p {
    color: var(--text-color-secondary);
    font-size: 0.9rem;
    margin: 0;
}

/* Gradient circular icons preserved (green, cyan, purple) */
.benefit-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    font-size: 1.125rem;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6);
    background: var(--gradient-cyan);
}
.urgent-benefits .benefit-item:nth-child(1) .benefit-icon { background-image: linear-gradient(135deg, #22c55e, #10b981); }
.urgent-benefits .benefit-item:nth-child(2) .benefit-icon { background-image: linear-gradient(135deg, #06b6d4, #22d3ee); }
.urgent-benefits .benefit-item:nth-child(3) .benefit-icon { background-image: linear-gradient(135deg, #8b5cf6, #a855f7); }

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-color-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}

.faq-question .fa-chevron-down {
    transition: transform var(--transition-speed) ease;
}

.faq-item.active .faq-question .fa-chevron-down {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-speed) ease-out, padding var(--transition-speed) ease-out;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    margin: 0;
    color: var(--text-color-secondary);
}

/* --- Contact Section --- */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-content ul {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.contact-content li {
    margin-bottom: 1rem;
}

.contact-content a {
    color: var(--text-color-main);
    text-decoration: none;
    font-size: 1.125rem;
}

.contact-content a:hover {
    color: var(--primary-color);
}

/* --- Map Section --- */
.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-top: 3rem;
    border: 1px solid var(--border-color);
}

/* --- Why Us Section --- */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-us-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.why-us-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
}

.why-us-icon.icon-securise {
    background-image: linear-gradient(to right, #22c55e, #10b981);
}

.why-us-icon.icon-service {
    background-image: linear-gradient(to right, #3b82f6, #22d3ee);
}

.why-us-icon.icon-economique {
    background-image: linear-gradient(to right, #00D8D6, #00A8A6);
}

.why-us-content h3 {
    font-size: 1.5rem;
    margin: 0 0 0.5rem 0;
}

.why-us-content p {
    color: var(--text-color-secondary);
    margin: 0;
}


/* --- Urgent Intervention Icons --- */
.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    background-image: var(--gradient-cyan);
}

/* --- General Icon Colors --- */
.faq-badge i,
.faq-category-title i,
.faq-question i,
.contact-content li i,
.service-features .fa-check-circle {
    color: var(--primary-color);
}

/* =================================================================
   6. MEDIA QUERIES
   ================================================================= */

@media (min-width: 768px) {
    .nav-links-desktop,
    .nav-cta-desktop {
        display: flex;
    }

    .nav-toggle-mobile {
        display: none;
    }
}

/* =================================================================
   3.2 PROMO SECTION – ATTRACTIVE, PERSUASIVE, FLUID
   ================================================================= */
#promo.container {
    margin-top: 2rem;
}

/* Header refinement */
.promo-header {
    text-align: center;
    margin-bottom: 2rem;
}
.promo-badge {
    display: inline-block;
    background: rgba(0,168,166,0.12);
    color: var(--text-color-main);
    border: 1px solid rgba(0,168,166,0.25);
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

/* Countdown spacing alignment with cards */
#promo .countdown {
    margin-top: 1rem;
    margin-bottom: 1.25rem;
}

/* Offers grid more persuasive layout */
.offers-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}
@media (min-width: 900px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: stretch;
    }
}

/* Offer cards */
.offer-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 1.25rem;
    position: relative;
    transition: box-shadow var(--transition-speed) ease, transform var(--transition-speed) ease, border-color var(--transition-speed) ease;
    box-shadow: 0 6px 24px rgba(2, 24, 43, 0.06);
}

/* Discount watermark more visible but subtle */
.offer-card .offer-discount {
    position: absolute;
    top: 10px;
    left: 14px;
    font-weight: 800;
    color: rgba(2, 24, 43, 0.08);
    letter-spacing: 1px;
}

/* Titles and copy for readability */
.offer-card h3 {
    text-align: center;
    font-size: 1.35rem;
    margin: 0.75rem 0 0.35rem 0;
}
.offer-card p {
    text-align: center;
    color: var(--text-color-secondary);
    margin: 0 0 0.75rem 0;
}

/* Feature list with checks aligned */
.offer-features {
    list-style: none;
    margin: 0.5rem 0 1rem 0;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}
.offer-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color-main);
}
.offer-features i {
    color: var(--primary-color);
}

/* CTA full-width, more persuasive */
.offer-card .btn {
    width: 100%;
    justify-content: center;
}

/* Hover lift with cyan glow */
.offer-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0,168,166,0.45);
    box-shadow:
        0 18px 40px rgba(0,168,166,0.18),
        0 0 0 6px rgba(0,168,166,0.10);
}

/* Popular variant: stronger framing and badge */
.offer-card.popular {
    border-color: rgba(0,168,166,0.55);
    box-shadow:
        0 18px 44px rgba(0,168,166,0.22),
        0 0 0 6px rgba(0,168,166,0.12);
}
.offer-card.popular .btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 1px solid transparent;
}
.offer-card.popular .btn-primary:hover {
    background-color: var(--primary-color-darker);
}
.popular-badge {
    position: absolute;
    top: -12px;
    right: 16px;
    background: var(--primary-color);
    color: #0f172a;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow:
        0 8px 18px rgba(0,168,166,0.25),
        inset 0 1px 0 rgba(255,255,255,0.55);
    border: 1px solid rgba(255,255,255,0.35);
}

/* Micro interactions: slight shimmer on primary CTA */
.offer-card .btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 1px solid transparent;
}
.offer-card .btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 120%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
    transform: skewX(-20deg);
    transition: left 0.8s ease;
}
.offer-card .btn-primary:hover::after {
    left: 130%;
}

/* Better spacing on small screens */
@media (max-width: 480px) {
    .offer-card {
        padding: 1.25rem 1rem;
    }
    .offer-card h3 {
        font-size: 1.25rem;
    }
}

/* Promo discounts visibility fix */
.offer-card .offer-discount {
    position: absolute;
    top: 10px;
    left: 14px;
    font-weight: 800;
    font-size: 1rem;
    color: rgba(2, 24, 43, 0.22); /* stronger than 0.08 for readability */
    letter-spacing: 0.5px;
    z-index: 2;
    text-shadow:
        0 1px 0 rgba(255,255,255,0.6),
        0 0 12px rgba(0,168,166,0.15); /* subtle glow to stand over card */
}

/* ensure nothing overlays the discount at the top corners */
.offer-card::before,
.offer-card::after {
    pointer-events: none;
}

/* Force visible discount numbers on light cards */
.offer-card .offer-discount {
    color: #0f172a !important;          /* dark slate for strong contrast */
    opacity: 0.7;                       /* visible but still subtle */
    font-size: 1.1rem;                  /* a bit larger for readability */
    z-index: 3;
    text-shadow: none;                  /* remove whitening effect */
}

/* Popular card can be slightly stronger */
.offer-card.popular .offer-discount {
    color: #0b1226 !important;
    opacity: 0.8;
}

/* Stylish discount chips with subtle glass + gradient accent */
.offer-card .offer-discount {
    position: absolute;
    top: 12px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px 4px 8px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    color: #0b1226; /* dark for readability */
    background:
        linear-gradient(135deg, rgba(255,255,255,0.82), rgba(255,255,255,0.6));
    border: 1px solid rgba(15, 23, 42, 0.12);
    box-shadow:
        0 10px 22px rgba(0, 168, 166, 0.16),
        inset 0 1px 0 rgba(255,255,255,0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 3;
}

/* tiny accent dot with brand gradient */
.offer-card .offer-discount::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
    box-shadow: 0 0 0 2px rgba(34, 211, 238, 0.18);
}

/* Popular card variant: slightly stronger accent */
.offer-card.popular .offer-discount {
    color: #071021;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    border-color: rgba(0,168,166,0.25);
    box-shadow:
        0 12px 26px rgba(0,168,166,0.22),
        inset 0 1px 0 rgba(255,255,255,0.75);
}

/* Fallback text-only style on very old browsers (no backdrop-filter) */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
    .offer-card .offer-discount {
        background: rgba(255,255,255,0.9);
    }
}

/* Size bump on larger screens for presence */
@media (min-width: 900px) {
    .offer-card .offer-discount {
        font-size: 1.05rem;
        padding: 5px 12px 5px 10px;
    }
}

/* Styled countdown: glass chips, gradient accent, clearer labels */
.countdown {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: flex-start;
    margin: 1.75rem 0 1.25rem 0;
}

.countdown .countdown-item,
.countdown .time {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

/* number chip */
.countdown .time-box,
.countdown .countdown-item > span:first-child {
    color: #ffffff !important;            /* white digits */
    letter-spacing: 0.5px;                /* slight tracking for clarity */
    font-weight: 800;                     /* stronger weight */
    text-shadow: 0 1px 0 rgba(0,0,0,0.12);/* subtle depth without 3D */
}

/* glossy highlight */
.countdown .time-box::after,
.countdown .countdown-item > span:first-child::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 10px;
    right: 10px;
    height: 10px;
    border-radius: 10px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.75), rgba(255,255,255,0));
    pointer-events: none;
}

/* tiny gradient accent dot */
.countdown .time-box::before,
.countdown .countdown-item > span:first-child::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 8px;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #06b6d4, #22d3ee);
    box-shadow: 0 0 0 2px rgba(34,211,238,0.22);
}

/* label */
.countdown .label,
.countdown .countdown-item > span:last-child {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color-secondary);
    text-align: center;
    letter-spacing: 0.2px;
}

/* hover micro-interaction */
.countdown .time-box:hover,
.countdown .countdown-item > span:first-child:hover {
    transform: translateY(-1px);
    transition: all var(--transition-speed) ease;
    box-shadow:
        0 20px 40px rgba(0,168,166,0.26),
        inset 0 1px 0 rgba(255,255,255,0.75),
        0 0 0 8px rgba(0,168,166,0.14);
}

/* compact on small screens */
@media (max-width: 480px) {
    .countdown { gap: 0.6rem; }
    .countdown .time-box,
    .countdown .countdown-item > span:first-child {
    color: #ffffff !important;            /* white digits */
    letter-spacing: 0.5px;                /* slight tracking for clarity */
    font-weight: 800;                     /* stronger weight */
    text-shadow: 0 1px 0 rgba(0,0,0,0.12);/* subtle depth without 3D */
}
    .countdown .label,
    .countdown .countdown-item > span:last-child {
        font-size: 0.82rem;
    }
}

/* Simple, flat countdown (no 3D, no complex effects) */
.countdown {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: flex-start;
    margin: 1.25rem 0 1rem 0;
}

.countdown .countdown-item,
.countdown .time {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.countdown .time-box,
.countdown .countdown-item > span:first-child {
    color: #ffffff !important;            /* white digits */
    letter-spacing: 0.5px;                /* slight tracking for clarity */
    font-weight: 800;                     /* stronger weight */
    text-shadow: 0 1px 0 rgba(0,0,0,0.12);/* subtle depth without 3D */
}

.countdown .label,
.countdown .countdown-item > span:last-child {
    font-size: 0.86rem;
    color: var(--text-color-secondary);
    letter-spacing: 0.1px;
}

/* Subtle hover only (keeps flat look) */
.countdown .time-box:hover,
.countdown .countdown-item > span:first-child:hover {
    transform: translateY(-1px);
    transition: transform var(--transition-speed) ease;
}

/* Mobile compact */
@media (max-width: 480px) {
    .countdown { gap: 0.5rem; }
    .countdown .time-box,
    .countdown .countdown-item > span:first-child {
    color: #ffffff !important;            /* white digits */
    letter-spacing: 0.5px;                /* slight tracking for clarity */
    font-weight: 800;                     /* stronger weight */
    text-shadow: 0 1px 0 rgba(0,0,0,0.12);/* subtle depth without 3D */
}
    .countdown .label,
    .countdown .countdown-item > span:last-child {
        font-size: 0.8rem;
    }
}

/* Minimal outline style for countdown: airy, simple, intuitive */
.countdown {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: flex-start;
    margin: 1.25rem 0 1rem 0;
}

.countdown .countdown-item,
.countdown .time {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

/* Outline pill numbers (no fill) */
.countdown .time-box,
.countdown .countdown-item > span:first-child {
    color: #ffffff !important;            /* white digits */
    letter-spacing: 0.5px;                /* slight tracking for clarity */
    font-weight: 800;                     /* stronger weight */
    text-shadow: 0 1px 0 rgba(0,0,0,0.12);/* subtle depth without 3D */
}

/* small, subtle labels */
.countdown .label,
.countdown .countdown-item > span:last-child {
    font-size: 0.85rem;
    color: var(--text-color-secondary);
    letter-spacing: 0.2px;
}

/* hover: invert to filled for quick feedback, still simple */
.countdown .time-box:hover,
.countdown .countdown-item > span:first-child:hover {
    background-color: var(--primary-color);
    color: #0f172a;
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
}

/* Mobile compact */
@media (max-width: 480px) {
    .countdown { gap: 0.6rem; }
    .countdown .time-box,
    .countdown .countdown-item > span:first-child {
    color: #ffffff !important;            /* white digits */
    letter-spacing: 0.5px;                /* slight tracking for clarity */
    font-weight: 800;                     /* stronger weight */
    text-shadow: 0 1px 0 rgba(0,0,0,0.12);/* subtle depth without 3D */
}
    .countdown .label,
    .countdown .countdown-item > span:last-child {
        font-size: 0.8rem;
    }
}

/* Urgent CTA in brand blue (teal) instead of lime */
#urgent-intervention .urgent-cta .btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 1px solid transparent;
}
#urgent-intervention .urgent-cta .btn-primary:hover {
    background-color: var(--primary-color-darker) !important;
}

/* Urgent CTA: improve contrast coherence (teal background + white text) */
#urgent-intervention .urgent-cta .btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    border: 1px solid transparent;
}
#urgent-intervention .urgent-cta .btn-primary:hover {
    background-color: var(--primary-color-darker) !important;
    color: #ffffff !important;
}
/* Service media: constrain images inside service cards for coherent side-by-side layout */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-card {
  display: grid;
  grid-template-columns: 140px 1fr; /* image at left, text at right */
  align-items: center;
  gap: 16px;
  padding: 16px;
}

.service-card .service-media {
  width: 100%;
  height: 120px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(2, 132, 130, 0.08);
}

.service-card .service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Ensure existing icon/title/desc container uses remaining space */
.service-card .service-body {
  min-width: 0;
}

/* Responsive: stack on small screens */
@media (max-width: 640px) {
  .service-card {
    grid-template-columns: 1fr;
  }
  .service-card .service-media {
    height: 160px;
  }
  .service-actions {
    justify-content: center;
  }
}
/* Service cards and icon sizing (ensure icons render neatly) */
.service-icon.service-chip {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-color-darker));
  box-shadow: 0 4px 14px rgba(2,132,130,0.20), inset 0 0 0 1px rgba(255,255,255,0.25);
  margin-bottom: 10px;
}
.service-icon .service-svg {
  width: 26px;
  height: 26px;
  display: block;
}

/* Keep existing responsive service grid if not already defined */
.services-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
.service-card { display: grid; grid-template-columns: 190px 1fr; align-items: center; gap: 20px; padding: 20px; background: #fff; border: 1px solid rgba(2,132,130,0.08); border-radius: 14px; box-shadow: 0 2px 8px rgba(2,132,130,0.06); }
.service-card .service-media { width: 100%; height: 170px; overflow: hidden; border-radius: 12px; box-shadow: 0 2px 10px rgba(2,132,130,0.10); }
.service-card .service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-card .service-body { min-width: 0; }
.service-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; justify-content: center; }
@media (max-width: 640px) {
  .service-card { grid-template-columns: 1fr; }
  .service-card .service-media { height: 220px; }
}
