/* ============================================
   Software Solutions — Style Sheet
   Colores: #0F2D4A, #00B7FF, blanco, gris
   Tipografía: Inter
   ============================================ */

/* --- CSS Custom Properties (Light) --- */
:root {
    --primary: #0F2D4A;
    --primary-light: #1a3f5e;
    --accent: #00B7FF;
    --accent-hover: #0095cc;
    --bg: #ffffff;
    --bg-alt: #f4f6f9;
    --bg-dark-section: #0a1a2e;
    --text: #1a1a1a;
    --text-muted: #6c757d;
    --text-light: #f8f9fa;
    --border: rgba(0,0,0,0.08);
    --glass-bg: rgba(255,255,255,0.7);
    --glass-border: rgba(255,255,255,0.3);
    --glass-shadow: rgba(0,0,0,0.06);
    --navbar-bg: rgba(255,255,255,0.95);
    --card-shadow: 0 8px 32px rgba(0,0,0,0.06);
    --gradient-hero: linear-gradient(135deg, #0F2D4A 0%, #001a33 50%, #0a1a2e 100%);
    --gradient-section: linear-gradient(180deg, #f4f6f9 0%, #ffffff 100%);
    --section-badge-bg: rgba(0,183,255,0.1);
    --section-badge-text: #00B7FF;
    --whatsapp-float-bg: #25D366;
    --whatsapp-float-shadow: rgba(37,211,102,0.4);
    --back-to-top-bg: #0F2D4A;
    --back-to-top-hover: #00B7FF;
    --footer-bg: #0a1a2e;
    --process-line: rgba(0,183,255,0.3);
}

/* --- Dark Mode Properties --- */
[data-theme="dark"] {
    --primary: #0F2D4A;
    --primary-light: #1a3f5e;
    --accent: #00B7FF;
    --accent-hover: #33ccff;
    --bg: #0a0f1a;
    --bg-alt: #111827;
    --bg-dark-section: #060a12;
    --text: #e5e7eb;
    --text-muted: #9ca3af;
    --text-light: #f8f9fa;
    --border: rgba(255,255,255,0.06);
    --glass-bg: rgba(255,255,255,0.04);
    --glass-border: rgba(255,255,255,0.06);
    --glass-shadow: rgba(0,0,0,0.3);
    --navbar-bg: rgba(10,15,26,0.95);
    --card-shadow: 0 8px 32px rgba(0,0,0,0.3);
    --gradient-hero: linear-gradient(135deg, #060a12 0%, #0a1a2e 50%, #0F2D4A 100%);
    --gradient-section: linear-gradient(180deg, #111827 0%, #0a0f1a 100%);
    --section-badge-bg: rgba(0,183,255,0.15);
    --section-badge-text: #33ccff;
    --whatsapp-float-bg: #25D366;
    --whatsapp-float-shadow: rgba(37,211,102,0.3);
    --back-to-top-bg: #00B7FF;
    --back-to-top-hover: #0F2D4A;
    --footer-bg: #060a12;
    --process-line: rgba(0,183,255,0.15);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

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

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

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

.text-accent { color: var(--accent); }

/* --- Section Header --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.section-badge {
    display: inline-block;
    background: var(--section-badge-bg);
    color: var(--section-badge-text);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1.2rem;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,183,255,0.3);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,183,255,0.4);
}

.btn-outline {
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-link {
    color: rgba(255,255,255,0.8);
    background: transparent;
    padding: 0.9rem 0;
    font-weight: 500;
}

.btn-link:hover {
    color: var(--accent);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    background: var(--navbar-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--border);
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 42px;
    transition: height 0.3s;
}

.navbar.scrolled .nav-logo img {
    height: 36px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-link {
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    border-radius: 6px;
    transition: all 0.3s;
    white-space: nowrap;
}

.navbar.scrolled .nav-link {
    color: var(--text);
}

.nav-link:hover {
    color: var(--accent);
    background: rgba(0,183,255,0.08);
}

.theme-toggle {
    background: rgba(255,255,255,0.1);
    border: none;
    color: rgba(255,255,255,0.85);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-left: 0.5rem;
    font-size: 1rem;
}

.navbar.scrolled .theme-toggle {
    background: var(--border);
    color: var(--text);
}

.theme-toggle:hover {
    background: rgba(0,183,255,0.15);
    color: var(--accent);
}

.theme-toggle .fa-sun { display: none; }
.theme-toggle .fa-moon { display: block; }

[data-theme="dark"] .theme-toggle .fa-sun { display: block; }
[data-theme="dark"] .theme-toggle .fa-moon { display: none; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

.navbar.scrolled .nav-toggle span {
    background: var(--text);
}

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

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,183,255,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,183,255,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10,26,46,0.4) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
    padding: 120px 2rem 80px;
}

.hero-badge {
    display: inline-block;
    background: rgba(0,183,255,0.15);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(0,183,255,0.2);
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: bounceDown 2s infinite;
}

.hero-scroll-indicator i {
    font-size: 1rem;
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
    padding: 100px 0;
    background: var(--bg);
}

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

.about-text h2 {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

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

.about-text .btn {
    margin-top: 1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: var(--text-muted);
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 100px 0;
    background: var(--gradient-section);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    padding: 2.5rem;
    border-radius: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.4s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,183,255,0.3);
    box-shadow: 0 12px 40px var(--glass-shadow);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(0,183,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    color: var(--accent);
}

.service-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ============================================
   EXPERTISE
   ============================================ */
.expertise {
    padding: 100px 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.expertise::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0,183,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.expertise .section-header h2 { color: #fff; }
.expertise .section-header p { color: rgba(255,255,255,0.6); }

.expertise-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
}

.expertise-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 2.5rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    transition: all 0.4s ease;
    min-width: 140px;
}

.expertise-item:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(0,183,255,0.3);
    transform: translateY(-4px);
}

.expertise-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0,183,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
}

.expertise-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.5px;
}

/* ============================================
   PROCESS
   ============================================ */
.process {
    padding: 100px 0;
    background: var(--bg);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--process-line);
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.4;
    margin-bottom: 1rem;
    line-height: 1;
}

.step-content {
    padding: 1.8rem;
    border-radius: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: center;
    width: 100%;
    transition: all 0.4s ease;
}

.step-content:hover {
    transform: translateY(-4px);
    border-color: rgba(0,183,255,0.2);
}

.step-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0,183,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
    color: var(--accent);
}

