/* ==========================================================================
   SAMU Service Landing Page Styles
   System: Industrial Tech-Premium CSS Design System
   ========================================================================== */

/* --- CSS VARIABLES & SYSTEM TOKENS --- */
:root {
    /* Color Palette */
    --primary: #0f172a;        /* Deep Slate Blue */
    --primary-light: #1e293b;  /* Slate Gray */
    --primary-bg: #f8fafc;     /* Clean Off-white */
    --secondary-bg: #f1f5f9;   /* Industrial Light Gray */
    --accent: #f97316;         /* Safety/Action Orange */
    --accent-hover: #ea580c;   /* Darker Safety Orange */
    --success: #10b981;        /* Quality Control Green */
    --danger: #ef4444;         /* Warning Red */
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Text Colors */
    --text-main: #334155;      /* Dark Slate Text */
    --text-muted: #64748b;     /* Medium Muted Gray */
    --text-light: #94a3b8;     /* Light Gray */
    
    /* Layout & Shadows */
    --border-color: #e2e8f0;   /* Light Slate Border */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Animations */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- TYPOGRAPHY & TITLES --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.25;
}

p {
    font-size: 1rem;
    color: var(--text-main);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 30%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-primary-color {
    color: var(--accent);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    gap: 0.5rem;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--accent);
    color: white;
}

.btn-secondary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background-color: var(--accent);
    color: white;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    width: 100%;
}

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

.btn-outline {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--secondary-bg);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* --- SECTION UTILITIES --- */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
}

.section-header {
    margin-bottom: 4rem;
}

.text-center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    color: var(--accent);
    text-transform: uppercase;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* --- HEADER / NAVIGATION --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.main-header.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

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

.nav-cta {
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 1.5rem;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    padding-top: 13rem;
    padding-bottom: 10rem;
    background-color: var(--primary); /* Base color is deep slate */
    color: white;
    overflow: hidden;
}

/* Background image styling */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.18; /* Subtle background visibility */
    z-index: 1;
    pointer-events: none;
}

/* Vignette overlay */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.3) 0%, rgba(15, 23, 42, 0.75) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 3; /* Lift above background and vignette */
    max-width: 850px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.08);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
}

.badge-icon {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.hero-title {
    font-size: 4.4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    color: white;
    text-transform: uppercase;
}

.hero-title .text-gradient {
    background: linear-gradient(135deg, #ffffff 40%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #cbd5e1; /* Muted gray to reduce visual weight */
    margin-bottom: 2rem;
    font-weight: 400;
    max-width: 680px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500; /* Lighter font weight */
    font-size: 0.88rem; /* Smaller text size */
    color: #94a3b8; /* Muted slate gray */
}

.hero-feature-item svg {
    width: 14px !important;
    height: 14px !important;
    stroke-width: 2.5px;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* Specific styling for outline button in dark hero context */
.hero-section .btn-outline {
    color: white;
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-section .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* --- B2B METRICS SECTION --- */
.metrics-section {
    background-color: var(--accent);
    color: var(--primary);
    padding: 4rem 0;
}

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

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.metric-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-icon-wrapper {
    background-color: rgba(15, 23, 42, 0.08);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.15);
}

.metric-icon-wrapper i,
.metric-icon-wrapper svg {
    width: 24px;
    height: 24px;
    color: var(--primary) !important;
}

.metric-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--primary);
    letter-spacing: -1px;
}

.metric-label {
    font-size: 0.95rem;
    color: rgba(15, 23, 42, 0.8);
    font-weight: 600;
}

/* --- PAIN POINTS SECTION --- */
.pain-section {
    background-color: var(--secondary-bg);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pain-card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.pain-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(249, 115, 22, 0.3);
}

.pain-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--danger);
    background-color: rgba(239, 68, 68, 0.08);
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    margin-bottom: 1.25rem;
}

.pain-badge i {
    width: 12px;
    height: 12px;
}

.pain-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
    font-weight: 700;
}

.pain-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.pain-card-highlight {
    background-color: var(--primary);
    color: white;
    border-color: transparent;
}

.pain-card-highlight h3 {
    color: white;
}

.pain-card-highlight p {
    color: var(--text-light);
}

.badge-accent {
    color: var(--accent);
    background-color: rgba(249, 115, 22, 0.15);
}

/* --- BANNER MESSAGE SECTION --- */
.banner-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.shader-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.95;
}

.banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 80%, rgba(249, 115, 22, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.banner-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.banner-container h2 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 800;
}

