/* ============================================
   Veltro Web Solutions — Stylesheet
   Font: DM Sans + DM Mono
   Accent: Electric Cyan #00CFFF → #00F0C8
   ============================================ */

:root {
    --bg:            #f2f4f6;
    --bg-section:    #edf0f3;
    --white:         #ffffff;
    --surface:       #fafbfc;
    --surface-hover: #eef1f4;

    --accent:        #00BEDF;
    --accent-dark:   #0099BB;
    --accent-light:  #dff8ff;
    --accent-muted:  rgba(0, 190, 223, 0.12);

    --text-primary:  #0f1117;
    --text-secondary:#4a5060;
    --text-muted:    #8a8f9e;
    --text-on-accent:#ffffff;

    --border:        rgba(0,0,0,0.07);
    --border-strong: rgba(0,0,0,0.13);
    --border-accent: rgba(0, 190, 223, 0.35);

    --shadow-xs: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.10);
    --shadow-accent: 0 8px 28px rgba(0, 190, 223, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.18s ease;
    --nav-h: 70px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
section { padding: 96px 0; }

.icon-xs { width: 14px; height: 14px; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; flex-shrink: 0; }
.icon-md { width: 20px; height: 20px; flex-shrink: 0; }
.icon-lg { width: 28px; height: 28px; flex-shrink: 0; }

/* ── PRELOADER ─────────────────────────────────────────── */
#preloader {
    position: fixed; inset: 0;
    background: #080d1a;
    display: flex; justify-content: center; align-items: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s;
}

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

.loader-logo {
    margin-bottom: 24px;
    animation: pulse 1.5s infinite ease-in-out;
}

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

.loader-bar {
    width: 110px; height: 2px;
    background: rgba(255,255,255,0.08);
    border-radius: 99px; overflow: hidden; margin: 0 auto;
}

.progress {
    width: 0; height: 100%;
    background: linear-gradient(90deg, #00CFFF, #00F0C8);
    animation: load 2s forwards ease-in-out;
}

@keyframes load { 0% { width: 0%; } 100% { width: 100%; } }

#preloader.fade-out { opacity: 0; visibility: hidden; pointer-events: none; }

/* ── NAVBAR ────────────────────────────────────────────── */
.navbar {
    position: sticky; top: 0; z-index: 1000;
    height: var(--nav-h); display: flex; align-items: center;
    background: rgba(242, 244, 246, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.92);
    box-shadow: var(--shadow-sm);
}

.nav-container { display: flex; justify-content: space-between; align-items: center; width: 100%; }

/* Logo */
.logo, .footer-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none;
}

.logo-text-wrap { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.4px; color: var(--text-primary); }
.logo-sub { font-size: 0.68rem; font-weight: 500; color: var(--text-muted); letter-spacing: 0.02em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 6px; }

.nav-links a {
    font-size: 0.9rem; font-weight: 500; color: var(--text-secondary);
    padding: 7px 12px; border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.nav-links a:hover { color: var(--text-primary); background: var(--surface-hover); }

.btn-nav-cta {
    background: var(--accent) !important;
    color: var(--white) !important;
    padding: 8px 18px !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600 !important;
    margin-left: 6px;
}

.btn-nav-cta:hover {
    background: var(--accent-dark) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-accent) !important;
}

.menu-toggle {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; padding: 8px; border-radius: var(--radius-sm);
    transition: var(--transition-fast); z-index: 1001;
}

.menu-toggle:hover { background: var(--surface-hover); }

.bar {
    width: 22px; height: 2px; background: var(--text-primary);
    border-radius: 2px; transition: var(--transition); transform-origin: center;
}

.mobile-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.4); z-index: 998; backdrop-filter: blur(2px);
}

.mobile-overlay.active { display: block; }

/* ── BUTTONS ───────────────────────────────────────────── */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--accent); color: var(--white);
    padding: 12px 22px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 0.9rem;
    border: none; cursor: pointer;
    transition: var(--transition); white-space: nowrap;
}

.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-accent); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: var(--text-primary);
    padding: 12px 20px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 0.9rem;
    border: 1.5px solid var(--border-strong);
    cursor: pointer; transition: var(--transition); white-space: nowrap;
}

.btn-ghost:hover { background: var(--surface-hover); border-color: var(--text-muted); transform: translateY(-2px); }

