* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #eff6ff;
    --surface: #f8fbff;
    --surface-strong: #e2e8f0;
    --nav: #0f1724;
    --nav-soft: #1e293b;
    --accent: #f59e0b;
    --accent-strong: #d97706;
    --text: #0f1724;
    --muted: #334155;
    --white: #f8fafc;
}

/* EVITAR SCROLL HORIZONTAL EN MÓVIL */
html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    line-height: 1.65;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
}

/* PANTALLA DE INICIO (SPLASH SCREEN) */
.splash-screen {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, #0f1724 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    overflow: hidden;
    will-change: opacity;
}

.splash-screen.hidden {
    pointer-events: none;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.splash-content {
    text-align: center;
    color: var(--white);
    width: 100%;
    max-width: 400px;
    padding: 2rem;
}

.splash-logo {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    opacity: 0;
}

.splash-logo img {
    max-width: 180px;
    margin: 0 auto;
}

.splash-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    opacity: 0;
}

.splash-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    opacity: 0;
}

.splash-loader {
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 2rem;
}

.loader-bar {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b 0%, #ea580c 100%);
    width: 0%;
    border-radius: 999px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    content-visibility: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

/* WHATSAPP FLOTANTE */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #22c55e;
    color: white;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.18);
    z-index: 1000;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.whatsapp-float:hover {
    transform: translateY(-2px);
    background-color: #16a34a;
}

/* HEADER Y NAVEGACIÓN */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(15, 23, 36, 0.96);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.25s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-img {
    width: 48px;
    height: auto;
    display: block;
}

.logo-text {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--white);
}

nav {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    right: -100%;
    width: min(85vw, 280px);
    height: auto;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.99) 0%, rgba(30, 41, 59, 0.99) 100%);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.5rem;
    transition: right 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
    z-index: 25;
    margin: 0;
    padding: 1.2rem 0.8rem;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(12px);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.4);
}

.nav-menu.active {
    display: flex;
    right: 0;
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
    overflow-x: hidden;
}

.nav-menu li a {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    min-height: 48px;
    border-radius: 10px;
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--white);
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    transform: translateX(4px);
    box-shadow: 0 8px 16px rgba(234, 88, 12, 0.2);
}

.nav-cta {
    display: flex;
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    color: var(--white);
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 14px 25px rgba(234, 88, 12, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.btn-nav:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.hamburger {
    display: block;
    width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
    padding: 0;
    font-size: 1.25rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 22;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* RESPONSIVE: móvil */
@media (max-width: 768px) {
    .nav-cta {
        display: flex;
    }

    .btn-nav {
        padding: 0.65rem 1.2rem;
        font-size: 0.9rem;
    }

    .nav-menu {
        width: min(88vw, 260px);
        padding: 1rem 0.6rem;
    }

    .nav-menu li a {
        font-size: 0.95rem;
        padding: 0.7rem 0.9rem;
    }

    header {
        position: sticky;
        z-index: 100;
    }
}

/* RESTO DE ESTILOS (hero, servicios, about, footer) */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem 5%;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fbff 100%);
}

.hero-content {
    flex: 1;
    min-width: 260px;
}

.hero-content h1 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: var(--nav);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
    color: var(--muted);
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: var(--white);
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(234, 88, 12, 0.18);
}

.hero-image {
    flex: 1;
    min-width: 300px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.12);
}

.hero-image img {
    width: 100%;
    height: auto;
}

.services-highlight {
    padding: 3rem 5%;
    text-align: center;
}

.services-highlight h2 {
    font-size: 2.1rem;
    margin-bottom: 2rem;
    color: var(--nav);
}

.service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.card {
    flex: 1;
    min-width: 250px;
    max-width: 320px;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.14);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card h3 {
    margin: 1rem 0 0.5rem;
    padding: 0 1rem;
    color: var(--nav);
}

.card p {
    padding: 0 1rem 1.5rem;
    color: var(--muted);
}

.about {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    padding: 3rem 5%;
    background-color: #f8fafc;
}