.banner-container p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* --- EXPLANATION SECTION --- */
.explanation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.explanation-text {
    font-size: 1.15rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.explanation-list {
    list-style: none;
    margin-top: 2rem;
}

.explanation-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

.list-icon {
    color: var(--accent);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.explanation-visual {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4 / 3;
}

.explanation-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- SERVICES SECTION / "QUÉ HACEMOS" --- */
.services-section {
    background-color: var(--secondary-bg);
}

.interactive-services-container {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    grid-template-rows: auto auto auto auto;
    gap: 1rem 3rem;
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.service-stage-group {
    display: contents; /* Direct children participate in the grid columns */
}

.service-stage-header {
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background-color: var(--secondary-bg);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

/* Row alignments for headers on desktop */
#group-personal .service-stage-header { grid-row: 1; }
#group-calidad .service-stage-header { grid-row: 2; }
#group-kpis .service-stage-header { grid-row: 3; }
#group-proceso .service-stage-header { grid-row: 4; }

.service-stage-header:hover {
    background-color: white;
    border-color: var(--accent);
    transform: translateX(5px);
}

.service-stage-header.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.stage-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stage-header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background-color: rgba(15, 23, 42, 0.05);
    color: var(--primary);
    transition: var(--transition);
}

.service-stage-header.active .stage-header-icon {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

.stage-header-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: inherit;
}

.stage-header-chevron {
    display: none; /* Hidden on desktop */
}

/* Contents occupy column 2, stretching across rows 1-4 */
.service-stage-content {
    grid-column: 2;
    grid-row: 1 / span 4;
    background: var(--primary-bg);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    min-height: 420px;
    align-self: stretch;
    display: none;
    flex-direction: column;
    animation: fadeIn 0.4s ease forwards;
}

.service-stage-content.active {
    display: flex;
}

.service-stage-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--primary);
    font-weight: 800;
}

.pane-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.pane-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pane-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.list-check-icon {
    color: var(--accent);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.pane-list li div {
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.5;
}

.services-footer {
    margin-top: 4rem;
}

.highlight-text {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
}

@media (max-width: 768px) {
    .interactive-services-container {
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
        background: transparent;
        padding: 0;
        border: none;
        box-shadow: none;
    }
    
    .service-stage-group {
        display: block;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        background: white;
        overflow: hidden;
        box-shadow: var(--shadow-sm);
        transition: var(--transition);
    }
    
    .service-stage-group:hover {
        border-color: rgba(249, 115, 22, 0.2);
    }
    
    .service-stage-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.25rem 1.5rem;
        background-color: white;
        border: none;
        border-radius: 0;
        text-align: left;
        cursor: pointer;
        width: 100%;
        transform: none !important;
        box-shadow: none !important;
    }
    
    .service-stage-header.active {
        background-color: var(--primary);
        color: white;
    }
    
    .stage-header-icon {
        width: 32px;
        height: 32px;
    }
    
    .service-stage-header.active .stage-header-icon {
        background-color: rgba(255, 255, 255, 0.1);
        color: var(--accent);
    }
    
    .stage-header-title {
        font-size: 0.95rem;
    }
    
    .stage-header-chevron {
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;
        color: var(--text-muted);
    }
    
    .service-stage-header.active .stage-header-chevron {
        transform: rotate(180deg);
        color: var(--accent);
    }
    
    .service-stage-content {
        display: none;
        padding: 2rem 1.5rem;
        background-color: var(--primary-bg);
        border-top: 1px solid var(--border-color);
        min-height: auto;
        border-radius: 0;
        border: none;
    }
    
    .service-stage-content.active {
        display: block;
    }
    
    .service-stage-content h3 {
        display: none; /* Hide redundant inner heading inside accordion body */
    }
    
    .pane-description {
        margin-bottom: 1.5rem;
    }
}

/* --- COMPARISON SECTION (Sin vs Con SAMU) --- */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
}

.comparison-card {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 3.5rem 3rem;
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.05);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

.card-negative {
    border-top: 6px solid var(--danger);
}

.card-negative:hover {
    box-shadow: 0 15px 35px -10px rgba(239, 68, 68, 0.08);
}

.card-positive {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 2px solid var(--accent);
    color: white;
    box-shadow: 0 20px 40px -15px rgba(249, 115, 22, 0.2);
    transform: scale(1.03);
    z-index: 2;
}

.card-positive:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 50px -10px rgba(249, 115, 22, 0.3);
}

