:root {
  color-scheme: light;
  --ink: #102d49;
  --ink-soft: #23435e;
  --muted: #657a8d;
  --navy: #08233c;
  --blue: #1676d2;
  --blue-deep: #0b5eb5;
  --cyan: #44cee0;
  --orange: #f4a044;
  --paper: #f6f9fc;
  --white: #ffffff;
  --surface: #ffffff;
  --surface-header: rgb(255 255 255 / 94%);
  --surface-overlay: rgb(255 255 255 / 82%);
  --surface-frost: rgb(255 255 255 / 62%);
  --surface-stat: rgb(255 255 255 / 90%);
  --soft-blue: #eaf5ff;
  --soft-blue-deep: #edf6ff;
  --soft-gray: #f0f5f9;
  --soft-green: #e2f6ed;
  --soft-orange: #fff3e3;
  --notice-surface: #fff7eb;
  --notice-color: var(--notice-color);
  --line-soft: rgb(228 235 242 / 78%);
  --line: #e4ebf2;
  --shadow: 0 22px 65px rgb(10 39 65 / 10%);
  --radius: 24px;
  --content: 1160px;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 99; padding: 10px 16px; transform: translateY(-160%); border-radius: 8px; color: white; background: var(--navy); }
.skip-link:focus { transform: translateY(0); }
.container { width: min(var(--content), calc(100% - 48px)); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px; color: var(--blue-deep); font-size: .76rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow::before { width: 22px; height: 2px; content: ''; background: var(--orange); }
.section { padding: 92px 0; }
.section-heading { max-width: 660px; margin-bottom: 38px; }
.section-heading h2, .page-intro h1, .hero h1 { margin: 0; font-family: Manrope, 'DM Sans', sans-serif; font-weight: 800; letter-spacing: -.055em; line-height: 1.08; }
.section-heading h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.section-heading p { margin: 14px 0 0; color: var(--muted); font-size: 1.06rem; }
.accent { color: var(--blue); }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--line-soft); background: var(--surface-header); backdrop-filter: blur(16px); }
.header-inner { display: flex; min-height: 80px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; min-width: max-content; align-items: center; gap: 11px; }
.brand img { width: 48px; height: 48px; border: 2px solid #eaf1f7; border-radius: 13px; object-fit: cover; }
.brand-copy { display: grid; gap: 0; line-height: 1.15; }
.brand-copy strong { font-family: Manrope, sans-serif; font-size: .98rem; font-weight: 800; letter-spacing: -.03em; }
.brand-copy span { margin-top: 4px; color: var(--muted); font-size: .68rem; letter-spacing: .05em; }
.primary-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 27px); }
.primary-nav a { color: var(--ink-soft); font-size: .86rem; font-weight: 600; transition: color .2s ease; }
.primary-nav a:hover, .primary-nav a[aria-current='page'] { color: var(--blue); }
.primary-nav .nav-cta { padding: 11px 17px; border-radius: 999px; color: white; background: var(--navy); }
.primary-nav .nav-cta:hover { color: white; background: var(--blue-deep); }
.menu-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 13px; color: var(--ink); background: var(--surface); cursor: pointer; }
.menu-toggle svg { width: 21px; height: 21px; }

