/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Outfit:wght@400;600;700&display=swap');

:root {
    --primary-color: #0033cc;
    --primary-light: #1A44D6;
    --secondary-color: #ff6600;
    --secondary-dark: #cc5200;
    --accent-color: #8a2c00;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow: 0 10px 30px rgba(1, 22, 102, 0.08);
    --shadow-hover: 0 15px 40px rgba(1, 22, 102, 0.15);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

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

a:hover {
    color: var(--secondary-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* Header & Navbar */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

.logo img {
    height: 90px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--secondary-color);
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: 'Outfit', sans-serif;
}

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

.btn-primary:hover {
    background-color: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(228, 150, 99, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--white);
    text-align: center;
}

/* Hero Slider slide layout */
.hero-slide {
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 80vh;
    min-height: 600px;
    width: 100% !important;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255,255,255,0.9);
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

.hero .btn {
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

/* Cards & Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Services Card */
.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--secondary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-light);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--white);
    border: 4px solid var(--secondary-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

.left { left: 0; }
.right { left: 50%; }

.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--white);
    position: relative;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.timeline-content h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.timeline-content h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Clients */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.client-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
    max-width: 100%;
    height: auto;
    max-height: 80px;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-logo img {
    height: 70px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-col h4 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #cbd5e1;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
}

/* Contact Form */
.contact-container {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 40px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(228, 150, 99, 0.2);
}

textarea.form-control {
    height: 150px;
    resize: vertical;
}

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

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader-content {
    text-align: center;
    position: relative;
}

.loader-logo {
    width: 120px;
    height: auto;
    animation: pulse 1.5s infinite alternate;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(1, 22, 102, 0.1);
    border-radius: 50%;
    border-top-color: var(--secondary-color);
    animation: spin 1s ease-in-out infinite;
    margin: 20px auto 0;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1.05); opacity: 1; }
}

/* Header Navbar White Background */
.navbar-bg-white {
    background-color: #ffffff !important;
}

/* Swiper Styles */
.hero-slider .swiper-button-next,
.hero-slider .swiper-button-prev {
    color: var(--secondary-color);
}
.hero-slider .swiper-pagination-bullet-active {
    background: var(--secondary-color);
}

/* Org Slider */
.org-slider {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    overflow: hidden;
}

.org-slider .swiper-slide img {
    width: 100%;
    height: 370px;
    object-fit: cover;
    display: block;
}

.org-slider .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* Horizontal Timeline */
.timeline-horiz-wrapper {
    position: relative;
    padding: 30px 0 60px;
    margin-top: 20px;
}

.timeline-swiper {
    overflow: visible;
    padding: 0 40px 50px;
}

.timeline-swiper .swiper-slide {
    width: 260px !important;
    flex-shrink: 0;
}

.tl-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.tl-year {
    background: var(--primary-color);
    color: var(--white);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 6px 20px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.tl-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    border: 4px solid var(--white);
    box-shadow: 0 0 0 3px var(--primary-color);
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.tl-body {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 18px 20px;
    transition: var(--transition);
    width: 100%;
}

.tl-body:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.tl-body h4 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 8px;
}

.tl-body p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
}

.tl-line {
    position: absolute;
    top: 90px;
    left: 40px;
    right: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    z-index: 1;
}

.tl-next, .tl-prev {
    color: var(--primary-color) !important;
    background: white;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    box-shadow: var(--shadow);
    top: 85px !important;
}

.tl-next::after, .tl-prev::after {
    font-size: 0.9rem !important;
    font-weight: 700;
}

/* Footer Shine & Crop */
.footer-logo-container {
    position: relative;
    display: inline-block;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 5px;
}