.about-text, .about-image {
    flex: 1;
    min-width: 250px;
}

.about-text h2 {
    font-size: 1.95rem;
    margin-bottom: 1rem;
    color: var(--nav);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    margin-top: 1rem;
    transition: all 0.25s ease;
}

.btn-secondary:hover {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: 0 16px 30px rgba(245, 158, 11, 0.18);
}

/* ===== SECCIÓN DE PISOS INDUSTRIALES Y SERVICIOS ADICIONALES (formato about) ===== */
.industrial-section,
.additional-section {
    padding: 3rem 5%;
    background-color: #f8fafc;
}

.industrial-section .service-list,
.additional-section .service-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
}

.industrial-section .service-list li,
.additional-section .service-list li {
    padding: 0.4rem 0;
    font-size: 0.95rem;
    color: var(--muted);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.industrial-section .service-list li:last-child,
.additional-section .service-list li:last-child {
    border-bottom: none;
}

.industrial-section .service-list li::before,
.additional-section .service-list li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Ajuste para que las secciones mantengan el mismo espaciado que "about" */
.industrial-section,
.additional-section {
    padding: 3rem 5%;
}

.industrial-section .about-text,
.additional-section .about-text {
    flex: 1;
    min-width: 250px;
}

.industrial-section .about-image,
.additional-section .about-image {
    flex: 1;
    min-width: 250px;
}

/* Responsive para móvil */
@media (max-width: 768px) {
    .industrial-section .service-list li,
    .additional-section .service-list li {
        font-size: 0.9rem;
        padding: 0.3rem 0;
    }
}

footer {
    background-color: var(--nav);
    color: #cbd5e1;
    padding: 2rem 5% 1rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-info p {
    margin: 0.5rem 0;
}

.footer-info a {
    color: var(--accent);
}

.footer-payments {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.footer-payments .payment-icon {
    margin-right: 0.3rem;
}

.footer-payments .payment-method {
    margin-right: 0.8rem;
    font-weight: 500;
}

.footer-payments .payment-method:last-child {
    margin-right: 0;
}

.footer-social a {
    display: inline-block;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: var(--white);
    transition: color 0.25s ease, transform 0.25s ease;
}

.footer-social a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
    padding-top: 1rem;
    font-size: 0.8rem;
}

@media (min-width: 1024px) {
    .hero-content h1 {
        font-size: 3rem;
    }
}

/* SECCIÓN DE MAPA */
.map-section {
    padding: 3rem 5%;
    text-align: center;
    background-color: var(--surface);
}

.map-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--nav);
}

.map-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ========== ESTILOS GENERALES PARA PÁGINAS INTERNAS ========== */
.page-header {
    text-align: center;
    padding: 3rem 5% 1.5rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fbff 100%);
}

.page-header h1 {
    font-size: 2.5rem;
    color: var(--nav);
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Formulario de contacto */
.contact-form {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: var(--white);
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--nav);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid var(--surface-strong);
    border-radius: 16px;
    font-family: inherit;
    font-size: 1rem;
    transition: border 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.btn-submit {
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(234, 88, 12, 0.2);
}

/* Galería de imágenes */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2rem 5%;
}

.gallery-item {
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

/* Listado de servicios (página completa) */
.services-full {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 5%;
    max-width: 1100px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s;
}

.service-item:hover {
    transform: translateY(-4px);
}

.service-img {
    flex: 1;
    min-width: 200px;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-info {
    flex: 2;
    padding: 1.5rem;
}

.service-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--nav);
}

.service-info p {
    color: var(--muted);
    margin-bottom: 1rem;
}

.service-info .btn-secondary {
    display: inline-block;
    margin-top: 0.5rem;
}

/* Ajustes responsivos para páginas internas */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 1.8rem;
    }

    .service-item {
        flex-direction: column;
    }

    .service-img {
        height: 200px;
    }

    .contact-form {
        margin: 1rem;
        padding: 1.5rem;
    }
}