.btn-outline {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    background: transparent; color: var(--accent);
    padding: 12px 22px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 0.9rem;
    border: 1.5px solid var(--border-accent);
    cursor: pointer; transition: var(--transition); white-space: nowrap;
}

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

.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }

.btn-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--accent); font-weight: 600; font-size: 0.875rem;
    transition: var(--transition-fast);
}

.btn-link:hover { gap: 9px; opacity: 0.8; }

/* ── SECTION HEADERS ───────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { font-size: 2.2rem; font-weight: 700; letter-spacing: -0.5px; }
.section-header p { color: var(--text-secondary); margin-top: 10px; font-size: 1rem; }

.section-label {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--accent-dark);
    background: var(--accent-light); padding: 4px 12px;
    border-radius: 99px; margin-bottom: 14px;
    border: 1px solid rgba(0,190,223,0.2);
}

/* ── HERO ──────────────────────────────────────────────── */
.hero {
    min-height: calc(100vh - var(--nav-h));
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center; position: relative; overflow: hidden;
    padding: 80px 0 40px; background: var(--bg);
}

.hero-bg-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(0,0,0,0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 0%, black 40%, transparent 100%);
    pointer-events: none;
}

.hero-orb {
    position: absolute; border-radius: 50%;
    filter: blur(80px); pointer-events: none; opacity: 0.6;
}

.hero-orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,207,255,0.2) 0%, transparent 70%);
    top: -100px; right: -100px;
}

.hero-orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0,240,200,0.15) 0%, transparent 70%);
    bottom: 0; left: -80px;
}

.hero-content { position: relative; z-index: 1; max-width: 820px; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.78rem; font-weight: 500; color: var(--text-secondary);
    background: var(--white); border: 1px solid var(--border);
    padding: 6px 14px; border-radius: 99px; margin-bottom: 24px;
    box-shadow: var(--shadow-xs);
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700; line-height: 1.1;
    letter-spacing: -1.5px; margin-bottom: 20px;
}

.text-accent {
    background: linear-gradient(135deg, #00CFFF 0%, #00E8B8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem; color: var(--text-secondary);
    max-width: 560px; margin: 0 auto 36px; line-height: 1.7;
}

.hero-btns {
    display: flex; justify-content: center; align-items: center;
    gap: 12px; margin-bottom: 56px; flex-wrap: wrap;
}

.hero-stats {
    display: flex; align-items: center; justify-content: center;
    gap: 0; background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 20px 40px;
    box-shadow: var(--shadow-sm); width: fit-content; margin: 0 auto;
}

.stat { display: flex; flex-direction: column; align-items: center; padding: 0 32px; }

.stat-number {
    font-size: 1.6rem; font-weight: 700; letter-spacing: -1px;
    color: var(--text-primary); font-family: 'DM Mono', monospace;
}

.stat-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 500; margin-top: 2px; }
.stat-divider { width: 1px; height: 36px; background: var(--border); }

.hero-scroll-hint {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%);
    color: var(--text-muted); animation: bounce 2s infinite;
}

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

/* ── ABOUT ─────────────────────────────────────────────── */
.about { background: var(--bg-section); border-top: 1px solid var(--border); }

.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.about-text-side .section-label { margin-bottom: 14px; }

.about-text-side h2 {
    font-size: 2rem; font-weight: 700; line-height: 1.2;
    letter-spacing: -0.5px; margin-bottom: 20px;
}

.about-text-side h2 em {
    font-style: italic;
    background: linear-gradient(135deg, #00CFFF, #00F0C8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-text-side p { color: var(--text-secondary); margin-bottom: 16px; font-size: 0.95rem; }
.about-text-side .btn-primary { margin-top: 8px; }

.about-cards-side { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.about-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 20px;
    display: flex; align-items: flex-start; gap: 14px;
    transition: var(--transition);
}

.about-card:hover { border-color: var(--border-accent); box-shadow: var(--shadow-sm); transform: translateY(-2px); }

.about-card-icon {
    width: 38px; height: 38px; border-radius: var(--radius-sm);
    background: var(--accent-light); display: flex;
    align-items: center; justify-content: center;
    color: var(--accent); flex-shrink: 0;
}

.about-card-icon svg { width: 18px; height: 18px; }
.about-card h4 { font-size: 0.875rem; font-weight: 600; margin-bottom: 4px; }
.about-card p { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

/* ── SERVICES ──────────────────────────────────────────── */
.services { background: var(--bg); }

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

.service-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 32px 28px;
    transition: var(--transition); position: relative; overflow: hidden;
}

.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #00CFFF, #00F0C8);
    transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease;
}

.service-card:hover { border-color: var(--border-accent); transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 48px; height: 48px; border-radius: var(--radius-md);
    background: var(--accent-light); display: flex;
    align-items: center; justify-content: center;
    color: var(--accent); margin-bottom: 18px;
}

.service-icon svg { width: 22px; height: 22px; }
.service-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 10px; }
.service-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 18px; }