.comparison-badge-pop {
    position: absolute;
    top: -18px;
    right: 3rem;
    background-color: var(--accent);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 4px 18px rgba(249, 115, 22, 0.6); }
    100% { transform: scale(1); }
}

.card-header-comparison {
    margin-bottom: 2.5rem;
}

.card-header-comparison h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.card-negative .card-header-comparison h3 {
    color: var(--primary);
}

.card-positive .card-header-comparison h3 {
    color: white;
}

.card-negative .card-sub-comparison {
    color: var(--text-muted);
}

.card-positive .card-sub-comparison {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.75rem;
    font-size: 1.05rem;
    line-height: 1.5;
}

.card-negative .comparison-list li {
    color: var(--text-main);
}

.card-positive .comparison-list li {
    color: rgba(255, 255, 255, 0.9);
}

.icon-x {
    color: var(--danger);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 0 2px rgba(239, 68, 68, 0.2));
}

.icon-check {
    color: #10b981;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 0 4px rgba(16, 185, 129, 0.4));
}

/* --- PROCESS TIMELINE --- */
.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 3rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 17px;
    width: 3px;
    height: calc(100% - 40px);
    background-color: var(--border-color);
}

.timeline-step {
    position: relative;
    margin-bottom: 3.5rem;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.step-number {
    position: absolute;
    left: -3rem;
    top: 0;
    background-color: white;
    border: 3px solid var(--accent);
    color: var(--primary);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    z-index: 2;
    transition: var(--transition);
}

.timeline-step:hover .step-number {
    background-color: var(--accent);
    color: white;
    transform: scale(1.15);
}

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* --- BENEFITS SECTION --- */
.benefits-section {
    background-color: var(--secondary-bg);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.benefit-card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(249, 115, 22, 0.2);
}

.benefit-icon {
    background-color: rgba(249, 115, 22, 0.08);
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(249, 115, 22, 0.15);
}

.benefit-icon i {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

.benefit-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.85rem;
}

.benefit-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}



/* --- SECTORS SECTION --- */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.sector-card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.sector-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.sector-icon-box {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    height: 70px;
}

.sector-img {
    height: 64px;
    width: 64px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.sector-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.sector-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- WHY CHOOSE SECTION --- */
.why-choose-section {
    background-color: var(--primary);
    color: white;
    background-image: radial-gradient(circle at 10% 10%, rgba(249, 115, 22, 0.03) 0%, transparent 60%);
}

.why-choose-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 1.5rem;
}

.why-choose-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.why-choose-content h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.why-choose-content > p {
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 4rem;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem 4rem;
    text-align: left;
}

.why-item {
    display: flex;
    gap: 1.5rem;
}

.why-item i {
    width: 32px;
    height: 32px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.why-item h5 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.why-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* --- FAQS SECTION --- */
.faq-section {
    background-color: var(--secondary-bg);
}

.faq-accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-chevron {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    padding: 0 1.5rem;
}

.faq-answer p {
    padding-bottom: 1.5rem;
    color: var(--text-muted);
}

/* Open FAQ style handled by JS toggle class 'open' */
.faq-item.open {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--accent);
}

.faq-item.open .faq-answer {
    max-height: 1000px; /* high value to expand */
    transition: max-height 0.5s ease-in-out;
}

/* --- CTA & INTERACTIVE DIAGNOSTIC SECTION --- */
.diagnostic-section {
    background: radial-gradient(circle at 10% 90%, rgba(249, 115, 22, 0.04) 0%, rgba(255, 255, 255, 0) 50%);
}

.diagnostic-grid {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 4rem;
    align-items: center;
}

.diagnostic-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.diagnostic-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.contact-quick-info {
    margin-top: 3.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-light);
}

.contact-info-item i {
    color: var(--accent);
    width: 20px;
    height: 20px;
}

/* Wizard Box */
.diagnostic-form-wrapper {
    background-color: white;
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    min-height: 520px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.wizard-header {
    margin-bottom: 2rem;
}

.wizard-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.wizard-progress {
    width: 100%;
    height: 6px;
    background-color: var(--secondary-bg);
    border-radius: 10px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--accent);
    width: 33.33%;
    transition: width 0.3s ease;
}

