:root {
    --primary-color: #00f2ea;
    --secondary-color: #ff0055;
    --bg-color: #ffffff;
    --card-bg: #f1f3f5;
    --text-color: #111111;
    --heading-color: #000000;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --transition: all 0.3s ease;
    --font-heading: 'Sora', sans-serif;
    --font-body: 'Inter', sans-serif;
}

.dark-theme {
    --bg-color: #0d0d12;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-color: #e0e0e0;
    --heading-color: #ffffff;
    --nav-bg: rgba(13, 13, 18, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.8rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--nav-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--primary-color);
}

nav a.active {
    color: var(--primary-color);
}

nav a.active::after {
    width: 100%;
}

.login-btn {
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--primary-color);
    border-radius: 30px;
    color: var(--primary-color);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle-btn:hover {
    background: var(--primary-color);
    color: #000;
}

body.dark-theme nav a {
    color: #e0e0e0;
}

body.dark-theme .hero-content p {
    color: #ccc;
}

body.dark-theme .hero-content h1 {
    color: #fff;
}

body.dark-theme .hero-content {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

body.dark-theme section:nth-of-type(even) {
    background: #0d0d12;
    /* Misma que el fondo base para evitar parches de color */
}

body.dark-theme section {
    background: #0d0d12;
}

body.dark-theme section:nth-of-type(even) {
    background: #111118;
    /* Un tono ligeramente diferente pero muy sutil */
}

body.dark-theme .card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

body.dark-theme .rental-info h3 {
    color: #fff;
}

body.dark-theme .rental-specs li {
    color: var(--text-color);
}

body.dark-theme .rental-price {
    color: var(--heading-color);
}

body.dark-theme .location-info p,
body.dark-theme .contact-wrapper p {
    color: #ccc;
}

body.dark-theme .footer-section p,
body.dark-theme .footer-links a {
    color: #999;
}

body.dark-theme footer {
    background: #050507;
    color: #999;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-theme .footer-section h3 {
    color: var(--primary-color);
}

body.dark-theme .equipment-item {
    background: rgba(255, 255, 255, 0.03);
    color: #e0e0e0;
}

body.dark-theme .form-group input,
body.dark-theme .form-group textarea {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

body.dark-theme .compromiso-text {
    color: #e0e0e0 !important;
}

body.dark-theme .login-container {
    background: radial-gradient(circle at top right, #1a1a2e, #0d0d12);
}

body.dark-theme .login-box {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.3);
}

body.dark-theme .login-box h2 {
    color: var(--primary-color);
}

/* --- Correcciones de imágenes en tema claro (DEFAULT) --- */

/* Mapa: normal en claro, invertido en oscuro */
.base-map iframe {
    filter: none;
}

body.dark-theme .base-map iframe {
    filter: invert(90%) hue-rotate(180deg) grayscale(0.5);
}

/* Logo del header: oscuro en claro, claro en oscuro */
header .logo img {
    filter: brightness(0) opacity(0.85);
}

body.dark-theme header .logo img {
    filter: brightness(0) invert(1) opacity(0.8);
}

/* Hero logo: sin glow en claro, con glow en oscuro */
.hero-logo img {
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.2)) brightness(0.9);
}

body.dark-theme .hero-logo img {
    filter: drop-shadow(0 0 20px rgba(0, 242, 234, 0.3));
}

/* Contact icons: oscuro en claro, claro en oscuro */
.contact-detail-item {
    color: #444;
}

body.dark-theme .contact-detail-item {
    color: #ccc;
}

/* Akinel logo: oscuro en claro, claro en oscuro */
.akinel-logo {
    filter: brightness(0) opacity(0.8);
}

body.dark-theme .akinel-logo {
    filter: brightness(0) invert(1) opacity(0.8);
}


/* Hero Section / Carousel */
#hero {
    height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    overflow: hidden;
    background: transparent !important;
}

.carousel-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: background-image 1s ease-in-out;
    opacity: 1;
}

/* Fallback visible background if no image */
.carousel-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-logo {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    animation: fadeInDown 1s ease-out;
}

.hero-logo img {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 242, 234, 0.3));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.hero-logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 30px rgba(0, 242, 234, 0.5));
}

@media (max-width: 768px) {
    .hero-logo img {
        max-width: 180px;
    }
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.7);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #ccc;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(90deg, var(--primary-color), #00c4cc);
    color: #000;
    font-weight: 700;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 242, 234, 0.6);
}

/* Section Basics */
section {
    padding: 6rem 5%;
    position: relative;
}

