:root{--bg: #ffffff;--bg-alt: #f6f8fb;--surface: #ffffff;--text: #0f172a;--muted: #5b6b82;--border: #e3e8ef;--primary: #2563eb;--primary-hover: #1d4ed8;--primary-soft: #e8f0fe;--shadow: 0 1px 2px rgba(15,23,42,.04), 0 6px 24px rgba(15,23,42,.06);--radius: 14px;--header-h: 64px;--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif}:root[data-theme=dark]{--bg: #0b1120;--bg-alt: #0f172a;--surface: #131c31;--text: #e8edf6;--muted: #93a1b8;--border: #243049;--primary: #5b9dff;--primary-hover: #7fb2ff;--primary-soft: #16264a;--shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 28px rgba(0,0,0,.35)}*,*:before,*:after{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 8px);-webkit-text-size-adjust:100%}body{margin:0;font-family:var(--font);background:var(--bg);color:var(--text);line-height:1.65;transition:background .25s,color .25s}img{max-width:100%;display:block}a{color:inherit}h1,h2,h3,h4{line-height:1.2;margin:0;letter-spacing:-.01em}p{margin:0}ul,ol{margin:0;padding:0;list-style:none}button{font:inherit;color:inherit;cursor:pointer}:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-radius:6px}@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}.container{width:100%;max-width:1100px;margin:0 auto;padding:0 20px}.muted{color:var(--muted)}.center{text-align:center;padding:2rem}.grow{flex:1}.state{min-height:100vh;display:grid;place-content:center;justify-items:center;gap:1rem;padding:2rem;text-align:center}.spinner{width:36px;height:36px;border:3px solid var(--border);border-top-color:var(--primary);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.7rem 1.2rem;border-radius:10px;font-weight:600;font-size:.95rem;text-decoration:none;border:1px solid transparent;transition:background .2s,border-color .2s,transform .15s;min-height:44px}.btn:active{transform:translateY(1px)}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{background:var(--primary);color:#fff}:root[data-theme=dark] .btn-primary{color:#06101f}.btn-primary:hover{background:var(--primary-hover)}.btn-outline{background:transparent;border-color:var(--border);color:var(--text)}.btn-outline:hover{border-color:var(--primary);color:var(--primary)}.icon-btn{width:42px;height:42px;display:inline-grid;place-items:center;border-radius:10px;border:1px solid var(--border);background:var(--surface);color:var(--text);text-decoration:none;transition:border-color .2s,color .2s}.icon-btn:hover{border-color:var(--primary);color:var(--primary)}.header{position:sticky;top:0;z-index:50;height:var(--header-h);background:color-mix(in srgb,var(--bg) 85%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid transparent;transition:border-color .2s}.header.scrolled{border-bottom-color:var(--border)}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem}.logo{font-weight:800;font-size:1.3rem;text-decoration:none;letter-spacing:-.02em}.logo span{color:var(--primary)}.header-actions{display:flex;align-items:center;gap:.5rem}.seg{display:inline-flex;border:1px solid var(--border);border-radius:10px;overflow:hidden;background:var(--surface)}.seg button{background:none;border:0;padding:0 .75rem;height:40px;font-size:.8rem;font-weight:700;color:var(--muted)}.seg button.active{background:var(--primary);color:#fff}:root[data-theme=dark] .seg button.active{color:#06101f}.menu-btn{display:inline-grid}.nav{position:fixed;inset:var(--header-h) 0 auto 0;display:none;flex-direction:column;padding:.5rem 20px 1rem;background:var(--bg);border-bottom:1px solid var(--border);box-shadow:var(--shadow)}.nav.open{display:flex}.nav a{padding:.8rem .25rem;text-decoration:none;font-weight:500;border-bottom:1px solid var(--border)}.nav a:last-child{border-bottom:0}.nav a:hover{color:var(--primary)}.hero{padding:2.5rem 0 3.5rem}.hero-inner{display:grid;gap:2rem;justify-items:center;text-align:center}.hero-photo img,.avatar-fallback{width:min(240px,62vw);aspect-ratio:1;border-radius:50%;object-fit:cover;border:4px solid var(--surface);box-shadow:0 0 0 2px var(--primary),var(--shadow)}.avatar-fallback{display:grid;place-items:center;font-size:4rem;font-weight:800;color:var(--primary);background:var(--primary-soft)}.hero-text{display:grid;gap:.9rem;justify-items:center;max-width:640px}.badge{display:inline-block;font-size:.8rem;font-weight:600;padding:.3rem .8rem;border-radius:999px;background:var(--primary-soft);color:var(--primary)}.hero h1{font-size:clamp(2rem,7vw,3.2rem);font-weight:800}.hero-title{font-size:clamp(1rem,3.2vw,1.25rem);font-weight:600;color:var(--primary)}.hero-tagline{font-size:1.05rem}.hero-summary{color:var(--muted)}.hero-loc{display:inline-flex;align-items:center;gap:.35rem;color:var(--muted);font-size:.9rem}.cv-buttons{display:flex;flex-direction:column;gap:.75rem;width:100%;margin-top:.5rem}.socials{display:flex;gap:.6rem;flex-wrap:wrap;justify-content:center}.section{padding:3.5rem 0}.section-alt{background:var(--bg-alt)}.section-title{font-size:clamp(1.5rem,4.5vw,2rem);font-weight:800;margin-bottom:1.75rem;display:flex;align-items:center;gap:.75rem}.section-title:after{content:"";flex:1;height:1px;background:var(--border)}.grid{display:grid;gap:1.1rem}.card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:.75rem;transition:transform .2s,border-color .2s;min-width:0}.grid .card:hover,.timeline .card:hover{border-color:color-mix(in srgb,var(--primary) 45%,var(--border))}.card h3{font-size:1.08rem;font-weight:700}.item-head{display:flex;flex-direction:column;gap:.35rem}.date{font-size:.82rem;font-weight:600;color:var(--primary);white-space:nowrap}.pills{display:flex;flex-wrap:wrap;gap:.45rem}.pills li{padding:.3rem .75rem;border-radius:999px;background:var(--primary-soft);color:var(--primary);font-size:.85rem;font-weight:500}.pills.small li{padding:.15rem .6rem;font-size:.75rem}.bullets{display:grid;gap:.4rem}.bullets li{position:relative;padding-left:1.1rem;color:var(--muted);font-size:.95rem}.bullets li:before{content:"";position:absolute;left:0;top:.62em;width:6px;height:6px;border-radius:50%;background:var(--primary)}.links{display:flex;flex-wrap:wrap;gap:1rem}.link{display:inline-flex;align-items:center;gap:.35rem;font-size:.9rem;font-weight:600;color:var(--primary);text-decoration:none;background:none;border:0;padding:0}.link:hover{text-decoration:underline}.subcard{border-left:3px solid var(--primary);padding:.25rem 0 .25rem .9rem;display:grid;gap:.3rem}.subcard h4{font-size:.95rem}.subcard p{color:var(--muted);font-size:.92rem}.timeline{display:grid;gap:1.1rem;position:relative;padding-left:1.4rem}.timeline:before{content:"";position:absolute;left:5px;top:8px;bottom:8px;width:2px;background:var(--border)}.timeline-item{position:relative}.timeline-item:before{content:"";position:absolute;left:calc(-1.4rem + 0px);top:1.5rem;width:12px;height:12px;border-radius:50%;background:var(--primary);border:3px solid var(--bg);box-sizing:content-box;margin-left:-3px}.project-img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:10px}.cert-icon{color:var(--primary)}.lang-list{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.lang-list .card{gap:.15rem;padding:1rem;text-align:center}.contact{display:grid;gap:1.75rem}.lead{font-size:1.05rem;margin-bottom:1.1rem}.contact-list{display:grid;gap:.65rem}.contact-list li{display:flex;align-items:center;gap:.6rem;color:var(--muted)}.contact-list a{color:var(--text);text-decoration:none;word-break:break-word}.contact-list a:hover{color:var(--primary)}.form label{display:grid;gap:.35rem;font-size:.88rem;font-weight:600}.form input,.form textarea{font:inherit;padding:.7rem .85rem;border:1px solid var(--border);border-radius:10px;background:var(--bg);color:var(--text);width:100%;resize:vertical}.form input:focus,.form textarea:focus{outline:2px solid var(--primary);outline-offset:0;border-color:transparent}.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}.form-msg{font-size:.9rem;font-weight:600}.form-msg.ok{color:#16a34a}.form-msg.err{color:#dc2626}.footer{border-top:1px solid var(--border);padding:1.5rem 0;text-align:center;color:var(--muted);font-size:.88rem}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;background:#020617a6;display:grid;place-items:end center}.modal{background:var(--surface);width:100%;height:90dvh;border-radius:18px 18px 0 0;display:flex;flex-direction:column;overflow:hidden}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.85rem 1rem;border-bottom:1px solid var(--border)}.modal-body{flex:1;min-height:0;overflow:auto;display:grid;background:var(--bg-alt)}.modal-body iframe{width:100%;height:100%;border:0}.modal-body img{margin:auto;max-height:100%;object-fit:contain;padding:1rem}.modal-foot{padding:.85rem 1rem;border-top:1px solid var(--border);display:flex;justify-content:flex-end}@media (min-width: 600px){.cv-buttons{flex-direction:row;justify-content:center}.cv-buttons .btn{width:auto}.grid-2,.grid-3{grid-template-columns:repeat(2,1fr)}.lang-list{grid-template-columns:repeat(4,1fr)}.item-head{flex-direction:row;justify-content:space-between;align-items:flex-start;gap:1rem}.modal-backdrop{place-items:center}.modal{width:min(900px,94vw);height:min(88dvh,820px);border-radius:18px}}@media (min-width: 900px){.container{padding:0 32px}.menu-btn{display:none}.nav{position:static;display:flex;flex-direction:row;gap:1.4rem;padding:0;background:none;border:0;box-shadow:none}.nav a{padding:.25rem 0;border:0;font-size:.92rem;color:var(--muted)}.hero{padding:4.5rem 0 5rem}.hero-inner{grid-template-columns:auto 1fr;gap:4rem;text-align:left;justify-items:start;align-items:center}.hero-photo img,.avatar-fallback{width:300px}.hero-text{justify-items:start}.cv-buttons,.socials{justify-content:flex-start}.section{padding:5rem 0}.grid-3{grid-template-columns:repeat(3,1fr)}.contact{grid-template-columns:1fr 1.1fr;gap:3rem;align-items:start}.timeline{padding-left:2rem}.timeline-item:before{left:calc(-2rem + 0px)}}