.wizard-steps-indicator {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.step-indicator {
    font-family: var(--font-heading);
    font-weight: 700;
    background-color: var(--secondary-bg);
    color: var(--text-muted);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    z-index: 2;
    transition: var(--transition);
}

.step-indicator.active {
    background-color: var(--primary);
    color: white;
}

.step-indicator.complete {
    background-color: var(--success);
    color: white;
}

.wizard-form {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.wizard-step {
    display: none;
    flex-grow: 1;
    flex-direction: column;
    animation: fadeIn 0.4s ease forwards;
}

.wizard-step.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.wizard-step h3 {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.step-helper {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Option Cards (Radios & Checkboxes) */
.form-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.option-card {
    cursor: pointer;
    position: relative;
}

.option-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
    background-color: white;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    height: 100%;
}

.option-emoji {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    width: 30px;
}

.form-sector-img {
    height: 30px;
    width: 30px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.option-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary-light);
}

/* Option Card Checked State */
.option-card input:checked + .option-content {
    border-color: var(--accent);
    background-color: rgba(249, 115, 22, 0.03);
}

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

.checkbox-grid .option-content {
    padding: 0.75rem 1.25rem;
}

/* Wizard actions footer alignment */
.wizard-actions {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Form Contact Fields step 3 */
.contact-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--primary-light);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.15);
}

/* Success View */
.wizard-success-view {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
    animation: fadeIn 0.4s ease forwards;
}

.wizard-success-view.active {
    display: flex;
}

.success-icon-wrapper {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.success-icon-wrapper i {
    width: 40px;
    height: 40px;
}

.wizard-success-view h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.wizard-success-view p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    max-width: 400px;
}

.success-callout {
    background-color: var(--secondary-bg);
    border-left: 4px solid var(--success);
    padding: 1rem 1.5rem;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 0.95rem;
    margin-top: 1rem;
    margin-bottom: 2rem !important;
    text-align: left;
}

