/* ----- Variables ----- */
:root {
    /* Colors */
    --primary: #FF7B00; /* Vibrant Orange/Yellow */
    --primary-hover: #E06B00;
    --secondary: #2C3E50;
    --bg-dark: #0D1117;
    --bg-card: #161B22;
    --text-main: #E6EDF3;
    --text-muted: #8B949E;
    --border: #30363D;
    
    /* Gradients */
    --glow-bg: radial-gradient(circle at 50% -20%, #ff7b0033 0%, #0d1117 70%);
    --card-gradient: linear-gradient(145deg, #1f252dbf, #161b22bf);
    
    /* Typography */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Spacing & Utilities */
    --radius: 16px;
    --transition: 0.3s ease;
}

/* ----- Reset & Base ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ----- Utilities ----- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0;
}

.highlight {
    color: var(--primary);
}

.text-center {
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 123, 0, 0.4);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.lang-btn {
    font-size: 0.95rem;
    padding: 0.3rem 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--text-muted);
}

.lang-btn-mobile {
    font-size: 1.2rem;
    color: var(--primary);
    margin-top: 1rem;
}

/* ----- Navbar ----- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo i {
    color: var(--primary);
    font-size: 2rem;
}

.logo-img {
    height: 45px;
    width: auto;
    border-radius: 6px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a:not(.btn) {
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:not(.btn):hover {
    color: var(--primary);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-size: 2rem;
    cursor: pointer;
}

/* Mobile Menu Overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.mobile-link {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

/* ----- Hero Section ----- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 5rem;
    text-align: center;
    background: var(--glow-bg);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero-bg.png');
    background-size: cover;
    background-position: center 25%;
    opacity: 0.38;
    z-index: -1;
    mask-image: linear-gradient(to bottom, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent);
}

.hero-content {
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 123, 0, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* ----- Services Section ----- */
.services {
    position: relative;
    background-color: var(--bg-dark);
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('services-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: 0;
    mask-image: linear-gradient(to bottom, transparent 5%, black 40%, black 60%, transparent 95%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 5%, black 40%, black 60%, transparent 95%);
    pointer-events: none;
}

.services .container {
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--card-gradient);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

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

.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255, 123, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-wrapper i {
    font-size: 2rem;
    color: var(--primary);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
}

/* ----- Coverage Section ----- */
.coverage {
    background: var(--bg-card);
}

.coverage-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.coverage-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.coverage-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.coverage-list {
    margin-bottom: 2.5rem;
}

.coverage-list li {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
    align-items: flex-start;
}

.coverage-list i {
    font-size: 2rem;
    color: var(--primary);
    background: rgba(255, 123, 0, 0.1);
    padding: 0.8rem;
    border-radius: 12px;
}

.coverage-list strong {
    font-size: 1.2rem;
    color: var(--text-main);
    display: block;
    margin-bottom: 0.3rem;
}

.coverage-list p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.coverage-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid #00E5FF33; /* Un toque de azul sutil para combinar con las rutas */
}

.glow-effect-subtle {
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.15) !important;
}

/* ----- Pricing Section ----- */
.pricing {
    position: relative;
    background-color: #0f141a;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('pricing-bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
    mask-image: linear-gradient(to bottom, transparent 5%, black 30%, black 70%, transparent 95%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 5%, black 30%, black 70%, transparent 95%);
    pointer-events: none;
}

.pricing .container {
    position: relative;
    z-index: 1;
}

.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.pricing-card {
    background: var(--card-gradient);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    width: 100%;
    max-width: 400px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(255, 123, 0, 0.1);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    font-family: var(--font-heading);
}

.pricing-header h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.pricing-header p {
    color: var(--text-muted);
}

.price {
    margin: 2rem 0;
    display: flex;
    align-items: flex-end;
}

.currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.amount {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-heading);
}

.period {
    color: var(--text-muted);
    font-weight: 500;
    margin-left: 0.5rem;
    margin-bottom: 0.5rem;
}

.features {
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.features li i {
    color: var(--primary);
    font-size: 1.2rem;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

.pricing-notes {
    max-width: 800px;
    margin: 3rem auto 0;
}

.note-box {
    background: rgba(44, 62, 80, 0.4);
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.note-box i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

/* ----- CTA Section ----- */
.cta {
    background: linear-gradient(rgba(13, 17, 23, 0.9), rgba(13, 17, 23, 0.9)), url('https://images.unsplash.com/photo-1596464670081-0678889255be?auto=format&fit=crop&q=80&w=2000');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    text-align: center;
}

.cta-container h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-container p {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-inline: auto;
}

.glow-effect {
    box-shadow: 0 0 20px rgba(255, 123, 0, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 20px rgba(255, 123, 0, 0.5); }
    50% { box-shadow: 0 0 40px rgba(255, 123, 0, 0.8); }
    100% { box-shadow: 0 0 20px rgba(255, 123, 0, 0.5); }
}

/* ----- Footer ----- */
footer {
    background: #090c10;
    border-top: 1px solid var(--border);
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    padding-top: 0;
    padding-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin: 1.5rem 0;
    max-width: 300px;
}

.socials {
    display: flex;
    gap: 1rem;
}

.socials a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links ul li, .footer-contact ul li {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.footer-links ul li a {
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--primary);
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
}

.footer-contact ul li i {
    color: var(--primary);
    margin-top: 0.3rem;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-muted);
}

/* ----- Floating Action Buttons ----- */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100;
}

.fab {
    width: 60px;
    height: 60px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.fab:hover {
    transform: scale(1.1);
}

.fab-phone {
    background: var(--primary);
    animation: bounce 2s infinite;
}

.fab-phone:hover {
    background: var(--primary-hover);
    box-shadow: 0 4px 15px rgba(255, 123, 0, 0.4);
}

.fab-whatsapp {
    background: #25D366;
}

.fab-whatsapp:hover {
    background: #128C7E;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

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

/* ----- Responsive Design ----- */
@media (max-width: 968px) {
    .coverage-content {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero {
        padding-top: 8rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
