/* Variables de Estilo basadas en el Logo */
:root {
    --bg-dark: #0a0f1d;
    --bg-card: #141c2e;
    --primary-blue: #0088ff;
    --neon-blue: #00d2ff;
    --accent-red: #ff3333;
    --yellow-accent: #ffcc00;
    --text-light: #f1f5f9;
    --text-muted: #94a3b8;
    --whatsapp-color: #25D366;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.small-container {
    max-width: 700px;
}

/* Header & Nav */
.header {
    background-color: rgba(10, 15, 29, 0.95);
    backdrop-filter: blur(8px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 210, 255, 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

/* Ajuste automático para el logo */
.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--neon-blue);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--neon-blue));
    color: #fff;
}

.btn-primary:hover {
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.5);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--whatsapp-color);
    color: #fff;
}

.btn-whatsapp:hover {
    background-color: #1eb954;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.5);
}

.btn-outline {
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--neon-blue);
    color: #000;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.1) 0%, rgba(10, 15, 29, 1) 90%);
    text-align: center;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 30px;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 204, 0, 0.15);
    color: var(--yellow-accent);
    border: 1px solid var(--yellow-accent);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.feat-item i {
    color: var(--neon-blue);
    margin-right: 5px;
}

/* Secciones Generales */
.section {
    padding: 80px 0;
}

.section-dark {
    background-color: #060913;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.align-center {
    align-items: center;
}

/* Nosotros */
.about-img {
    width: 100%;
    max-width: 380px;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 20px rgba(0, 210, 255, 0.2));
}

.sub-title {
    color: var(--accent-red);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.check-list {
    list-style: none;
    margin-top: 20px;
}

.check-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list i {
    color: var(--neon-blue);
}

/* Servicios */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.card-service {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, border-color 0.3s;
}

.card-service:hover {
    transform: translateY(-5px);
    border-color: var(--neon-blue);
}

.card-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
    position: relative;
}

.icon-box {
    width: 45px;
    height: 45px;
    background: var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.card-body h3 {
    margin-bottom: 10px;
}

.card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.link-more {
    color: var(--neon-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Cobertura y Mapa */
.zones-list {
    list-style: none;
    margin: 20px 0;
}

.zones-list li {
    margin-bottom: 12px;
}

.zones-list i {
    color: var(--accent-red);
    margin-right: 8px;
}

.urgency-banner {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 51, 51, 0.1);
    border-left: 4px solid var(--accent-red);
    padding: 15px;
    border-radius: 4px;
}

.urgency-banner i {
    font-size: 1.8rem;
    color: var(--accent-red);
}

/* Opiniones */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.review-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.05);
}

.stars {
    color: var(--yellow-accent);
    margin-bottom: 12px;
}

.review-card p {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.client-name {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.client-name strong {
    color: #fff;
    display: block;
}

/* Formulario */
.contact-form {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    background: #0a0f1d;
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    font-family: inherit;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--neon-blue);
}

/* Botón Flotante WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--whatsapp-color);
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    z-index: 10000;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: #04060c;
    padding: 50px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}

/* Adaptación Mobile-First */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: var(--bg-dark);
        flex-direction: column;
        padding: 30px;
        transition: 0.3s;
        border-bottom: 1px solid var(--neon-blue);
    }

    .nav-menu.active {
        left: 0;
    }

    .grid-2, .form-row {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }
}