/* ===== VARIABLES GLOBALES ===== */
:root {
    --primary: #00a8ff;
    --primary-dark: #0088cc;
    --primary-gradient: linear-gradient(135deg, #002b5e 0%, #00a8ff 100%);
    --dark: #1a1a2e;
    --gray-800: #333;
    --gray-600: #666;
    --gray-400: #888;
    --gray-200: #f5f5f5;
    --white: #ffffff;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;
    --gold: #FFD700;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,168,255,0.15);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --radius-full: 50px;
}

/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
}

.btn-outline {
    border: 2px solid var(--primary);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    color: var(--primary) !important;
    font-weight: 600;
}

.btn-outline:hover {
    background: var(--primary);
    color: white !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-800);
    cursor: pointer;
}

/* ===== HERO SECTION (INDEX) ===== */
.hero {
    background: var(--primary-gradient);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    color: white;
    text-align: center;
}

.hero:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/starlink-pattern.svg') repeat;
    opacity: 0.1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero h1 span {
    color: var(--gold);
    display: block;
    font-size: 2rem;
    margin-top: 10px;
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.95;
}

/* ===== BOTONES ===== */
.btn-primary {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 15px 40px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 15px 50px;
    font-size: 1.2rem;
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
    padding: 12px 25px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
}

.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    transform: scale(1.05);
}

/* ===== SECCIONES GENERALES ===== */
section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: var(--gray-800);
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: 15px auto;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-600);
    font-size: 1.2rem;
    margin-bottom: 50px;
}

/* ===== MODELOS DESTACADOS (INDEX) ===== */
.featured-models {
    padding: 80px 0;
    background: white;
}