.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-tags span {
    font-size: 0.72rem; font-weight: 600; background: var(--surface);
    color: var(--text-muted); padding: 3px 10px; border-radius: 99px;
    border: 1px solid var(--border); font-family: 'DM Mono', monospace;
}

/* ── PRICING ───────────────────────────────────────────── */
.pricing { background: var(--bg-section); border-top: 1px solid var(--border); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; align-items: start; }

.pricing-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 32px 28px;
    transition: var(--transition); position: relative; display: flex; flex-direction: column;
}

.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }

.pricing-card--featured {
    border: 2px solid var(--accent);
    box-shadow: 0 0 0 4px var(--accent-muted), var(--shadow-md);
}

.featured-ribbon {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, #00CFFF, #00AACE);
    color: #fff; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.05em; text-transform: uppercase;
    padding: 4px 16px; border-radius: 99px; white-space: nowrap;
}

.pricing-top { margin-bottom: 24px; }

.pricing-tier-badge {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.06em; padding: 4px 10px; border-radius: 99px; margin-bottom: 14px;
}

.starter-badge { background: #e8f5e9; color: #2e7d32; }
.growth-badge  { background: var(--accent-light); color: var(--accent-dark); }
.pro-badge     { background: #fce4ec; color: #ad1457; }

.pricing-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }

.price {
    font-size: 2.4rem; font-weight: 700; letter-spacing: -1.5px;
    color: var(--text-primary); font-family: 'DM Mono', monospace;
}

.price-desc { font-size: 0.82rem; color: var(--text-muted); margin-top: 6px; }

.features { flex: 1; margin-bottom: 24px; display: flex; flex-direction: column; gap: 10px; }

.features li { display: flex; align-items: center; gap: 9px; font-size: 0.875rem; color: var(--text-secondary); }

.check-icon { color: var(--accent); flex-shrink: 0; stroke-width: 2.5; }

.boundaries-container { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }

.boundary-box {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px;
}

.boundary-header { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.boundary-header h4 { font-size: 0.95rem; font-weight: 600; }
.boundary-box.offer .boundary-header svg { color: #2e7d32; width: 18px; height: 18px; }
.boundary-box.limits .boundary-header svg { color: #ad1457; width: 18px; height: 18px; }

.boundary-box ul { display: flex; flex-direction: column; gap: 10px; }

.boundary-box ul li {
    font-size: 0.875rem; color: var(--text-secondary);
    padding-left: 12px; border-left: 2px solid var(--border);
}

.boundary-box.offer ul li { border-color: #00CFFF; }
.boundary-box.limits ul li { border-color: #f48fb1; }

/* ── PORTFOLIO ─────────────────────────────────────────── */
.portfolio { background: var(--bg); }

.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }

.project-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-xl); overflow: hidden;
    display: flex; flex-direction: column; transition: var(--transition);
}

.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); }
.project-card.featured { border-color: var(--border-accent); }

.project-img {
    height: 220px; background-size: cover; background-position: center;
    position: relative; overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-img { transform: scale(1.04); }

.badge {
    position: absolute; top: 14px; left: 14px;
    display: inline-flex; align-items: center; gap: 5px;
    background: var(--white); color: var(--text-primary);
    font-size: 0.72rem; font-weight: 700; padding: 5px 12px;
    border-radius: 99px; box-shadow: var(--shadow-sm);
    border: 1px solid var(--border); letter-spacing: 0.02em;
}

.project-info { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.project-info h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.project-info p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 16px; flex: 1; }

.project-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.project-tags span {
    font-size: 0.72rem; font-weight: 600; background: var(--surface);
    color: var(--text-muted); padding: 3px 10px; border-radius: 99px;
    border: 1px solid var(--border); font-family: 'DM Mono', monospace;
}

/* ── CONTACT ───────────────────────────────────────────── */
.contact { background: var(--bg-section); border-top: 1px solid var(--border); }

.contact-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }

.contact-left .section-label { margin-bottom: 14px; }

.contact-left h2 { font-size: 1.9rem; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 14px; line-height: 1.2; }
.contact-left p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 32px; }

