/* Vitrerie Lopez - Styles CSS */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Public+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --lopez-blue: #2E75B6;
    --lopez-blue-dark: #1E4E79;
    --lopez-blue-light: #5B9BD5;
    --lopez-navy: #1A3A5C;
    --urgent-red: #DC2626;
    --urgent-red-dark: #B91C1C;
    --lopez-silver: #475569;
    --off-white: #F8FAFC;
    --light-grey: #E2E8F0;
    --dark-grey: #1E293B;
    --black: #0F172A;
    --green-500: #22C55E;
    --green-400: #4ADE80;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #FFFFFF;
    color: var(--dark-grey);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Barlow Condensed', sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--off-white);
}

::-webkit-scrollbar-thumb {
    background: var(--lopez-silver);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-grey);
}

/* Selection color */
::selection {
    background-color: var(--lopez-blue);
    color: white;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* ========== HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo img {
    height: 56px;
    width: auto;
    mix-blend-mode: multiply;
}

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

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
}

.nav-link {
    font-weight: 500;
    color: #374151;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--lopez-blue);
}

.header-cta {
    display: none;
}

@media (min-width: 768px) {
    .header-cta {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn svg {
    width: 28px;
    height: 28px;
    color: var(--dark-grey);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--light-grey);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 1rem;
}

.mobile-menu.open {
    display: block;
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-nav-link {
    display: block;
    width: 100%;
    padding: 0.75rem 0;
    font-size: 1.125rem;
    font-weight: 500;
    color: #374151;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--lopez-blue);
}

/* ========== BUTTONS ========== */
.btn-sos {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--urgent-red);
    color: white;
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 0.375rem;
    box-shadow: 0 4px 14px 0 rgba(220, 38, 38, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-sos:hover {
    background-color: var(--urgent-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(220, 38, 38, 0.45);
}

.btn-sos:active {
    transform: translateY(0);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: white;
    color: var(--dark-grey);
    border: 2px solid var(--light-grey);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 0.375rem;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--lopez-blue);
    background-color: #EFF6FF;
}

/* Bouton Chat Live */
.btn-chat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #2E75B6, #1E4E79);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(46, 117, 182, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-chat:hover {
    background: linear-gradient(135deg, #1E4E79, #163a5c);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 117, 182, 0.45);
}
.btn-chat:active {
    transform: translateY(0);
}
.btn-chat-dot {
    width: 9px;
    height: 9px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
    animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70%  { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.btn-blue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--lopez-blue);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-blue:hover {
    background-color: var(--lopez-blue-dark);
}

/* ========== BADGES ========== */
.badge-urgent {
    display: inline-block;
    background-color: var(--urgent-red);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: pulseSlow 2s ease-in-out infinite;
}

.badge-247 {
    display: inline-block;
    background-color: var(--lopez-blue);
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
}

.badge-blue {
    display: inline-block;
    background-color: var(--lopez-blue);
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

/* ========== HERO SECTION ========== */
.hero-section {
    background: linear-gradient(135deg, #1A3A5C 0%, #1E4E79 50%, #2E75B6 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (min-width: 768px) {
    .hero-content {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.hero-badges {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-title .highlight {
    color: var(--lopez-blue);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #D1D5DB;
    margin-bottom: 2rem;
    max-width: 36rem;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-trust-points {
    display: grid;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .hero-trust-points {
        grid-template-columns: 1fr 1fr;
    }
}

.trust-point {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #E5E7EB;
}

.trust-point svg {
    width: 20px;
    height: 20px;
    color: var(--green-400);
    flex-shrink: 0;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-cta .btn-sos,
.hero-cta .btn-chat {
    flex: 1;
    width: 100%;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

/* Hero Stats Box */
.hero-stats-box {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (min-width: 1024px) {
    .hero-stats-box {
        display: block;
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--lopez-blue);
    margin-bottom: 0.5rem;
    font-family: 'Barlow Condensed', sans-serif;
}

.stat-label {
    color: #D1D5DB;
    font-weight: 500;
}

.hero-contact {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.hero-contact p {
    color: #9CA3AF;
    margin-bottom: 0.5rem;
}

.hero-phone {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    transition: color 0.2s ease;
}

.hero-phone:hover {
    color: var(--lopez-blue);
}

/* ========== PAGE HERO (Pages intérieures) ========== */
.page-hero {
    background-color: var(--lopez-navy);
    padding: 5rem 0;
    padding-top: calc(80px + 3rem);
}

@media (min-width: 768px) {
    .page-hero {
        padding: 7rem 0;
        padding-top: calc(80px + 5rem);
    }
}

.page-hero-content {
    max-width: 48rem;
}

.page-hero-tag {
    display: inline-block;
    color: var(--lopez-blue);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.page-hero-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .page-hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .page-hero-title {
        font-size: 3.75rem;
    }
}

.page-hero-subtitle {
    font-size: 1.25rem;
    color: #D1D5DB;
}

/* ========== SECTIONS ========== */
.section {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 8rem 0;
    }
}

.section-alt {
    background-color: var(--off-white);
}

.section-dark {
    background-color: var(--lopez-navy);
}

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

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 4rem;
    }
}

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

.section-tag {
    display: inline-block;
    color: var(--lopez-blue);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 3rem;
    }
}

.section-title.white {
    color: white;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6B7280;
    max-width: 42rem;
}

.section-header.center .section-subtitle {
    margin: 0 auto;
}

/* ========== SERVICE CARDS ========== */
.services-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: white;
    border: 1px solid var(--light-grey);
    padding: 2rem;
    border-radius: 0.5rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateY(-4px);
}

.service-card.featured {
    border-left: 4px solid var(--lopez-blue);
}

.service-card .icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--off-white);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: background-color 0.3s ease;
}

.service-card:hover .icon-wrapper {
    background-color: var(--lopez-blue);
}

.service-card .icon-wrapper svg {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--lopez-silver);
    transition: color 0.3s ease;
}

.service-card:hover .icon-wrapper svg {
    color: white;
}

.service-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-card-title {
    color: var(--lopez-blue);
}

.service-card-desc {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--lopez-blue);
    font-weight: 600;
    transition: gap 0.2s ease;
}

.service-card-link:hover {
    gap: 0.75rem;
}

.service-card-link svg {
    width: 1rem;
    height: 1rem;
}

/* ========== ABOUT CARD ========== */
.about-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.about-card-image {
    height: 16rem;
    overflow: hidden;
}

.about-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-card-content {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-grey) 100%);
    padding: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .about-card-content {
        padding: 2.5rem;
    }
}

.about-avatar {
    width: 5rem;
    height: 5rem;
    background-color: var(--lopez-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -3.5rem auto 1rem;
    border: 4px solid var(--black);
    position: relative;
    z-index: 10;
}

.about-avatar svg {
    width: 2.5rem;
    height: 2.5rem;
    color: white;
}

.about-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.about-role {
    color: #9CA3AF;
    margin-bottom: 0.25rem;
}

.about-cert {
    color: var(--lopez-blue);
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.about-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lopez-blue);
    font-family: 'Barlow Condensed', sans-serif;
}

.about-stat-label {
    font-size: 0.875rem;
    color: #9CA3AF;
}

/* ========== VALUES ========== */
.values-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.value-item {
    display: flex;
    gap: 1rem;
}

.value-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: #EFF6FF;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--lopez-blue);
}

.value-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.value-desc {
    color: #6B7280;
}

/* ========== STATS ========== */
.stats-section {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
}

.stats-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.stats-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stats-bg-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(248, 250, 252, 0.95);
}

.stats-content {
    position: relative;
    z-index: 10;
}

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

@media (min-width: 768px) {
    .stats-row {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item-alt {
    text-align: center;
}

.stat-item-alt .stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--lopez-blue);
    margin-bottom: 0.5rem;
    font-family: 'Barlow Condensed', sans-serif;
}

.stat-item-alt .stat-label {
    color: #6B7280;
    font-weight: 500;
}

/* ========== GUARANTEES ========== */
.guarantees-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .guarantees-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.guarantee-card {
    background-color: var(--off-white);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: center;
}

.guarantee-icon {
    width: 3rem;
    height: 3rem;
    color: var(--green-500);
    margin: 0 auto 1rem;
}

.guarantee-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.guarantee-desc {
    color: #6B7280;
}

/* ========== CITY CARDS ========== */
.cities-grid {
    display: grid;
    gap: 2rem;
    max-width: 56rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.city-card {
    background-color: var(--lopez-navy);
    border-radius: 1rem;
    overflow: hidden;
}

.city-card-image {
    height: 12rem;
    overflow: hidden;
}

.city-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.city-card-content {
    padding: 2rem;
    text-align: center;
}

.city-card-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--lopez-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -3rem auto 1.5rem;
    border: 4px solid var(--black);
    position: relative;
    z-index: 10;
}

.city-card-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.city-card-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.city-card-desc {
    color: #9CA3AF;
    margin-bottom: 1.5rem;
}

/* ========== AREAS LIST ========== */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .areas-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .areas-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .areas-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.area-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.area-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--green-500);
    flex-shrink: 0;
}

