/*
Theme Name: Bastián Ruz Portfolio
Theme URI: https://github.com/
Author: Bastián Ruz
Description: Portafolio profesional para un ingeniero de software full-stack especializado en .NET, Azure, datos y plataformas empresariales.
Version: 2.2.4
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: bastian-portfolio
*/

:root {
  color-scheme: dark;
  --ink: #eef3ff;
  --muted: #9ca9bd;
  --bg: #071019;
  --bg-soft: #0b1622;
  --panel: rgba(17, 31, 45, 0.78);
  --line: rgba(170, 196, 220, 0.14);
  --blue: #64a8ff;
  --green: #79f2c0;
  --orange: #ffb86b;
  --radius: 22px;
  --page: 1180px;
}

html[data-theme="light"] {
  color-scheme: light;
  --ink: #0b293a;
  --muted: #3d6073;
  --bg: #a7cedf;
  --bg-soft: #b8d9e6;
  --panel: rgba(187, 220, 233, .82);
  --line: rgba(20, 72, 98, .2);
  --blue: #147da8;
  --green: #157d73;
  --orange: #9a6133;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 0%, rgba(38, 105, 161, .2), transparent 32rem),
    radial-gradient(circle at 0% 42%, rgba(30, 122, 96, .1), transparent 28rem),
    var(--bg);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: color .25s ease, background-color .25s ease;
}
html[data-theme="light"] body {
  background:
    radial-gradient(circle at 82% 4%, rgba(35,137,181,.24), transparent 35rem),
    radial-gradient(circle at 4% 36%, rgba(31,119,135,.13), transparent 31rem),
    radial-gradient(circle at 92% 74%, rgba(74,146,176,.12), transparent 34rem),
    linear-gradient(180deg, #a6cedf 0%, #b6d8e5 48%, #a2cada 100%);
  background-attachment: fixed;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { width: auto; height: auto; clip: auto; margin: 12px; padding: 10px 14px; background: #fff; color: #000; z-index: 9999; }
.site-shell { width: min(calc(100% - 40px), var(--page)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: .25s ease; }
.site-header.is-scrolled { background: rgba(7, 16, 25, .86); border-color: var(--line); backdrop-filter: blur(18px); }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 750; letter-spacing: -.02em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; color: #061018; background: linear-gradient(135deg, var(--green), var(--blue)); border-radius: 12px; font-size: 13px; font-weight: 900; }
.brand-name span { color: var(--muted); font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { position: relative; padding: 9px 2px; color: var(--muted); text-decoration: none; font-size: 15.5px; font-weight: 720; letter-spacing: -.01em; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ink); }
.nav-links > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--green)); box-shadow: 0 0 7px var(--blue), 0 0 13px rgba(121,242,192,.7); transform: scaleX(0); transform-origin: center; opacity: 0; transition: transform .22s ease, opacity .22s ease; }
.nav-links > a:not(.nav-cta):hover::after, .nav-links > a:not(.nav-cta):focus-visible::after { transform: scaleX(1); opacity: 1; }
.nav-cta { padding: 10px 16px; color: var(--ink) !important; border: 1px solid var(--line); border-radius: 99px; }
.nav-cta:hover, .nav-cta:focus-visible { border-color: var(--green); box-shadow: 0 0 0 1px rgba(121,242,192,.2), 0 0 16px rgba(121,242,192,.2); }
.language-switch { display: inline-flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.025); }
.language-option { display: inline-flex; align-items: center; gap: 5px; min-height: 30px; padding: 0 9px; color: var(--muted); border: 0; border-radius: 99px; background: transparent; font: inherit; font-size: 11px; font-weight: 800; cursor: pointer; }
.language-option:hover, .language-option:focus-visible { color: var(--ink); }
.language-option.is-active { color: #061018; background: var(--green); }
.theme-toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; align-items: center; width: 62px; height: 36px; padding: 3px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.025); color: var(--ink); cursor: pointer; isolation: isolate; }
.theme-toggle::after { content: ""; position: absolute; z-index: -1; left: 3px; top: 3px; width: 28px; height: 28px; border-radius: 50%; background: var(--green); transform: translateX(27px); transition: transform .25s ease, background .25s ease; }
.theme-toggle span { position: relative; z-index: 1; display: grid; place-items: center; font-size: 14px; filter: grayscale(.45); opacity: .65; transition: opacity .2s ease, filter .2s ease; }
.theme-toggle .theme-moon { opacity: 1; filter: none; }
html[data-theme="light"] .theme-toggle::after { transform: translateX(0); }
html[data-theme="light"] .theme-toggle .theme-sun { opacity: 1; filter: none; }
html[data-theme="light"] .theme-toggle .theme-moon { opacity: .55; filter: grayscale(.55); }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: white; font-size: 20px; }