.model-showcase {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.model-card-large {
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s;
    border: 1px solid rgba(0,168,255,0.2);
}

.model-card-large:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.model-image {
    height: 350px;
    overflow: hidden;
}

.model-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.model-card-large:hover .model-image img {
    transform: scale(1.05);
}

.model-details {
    padding: 30px;
    text-align: center;
}

.model-details h3 {
    color: var(--primary);
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.model-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.model-specs-mini {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    color: var(--gray-600);
}

.model-specs-mini i {
    color: var(--primary);
    margin-right: 5px;
}

.btn-details {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 30px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-details:hover {
    background: var(--primary);
    color: white;
}

/* ===== BENEFICIOS (INDEX) ===== */
.benefits-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-item i {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.benefit-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--gray-800);
}

.benefit-item p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== ABOUT SECTION (INDEX) ===== */
.about-starlink {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-starlink p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 30px;
}

.about-starlink ul {
    list-style: none;
    text-align: left;
}

.about-starlink li {
    margin-bottom: 10px;
}

.about-starlink li i {
    color: var(--primary);
    margin-right: 10px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: var(--primary-gradient);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.btn-cta {
    display: inline-block;
    background: white;
    color: var(--primary);
    padding: 15px 50px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===== PÁGINA DE ANTENAS ===== */
.antenas-header {
    background: var(--primary-gradient);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.antenas-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.antenas-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

/* Navegación de categorías */
.categorias-nav {
    background: white;
    padding: 20px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 70px;
    z-index: 90;
}

.categorias-nav ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    list-style: none;
}

.categorias-nav a {
    color: var(--gray-800);
    text-decoration: none;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: var(--radius-full);
    transition: all 0.3s;
}

.categorias-nav a:hover {
    background: var(--primary);
    color: white;
}

/* Sección de categoría */
.categoria-seccion {
    scroll-margin-top: 120px;
    padding: 40px 0;
}

.categoria-titulo {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary);
    position: relative;
}

.categoria-titulo:before {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 80px;
    height: 3px;
    background: var(--gold);
}

/* Grid de productos */
.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.card-producto {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s;
    border: 1px solid rgba(0,168,255,0.1);
    cursor: pointer;
}

.card-producto:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.card-imagen {
    height: 250px;
    overflow: hidden;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.card-imagen img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}

.card-producto:hover .card-imagen img {
    transform: scale(1.08);
}

.card-contenido {
    padding: 25px;
    text-align: center;
}

.card-contenido h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.card-codigo {
    color: var(--gray-400);
    font-size: 0.85rem;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.card-descripcion {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.btn-whatsapp-producto {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--whatsapp);
    color: white;
    padding: 12px 25px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    width: 100%;
    border: none;
    cursor: pointer;
}

.btn-whatsapp-producto:hover {
    background: var(--whatsapp-dark);
    transform: scale(1.03);
}

/* ===== WHATSAPP FLOTANTE ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--whatsapp);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: var(--whatsapp-dark);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--dark);
    color: white;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-full);
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-item i {
    color: var(--primary);
}

.footer-links {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-links a {
    color: var(--primary);
    text-decoration: none;
    margin-left: 20px;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: var(--radius-md);
    max-width: 400px;
    width: 90%;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
    color: var(--gray-400);
}

.modal input {
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.modal button {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.error-msg {
    color: #dc3545;
    display: none;
    margin-top: 10px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.5rem; }
    .hero h1 span { font-size: 1.5rem; }
    .model-showcase { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .main-nav { display: none; }
    .main-nav.show { display: block; position: absolute; top: 70px; left: 0; width: 100%; background: white; padding: 20px; box-shadow: var(--shadow-sm); }
    .main-nav ul { flex-direction: column; gap: 15px; }
    .hero { padding: 60px 0; }
    .hero h1 { font-size: 2rem; }
    .hero p { font-size: 1rem; }
    .model-image { height: 250px; }
    .model-details h3 { font-size: 1.5rem; }
    .benefits-grid { grid-template-columns: 1fr; }
    .categorias-nav ul { gap: 10px; }
    .categorias-nav a { font-size: 0.9rem; }
    .footer-stats { flex-direction: column; gap: 15px; text-align: center; }
}

@media (max-width: 480px) {
    .logo img { height: 50px; }
    .antenas-header h1 { font-size: 2rem; }
    .categoria-titulo { font-size: 1.8rem; }
}
/* ===== MODELOS DESTACADOS - IMÁGENES UNIFORMES ===== */
.model-image {
    height: 300px; /* Altura fija para todas */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.model-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 'contain' mantiene la proporción sin recortar */
    transition: transform 0.6s;
    padding: 20px; /* Espacio alrededor de la imagen */
}

/* Opcional: para imágenes que quieras que cubran todo el espacio */
.model-image.cover img {
    object-fit: cover; /* Cambia a 'cover' si prefieres que llenen el espacio */
}

/* Para mantener proporciones en móviles */
@media (max-width: 768px) {
    .model-image {
        height: 250px;
    }
    .model-image img {
        padding: 15px;
    }
}
/* ===== MODELOS DESTACADOS - VERSIÓN ELEGANTE ===== */
.modelos-destacados {
    padding: 60px 0;
    background: white;
}

.modelos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.modelo-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s;
    border: 1px solid rgba(0,168,255,0.1);
}

.modelo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,168,255,0.15);
    border-color: #00a8ff;
}

.modelo-imagen {
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    padding: 20px;
}

.modelo-imagen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s;
}

.modelo-card:hover .modelo-imagen img {
    transform: scale(1.05);
}

.modelo-contenido {
    padding: 30px;
    text-align: center;
}

.modelo-contenido h3 {
    color: #00a8ff;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.modelo-contenido p {
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn-outline-primary {
    display: inline-block;
    background: transparent;
    color: #00a8ff;
    border: 2px solid #00a8ff;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-primary:hover {
    background: #00a8ff;
    color: white;
}

.btn-primary-large {
    display: inline-block;
    background: #00a8ff;
    color: white;
    padding: 15px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.btn-primary-large:hover {
    background: #0088cc;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,168,255,0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .modelos-grid {
        grid-template-columns: 1fr;
    }
    .modelo-imagen {
        height: 250px;
    }
    .modelo-contenido h3 {
        font-size: 1.5rem;
    }
}