.hero { position: relative; overflow: hidden; padding: 65px 0 84px; background: linear-gradient(118deg, #eff7ff 0%, #f7fbff 54%, #edf8fa 100%); }
.hero::before { position: absolute; top: -280px; right: -160px; width: 640px; height: 640px; border: 1px solid rgb(22 118 210 / 10%); border-radius: 50%; content: ''; box-shadow: 0 0 0 55px rgb(22 118 210 / 3%), 0 0 0 110px rgb(22 118 210 / 2%); }
.hero-grid { position: relative; display: grid; align-items: center; gap: 70px; grid-template-columns: 1.1fr .9fr; }
.hero-copy { padding: 12px 0; }
.availability { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 23px; padding: 8px 13px; border: 1px solid #d5e9f6; border-radius: 999px; color: var(--ink-soft); background: var(--surface-overlay); font-size: .8rem; font-weight: 600; }
.availability i { width: 8px; height: 8px; border-radius: 50%; background: #29b67c; box-shadow: 0 0 0 4px rgb(41 182 124 / 12%); }
.hero h1 { max-width: 670px; font-size: clamp(2.8rem, 6vw, 5.15rem); }
.hero-copy > p { max-width: 580px; margin: 22px 0 0; color: var(--ink-soft); font-size: clamp(1.05rem, 1.7vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 9px; padding: 12px 19px; border: 1px solid transparent; border-radius: 999px; font-size: .9rem; font-weight: 700; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--blue); box-shadow: 0 9px 20px rgb(22 118 210 / 20%); }
.button-primary:hover { color: white; background: var(--blue-deep); }
.button-dark { color: white; background: var(--navy); }
.button-dark:hover { color: white; background: var(--blue-deep); }
.button-outline { border-color: var(--line); color: var(--ink); background: var(--surface-overlay); }
.button-outline:hover { background: var(--surface); }
.button svg { width: 18px; height: 18px; }
.spaced-top { margin-top: 17px; }
.spaced-top-lg { margin-top: 28px; }
.eyebrow-light { color: #a6d9ff; }
.hero-note { display: flex; align-items: center; gap: 9px; margin-top: 20px; color: var(--muted); font-size: .79rem; }
.hero-note svg { width: 16px; height: 16px; color: var(--blue); }
.hero-visual { position: relative; width: min(100%, 430px); justify-self: center; padding: 16px; border: 1px solid rgb(255 255 255 / 85%); border-radius: 32px; background: var(--surface-frost); box-shadow: var(--shadow); transform: rotate(1.7deg); }
.hero-visual::before { position: absolute; z-index: -1; inset: 22px -16px -16px 20px; border-radius: 30px; content: ''; background: linear-gradient(145deg, var(--blue), var(--cyan)); transform: rotate(-4deg); }
.portrait-frame { position: relative; overflow: hidden; height: 465px; border-radius: 23px; background: #dbe9ef; }
.portrait-frame::after { position: absolute; inset: 46% 0 0; content: ''; background: linear-gradient(transparent, rgb(4 25 44 / 70%)); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.portrait-caption { position: absolute; z-index: 1; right: 23px; bottom: 20px; left: 23px; color: white; }
.portrait-caption span { display: block; color: rgb(255 255 255 / 78%); font-size: .8rem; }
.portrait-caption strong { display: block; font-family: Manrope, sans-serif; font-size: 1.12rem; }
.hero-logo-chip { position: absolute; top: 42px; left: -45px; display: flex; align-items: center; gap: 10px; padding: 9px 15px 9px 9px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); box-shadow: 0 12px 32px rgb(10 39 65 / 12%); transform: rotate(-2deg); }
.hero-logo-chip img { width: 41px; height: 41px; border-radius: 11px; object-fit: cover; }
.hero-logo-chip span { color: var(--muted); font-size: .72rem; }
.hero-logo-chip strong { display: block; color: var(--ink); font-size: .85rem; }
.hero-stats { position: relative; display: grid; gap: 1px; margin-top: 50px; border: 1px solid var(--line); border-radius: 17px; background: var(--line); grid-template-columns: repeat(3, 1fr); overflow: hidden; }
.hero-stat { padding: 18px 20px; background: var(--surface-stat); }
.hero-stat strong { display: block; color: var(--ink); font-family: Manrope, sans-serif; font-size: 1rem; }
.hero-stat span { color: var(--muted); font-size: .73rem; }

.trust-strip { border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-inner { display: flex; min-height: 81px; align-items: center; justify-content: space-between; gap: 20px; }
.trust-label { color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tech-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.tech-pill { padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: var(--paper); font-size: .78rem; font-weight: 600; }

.service-grid, .project-grid { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service-card, .project-card, .info-card { position: relative; padding: 29px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 7px 25px rgb(10 39 65 / 3%); transition: transform .22s ease, box-shadow .22s ease; }
.service-card:hover, .project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card { overflow: hidden; min-height: 280px; }
.service-card::after { position: absolute; right: -54px; bottom: -75px; width: 190px; height: 190px; border-radius: 50%; content: ''; background: rgb(22 118 210 / 5%); }
.icon-tile { display: grid; width: 53px; height: 53px; place-items: center; border-radius: 16px; color: var(--blue-deep); background: var(--soft-blue); }
.icon-tile svg { width: 25px; height: 25px; }
.icon-tile.orange { color: #b96c10; background: var(--soft-orange); }
.service-card h3, .project-card h3 { margin: 20px 0 7px; font-family: Manrope, sans-serif; font-size: 1.27rem; font-weight: 800; letter-spacing: -.035em; }
.service-card p, .project-card p { margin: 0; color: var(--muted); }
.text-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 7px; margin-top: 21px; color: var(--blue-deep); font-size: .88rem; font-weight: 700; }
.text-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(3px); }
.service-note { margin: 18px 0 0; color: var(--muted); font-size: .79rem; }

.project-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project-card { display: flex; min-height: 270px; flex-direction: column; }
.project-card p { font-size: .92rem; }
.project-card .tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; padding-top: 23px; }
.tag { padding: 5px 9px; border-radius: 7px; color: var(--ink-soft); background: var(--soft-gray); font-size: .7rem; font-weight: 600; }
.project-number { position: absolute; top: 23px; right: 24px; color: #9eb2c3; font-family: Manrope, sans-serif; font-size: .75rem; font-weight: 700; }
.project-status { display: inline-flex; align-self: flex-start; margin-top: 13px; padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .68rem; }
.surface-blue { background: var(--soft-blue-deep); }

.split-feature { display: grid; align-items: center; gap: 65px; grid-template-columns: 1fr 1fr; }
.feature-art { position: relative; min-height: 370px; overflow: hidden; border-radius: 30px; background: linear-gradient(140deg, #0b2b47, #0b5eb5); }
.feature-art::before, .feature-art::after { position: absolute; border: 1px solid rgb(255 255 255 / 14%); border-radius: 50%; content: ''; }
.feature-art::before { top: -145px; right: -65px; width: 430px; height: 430px; box-shadow: 0 0 0 35px rgb(255 255 255 / 4%), 0 0 0 80px rgb(255 255 255 / 3%); }
.feature-art::after { bottom: -160px; left: -120px; width: 390px; height: 390px; }
.feature-art-inner { position: absolute; z-index: 1; right: 30px; bottom: 30px; left: 30px; color: white; }
.feature-art-inner span { color: #a6d9ff; font-size: .79rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.feature-art-inner strong { display: block; max-width: 360px; margin-top: 10px; font-family: Manrope, sans-serif; font-size: 2rem; letter-spacing: -.04em; line-height: 1.15; }
.feature-copy h2 { margin: 0; font-family: Manrope, sans-serif; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.055em; line-height: 1.1; }
.feature-copy > p { color: var(--muted); font-size: 1.02rem; }
.feature-list { display: grid; gap: 12px; margin: 25px 0 30px; padding: 0; list-style: none; }
.feature-list li { display: flex; align-items: flex-start; gap: 11px; color: var(--ink-soft); }
.check { display: grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; margin-top: 2px; border-radius: 50%; color: #0b6b52; background: var(--soft-green); font-size: .8rem; font-weight: 700; }

.cta-band { position: relative; overflow: hidden; padding: 65px 0; color: white; background: var(--navy); }
.cta-band::after { position: absolute; top: -175px; right: -110px; width: 420px; height: 420px; border: 1px solid rgb(255 255 255 / 11%); border-radius: 50%; content: ''; box-shadow: 0 0 0 43px rgb(255 255 255 / 4%), 0 0 0 88px rgb(255 255 255 / 3%); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-inner h2 { max-width: 620px; margin: 0; font-family: Manrope, sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -.05em; line-height: 1.1; }
.cta-inner p { margin: 12px 0 0; color: #bed1df; }
.cta-inner .button { flex: 0 0 auto; color: var(--navy); background: var(--surface); }

.page-hero { padding: 67px 0 58px; background: linear-gradient(118deg, #eff7ff, #f8fbff 70%, #edf8fa); }
.breadcrumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; color: var(--muted); font-size: .82rem; }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs span[aria-hidden='true'] { color: #9aabba; }
.page-intro { max-width: 800px; }
.page-intro h1 { font-size: clamp(2.5rem, 5.5vw, 4.45rem); }
.page-intro .page-title { margin: 0; font-family: Manrope, 'DM Sans', sans-serif; font-size: clamp(2.5rem, 5.5vw, 4.45rem); font-weight: 800; letter-spacing: -.055em; line-height: 1.08; }
.page-intro > p { max-width: 690px; margin: 18px 0 0; color: var(--ink-soft); font-size: 1.12rem; }
.page-content { padding: 66px 0 94px; }
.content-grid { display: grid; gap: 48px; grid-template-columns: minmax(0, 1.6fr) minmax(260px, .8fr); }
.prose h2 { margin: 0 0 12px; font-family: Manrope, sans-serif; font-size: 1.7rem; letter-spacing: -.04em; }
.prose h2:not(:first-child) { margin-top: 35px; }
.prose p { color: var(--ink-soft); }
.prose ul { display: grid; gap: 11px; padding-left: 22px; color: var(--ink-soft); }
.info-card h3 { margin: 0 0 14px; font-family: Manrope, sans-serif; font-size: 1.05rem; }
.info-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.info-card + .info-card { margin-top: 18px; }
.mini-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.notice { padding: 17px 19px; border-left: 3px solid var(--orange); border-radius: 0 12px 12px 0; color: var(--notice-color); background: var(--notice-surface); font-size: .9rem; }
.contact-cards { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.contact-card { padding: 25px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.contact-card h2 { margin: 16px 0 6px; font-family: Manrope, sans-serif; font-size: 1.13rem; }
.contact-card p { margin: 0; color: var(--muted); }
.contact-card a.inline-link { display: inline-block; margin-top: 14px; color: var(--blue-deep); font-weight: 700; }
.placeholder { padding: 2px 6px; border: 1px dashed #e6b35e; border-radius: 5px; color: #805110; background: #fff7e8; font-size: .9em; }
.about-grid { display: grid; align-items: center; gap: 54px; grid-template-columns: .8fr 1.2fr; }
.about-photo { overflow: hidden; max-height: 510px; border: 10px solid white; border-radius: 25px; box-shadow: var(--shadow); }
.about-photo img { width: 100%; height: 510px; object-fit: cover; object-position: 50% 24%; }
.skill-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.skill-card { padding: 17px 18px; border: 1px solid var(--line); border-radius: 15px; background: var(--surface); }
.skill-card strong { display: block; font-family: Manrope, sans-serif; font-size: .94rem; }
.skill-card span { color: var(--muted); font-size: .78rem; }
.project-list { display: grid; gap: 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.site-footer { padding: 48px 0 25px; color: #d8e4ee; background: #071d31; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1.3fr .7fr .8fr; }
.footer-brand { display: flex; align-items: center; gap: 11px; color: white; }
.footer-brand img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.footer-brand strong { font-family: Manrope, sans-serif; }
.footer-about { max-width: 340px; margin: 15px 0 0; color: #9fb3c4; font-size: .86rem; }
.footer-col h2 { margin: 0 0 13px; color: white; font-family: Manrope, sans-serif; font-size: .94rem; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: #9fb3c4; font-size: .85rem; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 35px; padding-top: 19px; border-top: 1px solid rgb(255 255 255 / 12%); color: #8ea4b6; font-size: .76rem; }
.floating-whatsapp { position: fixed; z-index: 18; right: 22px; bottom: 22px; display: grid; width: 58px; height: 58px; place-items: center; border: 3px solid white; border-radius: 50%; color: white; background: #1faf67; box-shadow: 0 8px 22px rgb(15 115 67 / 28%); transition: transform .2s ease; }
.floating-whatsapp:hover { transform: translateY(-3px) scale(1.04); }
.floating-whatsapp svg { width: 25px; height: 25px; }
.print-button { cursor: pointer; }
.cv-sheet { max-width: 850px; margin: 0 auto; padding: 45px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.cv-sheet h2 { margin: 25px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); color: var(--blue-deep); font-family: Manrope, sans-serif; font-size: .88rem; letter-spacing: .07em; text-transform: uppercase; }
.cv-sheet p, .cv-sheet li { color: var(--ink-soft); }
.cv-sheet ul { padding-left: 20px; }
.cv-head { padding-bottom: 20px; border-bottom: 2px solid var(--navy); }
.cv-head h1 { margin: 0; font-family: Manrope, sans-serif; font-size: 2.4rem; letter-spacing: -.05em; }
.cv-head p { margin: 5px 0; }
.cv-contact { color: var(--muted) !important; font-size: .86rem; }
.cv-block { margin-top: 19px; }
.cv-block h2 { margin-top: 0; }
.cv-block p { margin: 7px 0; font-size: .91rem; }
.cv-job-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 14px; }
.cv-job-head strong { font-family: Manrope, sans-serif; }
.cv-job-head span { color: var(--muted); font-size: .82rem; }
.cv-bullets { display: grid; gap: 5px; margin: 8px 0 0; padding-left: 18px; font-size: .88rem; }
.cv-skills { display: grid; gap: 7px 22px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cv-skills p { margin: 0; font-size: .84rem; }
.cv-projects { display: grid; gap: 11px 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cv-project { break-inside: avoid; }
.cv-project strong { display: block; color: var(--ink); font-family: Manrope, sans-serif; font-size: .86rem; }
.cv-project span { display: block; color: var(--muted); font-size: .78rem; line-height: 1.45; }
.cv-bottom-grid { display: grid; gap: 30px; grid-template-columns: 1fr 1fr; }

.theme-toggle { display: inline-flex; min-height: 40px; flex: 0 0 auto; align-items: center; justify-content: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); background: var(--surface); font-size: .78rem; font-weight: 700; cursor: pointer; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.theme-toggle:hover { transform: translateY(-1px); border-color: var(--blue); }
.theme-toggle span:first-child { color: var(--blue-deep); font-size: 1rem; line-height: 1; }
:root[data-theme="dark"] { color-scheme: dark; --ink: #e6f0f8; --ink-soft: #c3d4e2; --muted: #9bb0c1; --navy: #061727; --blue: #53b8ed; --blue-deep: #80cdf5; --cyan: #43c8d9; --paper: #0b1d2e; --white: #f2f7fb; --line: #294157; --line-soft: rgb(177 204 224 / 16%); --surface: #11283d; --surface-header: rgb(7 24 40 / 96%); --surface-overlay: rgb(18 42 62 / 88%); --surface-frost: rgb(17 40 60 / 82%); --surface-stat: rgb(17 40 60 / 92%); --soft-blue: #17344d; --soft-blue-deep: #132d44; --soft-gray: #1a3044; --soft-green: #173b37; --soft-orange: #45321e; --notice-surface: #392d1d; --notice-color: #f1d7a9; --shadow: 0 22px 65px rgb(0 0 0 / 28%); }
:root[data-theme="dark"] .hero { background: linear-gradient(118deg, #102941 0%, #0e2134 54%, #10272d 100%); }
:root[data-theme="dark"] .page-hero { background: linear-gradient(118deg, #102941, #0e2134 70%, #10272d); }
:root[data-theme="dark"] .site-header { border-bottom-color: var(--line-soft); }
:root[data-theme="dark"] .brand img { border-color: #294157; }
:root[data-theme="dark"] .hero-logo-chip { border-color: var(--line); }
:root[data-theme="dark"] .portrait-frame { background: #18354c; }
:root[data-theme="dark"] .icon-tile { color: #8acfff; background: #17344d; }
:root[data-theme="dark"] .icon-tile.orange { color: #ffd08a; background: #45321e; }
:root[data-theme="dark"] .tag { color: var(--ink-soft); background: #1a3044; }
:root[data-theme="dark"] .surface-blue { background: #0d2235; }
:root[data-theme="dark"] .notice { border-left-color: var(--orange); }
:root[data-theme="dark"] .placeholder { border-color: #846532; color: #f0d49e; background: #392d1d; }
:root[data-theme="dark"] .about-photo { border-color: #11283d; }
:root[data-theme="dark"] .menu-toggle { color: var(--ink); background: var(--surface); }
:root[data-theme="dark"] .primary-nav { background: var(--surface-header); }
:root[data-theme="dark"] .cta-inner .button { color: #09233b; background: #f2f7fb; }
@media (max-width: 720px) { .theme-toggle { min-height: 42px; padding-inline: 10px; } }
@media (max-width: 900px) {
  .primary-nav { gap: 13px; }
  .primary-nav a { font-size: .8rem; }
  .hero-grid { gap: 42px; grid-template-columns: 1.1fr .9fr; }
  .portrait-frame { height: 400px; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-feature { gap: 38px; }
}
@media (max-width: 720px) {
  .container { width: min(var(--content), calc(100% - 34px)); }
  .header-inner { min-height: 70px; }
  .menu-toggle { display: inline-flex; }
  .primary-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; align-items: stretch; gap: 0; padding: 11px 17px 18px; border-bottom: 1px solid var(--line); background: var(--surface); box-shadow: 0 14px 24px rgb(10 39 65 / 8%); }
  .primary-nav.is-open { display: flex; flex-direction: column; }
  .primary-nav a { padding: 12px 5px; font-size: .95rem; }
  .primary-nav .nav-cta { margin-top: 6px; padding: 12px 16px; text-align: center; }
  .hero { padding: 45px 0 57px; }
  .hero-grid { gap: 42px; grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.8rem, 12vw, 4.3rem); }
  .hero-visual { width: min(82%, 390px); }
  .portrait-frame { height: min(105vw, 430px); }
  .hero-logo-chip { left: -26px; }
  .hero-stats { margin-top: 40px; }
  .hero-stat { padding: 13px 10px; text-align: center; }
  .hero-stat strong { font-size: .85rem; }
  .hero-stat span { font-size: .67rem; }
  .trust-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 20px; }
  .tech-list { justify-content: flex-start; }
  .section { padding: 68px 0; }
  .service-grid, .project-grid, .contact-cards, .project-list { grid-template-columns: 1fr; }
  .service-card { min-height: unset; }
  .project-card { min-height: 235px; }
  .split-feature, .content-grid, .about-grid { gap: 34px; grid-template-columns: 1fr; }
  .feature-art { min-height: 300px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .page-hero { padding: 45px 0 43px; }
  .page-content { padding: 46px 0 70px; }
  .about-photo { max-width: 430px; }
  .about-photo img { height: 440px; }
  .footer-grid { gap: 26px; grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .floating-whatsapp { right: 15px; bottom: 15px; width: 54px; height: 54px; }
}
@media (max-width: 420px) {
  .brand-copy span { font-size: .61rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .tech-list { gap: 7px; }
  .tech-pill { padding: 7px 10px; font-size: .73rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > :first-child { grid-column: auto; }
  .cv-sheet { padding: 25px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
@media print {
  @page { size: A4; margin: 13mm; }
  body { background: var(--surface); }
  .site-header, .site-footer, .floating-whatsapp, .skip-link, .page-hero, .cv-actions { display: none !important; }
  .page-content { padding: 0; }
  .cv-sheet { max-width: none; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
  .cv-sheet h2 { break-after: avoid; }
  .cv-sheet { font-size: 9.5pt; }
  .cv-sheet li, .cv-sheet p { font-size: 9.5pt; }
  .cv-block, .cv-job-head, .cv-bottom-grid { break-inside: avoid; }
  .cv-projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cv-project span { color: #404c57; }
  a { color: inherit; }
}

.map-full-width { width: 100%; margin-top: 38px; }
.map-full-width h2 { margin: 0 0 14px; font-family: Manrope, sans-serif; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.04em; }
.map-embed { position: relative; width: 100%; height: clamp(300px, 52vw, 520px); overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface-blue); }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