.contact-info-cards { display: flex; flex-direction: column; gap: 12px; }

.contact-info-item {
    display: flex; align-items: center; gap: 12px;
    font-size: 0.875rem; color: var(--text-secondary);
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 12px 16px;
    transition: var(--transition-fast);
}

.contact-info-item:hover { border-color: var(--border-accent); }
.contact-info-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }

.contact-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 36px; box-shadow: var(--shadow-sm);
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: flex; align-items: center; gap: 6px;
    margin-bottom: 8px; font-weight: 600; font-size: 0.85rem; color: var(--text-primary);
}

.label-icon { color: var(--text-muted); }

.form-group input,
.form-group textarea {
    width: 100%; padding: 12px 16px;
    border: 1.5px solid var(--border); border-radius: var(--radius-sm);
    font-family: inherit; font-size: 0.9rem; color: var(--text-primary);
    background: var(--surface); transition: var(--transition-fast);
    -webkit-appearance: none; appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none; border-color: var(--accent);
    background: var(--white); box-shadow: 0 0 0 3px var(--accent-muted);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group textarea.autofilled { animation: autofillPulse 0.9s ease; }

@keyframes autofillPulse {
    0%   { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-muted); background: var(--accent-light); }
    60%  { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-muted); }
    100% { border-color: var(--border); box-shadow: none; background: var(--surface); }
}

.btn-whatsapp { font-size: 0.95rem; padding: 14px; }

/* ── FOOTER ────────────────────────────────────────────── */
footer { background: #080d1a; padding: 48px 0 32px; text-align: center; }

.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }

.footer-logo .logo-name { color: var(--white); }
.footer-logo .logo-sub { color: rgba(255,255,255,0.4); }

.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.45); }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.3); margin-top: 4px; }

/* ── ANIMATIONS ────────────────────────────────────────── */
.fade-in { opacity: 0; transform: translateY(24px); }
.fade-in.active { animation: fadeUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ── TABLET ────────────────────────────────────────────── */
@media (max-width: 900px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
    .about-inner { grid-template-columns: 1fr; gap: 40px; }
    .contact-inner { grid-template-columns: 1fr; gap: 36px; }
    .pricing-card--featured { transform: none; }
    .pricing-card--featured:hover { transform: translateY(-4px); }
}

/* ── MOBILE ────────────────────────────────────────────── */
@media (max-width: 768px) {
    :root { --nav-h: 64px; }
    section { padding: 72px 0; }
    .menu-toggle { display: flex; }

    .nav-links {
        position: fixed; top: 0; right: -100%;
        height: 100dvh; width: min(75vw, 300px);
        background: var(--white);
        flex-direction: column; justify-content: center; align-items: center; gap: 8px;
        box-shadow: -8px 0 32px rgba(0,0,0,0.12);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999; border-left: 1px solid var(--border);
    }

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

    .nav-links a { font-size: 1rem; padding: 12px 24px; width: 100%; text-align: center; }
    .btn-nav-cta { margin: 0 !important; padding: 12px 24px !important; }

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

    /* Hide "Web Solutions" sub-label on mobile nav to save space */
    .navbar .logo-sub { display: none; }

    .hero h1 { font-size: 2.2rem; letter-spacing: -0.8px; }
    .hero-btns { flex-direction: column; align-items: stretch; }
    .hero-btns .btn-primary,
    .hero-btns .btn-ghost { justify-content: center; }

    .hero-stats { padding: 16px 20px; gap: 0; flex-wrap: nowrap; }
    .stat { padding: 0 16px; }
    .stat-number { font-size: 1.2rem; }
    .stat-label { font-size: 0.68rem; }

    .section-header h2 { font-size: 1.75rem; }
    .about-text-side h2 { font-size: 1.6rem; }
    .about-cards-side { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .boundaries-container { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .contact-card { padding: 24px 20px; }
    .hero-scroll-hint { display: none; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-stats { width: 100%; }
    .stat { padding: 0 10px; }
    .stat-divider { display: none; }
    .hero-stats {
        display: grid; grid-template-columns: repeat(3, 1fr);
        gap: 0; padding: 16px 16px;
    }
    .stat { border-right: 1px solid var(--border); }
    .stat:last-child { border-right: none; }
}