section:nth-of-type(even) {
    background: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Service Background Slide (activated on hover) */
.service-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.card:hover .service-slide-bg.active {
    opacity: 0.2;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    z-index: 1;
    position: relative;
}

.card p {
    font-size: 0.95rem;
    color: var(--text-color);
    z-index: 1;
    position: relative;
}

/* Equipment Items */
.equipment-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    padding: 2rem 0;
}

.equipment-card {
    width: 175px;
    height: 175px;
    border-radius: 50%;
    position: relative;
    overflow: visible;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 242, 234, 0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    background: #000;
    border: 2px solid rgba(255, 255, 255, 0.05);
}

.equipment-card:hover {
    transform: scale(1.15);
    box-shadow: 0 0 40px rgba(0, 242, 234, 0.4);
    border-color: var(--primary-color);
    z-index: 10;
}

.equipment-card .eq-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
    border-radius: 50%;
    overflow: hidden;
}

.equipment-card:hover .eq-image {
    transform: scale(1.4);
}

.equipment-card .eq-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.equipment-card:hover .eq-info {
    opacity: 1;
}

.equipment-card h3 {
    color: #fff;
    font-size: 0.95rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 5px #000;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    margin-bottom: 0;
}

.equipment-card:hover h3 {
    transform: translateY(0);
}

/* Tooltip for equipment description */
.equipment-tooltip {
    position: absolute;
    top: 50%;
    left: calc(100% + 20px);
    transform: translateY(-50%) translateX(10px);
    background: rgba(0, 0, 0, 0.95);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    line-height: 1.4;
    white-space: normal;
    max-width: 250px;
    min-width: 200px;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    pointer-events: none;
    z-index: 100;
    border: 1px solid var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.equipment-tooltip::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -8px;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid var(--primary-color);
}

.equipment-card:hover .equipment-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.equipment-list {
    column-count: 2;
    column-gap: 4rem;
}

@media (max-width: 768px) {
    .equipment-list {
        column-count: 1;
    }

    .equipment-card {
        width: 140px;
        height: 140px;
    }

    .equipment-tooltip {
        /* On mobile, show tooltip above the sphere */
        top: auto;
        bottom: calc(100% + 15px);
        left: 50%;
        transform: translateX(-50%) translateY(-10px);
        max-width: 180px;
        min-width: 160px;
        font-size: 0.75rem;
        text-align: center;
    }

    .equipment-tooltip::before {
        /* Arrow pointing down on mobile */
        top: auto;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        border-top: 8px solid var(--primary-color);
        border-right: 8px solid transparent;
        border-bottom: none;
        border-left: 8px solid transparent;
    }

    .equipment-card:hover .equipment-tooltip {
        transform: translateX(-50%) translateY(0);
    }
}

.equipment-item {
    background: rgba(0, 0, 0, 0.03);
    margin-bottom: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    border-left: 3px solid var(--secondary-color);
    break-inside: avoid;
    color: #333;
}

/* Rental Equipment Section */
.rental-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.rental-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.rental-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.rental-image {
    width: 100%;
    height: 200px;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    background: #000;
}

.rental-image-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.rental-card:hover .rental-image-inner {
    transform: scale(1.4);
    cursor: zoom-in;
}

.rental-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.rental-badge.avail {
    background: #00ff88;
    color: #000;
}

.rental-badge.rented {
    background: #ffcc00;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
}

.rental-badge.not-avail {
    background: #ff3366;
    color: #fff;
}

.rental-card.is-rented {
    border-color: rgba(255, 204, 0, 0.2);
}

.rental-btn.notify-btn {
    border-color: #ffcc00;
    color: #ffcc00;
}

.rental-btn.notify-btn:hover {
    background: #ffcc00;
    color: #000;
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
}

.rental-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.rental-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    color: var(--heading-color);
}

.rental-desc {
    color: var(--text-color);
    font-size: 0.85rem;
    margin-bottom: 1rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

#alquiler {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.rental-specs {
    margin-bottom: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.rental-specs h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.rental-specs ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.rental-specs li {
    font-size: 0.85rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rental-specs li i {
    color: var(--primary-color);
    font-size: 0.7rem;
}

.rental-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.rental-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--heading-color);
}

.rental-btn {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

.rental-btn:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 242, 234, 0.3);
}

.rental-grid .rental-card {
    height: 100%;
}