.area-item span {
    color: #374151;
}

/* ========== CONTACT INFO ========== */
.contact-info-card {
    background-color: var(--off-white);
    border-radius: 0.75rem;
    padding: 2rem;
    margin-bottom: 2rem;
}

.contact-info-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-info-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--lopez-blue);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: white;
}

.contact-info-title {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.contact-info-text {
    color: #6B7280;
}

.contact-info-text a {
    transition: color 0.2s ease;
}

.contact-info-text a:hover {
    color: var(--lopez-blue);
}

/* ========== EMERGENCY STEPS ========== */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.step-card {
    background-color: var(--off-white);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid #F3F4F6;
}

@media (min-width: 768px) {
    .step-card {
        padding: 2rem;
    }
}

.step-header {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .step-header {
        flex-direction: row;
    }
}

.step-number-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

@media (min-width: 768px) {
    .step-number-wrapper {
        width: 16rem;
        flex-shrink: 0;
    }
}

.step-circle {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--lopez-blue-light) 0%, var(--lopez-blue) 50%, var(--lopez-blue-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(46, 117, 182, 0.3);
    flex-shrink: 0;
}

.step-mobile-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
}

@media (min-width: 768px) {
    .step-mobile-title {
        display: none;
    }
}

.step-content {
    flex: 1;
}

