/* Variables globales */
:root {
    --primary-color: #FF6B00;
    --secondary-color: #E95D00;
    --dark-color: #232323;
    --navbar-color: #1a1a1a;
    --light-color: #FFFFFF;
    --gray-color: #333333;
    --light-gray: #F2F2F2;
    --glass-bg: rgba(40, 40, 40, 0.75);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: rgba(0, 0, 0, 0.25);
    --button-color: #FF6B00;
    --whatsapp-color: #25d366;
}

/* Reset y configuración general */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--light-color);
    background: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Efectos de fondo animados - Simplificados */
.bg-animation {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.logo {
    display: flex;
    align-items: center;
    height: 47px;
    width: 120px;
    margin-right: 1rem;
}

.nav-logo {
    height: 47px;
    width: 120px;
}

.nav-logo:hover {
    transform: scale(1.05);
}

@media (max-width: 47px) {
    .logo {
        height: 47px;
            width: 120px;
    }
}

.light {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    animation: float 15s ease-in-out infinite;
}

.light-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(var(--primary-color), transparent 70%);
    top: -200px;
    right: -150px;
}

.light-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(#0088ff, transparent 70%);
    bottom: -250px;
    left: -150px;
    animation-delay: 5s;
}

/* Efecto Glassmorphism - Simplificado */
.glass-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 2rem;
    margin: 1.5rem auto;
    max-width: 1200px;
    position: relative;
    overflow: hidden;
}

/* Navegación */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--navbar-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

header .glass-container {
    padding: 1rem 2rem;
    margin: 0 auto;
    max-width: 1400px;
    border-radius: 0;
    background-color: var(--navbar-color);
    border: none;
    box-shadow: none;
    backdrop-filter: none;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(255, 107, 0, 0.3);
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease, transform 0.2s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-links a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Sección Hero */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
    background-color: rgba(10, 10, 10, 0.8);
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
}

.hero .glass-container {
    width: 100%;
    max-width: 1200px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background-color: rgba(35, 35, 35, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    position: relative;
    z-index: 1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(255, 107, 0, 0.6);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
    }
}

.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.floating-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
    background-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

.floating-button:nth-child(2) {
    animation-delay: 1s;
}

.floating-button:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.7);
    animation: none;
}

.floating-button i {
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.floating-button:hover i {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 0.8rem;
    }

    .floating-button {
        width: 50px;
        height: 50px;
    }

    .floating-button i {
        font-size: 1.5rem;
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    animation: fadeInDown 1s ease-out;
    width: 100%;
    text-shadow: 0 0 15px rgba(255, 107, 0, 0.5);
    position: relative;
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.5s both;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-buttons a {
    padding: 15px 25px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.cta-buttons a i {
    margin-right: 1.2rem;
    font-size: 1.2rem;
}

.whatsapp-btn {
    background-color: var(--secondary-color);
    color: white;
}

.whatsapp-btn:hover {
    background-color: #ff7d20;
    transform: translateY(-3px);
}

.call-btn {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
}

.call-btn:hover {
    background-color: #ff7730;
    transform: translateY(-3px);
}

/* Separador de secciones */
.section-divider {
    display: block;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 0;
    width: 100%;
    opacity: 1;
}

/* Títulos de secciones - Estilo común */
.servicios h2, .cobertura h2, .galeria h2, .contacto h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.3);
}

.servicios h2::after, .cobertura h2::after, .galeria h2::after, .contacto h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, transparent, var(--primary-color), transparent);
    box-shadow: 0 0 8px var(--primary-color);
}

/* Sección Servicios */
.servicios {
    padding: 4rem 1rem;
    background-color: var(--dark-color);
    position: relative;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Tarjeta común */
.servicio-card {
    background: rgba(51, 51, 51, 0.7);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--primary-color);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: var(--light-color);
    display: block;
}

.servicio-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), transparent, var(--primary-color));
    z-index: -1;
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.servicio-card:hover::before {
    opacity: 0.3;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 107, 0, 0.2);
    border-color: transparent;
}

.servicio-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.3);
}

.servicio-card:hover i {
    transform: scale(1.1);
}

.servicio-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light-color);
    position: relative;
    display: inline-block;
}

.servicio-card h3::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.servicio-card:hover h3::after {
    width: 50%;
}

