/*
Theme Name: Globa1One Pro
Theme URI: https://globa1one.com
Author: Tu Nombre
Description: Tema profesional para Globa1One - Inspirado en Namecheap
Version: 3.0
*/

/* ===== Importar fuentes ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ===== Variables ===== */
:root {
    --primary: #0d6efd;
    --primary-dark: #0a58ca;
    --secondary: #6c757d;
    --success: #198754;
    --accent: #ff6b35;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 20px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background: var(--bg-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Header ===== */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 24px 0; /* Aumentamos de 16px a 24px */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 16px 0; /* Al hacer scroll se reduce un poco */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px; /* Añadimos padding lateral para que no toque los bordes */
}

.logo-text {
    font-size: 28px; /* Aumentamos el logo de 24px a 28px */
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -0.5px; /* Mejora la legibilidad */
}

.logo-text span {
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px; /* Aumentamos de 32px a 40px */
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px; /* Aumentamos de 15px a 16px */
    transition: color 0.3s ease;
    padding: 6px 0; /* Añadimos padding vertical para que los enlaces tengan más área de clic */
    position: relative;
}

/* Efecto de subrayado animado en los enlaces */
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: #fff !important;
    padding: 12px 28px; /* Aumentamos el padding del botón */
    border-radius: 50px;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.nav-cta::after {
    display: none !important; /* Quitamos el subrayado del botón CTA */
}

.nav-cta:hover {
    background: var(--primary-dark) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
    color: #fff !important;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .site-header {
        padding: 16px 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 12px;
        padding: 0 16px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .nav-menu {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-menu a {
        font-size: 14px;
    }
    
    .nav-cta {
        padding: 8px 18px;
        font-size: 13px;
    }
}

/* ===== Hero - Ancho completo, alto controlado ===== */
.hero {
    position: relative;
    width: 100%;
    height: 460px; /* Alto fijo, como en Namecheap */
    min-height: 320px;
    max-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0a0a1a; /* Color de respaldo */
}

/* Imagen de fondo (ancho completo) */
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%; /* Ajusta la posición: 0% = arriba, 100% = abajo */
    z-index: 1;
}

/* Overlay oscuro */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.50); /* Ajusta la oscuridad */
    z-index: 2;
}

/* Contenido centrado */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
    color: #ffffff;
    animation: fadeInUp 0.8s ease forwards;
}

/* Badge superior */
.hero-content .badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 16px;
}

.hero-content .badge span {
    color: #ff6b35;
    font-weight: 600;
}

/* Título */
.hero-content h1 {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
    color: #ffffff;
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtítulo */
.hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.80);
    max-width: 550px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

/* Botones */
.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-content .btn-primary {
    background: #ff6b35;
    color: #fff;
    padding: 14px 34px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.hero-content .btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.35);
}

.hero-content .btn-secondary {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 14px 34px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.hero-content .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.20);
    transform: translateY(-2px);
}

/* ===== Animación ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero {
        height: 400px;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .hero {
        height: 380px;
        min-height: 300px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 15px;
        margin-bottom: 20px;
        max-width: 100%;
    }

    .hero-content .badge {
        font-size: 11px;
        padding: 4px 14px;
        margin-bottom: 12px;
    }

    .hero-content .btn-primary,
    .hero-content .btn-secondary {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 340px;
        min-height: 260px;
    }

    .hero-content h1 {
        font-size: 22px;
    }

    .hero-content p {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-content .btn-primary,
    .hero-content .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 10px 16px;
        font-size: 13px;
    }
}
/* ===== Sectores ===== */
.sectores {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .tag {
    display: inline-block;
    background: rgba(13, 110, 253, 0.08);
    color: var(--primary);
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-dark);
}

.section-header p {
    color: var(--text-muted);
    font-size: 17px;
    max-width: 600px;
    margin: 12px auto 0;
}

.sectores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
}

.sector-item {
    background: var(--bg-white);
    padding: 32px 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
}

.sector-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.sector-item .icon {
    font-size: 36px;
    display: block;
    margin-bottom: 12px;
}

.sector-item h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

/* ===== Beneficios - Efecto hover ===== */
.beneficios .beneficio-card {
    transition: all 0.3s ease;
}

.beneficios .beneficio-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: #ff6b35;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .beneficios .beneficio-card {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
}

/* ===== CTA Final ===== */
.cta-final {
    padding: 80px 0;
    background: var(--primary);
    color: #fff;
    text-align: center;
}

.cta-final h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-final p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 32px;
}

.cta-final .btn-primary {
    background: #fff;
    color: var(--primary);
}

.cta-final .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.cta-final .btn-secondary {
    border-color: #fff;
    color: #fff;
}

.cta-final .btn-secondary:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

/* ===== Footer ===== */
.site-footer {
    background: #1a1a2e;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    color: #fff;
    font-size: 22px;
    display: block;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    max-width: 300px;
    line-height: 1.8;
}

.footer-col h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col ul a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 24px;
    text-align: center;
    font-size: 14px;
}



/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-image img {
        height: 280px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 30px;
    }

    .sectores-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .beneficios-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .nav-menu {
        gap: 16px;
    }

    .nav-menu a {
        font-size: 13px;
    }

    .nav-cta {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 26px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        text-align: center;
        justify-content: center;
    }

    .sectores-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .sector-item {
        padding: 20px 12px;
    }

    .sector-item .icon {
        font-size: 28px;
    }
}