.step-content-inner {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-icon {
    display: none;
    width: 3.5rem;
    height: 3.5rem;
    background-color: #EFF6FF;
    border-radius: 0.5rem;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .step-icon {
        display: flex;
    }
}

.step-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--lopez-blue);
}

.step-title {
    display: none;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .step-title {
        display: block;
    }
}

.step-desc {
    color: #6B7280;
    margin-bottom: 1rem;
}

.step-tips {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.step-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #6B7280;
}

.step-tip svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--green-500);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* ========== TIPS CARDS ========== */
.tips-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .tips-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tip-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #F3F4F6;
}

.tip-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: #EFF6FF;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.tip-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--lopez-blue);
}

.tip-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

.tip-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #6B7280;
}

.tip-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--green-500);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

/* ========== FAQ ========== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--off-white);
    border-radius: 0.75rem;
    border: 1px solid #F3F4F6;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-weight: 600;
    color: var(--black);
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--lopez-blue);
}

.faq-question svg:first-child {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--lopez-blue);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.faq-question .chevron {
    width: 1.25rem;
    height: 1.25rem;
    color: #9CA3AF;
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem;
    padding-left: 3.75rem;
    color: #6B7280;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ========== INSURANCE BOX ========== */
.insurance-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.insurance-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-align: center;
}

.insurance-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.insurance-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #D1D5DB;
}

.insurance-step-num {
    width: 2rem;
    height: 2rem;
    background-color: var(--lopez-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    flex-shrink: 0;
}

/* ========== REASSURANCE BANNER ========== */
.reassurance-banner {
    background-color: var(--lopez-blue);
    padding: 1.5rem 0;
}

.reassurance-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-align: center;
    color: white;
}

@media (min-width: 768px) {
    .reassurance-content {
        flex-direction: row;
        gap: 2rem;
    }
}

.reassurance-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reassurance-item svg {
    width: 1.5rem;
    height: 1.5rem;
}

