/* ========================================
   NUVEX TECNOLOGÍA - Styles
   ======================================== */

/* Variables */
:root {
    --primary: #0f0c29;
    --primary-mid: #1a1640;
    --primary-light: #24243e;
    --accent: #00d4ff;
    --accent-glow: rgba(0, 212, 255, 0.3);
    --accent-secondary: #7c3aed;
    --accent-secondary-glow: rgba(124, 58, 237, 0.3);
    --dark: #0a0a1a;
    --light: #f0f4f8;
    --gray: #94a3b8;
    --gray-dark: #64748b;
    --white: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.03);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --radius: 16px;
    --radius-sm: 8px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: var(--white);
    background: var(--dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px var(--accent-glow), 0 0 10px var(--accent-glow); }
    50% { box-shadow: 0 0 20px var(--accent-glow), 0 0 40px var(--accent-glow); }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    0%, 100% { border-color: var(--accent); }
    50% { border-color: transparent; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes particleFloat {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(-100vh) rotate(720deg); opacity: 0; }
}

/* Scroll reveal classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.801);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header.scrolled {
    background: rgba(255, 255, 255, 1);
    padding: 0.7rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

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

.logo {
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.logo-img {
    height: 75px; /* Logo más grande */
    width: auto;
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px var(--accent-glow);
}

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

nav a {
    color: var(--gray-dark);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

nav a:hover {
    color: var(--primary);
}

nav a:hover::after {
    width: 60%;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-secondary-glow) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: float 6s ease-in-out infinite reverse;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--accent);
    animation: heroTitleIn 1s ease-out forwards;
    opacity: 0;
}

.hero .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--gray);
    margin-bottom: 2rem;
    font-weight: 300;
    animation: heroSubtitleIn 1s ease-out 0.3s forwards;
    opacity: 0;
}

.hero .typing-wrapper {
    display: inline-block;
    margin-bottom: 2.5rem;
    animation: heroFadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
}

.hero .typing-text {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--accent);
    font-weight: 600;
    border-right: 3px solid var(--accent);
    animation: blink 1s step-end infinite;
    white-space: nowrap;
    overflow: hidden;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: heroFadeIn 1s ease-out 0.9s forwards;
    opacity: 0;
}

@keyframes heroTitleIn {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
        letter-spacing: 15px;
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        letter-spacing: 2px;
    }
}

@keyframes heroSubtitleIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes heroFadeIn {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero geometric rings */
.hero-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(0, 212, 255, 0.15);
    animation: ringExpand 4s ease-in-out infinite;
}

.hero-ring:nth-child(1) {
    width: 300px;
    height: 300px;
    margin-top: -150px;
    margin-left: -150px;
    animation-delay: 0s;
}

.hero-ring:nth-child(2) {
    width: 500px;
    height: 500px;
    margin-top: -250px;
    margin-left: -250px;
    animation-delay: 0.8s;
}

.hero-ring:nth-child(3) {
    width: 700px;
    height: 700px;
    margin-top: -350px;
    margin-left: -350px;
    animation-delay: 1.6s;
}

.hero-ring:nth-child(4) {
    width: 900px;
    height: 900px;
    margin-top: -450px;
    margin-left: -450px;
    animation-delay: 2.4s;
}

@keyframes ringExpand {
    0%, 100% {
        transform: scale(0.9);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* Hero floating shapes */
.hero-shape {
    position: absolute;
    z-index: 1;
    opacity: 0.1;
    animation: shapeFloat 10s ease-in-out infinite;
}

.hero-shape--1 {
    top: 15%;
    left: 10%;
    width: 80px;
    height: 80px;
    border: 2px solid var(--accent);
    border-radius: 12px;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.hero-shape--2 {
    bottom: 20%;
    right: 12%;
    width: 60px;
    height: 60px;
    border: 2px solid var(--accent-secondary);
    border-radius: 50%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.hero-shape--3 {
    top: 30%;
    right: 20%;
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom: 52px solid rgba(0, 212, 255, 0.15);
    animation-delay: 4s;
    animation-duration: 12s;
}

.hero-shape--4 {
    bottom: 30%;
    left: 15%;
    width: 40px;
    height: 40px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 8px;
    animation-delay: 1s;
    animation-duration: 9s;
}

@keyframes shapeFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-3deg);
    }
    75% {
        transform: translateY(-25px) rotate(3deg);
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--accent);
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-3px);
}

/* Particles */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat linear infinite;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.8rem;
    animation: float 2s ease-in-out infinite;
}

.scroll-indicator .mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--gray);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: float 1.5s ease-in-out infinite;
}

