:root {
    --primary: #f39200;
    --primary-dark: #cc7a00;
    --accent-green: #44bd32;
    --bg-header: #111111;
    --bg-nav: #222222;
    --bg-content: #f4f4f4;
    --bg-card: #ffffff;
    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #ffffff;
    --border-color: #eeeeee;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --container-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background-color: #111111; /* Default background matches the screenshot's outer frame */
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Top Bar */
.top-bar {
    background: #000;
    font-size: 11px;
    padding: 5px 0;
    border-bottom: 1px solid #333;
}

.top-bar ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    color: #999;
}

.top-bar ul li a:hover {
    color: var(--primary);
}

/* Branding Header */
.branding-header {
    background: #1a1a1a;
    padding: 30px 0;
}

.branding-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
}

.header-utility {
    text-align: right;
}

.utility-links {
    display: flex;
    gap: 20px;
    font-weight: 600;
    font-size: 13px;
    color: #eee;
    margin-bottom: 10px;
}

.tagline {
    color: #888;
    font-size: 12px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: flex-end;
}

.social-icon {
    width: 30px;
    height: 30px;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #fff;
    transition: all 0.2s ease;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.social-icon i {
    font-size: 16px;
}

/* Navigation */
.nav-bar {
    background: linear-gradient(180deg, #333333 0%, #111111 100%);
    border-top: 1px solid #444;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-menu {
    display: flex;
}

.main-menu li {
    position: relative;
}

.main-menu li a {
    display: block;
    padding: 20px 15px;
    color: #bbb;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    border-right: 1px solid #333;
    pointer-events: auto;
}

.main-menu li:first-child a {
    border-left: 1px solid #333;
}

.main-menu li a:hover,
.main-menu li a.active,
.main-menu li.has-dropdown:hover > a {
    background: #444;
    color: #fff;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background: #222;
    display: flex;
    flex-direction: column;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border-top: 3px solid var(--primary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    padding: 12px 20px;
    border-right: none;
    border-bottom: 1px solid #333;
    font-size: 12px;
    color: #ccc;
    text-shadow: none;
}

.dropdown-menu li a:hover {
    background: #333;
    color: var(--primary);
    padding-left: 25px;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.btn-call {
    background: var(--accent-green);
    color: #fff;
    font-weight: bold;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 14px;
}

.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 550px; /* Altura fija para evitar saltos visuales */
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.hero-text h2 {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.hero-text h3.price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

/* Dots Navigation */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-cta {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-transform: uppercase;
}

/* Main Body Content */
.main-body {
    background: #fff;
    padding: 40px 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

/* Features Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.feature-card {
    background: var(--primary);
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.feature-card i {
    font-size: 40px;
}

.feature-card span {
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
}

/* Service List */
.service-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    align-items: center;
}

.service-image {
    width: 200px;
    height: 120px;
    background: #eee;
    border-radius: 8px;
    flex-shrink: 0;
}

.service-info h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

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

/* Sidebar */
.sidebar-widget {
    background: #222;
    color: #fff;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.btn-coverage {
    background: var(--primary);
    color: #fff;
    font-weight: bold;
    padding: 10px;
    border-radius: 5px;
    display: block;
    text-align: center;
    margin-top: 15px;
}

.operator-banners img {
    width: 100%;
    margin-bottom: 10px;
    border-radius: 6px;
    filter: brightness(0.9);
}

/* Pre-footer */
.pre-footer {
    background: #1a1a1a;
    padding: 60px 0;
}

.action-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.action-box {
    background: #222;
    padding: 30px;
    border-top: 5px solid var(--primary);
    border-radius: 4px;
    color: #fff;
}

.action-box h4 {
    color: #f8c291;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.btn-more {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 8px 20px;
    font-weight: bold;
    margin-top: 15px;
    border-radius: 4px;
}

/* Footer Links Cloud */
.footer-cloud {
    background: #333;
    padding: 20px 0;
    border-bottom: 1px solid #444;
}

.link-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    font-size: 12px;
    color: #aaa;
    text-transform: uppercase;
    font-weight: 700;
}

/* Final Footer */
.final-footer {
    background: #000;
    padding: 40px 0;
    text-align: center;
    color: #666;
    font-size: 13px;
}

.footer-logo {
    margin: 20px 0;
    height: 40px;
}

.footer-info p {
    margin-bottom: 5px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 24px;
    padding: 10px;
    align-items: center;
    justify-content: center;
}

@media (max-width: 992px) {
    .container {
        padding: 0 15px;
    }

    .top-bar ul {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding: 0 10px;
        -webkit-overflow-scrolling: touch;
    }

    .top-bar ul::-webkit-scrollbar {
        display: none;
    }

    .branding-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

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

    .utility-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .tagline {
        margin: 5px 0;
    }

    .social-links {
        justify-content: center;
    }

    .nav-bar {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .nav-content {
        justify-content: space-between;
        padding: 10px 0;
    }

    .mobile-toggle {
        display: flex;
    }

    .main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #222;
        flex-direction: column;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }

    .main-menu.active {
        display: flex;
    }

    .main-menu li a {
        border-right: none;
        border-bottom: 1px solid #333;
        padding: 15px 20px;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        display: none;
        background: #1a1a1a;
        box-shadow: none;
        border-top: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .has-dropdown.active-mobile .dropdown-menu {
        display: flex;
    }

    .dropdown-menu li a {
        padding-left: 40px;
        background: #111;
        font-size: 11px;
    }

    .btn-call {
        padding: 8px 15px;
        font-size: 12px;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text h2 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .hero-text h3.price {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-slider {
        height: auto;
        min-height: 600px; /* Un poco más alto en móvil por el apilamiento vertical */
    }

    .service-item {
        flex-direction: column;
        text-align: center;
    }

    .action-boxes {
        grid-template-columns: 1fr;
    }
}
/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-container {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border-top: 5px solid var(--primary);
    position: relative;
    animation: modalSlideUp 0.3s ease-out;
}

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

.modal-header {
    padding: 25px;
    background: #fdfdfd;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 800;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.modal-body {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 14px;
    color: #444;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 15px;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(243, 146, 0, 0.1);
}

.btn-submit {
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit:hover {
    background: var(--primary-dark);
}

.modal-footer-text {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: #888;
}