.reassurance-item span {
    font-weight: 600;
}

.reassurance-divider {
    display: none;
    width: 1px;
    height: 1.5rem;
    background-color: rgba(255, 255, 255, 0.3);
}

@media (min-width: 768px) {
    .reassurance-divider {
        display: block;
    }
}

/* ========== CTA SECTION ========== */
.cta-section {
    padding: 5rem 0;
    text-align: center;
}

.cta-section.dark {
    background-color: var(--lopez-navy);
}

.cta-section.blue {
    background-color: var(--lopez-blue);
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .cta-title {
        font-size: 2.25rem;
    }
}

.cta-subtitle {
    font-size: 1.25rem;
    color: #D1D5DB;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: white;
    color: var(--lopez-blue);
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
}

.btn-white:hover {
    background-color: #F3F4F6;
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--lopez-navy);
    color: white;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
}

.btn-dark:hover {
    background-color: var(--dark-grey);
}

/* ========== CTA BOX ========== */
.cta-box {
    background-color: var(--lopez-navy);
    border-radius: 1rem;
    padding: 2rem;
}

@media (min-width: 768px) {
    .cta-box {
        padding: 3rem;
    }
}

.cta-box-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .cta-box-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.cta-box-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .cta-box-title {
        font-size: 1.875rem;
    }
}

.cta-box-subtitle {
    color: #9CA3AF;
}

/* ========== FORM ========== */
.form-section {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .form-section {
        padding: 8rem 0;
    }
}

.form-container {
    max-width: 56rem;
    margin: 0 auto;
}

.form-box {
    background-color: var(--off-white);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid #F3F4F6;
}

@media (min-width: 768px) {
    .form-box {
        padding: 2.5rem;
    }
}

.form-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.form-input {
    height: 3.5rem;
    background-color: var(--off-white);
    border: 1px solid var(--light-grey);
    border-radius: 0.375rem;
    font-size: 1rem;
    padding: 0 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    border-color: var(--lopez-blue);
    box-shadow: 0 0 0 3px rgba(46, 117, 182, 0.15);
    outline: none;
}

.form-textarea {
    min-height: 100px;
    background-color: var(--off-white);
    border: 1px solid var(--light-grey);
    border-radius: 0.375rem;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-textarea:focus {
    border-color: var(--lopez-blue);
    box-shadow: 0 0 0 3px rgba(46, 117, 182, 0.15);
    outline: none;
}

/* Photo Upload Zone */
.upload-zone {
    border: 2px dashed var(--light-grey);
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    transition: border-color 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}

.upload-zone:hover {
    border-color: var(--lopez-blue);
    background-color: #EFF6FF;
}

.upload-zone svg {
    width: 2.5rem;
    height: 2.5rem;
    color: #9CA3AF;
    margin: 0 auto 1rem;
}

.upload-text {
    color: #6B7280;
    margin-bottom: 0.5rem;
}

.upload-text .highlight {
    color: var(--lopez-blue);
    font-weight: 600;
}

.upload-hint {
    font-size: 0.875rem;
    color: #9CA3AF;
}

.form-submit {
    margin-top: 2rem;
}

.form-disclaimer {
    font-size: 0.875rem;
    color: #6B7280;
    margin-top: 1rem;
}

/* ========== FOOTER ========== */
.footer {
    background: linear-gradient(180deg, #1A3A5C 0%, #0F172A 100%);
    color: white;
}

.footer-main {
    padding: 4rem 0;
}

.footer-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-logo {
    height: 3rem;
    width: auto;
    margin-bottom: 1.5rem;
    background: white;
    padding: 0.4rem 0.75rem;
    border-radius: 0.4rem;
    mix-blend-mode: normal;
}

.footer-desc {
    color: #9CA3AF;
    margin-bottom: 1.5rem;
    max-width: 28rem;
}

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--lopez-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.footer-badge svg {
    width: 1.25rem;
    height: 1.25rem;
}

.footer-badge span {
    font-weight: 600;
}

.footer-title {
    font-weight: 700;
    font-size: 1.125rem;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-btn-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.7rem 1.4rem;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 0.375rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
    width: fit-content;
}
.footer-btn-contact:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #9CA3AF;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: white;
}

.footer-link svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--lopez-blue);
}

