/**
 * JovGTSoluciones - Estilos Principales
 * Sistema de diseño moderno con tonos azules
 */

/* ===== CSS Variables ===== */
:root {
    /* Primary Colors */
    --primary-100: #E6F0FF;
    --primary-200: #CCE0FF;
    --primary-300: #99C2FF;
    --primary-400: #3385FF;
    --primary-500: #0057FF;
    --primary-600: #0049D6;
    --primary-700: #0043C7;
    --primary-800: #003399;
    --primary-900: #002266;

    /* Neutral Colors */
    --neutral-50: #F8F9FA;
    --neutral-100: #FFFFFF;
    --neutral-200: #E9ECEF;
    --neutral-300: #DEE2E6;
    --neutral-400: #6C757D;
    --neutral-500: #495057;
    --neutral-600: #343A40;
    --neutral-700: #212529;
    --neutral-800: #1A1D21;
    --neutral-900: #121212;

    /* Semantic Colors */
    --success: #28A745;
    --success-light: #D4EDDA;
    --warning: #FFC107;
    --warning-light: #FFF3CD;
    --error: #DC3545;
    --error-light: #F8D7DA;
    --info: #17A2B8;
    --info-light: #D1ECF1;

    /* Spacing */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-xxl: 64px;
    --space-xxxl: 96px;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 12px;
    --font-size-sm: 14px;
    --font-size-base: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    --font-size-2xl: 24px;
    --font-size-3xl: 32px;
    --font-size-4xl: 40px;
    --font-size-5xl: 48px;
    --font-size-6xl: 64px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 87, 255, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 87, 255, 0.08);
    --shadow-lg: 0 12px 24px rgba(0, 87, 255, 0.12);
    --shadow-xl: 0 20px 40px rgba(0, 87, 255, 0.16);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --max-width: 1280px;
    --header-height: 90px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--neutral-700);
    background-color: var(--neutral-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    color: var(--neutral-900);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: var(--font-size-6xl);
}

h2 {
    font-size: var(--font-size-4xl);
}

h3 {
    font-size: var(--font-size-2xl);
    font-weight: 600;
}

h4 {
    font-size: var(--font-size-xl);
    font-weight: 600;
}

p {
    margin-bottom: var(--space-sm);
}

.text-lead {
    font-size: var(--font-size-lg);
    color: var(--neutral-500);
}

.text-small {
    font-size: var(--font-size-sm);
}

.text-primary {
    color: var(--primary-500);
}

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

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neutral-200);
    z-index: 1000;
    transition: box-shadow var(--transition-base);
    display: flex;
    align-items: center;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 20px;
}
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--neutral-900);
}

.logo-accent {
    color: var(--primary-500);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    position: relative;
    font-weight: 500;
    color: var(--neutral-600);
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-500);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-500);
    border-radius: var(--radius-full);
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary-100);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.cart-btn:hover {
    background: var(--primary-200);
    transform: translateY(-2px);
}

.cart-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-600);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-500);
    color: white;
    font-size: var(--font-size-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    padding: 0 6px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    padding: 4px;
}

.menu-bar {
    width: 100%;
    height: 2px;
    background: var(--neutral-700);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.menu-toggle.active .menu-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active .menu-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Main Content ===== */
.main-content {
    min-height: 100vh;
    padding-top: var(--header-height);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-500);
    color: white;
    padding: var(--space-sm) var(--space-lg);
}

.btn-primary:hover {
    background: var(--primary-700);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-secondary {
    background: var(--neutral-100);
    color: var(--neutral-700);
    border: 1px solid var(--neutral-300);
    padding: var(--space-sm) var(--space-lg);
}

.btn-secondary:hover {
    background: var(--neutral-50);
    border-color: var(--primary-500);
    color: var(--primary-500);
}

.btn-outline {
    background: transparent;
    color: var(--primary-500);
    border: 2px solid var(--primary-500);
    padding: calc(var(--space-sm) - 2px) calc(var(--space-lg) - 2px);
}

.btn-outline:hover {
    background: var(--primary-500);
    color: white;
}

.btn-lg {
    height: 56px;
    padding: 0 var(--space-lg);
    font-size: var(--font-size-base);
}

.btn-sm {
    height: 40px;
    padding: 0 var(--space-sm);
    font-size: var(--font-size-sm);
}

.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--radius-md);
}

.btn svg {
    width: 20px;
    height: 20px;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--neutral-50) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-200) 0%, transparent 70%);
    opacity: 0.5;
}

.hero-content {
    position: relative;
    max-width: 600px;
    padding: var(--space-xxxl) 0;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--primary-100);
    color: var(--primary-700);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

.hero-title {
    margin-bottom: var(--space-md);
}

.hero-text {
    font-size: var(--font-size-lg);
    color: var(--neutral-500);
    margin-bottom: var(--space-lg);
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 45%;
    max-width: 550px;
    animation: fadeInRight 1s ease-out 0.3s both;
}

/* ===== Sections ===== */
.section {
    padding: var(--space-xxxl) 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.section-title {
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    color: var(--neutral-500);
    font-size: var(--font-size-lg);
}

/* ===== Footer ===== */
.footer {
    background: var(--neutral-800);
    color: var(--neutral-300);
    padding: var(--space-xxl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-logo .logo-text {
    color: white;
}

.footer-description {
    color: var(--neutral-400);
    margin-bottom: var(--space-md);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--neutral-700);
    border-radius: var(--radius-md);
    color: var(--neutral-300);
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary-500);
    color: white;
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-title {
    color: white;
    margin-bottom: var(--space-md);
    font-size: var(--font-size-base);
}

.footer-links li {
    margin-bottom: var(--space-xs);
}

.footer-links a {
    color: var(--neutral-400);
    transition: color var(--transition-fast);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--neutral-400);
}

.footer-contact svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--neutral-700);
    text-align: center;
    color: var(--neutral-500);
    font-size: var(--font-size-sm);
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate(30px, -50%);
    }
    to {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-out;
}

.animate-slideUp {
    animation: slideUp 0.5s ease-out;
}

/* ===== Utility Classes ===== */
.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.flex {
    display: flex;
}

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

.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