/* ===== NUEVOS ESTILOS PARA SERVICIOS, GALERÍA Y CONTACTO ===== */
.page-header {
    text-align: center;
    padding: 3rem 5% 1rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fbff 100%);
    margin-bottom: 1rem;
}

.page-header h1 {
    font-size: 2.4rem;
    color: var(--nav);
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Galería en cuadrícula */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem 5%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    background: var(--white);
    box-shadow: 0 12px 24px rgba(0,0,0,0.05);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.12);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

.gallery-caption {
    padding: 0.75rem 1rem;
    text-align: center;
    background: var(--white);
    font-weight: 600;
    color: var(--nav);
    border-top: 1px solid #e2e8f0;
}

/* Página de contacto */
.contact-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 5%;
}

.contact-info {
    flex: 1;
    min-width: 240px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-card {
    background: var(--white);
    padding: 1.2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 6px 12px rgba(0,0,0,0.04);
    transition: transform 0.2s;
}

.contact-card i {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.contact-card h3 {
    margin-bottom: 0.25rem;
    color: var(--nav);
}

.contact-card a {
    color: var(--accent-strong);
    font-weight: 500;
}

.contact-form {
    flex: 1;
    min-width: 260px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 28px;
    box-shadow: 0 18px 36px rgba(15,23,42,0.08);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 40px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border 0.2s;
}

.contact-form textarea {
    border-radius: 24px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(245,158,11,0.2);
}

.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .contact-grid {
        flex-direction: column;
    }
}

/* ========== SCROLL ANIMATIONS ========== */
.scroll-fade-in {
    opacity: 0;
}

.scroll-fade-in.animated {
    opacity: 1;
    transition: opacity 0.6s ease-out;
}

.scroll-slide-up {
    opacity: 0;
    transform: translateY(80px);
}

.scroll-slide-up.animated {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-slide-left {
    opacity: 0;
    transform: translateX(-100px);
}

.scroll-slide-left.animated {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-slide-right {
    opacity: 0;
    transform: translateX(100px);
}

.scroll-slide-right.animated {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-scale-in {
    opacity: 0;
    transform: scale(0.8) translateY(40px);
}

.scroll-scale-in.animated {
    opacity: 1;
    transform: scale(1) translateY(0);
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-rotate-in {
    opacity: 0;
    transform: rotate(-8deg) scale(0.85) translateY(50px);
}

.scroll-rotate-in.animated {
    opacity: 1;
    transform: rotate(0deg) scale(1) translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Stagger effect para múltiples elementos */
.scroll-stagger-item {
    opacity: 0;
    transform: translateY(60px) translateX(-30px);
}

.scroll-stagger-item.animated {
    opacity: 1;
    transform: translateY(0) translateX(0);
    transition: opacity 0.7s ease-out, transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-stagger-item:nth-child(2) {
    transform: translateY(60px) translateX(0px);
    transition-delay: 0.08s;
}

.scroll-stagger-item:nth-child(2).animated {
    transform: translateY(0) translateX(0);
}

.scroll-stagger-item:nth-child(3) {
    transform: translateY(60px) translateX(30px);
    transition-delay: 0.16s;
}

.scroll-stagger-item:nth-child(3).animated {
    transform: translateY(0) translateX(0);
}

.scroll-stagger-item:nth-child(4) {
    transform: translateY(60px) translateX(-30px);
    transition-delay: 0.24s;
}

.scroll-stagger-item:nth-child(4).animated {
    transform: translateY(0) translateX(0);
}

.scroll-stagger-item:nth-child(5) {
    transform: translateY(60px) translateX(30px);
    transition-delay: 0.32s;
}

.scroll-stagger-item:nth-child(5).animated {
    transform: translateY(0) translateX(0);
}

/* ========== SWIPER CAROUSEL STYLES ========== */
.services-carousel-section {
    padding: 2rem 5%;
    background: linear-gradient(135deg, #f8fbff 0%, #eff6ff 100%);
}

.carousel-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--nav);
    font-weight: 700;
}

.services-swiper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 40px;
}

.service-carousel-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-carousel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.carousel-image-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.carousel-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-carousel-card:hover .carousel-image-wrapper img {
    transform: scale(1.06);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(234, 88, 12, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-carousel-card:hover .image-overlay {
    opacity: 1;
}

.carousel-content {
    flex: 1;
    padding: 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
}

.carousel-content h3 {
    font-size: 1.15rem;
    color: var(--nav);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.carousel-content p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    flex: 1;
    line-height: 1.5;
}

.btn-carousel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    color: var(--white);
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
    text-decoration: none;
    cursor: pointer;
    border: none;
    width: fit-content;
}

.btn-carousel:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 10px 20px rgba(234, 88, 12, 0.2);
}

/* Swiper customización */
.swiper-button-prev,
.swiper-button-next {
    background: rgba(245, 158, 11, 0.85);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: var(--white);
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #f59e0b;
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.35);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}

.swiper-pagination-bullet {
    background: rgba(15, 23, 42, 0.25);
    width: 8px;
    height: 8px;
}

.swiper-pagination-bullet-active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* Responsive para mobile */
@media (max-width: 768px) {
    .carousel-title {
        font-size: 1.5rem;
        margin-bottom: 1.2rem;
    }

    .services-carousel-section {
        padding: 1.5rem 4%;
    }

    .carousel-image-wrapper {
        height: 180px;
    }

    .carousel-content {
        padding: 1rem 0.9rem;
    }

    .carousel-content h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .carousel-content p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .btn-carousel {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 32px;
        height: 32px;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 12px;
    }

    .services-swiper {
        padding-bottom: 32px;
    }
}

@media (max-width: 480px) {
    .carousel-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .services-carousel-section {
        padding: 1.2rem 3%;
    }

    .carousel-image-wrapper {
        height: 160px;
    }

    .carousel-content {
        padding: 0.9rem 0.8rem;
    }

    .carousel-content h3 {
        font-size: 0.95rem;
        margin-bottom: 0.3rem;
    }

    .carousel-content p {
        font-size: 0.75rem;
        margin-bottom: 0.7rem;
    }

    .btn-carousel {
        padding: 0.45rem 0.9rem;
        font-size: 0.75rem;
    }

    .swiper-button-prev,
    .swiper-button-next {
        width: 28px;
        height: 28px;
    }

    .swiper-button-prev::after,
    .swiper-button-next::after {
        font-size: 10px;
    }
}

/* Sección de beneficios */
.services-details {
    padding: 2.5rem 5%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 251, 255, 0.92) 100%), 
                url('../IMAGES/fondo_cleanart.webp') center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
}

.services-details::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(2px);
    z-index: 0;
    pointer-events: none;
}

.services-details > * {
    position: relative;
    z-index: 1;
}

.services-details h2 {
    font-size: 1.9rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--nav);
}

.services-details .service-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.services-details .card {
    flex: 1;
    min-width: 220px;
    max-width: 280px;
    padding: 1.5rem 1.2rem;
    text-align: center;
    background: linear-gradient(135deg, #f8fbff 0%, #eff6ff 100%);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 16px;
}

.services-details .card i {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 0.8rem;
    display: inline-block;
}

.services-details .card h3 {
    font-size: 1.15rem;
    color: var(--nav);
    margin-bottom: 0.6rem;
}

.services-details .card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .services-details {
        padding: 1.8rem 4%;
    }

    .services-details h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .services-details .service-cards {
        gap: 1.2rem;
    }

    .services-details .card {
        min-width: 180px;
        max-width: 220px;
        padding: 1.2rem 1rem;
    }

    .services-details .card i {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }

    .services-details .card h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .services-details .card p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .services-details {
        padding: 1.5rem 3%;
    }

    .services-details h2 {
        font-size: 1.3rem;
        margin-bottom: 1.2rem;
    }

    .services-details .service-cards {
        flex-direction: column;
        gap: 1rem;
    }

    .services-details .card {
        width: 100%;
        max-width: 100%;
    }
}