.footer-address {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #9CA3AF;
}

.footer-address svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--lopez-blue);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

/* Footer Services */
.footer-services {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #374151;
}

.footer-services-title {
    font-weight: 700;
    font-size: 1.125rem;
    color: white;
    margin-bottom: 1rem;
}

.footer-services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-service-tag {
    background-color: #1F2937;
    color: #D1D5DB;
    padding: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #374151;
    padding: 1.5rem 0;
}

.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-copyright {
    color: #6B7280;
    font-size: 0.875rem;
}

.footer-location {
    color: #6B7280;
    font-size: 0.875rem;
}

/* ========== GRID LAYOUTS ========== */
.grid-2-cols {
    display: grid;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .grid-2-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 5rem;
    }
}

/* ========== TWO COLUMN LAYOUT ========== */
.two-col-layout {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .two-col-layout {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

/* ========== IMAGE CARD ========== */
.image-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.image-card-img {
    height: 20rem;
    overflow: hidden;
}

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

.image-card-content {
    background-color: var(--lopez-navy);
    padding: 1.5rem;
}

.image-card-text {
    font-size: 0.875rem;
    color: #9CA3AF;
    margin-bottom: 0.25rem;
}

.image-card-title {
    color: white;
    font-weight: 600;
}

/* ========== UTILITIES ========== */
.text-center {
    text-align: center;
}

.mt-12 {
    margin-top: 3rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.hidden-mobile {
    display: none;
}

@media (min-width: 768px) {
    .hidden-mobile {
        display: block;
    }
}

.hidden-desktop {
    display: block;
}

@media (min-width: 768px) {
    .hidden-desktop {
        display: none;
    }
}

/* ========== LUCIDE ICONS (inline SVG) ========== */
.icon {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    vertical-align: middle;
}

.icon-sm {
    width: 1rem;
    height: 1rem;
}

.icon-lg {
    width: 2rem;
    height: 2rem;
}

.icon-xl {
    width: 2.5rem;
    height: 2.5rem;
}

/* ========== ANIMATIONS ========== */
@keyframes pulseSlow {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* ========== LINK ARROW ========== */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--lopez-blue);
    font-weight: 600;
    font-size: 1.125rem;
    transition: gap 0.2s ease;
}

.link-arrow:hover {
    gap: 0.75rem;
}

.link-arrow svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ========== GALERIE - VIGNETTE TRIGGER ========== */
.gallery-trigger {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    background: white;
    border: 1px solid var(--light-grey);
    border-radius: 1.25rem;
    padding: 1.5rem;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    box-shadow: 0 4px 16px rgba(30, 58, 92, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

@media (min-width: 768px) {
    .gallery-trigger {
        grid-template-columns: 1.1fr 1fr;
        gap: 2.5rem;
        padding: 2rem;
        align-items: center;
    }
}

.gallery-trigger:hover,
.gallery-trigger:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(30, 78, 121, 0.18);
    border-color: var(--lopez-blue-light);
    outline: none;
}

.gallery-trigger-stack {
    position: relative;
    aspect-ratio: 4 / 3;
    width: 100%;
}

.gallery-trigger-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.875rem;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18);
    transition: transform 0.4s ease;
}

.gallery-trigger-img.back {
    transform: rotate(-6deg) translate(-6%, -3%) scale(0.92);
    opacity: 0.85;
    z-index: 1;
}

.gallery-trigger-img.mid {
    transform: rotate(4deg) translate(5%, 2%) scale(0.95);
    opacity: 0.95;
    z-index: 2;
}

.gallery-trigger-img.front {
    z-index: 3;
}

.gallery-trigger:hover .gallery-trigger-img.back {
    transform: rotate(-9deg) translate(-10%, -5%) scale(0.92);
}

.gallery-trigger:hover .gallery-trigger-img.mid {
    transform: rotate(7deg) translate(8%, 4%) scale(0.95);
}

.gallery-trigger:hover .gallery-trigger-img.front {
    transform: scale(1.02);
}

.gallery-trigger-content {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.gallery-trigger-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
    background: rgba(46, 117, 182, 0.1);
    color: var(--lopez-blue-dark);
    padding: 0.4rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.gallery-trigger-title {
    font-size: 1.75rem;
    color: var(--lopez-navy);
    margin: 0;
}

@media (min-width: 768px) {
    .gallery-trigger-title {
        font-size: 2rem;
    }
}

.gallery-trigger-desc {
    color: var(--lopez-silver);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.gallery-trigger-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--lopez-blue);
    font-weight: 700;
    font-size: 1rem;
    margin-top: 0.25rem;
    transition: gap 0.2s ease;
}

.gallery-trigger:hover .gallery-trigger-cta {
    gap: 0.75rem;
}

/* ========== GALERIE LAYER (Overlay plein écran) ========== */
.gallery-layer {
    position: fixed;
    inset: 0;
    background: var(--off-white);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(2vh);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.gallery-layer.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.gallery-layer-header {
    flex-shrink: 0;
    background: white;
    border-bottom: 1px solid var(--light-grey);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    z-index: 2;
}

.gallery-layer-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 1.25rem;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
        "title close"
        "filters filters";
    gap: 0.875rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .gallery-layer-header-inner {
        grid-template-columns: auto 1fr auto;
        grid-template-areas: "title filters close";
        padding: 1.25rem 2rem;
        gap: 1.5rem;
    }
}

.gallery-layer-title-wrap {
    grid-area: title;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
}

.gallery-layer-title {
    font-size: 1.4rem;
    color: var(--lopez-navy);
    margin: 0;
}

.gallery-layer-subtitle {
    color: var(--lopez-silver);
    font-size: 0.85rem;
    font-weight: 500;
}

.gallery-filters {
    grid-area: filters;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.gallery-filters::-webkit-scrollbar { display: none; }

@media (min-width: 1024px) {
    .gallery-filters {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.gallery-filter {
    background: white;
    color: var(--lopez-silver);
    border: 2px solid var(--light-grey);
    padding: 0.45rem 1.1rem;
    border-radius: 9999px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.gallery-filter:hover {
    border-color: var(--lopez-blue);
    color: var(--lopez-blue);
}

.gallery-filter.active {
    background: var(--lopez-blue);
    color: white;
    border-color: var(--lopez-blue);
}

.gallery-layer-close {
    grid-area: close;
    background: var(--off-white);
    color: var(--dark-grey);
    border: 1px solid var(--light-grey);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
    flex-shrink: 0;
}

.gallery-layer-close:hover {
    background: var(--urgent-red);
    color: white;
    border-color: var(--urgent-red);
    transform: rotate(90deg);
}

.gallery-layer-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.5rem 1.25rem 3rem;
    scroll-behavior: smooth;
}

@media (min-width: 768px) {
    .gallery-layer-body {
        padding: 2rem 2rem 4rem;
    }
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1400px) {
    .gallery-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 0.75rem;
    aspect-ratio: 1 / 1;
    background: var(--light-grey);
    cursor: zoom-in;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    animation: galleryItemIn 0.4s ease both;
}

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

.gallery-item.is-hidden {
    display: none;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(30, 78, 121, 0.18);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-caption {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.5rem 0.875rem 0.75rem;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.85), transparent);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

body.gallery-open {
    overflow: hidden;
}

/* ========== LIGHTBOX ========== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.92);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.lightbox.open {
    display: flex;
    opacity: 1;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    user-select: none;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(4px);
}

.lightbox-close:hover,
.lightbox-nav:hover {
    background: var(--lopez-blue);
    transform: scale(1.08);
}

.lightbox-close {
    top: 1rem;
    right: 1rem;
}

.lightbox-prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover {
    transform: translateY(-50%) scale(1.08);
}

.lightbox-next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next:hover {
    transform: translateY(-50%) scale(1.08);
}

.lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    background: rgba(15, 23, 42, 0.6);
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    backdrop-filter: blur(4px);
}

@media (max-width: 640px) {
    .lightbox-prev { left: 0.5rem; }
    .lightbox-next { right: 0.5rem; }
    .lightbox-close { top: 0.5rem; right: 0.5rem; }
}