.hero { min-height: calc(100vh - 78px); display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 68px; padding: 84px 0 76px; }
.eyebrow { margin: 0 0 20px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.hero h1 { max-width: 820px; margin: 0; font-size: clamp(52px, 7.4vw, 96px); line-height: .96; letter-spacing: -.065em; }
.hero h1 .gradient { color: transparent; background: linear-gradient(90deg, var(--blue), var(--green)); background-clip: text; -webkit-background-clip: text; }
.hero-lede { max-width: 720px; margin: 30px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.freelance-availability { display: flex; align-items: center; gap: 9px; margin: 20px 0 0; color: var(--muted); font-size: 14px; font-weight: 700; }
.freelance-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(121,242,192,.08), 0 0 12px rgba(121,242,192,.48); }
.button { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 1px solid var(--line); border-radius: 13px; text-decoration: none; font-size: 14px; font-weight: 800; overflow: hidden; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.button::before { content: ""; position: absolute; z-index: -1; top: -80%; bottom: -80%; left: -45%; width: 32%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent); transform: rotate(18deg) translateX(-240%); transition: transform .58s ease; }
.button:hover::before, .button:focus-visible::before { transform: rotate(18deg) translateX(620%); }
.button:hover { transform: translateY(-2px); border-color: rgba(121, 242, 192, .55); }
.button-primary { color: #061018; background: var(--green); border-color: var(--green); }
.button-ghost { background: rgba(255,255,255,.025); }
.hero-card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(145deg, rgba(18, 35, 51, .92), rgba(10, 22, 33, .72)); box-shadow: 0 30px 90px rgba(0,0,0,.28); overflow: hidden; }
.hero-card::before { content: ""; position: absolute; width: 190px; height: 190px; right: -70px; top: -90px; border: 1px solid rgba(100,168,255,.25); border-radius: 50%; box-shadow: 0 0 0 38px rgba(100,168,255,.03), 0 0 0 76px rgba(100,168,255,.02); }
.profile-photo { position: relative; z-index: 1; height: 330px; margin: -28px -28px 26px; overflow: hidden; border-bottom: 1px solid var(--line); background: #0a1722; }
.profile-photo::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(6,16,25,.92)); pointer-events: none; }
.profile-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .5s ease; }
.hero-card:hover .profile-photo img { transform: scale(1.025); filter: saturate(1.04) contrast(1.02); }
.profile-photo figcaption { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 20px; display: flex; flex-direction: column; }
.profile-photo figcaption strong { color: #fff; font-size: 18px; letter-spacing: -.02em; }
.profile-photo figcaption span { color: rgba(255,255,255,.72); font-size: 12px; }
.status { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 13px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px rgba(121,242,192,.09); }
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; }
.metric { min-height: 124px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.025); }
.metric strong { display: block; font-size: 33px; line-height: 1; letter-spacing: -.04em; }
.metric strong.counter-number { min-width: 3ch; font-variant-numeric: tabular-nums; transition: text-shadow .25s ease, filter .25s ease; }
.metric strong.counter-number.is-counting { filter: brightness(1.16); text-shadow: 0 0 16px currentColor; }
.metric strong.counter-number.is-complete { animation: counter-settle .42s cubic-bezier(.2,.8,.2,1); }
.metric:nth-child(4n+1) strong { color: var(--blue); }
.metric:nth-child(4n+2) strong { color: var(--green); }
.metric:nth-child(4n+3) strong { color: var(--orange); }
.metric:nth-child(4n+4) strong { color: var(--ink); }
.metric span { display: block; margin-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.now { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.now strong { color: var(--ink); }

.technology-section { position: relative; padding: 30px 0 38px; border-block: 1px solid var(--line); background: rgba(10,23,35,.66); overflow: hidden; }
.technology-title { margin: 0 0 18px; color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.technology-carousel { position: relative; width: 100%; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.technology-track { --carousel-gap: 16px; display: flex; width: max-content; gap: var(--carousel-gap); animation: technology-scroll 38s linear infinite; }
.technology-carousel:hover .technology-track, .technology-carousel:focus-within .technology-track { animation-play-state: paused; }
.technology-group { display: flex; flex: none; gap: var(--carousel-gap); }
.technology-item { display: flex; align-items: center; gap: 12px; min-width: 148px; padding: 13px 17px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.028); box-shadow: 0 10px 24px rgba(0,0,0,.08); transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease; }
.technology-item:hover { transform: translateY(-3px); border-color: rgba(121,242,192,.36); background: rgba(255,255,255,.055); box-shadow: 0 14px 30px rgba(0,0,0,.15), 0 0 18px rgba(100,168,255,.08); }
.technology-item img { flex: 0 0 auto; width: 42px; height: 42px; object-fit: contain; filter: drop-shadow(0 5px 8px rgba(0,0,0,.14)); transition: transform .22s ease, filter .22s ease; }
.technology-item:hover img { transform: scale(1.09) rotate(-2deg); filter: drop-shadow(0 6px 10px rgba(0,0,0,.2)); }
.technology-item span { color: var(--ink); font-size: 14px; font-weight: 760; white-space: nowrap; }

.section { position: relative; isolation: isolate; padding: 112px 0; overflow: hidden; }
.section > .site-shell { position: relative; z-index: 1; }
.section::before { content: ""; position: absolute; z-index: 0; width: 340px; height: 340px; right: -170px; top: 18%; border: 1px solid rgba(100,168,255,.1); border-radius: 50%; box-shadow: 0 0 0 54px rgba(100,168,255,.018), 0 0 0 108px rgba(121,242,192,.012); pointer-events: none; animation: ambient-drift 11s ease-in-out infinite alternate; }
.section:nth-of-type(even)::before { right: auto; left: -190px; top: 54%; animation-delay: -4s; }
#proyectos { background: radial-gradient(circle at 8% 16%, rgba(100,168,255,.075), transparent 24rem), radial-gradient(circle at 94% 78%, rgba(255,184,107,.055), transparent 22rem); }
#especialidades { background: radial-gradient(circle at 92% 22%, rgba(121,242,192,.07), transparent 25rem); }
#experiencia { background: radial-gradient(circle at 4% 46%, rgba(255,184,107,.065), transparent 24rem); }
#formacion { background: radial-gradient(circle at 95% 38%, rgba(100,168,255,.065), transparent 26rem); }
.section-heading { display: grid; grid-template-columns: .65fr 1.35fr; gap: 48px; align-items: end; margin-bottom: 52px; }
.section-heading h2 { margin: 0; font-size: clamp(36px, 5vw, 58px); line-height: 1.05; letter-spacing: -.045em; }
#proyectos .section-heading h2 { color: transparent; background: linear-gradient(90deg, var(--blue), var(--green)); background-clip: text; -webkit-background-clip: text; }
#especialidades .eyebrow { color: var(--blue); }
#experiencia .eyebrow { color: var(--orange); }
#formacion .eyebrow { color: var(--blue); }
.strengths-section .eyebrow { color: var(--green); }
#contacto .eyebrow { color: var(--orange); }
.section-heading p { max-width: 680px; margin: 0; color: var(--muted); font-size: 17px; }
.project-spotlight { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); overflow: hidden; }
.project-copy, .architecture { padding: clamp(28px, 5vw, 54px); background: var(--bg-soft); }
.project-label { color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.project-copy h3 { margin: 14px 0 18px; font-size: clamp(28px, 4vw, 44px); line-height: 1.08; letter-spacing: -.035em; }
.project-copy > p { color: var(--muted); }
.feature-list { display: grid; gap: 13px; margin: 28px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 24px; color: #c8d2e1; font-size: 14px; }
.feature-list li::before { content: "↳"; position: absolute; left: 0; color: var(--green); }
.arch-title { margin: 0 0 24px; color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.arch-flow { display: grid; gap: 12px; }
.arch-node { position: relative; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); }
.arch-node:not(:last-child)::after { content: "↓"; position: absolute; left: 50%; bottom: -19px; z-index: 2; color: var(--green); transform: translateX(-50%); }
.arch-node strong { display: block; font-size: 14px; }
.arch-node span { color: var(--muted); font-size: 12px; }

.projects-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.portfolio-project { position: relative; grid-column: span 4; display: flex; flex-direction: column; min-height: 330px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.018); overflow: hidden; transition: transform .18s ease-out, border-color .2s ease, background .2s ease, box-shadow .25s ease; transform-style: preserve-3d; will-change: transform; }
.portfolio-project::before { content: ""; position: absolute; z-index: 3; left: 26px; right: 26px; top: 0; height: 3px; border-radius: 0 0 6px 6px; background: var(--blue); opacity: .75; }
.portfolio-project:nth-child(3n+2)::before { background: var(--green); }
.portfolio-project:nth-child(3n+3)::before { background: var(--orange); }
.portfolio-project:nth-child(3n+1) .project-number, .portfolio-project:nth-child(3n+1) .project-label, .portfolio-project:nth-child(3n+1) .project-link { color: var(--blue); }
.portfolio-project:nth-child(3n+2) .project-number, .portfolio-project:nth-child(3n+2) .project-label, .portfolio-project:nth-child(3n+2) .project-link { color: var(--green); }
.portfolio-project:nth-child(3n+3) .project-number, .portfolio-project:nth-child(3n+3) .project-label, .portfolio-project:nth-child(3n+3) .project-link { color: var(--orange); }
.portfolio-project:hover { transform: translateY(-3px); border-color: rgba(100,168,255,.34); background: rgba(255,255,255,.03); }
.project-large { grid-column: span 6; min-height: 430px; }
.project-regtech { justify-content: space-between; background: radial-gradient(circle at 90% 5%, rgba(100,168,255,.2), transparent 18rem), linear-gradient(145deg, rgba(24,47,67,.9), rgba(11,25,38,.78)); }
.project-regtech::after { content: ""; position: absolute; right: -90px; top: -110px; width: 260px; height: 260px; border: 1px solid rgba(100,168,255,.2); border-radius: 50%; box-shadow: 0 0 0 38px rgba(100,168,255,.025), 0 0 0 76px rgba(100,168,255,.018); }
.project-number { position: relative; z-index: 1; color: var(--green); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.project-card-content { position: relative; z-index: 1; margin-top: auto; }
.project-card-content h3 { margin: 12px 0 13px; font-size: clamp(22px, 2.5vw, 32px); line-height: 1.12; letter-spacing: -.03em; }
.portfolio-project:not(.project-large) .project-card-content h3 { font-size: 23px; }
.project-card-content p { margin: 0; color: var(--muted); font-size: 14px; }
.project-visual { padding: 0; background: #0b1723; }
.project-image-link { position: relative; display: block; height: 240px; overflow: hidden; border-bottom: 1px solid var(--line); }
.project-image-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,16,25,.64)); pointer-events: none; }
.project-image-link img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s ease; }
.project-visual:hover .project-image-link img { transform: scale(1.045); }
.project-visual .project-card-content { padding: 26px 28px 30px; }
.project-link { display: inline-flex; margin-top: 18px; color: var(--green); text-decoration: none; font-size: 13px; font-weight: 800; }
.project-link:hover { text-decoration: underline; }

.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.skill-card { position: relative; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.018); overflow: hidden; transition: transform .18s ease-out, border-color .2s ease, box-shadow .25s ease; transform-style: preserve-3d; will-change: transform; }
.skill-card:hover { transform: translateY(-3px); }
.skill-card::before { content: ""; position: absolute; width: 90px; height: 90px; right: -42px; top: -42px; border-radius: 50%; background: var(--blue); opacity: .09; }
.skill-card:nth-child(3n+2)::before { background: var(--green); }
.skill-card:nth-child(3n+3)::before { background: var(--orange); }
.skill-card:nth-child(3n+1) .skill-index { color: var(--blue); }
.skill-card:nth-child(3n+2) .skill-index { color: var(--green); }
.skill-card:nth-child(3n+3) .skill-index { color: var(--orange); }
.skill-index { color: var(--green); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.skill-card h3 { margin: 30px 0 10px; font-size: 20px; }
.skill-card p { margin: 0; color: var(--muted); font-size: 14px; }

.timeline { border-top: 1px solid var(--line); }
.job { display: grid; grid-template-columns: 190px 1fr; gap: 48px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.job-period { color: var(--muted); font-size: 13px; }
.job h3 { margin: 0; font-size: 24px; letter-spacing: -.02em; }
.job-company { margin: 5px 0 14px; color: var(--blue); font-weight: 700; }
.job:nth-child(3n+2) .job-company { color: var(--green); }
.job:nth-child(3n+3) .job-company { color: var(--orange); }
.job p { max-width: 800px; margin: 0; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag { padding: 5px 10px; color: #bdc9d9; border: 1px solid var(--line); border-radius: 99px; font-size: 11px; }

.education-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.education-card { padding: 30px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.018); }
.education-card:nth-child(2) { border-color: rgba(100,168,255,.24); background: linear-gradient(145deg, rgba(37,68,104,.18), rgba(13,27,40,.58)); }
.education-card:nth-child(2) .skill-index { color: var(--blue); }
.certifications .skill-index { color: var(--orange); }
.education-provider { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; min-height: 93px; margin-bottom: 22px; }
.institution-logo { display: grid; place-items: center; width: 190px; height: 82px; padding: 8px 12px; border: 1px solid rgba(170,196,220,.24); border-radius: 15px; background: rgba(238,247,250,.94); box-shadow: inset 0 1px #fff, 0 10px 24px rgba(0,0,0,.15); overflow: hidden; transition: transform .24s ease, box-shadow .24s ease; }
.institution-logo-usm { width: 115px; height: 93px; padding: 5px 6px; }
.institution-logo-duoc { width: 240px; height: 86px; }
.education-provider .skill-index { padding-top: 18px; }
.institution-logo img, .provider-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.education-card:hover .institution-logo { transform: translateY(-2px) scale(1.025); box-shadow: inset 0 1px #fff, 0 14px 30px rgba(0,0,0,.2), 0 0 18px rgba(100,168,255,.15); }
.institution-icon { position: relative; display: inline-grid; flex: 0 0 auto; place-items: center; width: 54px; height: 54px; color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 15px; box-shadow: inset 0 1px rgba(255,255,255,.24), 0 10px 24px rgba(0,0,0,.18); font-size: 13px; font-weight: 900; letter-spacing: -.04em; transition: transform .24s ease, box-shadow .24s ease, filter .24s ease; }
.institution-icon::after { content: ""; position: absolute; inset: -5px; z-index: 0; border: 1px solid currentColor; border-radius: 19px; opacity: .14; pointer-events: none; }
.certificate-list li:hover .institution-icon { transform: translateY(-2px) scale(1.06); filter: saturate(1.08); box-shadow: inset 0 1px rgba(255,255,255,.28), 0 12px 28px rgba(0,0,0,.2), 0 0 16px rgba(100,168,255,.16); }
.institution-linkedin { background: #0a66c2; font-family: Arial, sans-serif; font-size: 17px; letter-spacing: -.06em; }
.education-card h3 { margin: 0 0 8px; font-size: 24px; line-height: 1.2; letter-spacing: -.025em; }
.education-card p { margin: 0; color: var(--muted); }
.featured-education { background: linear-gradient(145deg, rgba(31,76,94,.28), rgba(15,31,44,.74)); border-color: rgba(121,242,192,.22); }
.certifications { grid-column: 1 / -1; }
.certificate-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px; margin: 22px 0 0; padding: 0; list-style: none; }
.certificate-list li { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.certificate-list .certificate-provider { display: inline-flex; align-items: center; justify-content: flex-end; gap: 10px; color: var(--muted); text-align: right; font-size: 12px; }
.provider-logo { display: grid; flex: 0 0 auto; place-items: center; width: 38px; height: 34px; padding: 4px; border: 1px solid rgba(170,196,220,.22); border-radius: 9px; background: rgba(238,247,250,.94); box-shadow: inset 0 1px #fff, 0 6px 14px rgba(0,0,0,.13); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease; }
.provider-logo-udemy { width: 58px; }
.provider-logo-uc { width: 34px; height: 38px; }
.certificate-list li:hover .provider-logo { transform: translateY(-2px) scale(1.05); box-shadow: inset 0 1px #fff, 0 9px 18px rgba(0,0,0,.18), 0 0 12px rgba(100,168,255,.14); }
.certificate-provider .institution-icon { width: 32px; height: 32px; border-radius: 9px; font-size: 10px; }
.certificate-provider .institution-icon::after { inset: -3px; border-radius: 11px; }
.certificate-provider .institution-linkedin, .certificate-provider .institution-udemy { font-size: 13px; }
.strengths-section { padding-top: 36px; }
.strengths { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; padding: clamp(30px, 6vw, 62px); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.018); }
.strengths h2 { margin: 0; font-size: clamp(34px, 5vw, 54px); letter-spacing: -.045em; }
.strengths p { margin: 16px 0 0; color: var(--muted); }
.strength-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.strength-list li { position: relative; padding: 16px 16px 16px 42px; border: 1px solid var(--line); border-radius: 14px; color: #c8d2e1; font-size: 13px; }
.strength-list li::before { content: "✓"; position: absolute; left: 16px; color: var(--green); font-weight: 800; }

.contact { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; padding: clamp(32px, 6vw, 70px); border: 1px solid rgba(121,242,192,.22); border-radius: 28px; background: radial-gradient(circle at 92% 20%, rgba(255,184,107,.12), transparent 18rem), linear-gradient(135deg, rgba(37, 83, 79, .23), rgba(18, 37, 53, .65)); }
.contact h2 { max-width: 760px; margin: 0; font-size: clamp(34px, 5vw, 60px); line-height: 1.04; letter-spacing: -.05em; }
.contact p { max-width: 650px; margin: 18px 0 0; color: var(--muted); }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; }
.contact-links a, .contact-links span { position: relative; display: inline-flex; padding: 5px 0 8px; color: #cbd6e5; font-size: clamp(15px, 1.25vw, 16.5px); font-weight: 680; letter-spacing: -.01em; text-decoration: none; transition: color .2s ease, text-shadow .2s ease, transform .2s ease; }
.contact-links a::after, .contact-links span::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 99px; background: linear-gradient(90deg, var(--blue), var(--green)); box-shadow: 0 0 7px var(--blue), 0 0 13px rgba(121,242,192,.68); opacity: 0; transform: scaleX(0); transform-origin: center; transition: opacity .22s ease, transform .22s ease; }
.contact-links a:hover, .contact-links a:focus-visible, .contact-links span:hover { color: #fff; text-shadow: 0 0 12px rgba(121,242,192,.3); transform: translateY(-1px); }
.contact-links a:hover::after, .contact-links a:focus-visible::after, .contact-links span:hover::after { opacity: 1; transform: scaleX(1); }
.site-footer { padding: 36px 0; color: var(--muted); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-top: 30px; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

html[data-theme="light"] .site-header.is-scrolled { background: rgba(157,201,219,.9); }
html[data-theme="light"] .brand-mark, html[data-theme="light"] .button-primary, html[data-theme="light"] .language-option.is-active { color: #fff; }
html[data-theme="light"] .menu-toggle { color: var(--ink); }
html[data-theme="light"] .nav-links > a:not(.nav-cta)::after { background: linear-gradient(90deg, #1597c8, #35baa6); box-shadow: 0 0 7px rgba(21,151,200,.72), 0 0 13px rgba(53,186,166,.54); }
html[data-theme="light"] .freelance-dot { box-shadow: 0 0 0 5px rgba(21,125,115,.1), 0 0 11px rgba(21,125,115,.4); }
html[data-theme="light"] .hero-card { background: linear-gradient(145deg, rgba(195,226,238,.92), rgba(143,194,214,.78)); box-shadow: 0 30px 82px rgba(25,75,98,.2); }
html[data-theme="light"] .hero-card::before { right: -64px; top: 292px; border-color: rgba(9,92,128,.3); box-shadow: 0 0 0 38px rgba(9,110,148,.08), 0 0 0 76px rgba(9,110,148,.045); }
html[data-theme="light"] .profile-photo { background: #8dbbd0; }
html[data-theme="light"] .technology-section { background: linear-gradient(135deg, #96c3d6, #abd1df); border-color: rgba(20,72,98,.18); }
html[data-theme="light"] .technology-section::before { content: ""; position: absolute; width: 230px; height: 230px; right: 7%; top: -155px; border: 1px solid rgba(9,92,128,.24); border-radius: 50%; box-shadow: 0 0 0 36px rgba(9,110,148,.055), 0 0 0 72px rgba(9,110,148,.03); pointer-events: none; }
html[data-theme="light"] .technology-section > .site-shell { position: relative; z-index: 1; }
html[data-theme="light"] .technology-item { border-color: rgba(20,72,98,.17); background: rgba(197,227,238,.58); box-shadow: inset 0 1px rgba(226,244,249,.48), 0 10px 24px rgba(25,68,88,.09); }
html[data-theme="light"] .technology-item:hover { border-color: rgba(21,125,115,.4); background: rgba(214,237,244,.78); box-shadow: 0 14px 32px rgba(25,68,88,.14), 0 0 18px rgba(20,125,168,.12); }
html[data-theme="light"] .metric, html[data-theme="light"] .skill-card, html[data-theme="light"] .education-card, html[data-theme="light"] .portfolio-project { background-color: rgba(201,229,239,.68); box-shadow: inset 0 1px rgba(229,246,251,.48); }
html[data-theme="light"] .project-regtech { background: radial-gradient(circle at 90% 5%, rgba(20,125,168,.2), transparent 18rem), linear-gradient(145deg, rgba(185,222,235,.9), rgba(139,192,213,.72)); }
html[data-theme="light"] .project-regtech::after { border-color: rgba(8,105,148,.32); box-shadow: 0 0 0 38px rgba(8,121,170,.075), 0 0 0 76px rgba(17,131,110,.042); }
html[data-theme="light"] .project-visual { background: #9bc8d9; }
html[data-theme="light"] .project-copy, html[data-theme="light"] .architecture { background: #b8d9e6; }
html[data-theme="light"] .arch-node { background: rgba(20,80,105,.045); }
html[data-theme="light"] .tag { color: #31566b; background: rgba(215,237,244,.28); }
html[data-theme="light"] .feature-list li, html[data-theme="light"] .strength-list li { color: #294d60; }
html[data-theme="light"] #proyectos {
  background:
    radial-gradient(circle at 8% 14%, rgba(20,125,168,.14), transparent 28rem),
    radial-gradient(circle at 94% 82%, rgba(52,151,181,.1), transparent 25rem),
    linear-gradient(135deg, #9fc9da, #afd3e1);
  border-block: 1px solid rgba(20,72,98,.16);
}
html[data-theme="light"] #especialidades {
  background:
    radial-gradient(circle at 92% 18%, rgba(25,122,145,.13), transparent 28rem),
    linear-gradient(145deg, #a7cfdd, #b5d7e3);
  border-bottom: 1px solid rgba(20,72,98,.15);
}
html[data-theme="light"] #experiencia {
  background:
    radial-gradient(circle at 4% 42%, rgba(20,110,148,.13), transparent 28rem),
    linear-gradient(135deg, #9cc4d6, #aed1df);
  border-bottom: 1px solid rgba(20,72,98,.15);
}
html[data-theme="light"] #formacion {
  background:
    radial-gradient(circle at 95% 38%, rgba(20,125,168,.13), transparent 29rem),
    linear-gradient(145deg, #a6cddd, #b3d7e4);
  border-bottom: 1px solid rgba(20,72,98,.15);
}
html[data-theme="light"] .strengths-section {
  background:
    radial-gradient(circle at 8% 76%, rgba(25,122,145,.12), transparent 26rem),
    linear-gradient(135deg, #9ec7d8, #b0d3df);
  padding-top: 36px;
  border-bottom: 1px solid rgba(20,72,98,.15);
}
html[data-theme="light"] .education-card:nth-child(2) { background: linear-gradient(145deg, rgba(171,214,230,.82), rgba(196,226,237,.68)); }
html[data-theme="light"] #contacto { background: linear-gradient(135deg, #98c1d4, #aacddd); }
html[data-theme="light"] .portfolio-project,
html[data-theme="light"] .skill-card,
html[data-theme="light"] .education-card {
  border-color: rgba(20,72,98,.18);
  box-shadow: inset 0 1px rgba(229,246,251,.48), 0 14px 38px rgba(25,68,88,.1);
}
html[data-theme="light"] .section::before { border-color: rgba(8,99,137,.22); box-shadow: 0 0 0 54px rgba(8,121,170,.055), 0 0 0 108px rgba(17,131,110,.028); }
html[data-theme="light"] .portfolio-project:hover,
html[data-theme="light"] .skill-card:hover {
  background-color: rgba(218,238,245,.78);
  box-shadow: 0 20px 46px rgba(25,68,88,.16);
}
html[data-theme="light"] .timeline { display: block; border-top: 1px solid var(--line); }
html[data-theme="light"] .job {
  padding: 40px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
html[data-theme="light"] #proyectos .section-heading h2 { background-image: linear-gradient(90deg, #0f739e, #177f8d); }
html[data-theme="light"] #especialidades .eyebrow,
html[data-theme="light"] #experiencia .eyebrow,
html[data-theme="light"] #formacion .eyebrow,
html[data-theme="light"] .strengths-section > .site-shell > div > .eyebrow { color: #176d88; }
html[data-theme="light"] .portfolio-project:nth-child(3n+1)::before { background: #0879aa; box-shadow: 0 0 12px rgba(8,121,170,.46); opacity: .82; }
html[data-theme="light"] .portfolio-project:nth-child(3n+2)::before { background: #11836e; box-shadow: 0 0 12px rgba(17,131,110,.42); opacity: .82; }
html[data-theme="light"] .portfolio-project:nth-child(3n+3)::before { background: #a65b24; box-shadow: 0 0 12px rgba(166,91,36,.38); opacity: .82; }
html[data-theme="light"] .portfolio-project:nth-child(3n+1) .project-number,
html[data-theme="light"] .portfolio-project:nth-child(3n+1) .project-label,
html[data-theme="light"] .portfolio-project:nth-child(3n+1) .project-link { color: #086f9c; }
html[data-theme="light"] .portfolio-project:nth-child(3n+2) .project-number,
html[data-theme="light"] .portfolio-project:nth-child(3n+2) .project-label,
html[data-theme="light"] .portfolio-project:nth-child(3n+2) .project-link { color: #0d7563; }
html[data-theme="light"] .portfolio-project:nth-child(3n+3) .project-number,
html[data-theme="light"] .portfolio-project:nth-child(3n+3) .project-label,
html[data-theme="light"] .portfolio-project:nth-child(3n+3) .project-link { color: #92501f; }
html[data-theme="light"] .portfolio-project:nth-child(3n+1):hover { border-color: rgba(8,121,170,.42); box-shadow: 0 20px 46px rgba(8,92,132,.18); }
html[data-theme="light"] .portfolio-project:nth-child(3n+2):hover { border-color: rgba(17,131,110,.4); box-shadow: 0 20px 46px rgba(13,105,88,.16); }
html[data-theme="light"] .portfolio-project:nth-child(3n+3):hover { border-color: rgba(166,91,36,.38); box-shadow: 0 20px 46px rgba(139,75,30,.14); }
html[data-theme="light"] .portfolio-project:nth-child(3n+1) .tag { border-color: rgba(8,121,170,.22); }
html[data-theme="light"] .portfolio-project:nth-child(3n+2) .tag { border-color: rgba(17,131,110,.22); }
html[data-theme="light"] .portfolio-project:nth-child(3n+3) .tag { border-color: rgba(166,91,36,.2); }
html[data-theme="light"] .skill-card:nth-child(3n+1)::before { background: #0879aa; opacity: .11; }
html[data-theme="light"] .skill-card:nth-child(3n+2)::before { background: #11836e; opacity: .11; }
html[data-theme="light"] .skill-card:nth-child(3n+3)::before { background: #a65b24; opacity: .1; }
html[data-theme="light"] .skill-card:nth-child(3n+1) .skill-index { color: #086f9c; }
html[data-theme="light"] .skill-card:nth-child(3n+2) .skill-index { color: #0d7563; }
html[data-theme="light"] .skill-card:nth-child(3n+3) .skill-index { color: #92501f; }
html[data-theme="light"] .skill-card:nth-child(3n+1):hover { border-color: rgba(8,121,170,.4); }
html[data-theme="light"] .skill-card:nth-child(3n+2):hover { border-color: rgba(17,131,110,.38); }
html[data-theme="light"] .skill-card:nth-child(3n+3):hover { border-color: rgba(166,91,36,.35); }
html[data-theme="light"] .job:nth-child(3n+1) .job-company { color: #086f9c; }
html[data-theme="light"] .job:nth-child(3n+2) .job-company { color: #0d7563; }
html[data-theme="light"] .job:nth-child(3n+3) .job-company { color: #92501f; }
html[data-theme="light"] .featured-education { border-color: rgba(17,131,110,.3); background: radial-gradient(circle at 92% 8%, rgba(17,131,110,.12), transparent 17rem), linear-gradient(145deg, rgba(174,218,228,.82), rgba(193,225,235,.68)); }
html[data-theme="light"] .featured-education .skill-index { color: #0d7563; }
html[data-theme="light"] .education-card:nth-child(2) { border-color: rgba(8,121,170,.28); }
html[data-theme="light"] .certifications { border-color: rgba(166,91,36,.25); background: radial-gradient(circle at 96% 8%, rgba(166,91,36,.09), transparent 19rem), rgba(201,229,239,.68); }
html[data-theme="light"] .certifications .skill-index { color: #92501f; }
html[data-theme="light"] .strengths {
  position: relative;
  isolation: isolate;
  color: #eef9fd;
  border-color: rgba(220,242,249,.18);
  background: radial-gradient(circle at 90% 10%, rgba(116,205,231,.18), transparent 23rem), linear-gradient(135deg, #2b6680, #397f97);
  box-shadow: 0 24px 58px rgba(25,68,88,.22);
  overflow: hidden;
}
html[data-theme="light"] .strengths::before { content: ""; position: absolute; z-index: 0; width: 230px; height: 230px; left: -105px; bottom: -145px; border: 1px solid rgba(174,233,245,.28); border-radius: 50%; box-shadow: 0 0 0 38px rgba(174,233,245,.055), 0 0 0 76px rgba(174,233,245,.03); pointer-events: none; }
html[data-theme="light"] .strengths > * { position: relative; z-index: 1; }
html[data-theme="light"] .strengths .eyebrow { color: #aee9f5; }
html[data-theme="light"] .strengths p,
html[data-theme="light"] .strength-list li { color: rgba(238,249,253,.82); }
html[data-theme="light"] .strength-list li { border-color: rgba(220,242,249,.18); background: rgba(220,242,249,.07); }
html[data-theme="light"] .contact {
  position: relative;
  isolation: isolate;
  color: #eef9fd;
  border-color: rgba(174,233,245,.24);
  background: radial-gradient(circle at 92% 18%, rgba(116,205,231,.2), transparent 20rem), linear-gradient(135deg, #285f79, #397e96);
  box-shadow: 0 26px 62px rgba(25,68,88,.24);
  overflow: hidden;
}
html[data-theme="light"] .contact::before { content: ""; position: absolute; z-index: 0; width: 270px; height: 270px; right: -105px; top: -155px; border: 1px solid rgba(183,234,245,.3); border-radius: 50%; box-shadow: 0 0 0 44px rgba(183,234,245,.06), 0 0 0 88px rgba(183,234,245,.032); pointer-events: none; }
html[data-theme="light"] .contact > * { position: relative; z-index: 1; }
html[data-theme="light"] .contact .eyebrow { color: #b7eaf5; }
html[data-theme="light"] .contact p,
html[data-theme="light"] .contact-links a,
html[data-theme="light"] .contact-links span { color: rgba(238,249,253,.82); }
html[data-theme="light"] .contact-links a::after,
html[data-theme="light"] .contact-links span::after { background: linear-gradient(90deg, #64a8ff, #79f2c0); box-shadow: 0 0 7px rgba(100,168,255,.8), 0 0 13px rgba(121,242,192,.62); }
html[data-theme="light"] .contact-links a:hover,
html[data-theme="light"] .contact-links a:focus-visible,
html[data-theme="light"] .contact-links span:hover { color: #fff; }
html[data-theme="light"] .nav-links { color: var(--ink); }

/* Motion and interaction layer */
html.motion-ready .hero > div { animation: hero-enter .72s cubic-bezier(.2,.8,.2,1) both; }
html.motion-ready .hero-card { animation: hero-card-enter .82s .1s cubic-bezier(.2,.8,.2,1) both; }
html.motion-ready .metric { animation: metric-enter .56s cubic-bezier(.2,.8,.2,1) both; }
html.motion-ready .metric:nth-child(1) { animation-delay: .34s; }
html.motion-ready .metric:nth-child(2) { animation-delay: .42s; }
html.motion-ready .metric:nth-child(3) { animation-delay: .5s; }
html.motion-ready .metric:nth-child(4) { animation-delay: .58s; }
html.motion-ready .reveal-item { opacity: 0; filter: blur(4px); transform: translateY(28px); transition: opacity .62s cubic-bezier(.2,.8,.2,1), transform .62s cubic-bezier(.2,.8,.2,1), filter .62s ease; transition-delay: var(--reveal-delay, 0ms); }
html.motion-ready .reveal-item.is-visible { opacity: 1; filter: none; transform: translateY(0); }
html.motion-ready .motion-card.is-tilting { transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(-4px); box-shadow: 0 22px 54px rgba(0,0,0,.19); }
.project-number, .project-card-content, .skill-card > * { transform: translateZ(18px); }
.project-image-link img { will-change: transform; }
.status-dot, .freelance-dot { animation: availability-pulse 2.6s ease-in-out infinite; }
.brand-mark { animation: brand-breathe 4.5s ease-in-out infinite; }

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-card-enter {
  from { opacity: 0; transform: translateY(28px) scale(.975); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes metric-enter {
  from { opacity: 0; transform: translateY(14px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes counter-settle {
  0% { transform: scale(1); }
  48% { transform: scale(1.1); text-shadow: 0 0 20px currentColor; }
  100% { transform: scale(1); text-shadow: none; }
}
@keyframes availability-pulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.16); filter: brightness(1.22); }
}
@keyframes brand-breathe {
  0%, 100% { box-shadow: 0 0 0 rgba(121,242,192,0); }
  50% { box-shadow: 0 0 18px rgba(121,242,192,.2); }
}
@keyframes ambient-drift {
  from { transform: translate3d(0,-12px,0) scale(.96); opacity: .7; }
  to { transform: translate3d(-28px,24px,0) scale(1.06); opacity: 1; }
}
@keyframes technology-scroll {
  to { transform: translateX(calc(-50% - 8px)); }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 42px; padding-top: 70px; }
  .hero-card { max-width: 620px; }
  .section-heading, .project-spotlight { grid-template-columns: 1fr; }
  .skills { grid-template-columns: 1fr 1fr; }
  .education-grid { grid-template-columns: 1fr; }
  .certifications { grid-column: auto; }
  .portfolio-project { grid-column: span 6; }
  .project-large { grid-column: 1 / -1; }
  .strengths { grid-template-columns: 1fr; gap: 34px; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) {
  .brand-name span { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .nav-links { display: none; position: absolute; top: 70px; left: 14px; right: 14px; padding: 18px; flex-direction: column; align-items: stretch; background: #0d1a27; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 7px; }
  .language-switch { align-self: flex-start; margin: 4px 7px; }
  .theme-toggle { align-self: flex-start; margin: 2px 7px; }
  html[data-theme="light"] .nav-links { background: rgba(180,217,231,.98); }
}
@media (max-width: 680px) {
  .site-shell { width: min(calc(100% - 28px), var(--page)); }
  .hero h1 { font-size: clamp(46px, 15vw, 70px); }
  .section { padding: 82px 0; }
  .section-heading { gap: 18px; }
  .skills { grid-template-columns: 1fr; }
  .portfolio-project, .project-large { grid-column: 1 / -1; min-height: 310px; }
  .project-image-link { height: 205px; }
  .education-grid, .certificate-list, .strength-list { grid-template-columns: 1fr; }
  .certifications { grid-column: auto; }
  .certificate-list li { align-items: flex-start; flex-direction: column; gap: 4px; }
  .certificate-list .certificate-provider { justify-content: flex-start; margin-top: 6px; text-align: left; }
  .education-provider { align-items: flex-start; flex-direction: column; }
  .education-provider { min-height: 0; }
  .education-provider .skill-index { padding-top: 0; }
  .institution-logo-usm { width: min(100%, 115px); }
  .institution-logo-duoc { width: min(100%, 240px); }
  .job { grid-template-columns: 1fr; gap: 10px; }
  .technology-section { padding: 24px 0 30px; }
  .technology-carousel { mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
  .technology-track { animation-duration: 32s; }
  .technology-item { min-width: 132px; padding: 11px 14px; }
  .technology-item img { width: 36px; height: 36px; }
  .footer-inner { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .technology-carousel { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
  .technology-track { animation: none; }
  html.motion-ready .reveal-item { opacity: 1; filter: none; transform: none; }
  html.motion-ready .motion-card.is-tilting { transform: none; }
}