/* ========================================
   SECTIONS BASE
   ======================================== */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--accent);
}

.section-header p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
    margin: 1rem auto 0;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    background: var(--primary);
}

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

.about-text p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
}

.about-card:hover {
    transform: translateX(8px);
    border-color: var(--accent);
    box-shadow: 0 0 30px var(--accent-glow);
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.about-card p {
    color: var(--gray);
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    background: var(--dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15);
}

.service-card:hover::after {
    opacity: 0.03;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card .service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(5deg);
}

.service-card h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.service-card > p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.service-card ul li {
    padding: 0.35rem 0;
    color: var(--gray);
    font-size: 0.9rem;
    padding-left: 1.5rem;
    position: relative;
    transition: var(--transition);
}

.service-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
}

.service-card:hover ul li {
    color: var(--white);
}

.service-card:hover ul li::before {
    box-shadow: 0 0 8px var(--accent-glow);
}

/* ========================================
   WHY US SECTION
   ======================================== */
.why-us {
    background: var(--primary);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.why-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, var(--accent-glow), transparent);
    opacity: 0;
    transition: var(--transition);
    animation: none;
}

.why-card:hover::before {
    opacity: 1;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.why-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
}

.why-card .why-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: var(--transition);
}

.why-card:hover .why-icon {
    transform: scale(1.3);
}

.why-card h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.why-card p {
    color: var(--gray);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

/* ========================================
   PROCESS SECTION
   ======================================== */
.process {
    background: var(--dark);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--accent);
    border-radius: 3px;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
    position: relative;
}

.process-step .step-number {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    background: var(--glass);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.process-step:hover .step-number {
    background: var(--accent);
    color: var(--dark);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: scale(1.1);
}

.process-step .step-content {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 1.2rem 1.5rem;
    flex: 1;
    transition: var(--transition);
}

.process-step:hover .step-content {
    border-color: var(--accent);
    transform: translateX(5px);
}

.process-step .step-content p {
    color: var(--white);
    font-weight: 500;
    font-size: 1.05rem;
}

/* ========================================
   TECHNOLOGIES SECTION
   ======================================== */
.technologies {
    background: var(--primary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.tech-category {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 2rem;
    transition: var(--transition);
}

.tech-category:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
}

.tech-category h3 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tech-tag {
    background: rgba(0, 212, 255, 0.1);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(0, 212, 255, 0.2);
    transition: var(--transition);
    cursor: default;
}

.tech-tag:hover {
    background: var(--accent);
    color: var(--dark);
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* ========================================
   SECTORS SECTION
   ======================================== */
.sectors {
    background: var(--dark);
}

.sectors-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.sector-badge {
    background: var(--glass);
    color: var(--gray);
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    cursor: default;
}

.sector-badge:hover {
    background: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--accent-glow);
}

/* ========================================
   STATS / COUNTERS
   ======================================== */
.stats {
    background: var(--primary-mid);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: -150px;
    left: -150px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray);
    font-size: 1rem;
    font-weight: 500;
}

/* ========================================
   COMMITMENT SECTION
   ======================================== */
.commitment {
    background: var(--primary-mid);
    text-align: center;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.commitment::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-secondary-glow) 0%, transparent 70%);
    bottom: -250px;
    right: -250px;
}

.commitment h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 1.5rem;
}

.commitment p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 1rem;
}

.commitment .highlight {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 2rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    background: var(--dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.contact-info .contact-tagline {
    color: var(--accent);
    font-style: italic;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    padding: 1rem 1.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--accent);
    transform: translateX(5px);
}

.contact-item .contact-icon {
    font-size: 1.5rem;
}

.contact-item span {
    color: var(--gray);
    font-size: 0.95rem;
}

.contact-social h3 {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--gray);
    font-size: 0.85rem;
    font-weight: 700;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    color: var(--dark);
    border-color: var(--accent);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px var(--accent-glow);
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    background: rgba(10, 10, 26, 0.95);
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0;
    text-align: center;
}

footer p {
    color: var(--gray-dark);
    font-size: 0.9rem;
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 1.3rem;
    font-weight: 800;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 4px 20px var(--accent-glow);
    z-index: 999;
    border: none;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(10, 10, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        transition: var(--transition);
        border-left: 1px solid var(--glass-border);
    }

    nav.active {
        right: 0;
    }

    nav a {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }

    .hamburger {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .process-timeline::before {
        left: 20px;
    }

    .process-step .step-number {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* Active nav link */
nav a.nav-active {
    color: var(--accent);
}

nav a.nav-active::after {
    width: 60%;
}