.footer-logo-shine {
    height: 90px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.shine-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

/* Cascade Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* Responsive */
@media (max-width: 991px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline::after { left: 31px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item::after { left: 21px; }
    .right { left: 0%; }
}

@media (max-width: 768px) {
    .grid-2 { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.5rem; }
    
    .nav-links {
        position: absolute;
        right: 0;
        top: 100%;
        background-color: var(--white);
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 0;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        display: none;
    }
    
    .nav-links.active { display: flex; }
    .nav-links li { padding: 15px 0; border-bottom: 1px solid #eee; }
    .menu-toggle { display: block; }
}

@media (max-width: 576px) {
    .grid-3, .grid-4, .footer-grid { grid-template-columns: 1fr; }
}

/* =====================================================
   About / Nosotros / Que Hacemos — 2-col layout
   ===================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.about-grid-reverse { direction: rtl; }
.about-grid-reverse > * { direction: ltr; }
.about-text { }
.about-slider {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
}
.about-slider .swiper-slide img,
.mini-slider .swiper-slide img,
.mini-slider-2 .swiper-slide img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}
.mini-slider, .mini-slider-2 {
    border-radius: 14px;
    overflow: hidden;
}

/* =====================================================
   Servicios — GIF cards
   ===================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.service-card {
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.service-img-wrap {
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #f1f5f9;
}
.service-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.service-card:hover .service-img-wrap img { transform: scale(1.05); }
.service-card h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    padding: 18px 20px 6px;
}
.service-card p {
    font-size: .88rem;
    color: var(--text-light);
    padding: 0 20px;
    line-height: 1.6;
}
.service-list {
    padding: 10px 20px 0 36px;
    font-size: .83rem;
    color: var(--text-light);
    line-height: 1.9;
    flex: 1;
}
.btn-service {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 16px 20px 20px;
    padding: 9px 22px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    font-size: .88rem;
    transition: var(--transition);
    text-decoration: none;
    width: fit-content;
}
.btn-service:hover { background: var(--secondary-color); color: #fff; }

/* =====================================================
   Gallery — Proyectos
   ===================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}
.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    position: relative;
    aspect-ratio: 4/3;
}
.gallery-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}
.gallery-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(1,22,102,0.85) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    opacity: 0;
    transition: var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-weight: 600; font-size: .95rem; }

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9000;
    display: none;
    align-items: center;
    justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lb-content { text-align: center; max-width: 85vw; }
.lb-content img { max-height: 80vh; max-width: 100%; border-radius: 8px; display: block; margin: 0 auto; }
.lb-content p { color: #e2e8f0; margin-top: 12px; font-size: 1rem; }
.lb-close, .lb-prev, .lb-next {
    position: fixed;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.5rem;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.lb-close { top: 20px; right: 20px; font-size: 1.8rem; }
.lb-prev { left: 15px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 15px; top: 50%; transform: translateY(-50%); }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--secondary-color); }

/* Pagination */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.page-btn { padding: 8px 16px; border-radius: 6px; background: #e2e8f0; color: var(--primary-color); font-weight: 600; text-decoration: none; transition: var(--transition); }
.page-btn.active, .page-btn:hover { background: var(--primary-color); color: #fff; }

/* =====================================================
   Peru SVG Map
   ===================================================== */
.map-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.map-svg-container {
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 20px;
}
#peru-map {
    width: 100%;
    height: auto;
    display: block;
}
.region path {
    fill: #c8d3e8;
    stroke: #fff;
    stroke-width: 1.5;
    cursor: pointer;
    transition: fill 0.25s ease;
}
.region:hover path { fill: #e49663; }
.region.active path { fill: #1A3185; }
.region.selected path { fill: #011666; stroke: var(--secondary-color); stroke-width: 2.5; }
.region-label {
    font-size: 8px;
    font-family: 'Inter', sans-serif;
    fill: #fff;
    font-weight: 700;
    text-anchor: middle;
    pointer-events: none;
    dominant-baseline: middle;
}
.map-tooltip {
    position: absolute;
    background: var(--primary-color);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: .82rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.map-tooltip.visible { opacity: 1; }
.map-legend {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 28px;
    min-height: 300px;
}
.legend-header { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid #e2e8f0; }
.legend-item { display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--text-light); }
.dot-active { width: 14px; height: 14px; border-radius: 50%; background: #1A3185; display: inline-block; }
.dot-inactive { width: 14px; height: 14px; border-radius: 50%; background: #c8d3e8; display: inline-block; }
.dot-hover { width: 14px; height: 14px; border-radius: 50%; background: #e49663; display: inline-block; }

.dept-projects-panel h4 { font-size: 1.1rem; margin-bottom: 14px; }
.project-card-map {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 12px;
    transition: var(--transition);
}
.project-active { background: #eff6ff; border-left: 4px solid #1d4ed8; }
.project-inactive { background: #f9fafb; border-left: 4px solid #d1d5db; opacity: 0.7; }
.project-status-dot {
    width: 12px; height: 12px; border-radius: 50%;
    flex-shrink: 0; margin-top: 4px;
}
.project-active .project-status-dot { background: #22c55e; }
.project-inactive .project-status-dot { background: #d1d5db; }
.project-card-map strong { color: var(--primary-color); font-size: .95rem; display: block; margin-bottom: 4px; }
.project-card-map p { font-size: .82rem; color: var(--text-light); margin: 0 0 4px; }
.project-card-map small { font-size: .78rem; color: #94a3b8; }
.badge-curso { background: #d1fae5; color: #065f46; padding: 2px 8px; border-radius: 10px; font-weight: 700; font-size: .75rem; }

/* Responsive map */
@media (max-width: 900px) {
    .map-layout { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-grid-reverse { direction: ltr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .services-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