.step-content h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================
   WHY US
   ============================================ */
.why-us {
    padding: 100px 0;
    background: var(--gradient-section);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.why-card {
    padding: 2.5rem 2rem;
    border-radius: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: center;
    transition: all 0.4s ease;
}

.why-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0,183,255,0.3);
}

.why-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0,183,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.4rem;
    color: var(--accent);
}

.why-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.why-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.why-flags {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}

.why-flags .fi {
    font-size: 1.8rem;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 100px 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,183,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

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

.contact-info .section-badge {
    background: rgba(0,183,255,0.15);
    color: var(--accent);
}

.contact-info h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: rgba(255,255,255,0.6);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

.contact-item i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,183,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.contact-item a {
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--accent);
}

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

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link.whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
    color: #fff;
}

.social-link.linkedin:hover {
    background: #0077B5;
    border-color: #0077B5;
    color: #fff;
}

.social-link.email:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.contact-form-wrapper {
    width: 100%;
}

.contact-form {
    padding: 2.5rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.contact-form h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.35);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 3px rgba(0,183,255,0.1);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 4rem 0 2rem;
    background: var(--footer-bg);
    color: rgba(255,255,255,0.6);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    height: 32px;
}

.footer-brand p {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.3s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.footer-tagline {
    color: rgba(255,255,255,0.35);
}

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--whatsapp-float-bg);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px var(--whatsapp-float-shadow);
    z-index: 999;
    transition: all 0.3s;
    animation: pulseWhatsApp 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #fff;
}

@keyframes pulseWhatsApp {
    0% { box-shadow: 0 4px 20px var(--whatsapp-float-shadow); }
    50% { box-shadow: 0 4px 30px var(--whatsapp-float-shadow), 0 0 0 10px rgba(37,211,102,0.1); }
    100% { box-shadow: 0 4px 20px var(--whatsapp-float-shadow); }
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--back-to-top-bg);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--back-to-top-hover);
    transform: translateY(-3px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .process-timeline { grid-template-columns: repeat(3, 1fr); }
    .process-timeline::before { display: none; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navbar-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 6rem 2rem 2rem;
        gap: 0.5rem;
        transition: right 0.4s ease;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    }

    .nav-menu.active { right: 0; }

    .nav-link {
        color: var(--text);
        padding: 0.8rem 1rem;
        width: 100%;
        font-size: 1rem;
    }

    .nav-toggle { display: flex; }

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

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

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

    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1rem; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; justify-content: center; }

    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-stats { grid-template-columns: 1fr 1fr; }

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

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

    .footer-content { flex-direction: column; gap: 1.5rem; text-align: center; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }

    .section-header h2 { font-size: 2rem; }
    .about-text h2 { font-size: 2rem; }
    .contact-info h2 { font-size: 2rem; }

    .expertise-grid { gap: 1rem; }
    .expertise-item { padding: 1.5rem; min-width: 100px; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.2rem; }
    .hero h1 { font-size: 2rem; }
    .about-stats { grid-template-columns: 1fr; }
    .stat-card { padding: 1.5rem; }
    .stat-number { font-size: 2.2rem; }
    .contact-form { padding: 1.8rem; }
    .hero-content { padding: 100px 1.2rem 60px; }
}

/* ============================================
   A11Y — prefers-reduced-motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