/* Estilos específicos para abastecimiento */
.servicio-card.abastecimiento {
    text-align: center;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.servicio-card.abastecimiento .titulo-con-icono {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.servicio-card.abastecimiento .titulo-con-icono i {
    margin-bottom: 0;
    margin-right: 0.3rem;
    font-size: 3rem;
}

.servicio-card.abastecimiento .titulo-con-icono h3 {
    margin-bottom: 0;
}

.precios {
    text-align: center;
    margin-top: 3rem;
    font-size: 1.2rem;
}

.precios span {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Sección Cobertura */
.cobertura {
    padding: 4rem 1rem;
    background-color: rgba(10, 10, 10, 0.8);
    position: relative;
}

.ciudades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.ciudad-card {
    background: rgba(51, 51, 51, 0.7);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    position: relative;
    overflow: hidden;
}

.ciudad-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255, 107, 0, 0.05));
    z-index: -1;
}

.ciudad-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(255, 107, 0, 0.1);
    border-color: var(--primary-color);
}

.ciudad-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-shadow: 0 0 5px rgba(255, 107, 0, 0.1);
}

.ciudad-card p {
    margin-bottom: 1rem;
}

.ciudad-card .ciudad-info {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #cccccc;
}

.ciudad-card .ciudad-info p {
    margin: 0.5rem 0;
}

.ciudad-card .ciudad-info i {
    margin-right: 0.8rem;
    color: var(--primary-color);
}

/* Sección Galería */
.galeria {
    padding: 4rem 1rem;
    background-color: var(--dark-color);
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.img-container {
    overflow: hidden;
    border-radius: 12px;
    height: 250px;
    position: relative;
    border: 2px solid var(--gray-color);
    transition: transform 0.4s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.img-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.5));
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.img-container:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 107, 0, 0.2);
}

.img-container:hover::before {
    opacity: 1;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    will-change: transform;
}

.img-container:hover img {
    transform: scale(1.1);
}

/* Características destacadas */
.destacados {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
    margin: 1rem 0 2rem 0;
}

.destacado-item {
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 12px;
    padding: 1.8rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    position: relative;
    overflow: hidden;
}

.destacado-item::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at top right, rgba(255, 107, 0, 0.2), transparent 70%);
    z-index: -1;
}

.destacado-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 107, 0, 0.2);
    background-color: rgba(255, 107, 0, 0.15);
}

.destacado-item i {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    text-shadow: 0 0 10px rgba(255, 107, 0, 0.3);
}

.destacado-item:hover i {
    transform: scale(1.1);
}

.destacado-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    padding: 1.5rem 0 1rem;
    background-color: var(--navbar-color);
    border-top: none;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.footer-logo {
    text-align: left;
}

.footer-logo h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.footer-logo p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-contact {
    text-align: right;
}

.footer-contact i {
    margin-right: 1.2rem;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.footer-contact p {
    margin: 0.2rem 0;
    font-size: 0.9rem;
}

.copyright {
    text-align: center;
    padding-top: 0.7rem;
    margin-top: 0.7rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Animaciones */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes float {
    0% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-20px) translateX(20px); }
    100% { transform: translateY(0) translateX(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        background: var(--dark-color);
        width: 100%;
        height: calc(100vh - 80px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease;
        gap: 3rem;
    }

    .nav-links.active {
        left: 0;
    }

    .hero h1 {
        font-size: 2.5rem;
        white-space: normal; /* Permite saltos de línea en móviles */
    }

    .hero h2 {
        font-size: 1.3rem;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .servicio-card {
        padding: 1.5rem;
    }

    .glass-container {
        padding: 1.5rem;
        margin: 1rem;
    }

    .destacados {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .servicios h2, .cobertura h2, .galeria h2, .contacto h2 {
        font-size: 2rem;
    }
}

@media (max-width: 1024px) {
    .destacados {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}

.floating-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
    background-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
}

.floating-button:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.7);
    animation: none;
}

.floating-button i {
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.floating-button:hover i {
    transform: scale(1.1);
}

.logo {
    display: flex;
    align-items: center;
    height: 47px;
}

.nav-logo {
    height: 100%;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .logo {
        height: 47px;
    }
}

.floating-button:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.7);
    animation: none;
}

.floating-button i {
    font-size: 1.8rem;
    transition: transform 0.3s ease;
}

.floating-button:hover i {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .floating-buttons {
        bottom: 15px;
        right: 15px;
        gap: 0.8rem;
    }

    .floating-button {
        width: 50px;
        height: 50px;
    }

    .floating-button i {
        font-size: 1.5rem;
    }
}