﻿:root {
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dim: #eff6ff;
    --bg: #ffffff;
    --bg-2: #f8fafc;
    --bg-3: #f1f5f9;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --border-strong: #cbd5e1;
    --text: #0f172a;
    --text-muted: #64748b;
    --text-soft: #94a3b8;
    --green: #059669;
    --yellow: #d97706;
    --red: #dc2626;
    --purple: #7c3aed;
    --radius: 6px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 48px rgba(0,0,0,0.1), 0 4px 12px rgba(0,0,0,0.06);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* ── NAVBAR ── */
#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: #0f172a;
    border-bottom: 1px solid #1e293b;
    box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo {
    display: flex; align-items: center; gap: 9px;
    text-decoration: none; color: #fff;
    font-size: 17px; font-weight: 800; letter-spacing: -0.5px;
}
.logo-icon { font-size: 22px; }
.logo strong { color: #60a5fa; }
.nav-links { display: flex; list-style: none; gap: 2px; align-items: center; }
.nav-links a {
    color: #94a3b8;
    text-decoration: none; padding: 7px 14px;
    border-radius: var(--radius); font-size: 14px; font-weight: 500;
    transition: color 0.15s, background 0.15s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,0.07); }
.nav-links a.active { color: #fff; }
.btn-nav {
    background: var(--primary) !important; color: #fff !important;
    font-weight: 700 !important; border-radius: var(--radius) !important;
}
.btn-nav:hover { background: #1d4ed8 !important; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.lang-toggle {
    background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15);
    color: #94a3b8; padding: 6px 12px; border-radius: var(--radius);
    font-size: 12px; font-weight: 600; cursor: pointer;
    transition: all 0.15s; font-family: inherit;
}
.lang-toggle:hover { color: #fff; border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.12); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #94a3b8; border-radius: 2px; }

/* ── HERO ── */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 68px; background: var(--bg); position: relative; overflow: hidden; }
.hero::before {
    content: ''; position: absolute; top: 0; right: 0;
    width: 55%; height: 100%;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4fd 50%, #f5f0ff 100%);
    clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-layout { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 460px; gap: 64px; align-items: center; padding: 80px 32px; width: 100%; max-width: 1160px; margin: 0 auto; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 6px; background: var(--primary-dim); color: var(--primary); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; padding: 5px 12px; border-radius: 20px; margin-bottom: 20px; border: 1px solid #bfdbfe; }
.hero-content h1 { font-size: clamp(34px, 4vw, 54px); font-weight: 800; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 20px; color: var(--text); }
.gradient-text { background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-content p { color: var(--text-muted); font-size: 17px; line-height: 1.7; margin-bottom: 36px; max-width: 460px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }
.hero-stats { display: flex; gap: 36px; padding-top: 36px; border-top: 1px solid var(--border); }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-num { font-size: 24px; font-weight: 800; color: var(--text); letter-spacing: -0.5px; }
.stat span:last-child { font-size: 12px; color: var(--text-muted); }

/* ── TERMINAL ── */
.hero-terminal { background: var(--bg-dark); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); font-family: 'JetBrains Mono', monospace; font-size: 13px; }
.terminal-bar { background: #1e293b; padding: 12px 16px; display: flex; align-items: center; gap: 7px; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.dot.red { background: #ff5f57; } .dot.yellow { background: #febc2e; } .dot.green { background: #28c840; }
.terminal-title { margin-left: auto; color: #475569; font-size: 11px; }
.terminal-body { padding: 20px; min-height: 220px; line-height: 2; }
.terminal-line { opacity: 0; animation: fadeIn 0.05s forwards; }
.terminal-prompt { color: #60a5fa; }
.terminal-output { color: #64748b; }
.terminal-success { color: #34d399; }
.cursor { display: inline-block; width: 7px; height: 13px; background: #60a5fa; animation: blink 1.2s infinite; vertical-align: middle; margin-left: 2px; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }
@keyframes fadeIn { to{opacity:1} }

/* ── BUTTONS ── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: var(--radius); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; border: none; transition: all 0.15s; font-family: inherit; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 1px 2px rgba(37,99,235,0.3); }
.btn-primary:hover { background: #1d4ed8; box-shadow: 0 4px 12px rgba(37,99,235,0.35); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text-muted); border: 1px solid var(--border-strong); }
.btn-ghost:hover { color: var(--text); border-color: var(--border-strong); background: var(--bg-3); }
.btn-outline-light { background: transparent; color: var(--text-muted); border: 1px solid var(--border-strong); padding: 10px 22px; border-radius: var(--radius); font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.15s; display: inline-flex; align-items: center; gap: 8px; }
.btn-outline-light:hover { color: var(--primary); border-color: var(--primary); background: var(--primary-dim); }

/* ── SECTIONS ── */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-2); }
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin: 0 auto; }
.section-eyebrow { display: inline-flex; align-items: center; gap: 6px; background: var(--primary-dim); color: var(--primary); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; padding: 4px 10px; border-radius: 20px; margin-bottom: 14px; border: 1px solid #bfdbfe; }
.section-header h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -1px; color: var(--text); margin-bottom: 14px; line-height: 1.15; }
.section-header p { color: var(--text-muted); font-size: 16px; max-width: 500px; line-height: 1.7; }

/* ── SERVICES ── */
.services-scroll-wrap { position: relative; }
.services-scroll-wrap::after {
    content: '';
    position: absolute; top: 0; right: 0;
    width: 80px; height: calc(100% - 12px);
    background: linear-gradient(to right, transparent, var(--bg-2));
    pointer-events: none; z-index: 1; border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.services-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    cursor: grab;
    user-select: none;
    scroll-behavior: smooth;
}
.services-grid:active { cursor: grabbing; }
.services-grid::-webkit-scrollbar { height: 4px; }
.services-grid::-webkit-scrollbar-track { background: var(--bg-3); border-radius: 2px; }
.services-grid::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 2px; }
.services-grid::-webkit-scrollbar-thumb:hover { background: var(--primary); }

.scroll-btn {
    position: absolute; top: 50%; transform: translateY(-60%);
    width: 36px; height: 36px; border-radius: 50%;
    background: #fff; border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-md); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: var(--text); transition: all 0.15s; z-index: 2;
}
.scroll-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.scroll-btn.prev { left: -18px; }
.scroll-btn.next { right: -18px; }

.service-card {
    background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 28px 24px;
    position: relative; transition: box-shadow 0.2s, border-color 0.2s;
    flex: 0 0 300px;
}
.service-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.service-card.featured { border-color: #bfdbfe; background: linear-gradient(160deg, #f0f7ff 0%, #fff 60%); }
.service-card.featured:hover { border-color: var(--primary-light); box-shadow: 0 8px 24px rgba(37,99,235,0.1); }
.service-badge { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; padding: 3px 8px; border-radius: 20px; margin-bottom: 16px; }
.badge-blue { background: #dbeafe; color: var(--primary); }
.badge-purple { background: #ede9fe; color: var(--purple); }
.badge-yellow { background: #fef3c7; color: var(--yellow); }
.badge-red { background: #fee2e2; color: var(--red); }
.badge-green { background: #d1fae5; color: var(--green); }
.service-icon { font-size: 26px; margin-bottom: 14px; display: block; }
.service-card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; letter-spacing: -0.2px; }
.service-card > p { color: var(--text-muted); font-size: 13.5px; line-height: 1.65; margin-bottom: 16px; }
.service-card ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.service-card ul li { color: var(--text-muted); font-size: 13px; padding-left: 14px; position: relative; }
.service-card ul li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 1.5px; background: var(--primary); border-radius: 1px; }

/* ── PROJECTS ── */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.project-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; transition: box-shadow 0.2s, border-color 0.2s; display: flex; flex-direction: column; gap: 10px; }
.project-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.featured-project { border-color: #bfdbfe; }
.featured-project:hover { border-color: var(--primary-light); box-shadow: 0 4px 16px rgba(37,99,235,0.08); }
.project-header { display: flex; justify-content: space-between; align-items: center; }
.project-lang { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 20px; font-family: 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: 0.5px; }
.project-lang.python { background: #dbeafe; color: #1d4ed8; }
.project-lang.bash { background: #d1fae5; color: #065f46; }
.project-lang.go { background: #cffafe; color: #0e7490; }
.project-lang.proxmox, .project-lang.virt { background: #fef3c7; color: #92400e; }
.project-lang.migration { background: #ede9fe; color: #5b21b6; }
.project-lang.ansible { background: #fee2e2; color: #991b1b; }
.project-star { color: var(--text-muted); text-decoration: none; font-size: 12px; transition: color 0.15s; }
.project-star:hover { color: var(--yellow); }
.project-card h3 { font-size: 15px; font-weight: 700; color: var(--text); font-family: 'JetBrains Mono', monospace; }
.project-card p { color: var(--text-muted); font-size: 13px; line-height: 1.6; flex: 1; }
.project-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.project-tags span { background: var(--bg-3); color: var(--text-muted); font-size: 11px; padding: 3px 8px; border-radius: 20px; border: 1px solid var(--border); }
.projects-cta { text-align: center; }

/* ── REFERENCES ── */
.references-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.ref-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; transition: box-shadow 0.2s, border-color 0.2s; display: flex; flex-direction: column; gap: 16px; }
.ref-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.ref-header { display: flex; align-items: center; gap: 16px; }
.ref-logo { font-size: 36px; flex-shrink: 0; width: 60px; height: 60px; background: var(--bg-3); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); }
.ref-logo-initials { font-size: 18px !important; font-weight: 800; border-radius: var(--radius); }
.ref-meta h3 { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.ref-name-link { color: var(--text); text-decoration: none; transition: color 0.15s; }
.ref-name-link:hover { color: var(--primary); text-decoration: underline; }
.ref-sector { font-size: 12px; font-weight: 600; color: var(--primary); background: var(--primary-dim); padding: 2px 8px; border-radius: 20px; border: 1px solid #bfdbfe; }
.ref-desc { color: var(--text-muted); font-size: 14px; line-height: 1.7; flex: 1; }
.ref-projects { display: flex; gap: 8px; flex-wrap: wrap; }
.ref-tag { background: var(--bg-3); color: var(--text-muted); font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px; border: 1px solid var(--border); }

@media (max-width: 768px) { .references-grid { grid-template-columns: 1fr; } }

/* ── FAQ ── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question { width: 100%; text-align: left; background: none; border: none; color: var(--text-muted); padding: 20px 0; font-size: 15px; font-weight: 500; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color 0.15s; font-family: inherit; }
.faq-question:hover { color: var(--text); }
.faq-question::after { content: '+'; font-size: 20px; color: var(--text-soft); transition: transform 0.3s; flex-shrink: 0; font-weight: 300; line-height: 1; }
.faq-question[aria-expanded="true"] { color: var(--text); font-weight: 600; }
.faq-question[aria-expanded="true"]::after { transform: rotate(45deg); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s; color: var(--text-muted); font-size: 14px; line-height: 1.75; }
.faq-answer.open { max-height: 200px; padding-bottom: 20px; }

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-content .section-eyebrow { display: inline-flex; margin-bottom: 14px; }
.about-content h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -0.8px; color: var(--text); margin-bottom: 18px; }
.about-content p { color: var(--text-muted); font-size: 15px; line-height: 1.75; margin-bottom: 14px; }
.about-values { display: flex; flex-direction: column; margin-top: 36px; border-top: 1px solid var(--border); }
.value { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border); }
.value-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.value strong { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.value p { color: var(--text-muted); font-size: 13px; margin: 0; line-height: 1.6; }
.about-tech h3 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 16px; }
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tech-item { background: var(--bg); border: 1px solid var(--border); padding: 10px 12px; border-radius: var(--radius); font-size: 12px; font-weight: 500; color: var(--text-muted); transition: all 0.15s; text-align: center; }
.tech-item:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-dim); }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.contact-info { display: flex; flex-direction: column; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--border); }
.contact-item:first-child { border-top: 1px solid var(--border); }
.contact-icon { font-size: 16px; flex-shrink: 0; margin-top: 1px; }
.contact-item strong { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.contact-item p { color: var(--text-muted); font-size: 13px; margin: 0; }
.contact-item a { color: var(--primary); text-decoration: none; }
.contact-item a:hover { text-decoration: underline; }
.response-time { margin-top: 20px; display: flex; gap: 10px; align-items: center; padding: 12px 14px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius); }
.response-time p { color: var(--text-muted); font-size: 13px; margin: 0; }
.response-time strong { color: var(--green); }
.contact-form { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group select, .form-group textarea { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 13px; color: var(--text); font-size: 14px; font-family: inherit; transition: border-color 0.15s, box-shadow 0.15s; outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); background: var(--bg); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-soft); }
.form-success { color: var(--green); font-size: 13px; text-align: center; padding: 12px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius); }

/* ── FOOTER ── */
footer { background: var(--bg-dark); color: #94a3b8; padding: 56px 0 32px; }
footer .logo { color: #fff; }
footer .logo strong { color: #60a5fa; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 48px; flex-wrap: wrap; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand p { color: #64748b; font-size: 13px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; list-style: none; align-items: center; }
.footer-links a { color: #64748b; text-decoration: none; font-size: 13px; transition: color 0.15s; }
.footer-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: #475569; font-size: 12px; }
.footer-seo { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-seo a { color: #475569; text-decoration: none; font-size: 11px; transition: color 0.15s; }
.footer-seo a:hover { color: #60a5fa; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
    .hero-layout { grid-template-columns: 1fr; }
    .hero-terminal { display: none; }
    .scroll-btn { display: none; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .hero::before { display: none; }
}
@media (max-width: 900px) {
    .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .services-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #0f172a; border-bottom: 1px solid #1e293b; flex-direction: column; padding: 12px; gap: 2px; box-shadow: var(--shadow-md); }
    .nav-links.open { display: flex; }
    .hamburger { display: flex; }
    .projects-grid { grid-template-columns: 1fr; }
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero-stats { gap: 24px; }
    .section { padding: 72px 0; }
}

/* â”€â”€ WHATSAPP BUTTON â”€â”€ */
.wa-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,.4);
    z-index: 9999;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
}
.wa-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,.5);
}