@media (max-width: 768px) {
    section {
        padding: 4rem 5%;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .hero-content {
        padding: 2rem 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .card {
        padding: 1.5rem;
        min-height: auto;
    }

    .equipment-grid {
        gap: 1.5rem;
    }

    .rental-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1rem;
    }

    /* Versión ultra-compacta para móviles pequeños */
    @media (max-width: 480px) {
        .rental-grid {
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        .rental-card {
            flex-direction: row;
            height: 140px;
        }

        .rental-image {
            width: 120px;
            height: 100%;
        }

        .rental-info {
            padding: 0.8rem;
            justify-content: center;
        }

        .rental-info h3 {
            font-size: 1rem;
            margin-bottom: 0.2rem;
        }

        .rental-desc {
            display: none;
            /* Hide description on very small screens for card list view */
        }

        .rental-specs {
            display: none;
        }

        .rental-footer {
            padding-top: 0.5rem;
            margin-top: 0.5rem;
        }

        .rental-btn {
            padding: 0.4rem 0.8rem;
            font-size: 0.75rem;
        }

        .rental-price {
            font-size: 0.9rem;
        }
    }

    .rental-btn {
        text-align: center;
    }

    /* Mobile Nav Improvements */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
        color: var(--primary-color);
        cursor: pointer;
        z-index: 1001;
        transition: var(--transition);
        border: 1px solid rgba(0, 242, 234, 0.2);
        border-radius: 8px;
    }

    .nav-controls {
        gap: 0.8rem;
    }

    nav ul {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: var(--nav-bg);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.6s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
        gap: 2rem;
        padding-top: 50px;
    }

    nav ul.active {
        left: 0;
    }

    nav a {
        font-size: 1.8rem;
        font-weight: 700;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .logo {
        font-size: 1.3rem;
    }

    .nav-controls {
        gap: 0.5rem;
    }

    .rental-price {
        font-size: 1.2rem;
    }
}

.mobile-menu-toggle {
    display: none;
}

/* Map/Base Section */
/* Merged Location & Contact */
.location-contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: stretch;
}

.location-info,
.contact-wrapper {
    flex: 1 1 350px;
    display: flex;
    flex-direction: column;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #333;
}

.contact-detail-item i {
    color: var(--primary-color);
    margin-top: 3px;
    width: 20px;
}

.base-map {
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.base-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Footer */
footer {
    padding: 4rem 5% 2rem;
    background: #f8f9fa;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: #444;
}

body.dark-theme footer {
    background: #050507;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #999;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    text-align: left;
}

.footer-section h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #999;
}

.footer-section i {
    color: var(--primary-color);
    width: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: #999;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #999;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-color);
    color: #000;
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 242, 234, 0.3);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #666;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section p {
        justify-content: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-links {
        align-items: center;
    }
}

/* Login Form */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top right, #f8f9fa, #e9ecef);
}

.login-box {
    width: 100%;
    max-width: 400px;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.login-box h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #000;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #aaa;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    color: #111;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
}

.contact-form {
    background: #ffffff;
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.btn-block {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    color: #000;
    cursor: pointer;
    transition: var(--transition);
}

.btn-block:hover {
    background: #00c4cc;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Toggle Edit Mode Visibility */
.admin-controls {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid var(--secondary-color);
}

.edit-btn {
    background: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    margin-left: 10px;
}

.edit-btn:hover {
    background: var(--secondary-color);
    color: #fff;
}

/* Floating Buttons */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #25d366;
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.whatsapp-float span {
    font-weight: 600;
    font-size: 0.9rem;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.5s ease;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float:hover span {
    max-width: 200px;
}

#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #000;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 242, 234, 0.4);
}

/* Capacidad Operativa */
#capacidad-operativa {
    padding: 8rem 5%;
    overflow: hidden;
}

.capacidad-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.capacidad-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    color: var(--text-color);
}

.beneficios-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.beneficios-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid rgba(0, 242, 234, 0.05);
}

.beneficios-list li:hover {
    transform: translateX(10px);
    background: rgba(0, 242, 234, 0.05);
    border-color: var(--primary-color);
}

.beneficio-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 242, 234, 0.3);
}

.beneficio-info strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--heading-color);
}

.beneficio-info span {
    font-size: 0.95rem;
    opacity: 0.8;
}

.capacidad-image .image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.capacidad-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.capacidad-image:hover img {
    transform: scale(1.05);
}

.image-overlay-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 242, 234, 0.2), transparent);
    pointer-events: none;
}

/* Banner Intermedio */
.banner-intermedio {
    padding: 6rem 5%;
    background-image: url('assets/img/flota.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.85), rgba(0, 242, 234, 0.4));
    z-index: 1;
}

.banner-intermedio .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.banner-intermedio h3 {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    color: #fff;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    margin-bottom: 0;
}

/* Responsive Capacidad */
@media (max-width: 992px) {
    .capacidad-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .capacidad-image {
        order: -1;
    }

    .banner-intermedio h3 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    #capacidad-operativa {
        padding: 4rem 5%;
    }

    .beneficio-info strong {
        font-size: 1.1rem;
    }

    .banner-intermedio h3 {
        font-size: 1.5rem;
    }
}