/* tics/css/style.css - Rediseño Definitivo TICs estilo Evervault (Deep Purple & Neon Rose) */

:root {
    --bg-dark: #0a0612;        /* Negro con tinte morado profundo */
    --surface: rgba(20, 13, 35, 0.45);
    --surface-light: rgba(30, 20, 50, 0.6);
    --text-light: #f5f5f7;     /* Blanco crema de alto brillo */
    --text-muted: rgba(245, 245, 247, 0.6);
    --primary: #8b5cf6;        /* Morado/Violeta Vibrante */
    --secondary: #c026d3;      /* Rosa/Magenta de apoyo */
    --border: rgba(139, 92, 246, 0.15);
    --border-hover: rgba(192, 38, 211, 0.6);
    --font-sans: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* Background Glowing Aura (filter: blur) */
.glowing-aura-1 {
    position: absolute;
    top: 5%;
    left: 10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}

.glowing-aura-2 {
    position: absolute;
    top: 60%;
    right: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(192, 38, 211, 0.15) 0%, transparent 70%);
    filter: blur(100px);
    z-index: 0;
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

/* Header (Minimal glassmorphism) */
.header {
    background: rgba(10, 6, 18, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.logo-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1.5px solid var(--primary);
    background: transparent;
    object-fit: cover;
    filter: drop-shadow(0 0 8px rgba(139, 92, 246, 0.5));
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: -0.02em;
}

.logo-sub {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--secondary);
    letter-spacing: 0.08em;
    font-weight: 700;
}

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-light);
}

.btn-quote {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
    border: none;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
}

.btn-quote:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 30px rgba(192, 38, 211, 0.5);
}

/* Hero Section with Network animation background canvas */
.hero {
    padding: 10rem 0 7rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.4;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    position: relative;
    z-index: 2;
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.15);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.75;
    position: relative;
    z-index: 2;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    position: relative;
    z-index: 2;
}

.btn-primary {
    background: #ffffff;
    color: #0a0612;
    font-weight: 700;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.98rem;
    transition: var(--transition);
    border: 1px solid #ffffff;
    cursor: pointer;
}

.btn-primary:hover {
    background: transparent;
    color: #ffffff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--border);
    font-weight: 600;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.98rem;
    transition: var(--transition);
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

/* Services Sections */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.8rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}

.service-card {
    background: var(--surface);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.22);
}

.service-image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.service-body {
    padding: 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-icon-wrapper {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
}

.service-icon {
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 22px;
    height: 22px;
}

.service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-light);
}

.service-bullets {
    list-style: none;
    margin-bottom: 0;
    flex-grow: 1;
}

.service-bullets li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-mono);
}

.service-bullets li::before {
    content: '//';
    color: var(--secondary);
    font-weight: bold;
    font-size: 0.85rem;
}

/* Sectores de especialización */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.client-sector-card {
    position: relative;
    height: 170px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.client-sector-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
    transition: var(--transition);
}

.client-sector-card:hover img {
    filter: brightness(0.55);
    transform: scale(1.05);
}

.client-sector-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 0 30px rgba(192, 38, 211, 0.25);
}

.sector-name {
    position: absolute;
    bottom: 1.2rem;
    left: 1.2rem;
    color: var(--text-light);
    font-family: var(--font-mono);
    font-weight: bold;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Quote/Contact Section with Radial Gradient Backdrop */
.quote-section {
    background: radial-gradient(circle at top right, rgba(192, 38, 211, 0.08), transparent 85%), var(--surface);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 5rem 4rem;
    margin: 6rem 0;
}

.quote-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.quote-info h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1.2rem;
}

.quote-info p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-meta {
    list-style: none;
}

.contact-meta li {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    font-family: var(--font-mono);
}

.contact-meta li svg {
    color: var(--primary);
    width: 20px;
    height: 20px;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-label {
    display: block;
    font-size: 0.78rem;
    font-family: var(--font-mono);
    margin-bottom: 0.5rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.form-input {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(10, 6, 18, 0.6);
    color: var(--text-light);
    font-size: 0.98rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.35);
}

/* Floating Social Buttons */
.social-floating-bar {
    position: fixed;
    right: 25px;
    bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.social-floating-btn {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
    border: 1px solid var(--border);
    background: var(--surface);
    backdrop-filter: blur(10px);
}

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

.social-floating-btn:hover {
    transform: translateY(-2px);
    border-color: var(--secondary);
    color: #fff;
    box-shadow: 0 0 30px rgba(192, 38, 211, 0.4);
}

.social-floating-btn.tiktok:hover {
    border-color: #fe2c55;
    box-shadow: 0 0 20px rgba(254, 44, 85, 0.6);
}

.social-floating-btn.facebook:hover {
    border-color: #1877f2;
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.6);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 4rem 0;
    background: #06030a;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: var(--font-mono);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    text-decoration: none;
}

.footer-logo img {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1.5px solid var(--primary);
}

.footer p {
    margin-bottom: 0.5rem;
}

/* Responsiveness */
@media (max-width: 968px) {
    .header-container {
        flex-direction: column;
        height: auto;
        padding: 1.5rem 1rem;
        gap: 1.2rem;
        align-items: center;
    }
    .nav {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        align-items: center;
    }
    .nav-link {
        font-size: 1rem;
        padding: 0.2rem 0;
    }
    .btn-quote {
        width: 80%;
        text-align: center;
    }
    .quote-row {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .quote-section {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .nav {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
        width: 100% !important;
        justify-items: center !important;
    }
    .nav-link {
        font-size: 0.95rem !important;
        padding: 0.4rem !important;
        text-align: center !important;
    }
    .btn-quote {
        grid-column: span 2 !important;
        width: 100% !important;
        text-align: center !important;
        margin-top: 0.4rem !important;
    }
    .hero h1 {
        font-size: 2.1rem !important;
    }
    .hero p {
        font-size: 1rem !important;
    }
}