/* --- FOOTER --- */
.main-footer {
    background-color: var(--primary);
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
    display: grid;
    grid-template-columns: 1.3fr 0.82fr 0.88fr;
    gap: 4rem;
    text-align: center;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.logo-capsule {
    background-color: white;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.logo-capsule:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.logo-capsule .logo-img {
    max-height: 40px;
    width: auto;
    object-fit: contain;
}

.brand-tagline {
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.brand-text {
    font-size: 0.9rem;
    color: var(--text-light);
    max-width: 320px;
    margin: 0 auto;
}

.footer-links, .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-container h4 {
    color: white;
    font-size: 1.15rem;
    margin-bottom: 1.75rem;
    font-weight: 700;
}

.footer-links ul, .footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
}

.footer-links li, .footer-contact li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-contact i {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem 0;
    background-color: #0b1120;
}

.footer-bottom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--accent);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
    /* Fonts scale down */
    html {
        font-size: 15px;
    }
    
    /* Layout structural changes */
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-content {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-features {
        justify-content: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        aspect-ratio: 16 / 9;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }
    
    .pain-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .explanation-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .explanation-visual {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sectors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .diagnostic-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .diagnostic-info-card {
        text-align: center;
    }
    
    .contact-quick-info {
        display: flex;
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
    
    .brand-text {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    /* Navigation responsive menu */
    .mobile-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 73px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 73px);
        background-color: white;
        flex-direction: column;
        padding: 3rem 1.5rem;
        gap: 2rem;
        transition: left 0.4s ease;
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .nav-link {
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
        padding: 0.5rem 0;
    }
    
    .nav-cta {
        width: 100%;
        max-width: 280px;
        padding: 0.85rem 0;
        font-size: 1.1rem;
        margin-top: 1rem;
    }
    
    /* Grid scaling for mobile */
    .pain-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .card-positive {
        transform: none !important;
    }
    
    .card-positive:hover {
        transform: none !important;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .sectors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .diagnostic-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .form-options-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-fields {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
    
    /* Compact stats / metrics on mobile/tablet */
    .metrics-section {
        padding: 2.5rem 0;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1.25rem;
    }
    
    .metric-card {
        padding: 0.75rem;
    }
    
    .metric-icon-wrapper {
        width: 36px;
        height: 36px;
        margin-bottom: 0.5rem;
    }
    
    .metric-icon-wrapper i,
    .metric-icon-wrapper svg {
        width: 18px;
        height: 18px;
    }
    
    .metric-number {
        font-size: 2.2rem;
        margin-bottom: 0.25rem;
    }
    
    .metric-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn,
    .hero-actions .shimmer-btn {
        width: 100%;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem 0.75rem;
    }
    
    .metric-number {
        font-size: 1.8rem;
    }
    
    .metric-label {
        font-size: 0.8rem;
    }
    
    .sectors-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-quick-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* --- SHIMMER BUTTON SYSTEM (Adapted to SAMU Service Colors) --- */
.shimmer-btn {
    --shimmer-color: #ffffff;
    --shimmer-size: 1.5px;
    --shimmer-duration: 3s;
    --border-radius: var(--radius-sm);
    --bg: var(--accent); /* Safety Orange #f97316 */
    --spread: 90deg;

    position: relative;
    z-index: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.85rem 2rem;
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    background: var(--bg);
    border-radius: var(--border-radius);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-gpu: translate3d(0, 0, 0);
}

.shimmer-btn.btn-large {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
}

.shimmer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.5);
}

.shimmer-btn:active {
    transform: translateY(1px);
}

/* Spark Container */
.shimmer-spark-container {
    position: absolute;
    inset: 0;
    overflow: visible;
    z-index: -30;
    filter: blur(2px);
    container-type: size;
}

/* Shimmer Spark Element */
.shimmer-spark {
    position: absolute;
    inset: 0;
    height: 100cqh;
    aspect-ratio: 1;
    border-radius: 0;
    mask: none;
    animation: shimmer-slide var(--shimmer-duration) ease-in-out infinite alternate;
}

/* Conic gradient rotater */
.shimmer-spark::after {
    content: '';
    position: absolute;
    inset: -100%;
    width: auto;
    transform: rotate(0deg);
    background: conic-gradient(
        from calc(270deg - (var(--spread) * 0.5)),
        transparent 0,
        var(--shimmer-color) var(--spread),
        transparent var(--spread)
    );
    animation: spin-around calc(var(--shimmer-duration) * 2) infinite linear;
}

/* Highlight shadow */
.shimmer-highlight {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    box-shadow: inset 0 -8px 10px rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease-in-out;
}

.shimmer-btn:hover .shimmer-highlight {
    box-shadow: inset 0 -6px 10px rgba(255, 255, 255, 0.3);
}

.shimmer-btn:active .shimmer-highlight {
    box-shadow: inset 0 -10px 10px rgba(255, 255, 255, 0.35);
}

/* Backdrop */
.shimmer-backdrop {
    position: absolute;
    inset: var(--shimmer-size);
    background: var(--bg);
    border-radius: var(--border-radius);
    z-index: -20;
    transition: background 0.3s ease;
}

/* Content */
.shimmer-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: white;
}

.shimmer-content i,
.shimmer-content svg {
    width: 18px;
    height: 18px;
    color: white;
}

/* Nav specific sizing */
.shimmer-btn.nav-cta {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
}

/* Wizard Specific form style overrides */
.wizard-actions .shimmer-btn {
    min-width: 140px;
}

/* Animations */
@keyframes spin-around {
    0% {
        transform: translateZ(0) rotate(0);
    }
    15%, 35% {
        transform: translateZ(0) rotate(90deg);
    }
    65%, 85% {
        transform: translateZ(0) rotate(270deg);
    }
    100% {
        transform: translateZ(0) rotate(360deg);
    }
}

@keyframes shimmer-slide {
    to {
        transform: translate(calc(100cqw - 100%), 0);
    }
}

/* --- FLOATING WHATSAPP BUTTON --- */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.whatsapp-tooltip {
    background-color: #0b1120;
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.5rem 0.9rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
    opacity: 0.95;
    animation: bounce 2s infinite;
    pointer-events: auto;
}

.whatsapp-link {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
    pointer-events: auto;
}

.whatsapp-link:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-link svg {
    width: 32px;
    height: 32px;
    fill: white;
}

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

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-link {
        width: 50px;
        height: 50px;
    }
    .whatsapp-link svg {
        width: 26px;
        height: 26px;
    }
    .whatsapp-tooltip {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }
}

/* Contact click-to-call link decoration */
.contact-link {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--accent);
}

/* Diagnostic Section Team Image Wrapper */
.diagnostic-team-wrapper {
    position: relative;
    margin-top: 2rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.diagnostic-team-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.diagnostic-team-wrapper:hover .diagnostic-team-image {
    transform: scale(1.04);
}

.team-image-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background-color: rgba(15, 23, 42, 0.85);
    color: white;
    backdrop-filter: blur(4px);
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.team-image-badge i,
.team-image-badge svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

@media (max-width: 768px) {
    .diagnostic-team-image {
        height: 220px;
    }
}
