/* Facundo Quiroga — v2.0 (Seuweb v3 depth: CSS vars, glass, tilt/reveals, cinematic scroll; deployed as srxwezt) */
:root {
  --bg: #f6f5f2;
  --surface: #ffffff;
  --surface-2: #f0efec;
  --text: #1c1917;
  --muted: #6b6560;
  --border: rgba(28, 25, 23, 0.08);
  --accent: #1d4ed8;
  --accent-soft: #dbeafe;

  /* === ELEVATED SEUWEB DEPTH v3 — volumetric layers, luxury glass, cinematic authority (non-destructive) === */
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.05), 0 2px 4px rgba(0,0,0,0.03);
  --shadow-md: 0 8px 24px rgba(28, 25, 23, 0.09), 0 20px 50px -12px rgba(0,0,0,0.12);
  --shadow-lg: 0 30px 70px -15px rgba(0,0,0,0.18), 0 10px 30px -10px rgba(28,25,23,0.08);
  --shadow-vol: 0 2px 4px rgba(0,0,0,0.04), 0 12px 32px -4px rgba(0,0,0,0.1), 0 30px 60px -15px rgba(0,0,0,0.16);
  --glass: rgba(255,255,255,0.82);
  --glass-border: rgba(255,255,255,0.65);

  --radius: 16px;
  --radius-sm: 10px;
  --max: 1180px;
  --sidebar: 300px;
  --font: "Instrument Sans", system-ui, -apple-system, sans-serif;

  /* Luxury type + hierarchy */
  --h1-size: 1.15rem;
  --section-title: 1.55rem;
  --tracking-tight: -0.018em;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
h1, h2, h3 { line-height: 1.2; margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ── Topbar ── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 245, 242, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s;
}
.topbar.is-scrolled { box-shadow: var(--shadow-md); }
.topbar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  height: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.brand:hover { text-decoration: none; }
.brand__flag { border-radius: 4px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  flex-wrap: wrap;
}
.nav a {
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  position: relative;
  transition: color 0.18s cubic-bezier(0.22, 1, 0.36, 1), background 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav a:hover,
.nav a.is-active {
  color: var(--text);
  background: var(--surface);
  text-decoration: none;
}
/* Professional animated active nav indicator */
.nav a.is-active::after {
  content: '';
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 2px;
  height: 1px;
  background: var(--accent);
  opacity: 0.85;
  transform: scaleX(1);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav a:not(.is-active)::after {
  transform: scaleX(0.3);
  opacity: 0;
}
.nav__book {
  background: #2383e2 !important;
  color: #fff !important;
  margin-left: 4px;
  white-space: nowrap;
  font-size: 12px !important;
}
.nav__book:hover { background: #1a6fc9 !important; color: #fff !important; }
.nav__cv {
  background: var(--text) !important;
  color: #fff !important;
  margin-left: 4px;
  white-space: nowrap;
  font-size: 12px !important;
}
.nav__cv:hover { background: #000 !important; color: #fff !important; }

/* ── Layout ── */
.page { padding: 28px 20px 96px; }
.hero__grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: var(--sidebar) 1fr;
  gap: 32px;
  align-items: start;
}

.sidebar { position: sticky; top: 76px; }
.profile-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 16px;
  transition: box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1), transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  opacity: 0.98;
}
.profile-card.is-visible {
  opacity: 1;
}
.profile-card:hover {
  box-shadow: var(--shadow-md);
}
.profile-card__photo {
  width: 120px;
  height: 120px;
  margin: 18px auto 14px;
  object-fit: contain;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.profile-card__meta { padding: 0 18px 18px; text-align: center; }
.profile-card__meta h1 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.25;
}
.profile-card__tagline {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 8px;
  line-height: 1.4;
}
.profile-card__location {
  font-size: 12px;
  margin: 0;
  color: var(--muted);
}

.sidebar-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 12px;
}
.sidebar-block h2 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 10px;
}
.contact-link { font-size: 14px; word-break: break-all; }
.sidebar-btn {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: #2383e2;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background 0.18s cubic-bezier(0.22, 1, 0.36, 1), transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.sidebar-btn:hover {
  background: #1a6fc9;
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(35, 131, 226, 0.25);
}
.sidebar-btn:active {
  transform: translateY(0);
  transition-duration: 60ms;
}
.list-plain li {
  font-size: 14px;
  color: var(--text);
  padding: 3px 0;
}
.lang-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 4px 0;
}
.lang-name { font-weight: 500; }
.stars { color: #f59e0b; font-size: 12px; letter-spacing: 1px; }
.stars .half-star {
  display: inline-block;
  width: 0.5em;
  overflow: hidden;
  vertical-align: bottom;
}

/* ── Main column ── */
.intro-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1), transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.intro-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.intro-card p {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--text);
}
.intro-card p:last-child { margin-bottom: 0; }

.section { margin-bottom: 44px; scroll-margin-top: 72px; }
.section__head {
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.section__head h2 {
  font-size: 1.35rem;
  font-weight: 700;
}

.region-block { margin-bottom: 28px; }
.region-block__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text);
}
.region-block__badge {
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: var(--surface-2);
  padding: 3px 10px;
  border-radius: 999px;
}
.flag { font-size: 1.1em; }

/* ── Jobs ── */
.job-grid {
  display: grid;
  gap: 14px;
}
.job-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.2s;
  will-change: transform;
}
.job-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(28, 25, 23, 0.14);
}
.job-card:active {
  transform: translateY(-1px);
  transition-duration: 80ms;
}
.job-card__logo {
  width: 88px;
  height: 72px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.2s;
}
.job-card:hover .job-card__logo {
  transform: translateY(-1px);
}
.job-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.job-card:hover .job-card__logo img {
  transform: scale(1.015);
}
.job-card__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--surface-2), #e7e5e0);
}
.job-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  margin-bottom: 8px;
}
.job-card__title {
  font-size: 1rem;
  font-weight: 700;
}
.job-card__dates {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.job-card__desc {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
}
.job-card:hover .tag,
.skill-card:hover .tag {
  background: #e0edff;
}

/* ── Skills ── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.skill-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  transition: border-color 0.22s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.skill-card:hover {
  border-color: rgba(29, 78, 216, 0.28);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.skill-card__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.skill-card__icon img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.skill-card:hover .skill-card__icon img {
  transform: scale(1.04);
}
.skill-card__emoji {
  font-size: 32px;
  line-height: 1;
}
.skill-card__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.skill-card__title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.skill-card__cat {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface-2);
  padding: 2px 8px;
  border-radius: 999px;
}

/* ── Projects ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.2s;
}
.project-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: rgba(28, 25, 23, 0.13);
}
.project-card:active {
  transform: translateY(-1px);
}
.project-card__media {
  aspect-ratio: 4/3;
  background: linear-gradient(160deg, #1a0f2e 0%, #0f172a 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.project-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255,255,255,0.02), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.project-card:hover .project-card__media::after {
  opacity: 1;
}
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card:hover .project-card__media img {
  transform: scale(1.018);
}
.project-card__body { padding: 18px; }
.project-card__body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.project-card__body p {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* ── Education ── */
.edu-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.2s;
}
.edu-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
  border-color: rgba(28, 25, 23, 0.13);
}
.edu-card__logo {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-2);
}
.edu-card__logo img { width: 100%; object-fit: contain; }
.edu-card__body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.edu-card__body time {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}
.edu-card__body p {
  margin: 10px 0 0;
  font-size: 14px;
  color: var(--muted);
}

/* ── Reviews (Google Maps style) ── */
.section--reviews {
  --g-text: #202124;
  --g-muted: #70757a;
  --g-star: #fbbc04;
  --g-border: #dadce0;
  --g-font: Roboto, "Helvetica Neue", Arial, sans-serif;
  margin-inline: -12px;
  padding: 8px 12px 12px;
  border-radius: calc(var(--radius) + 6px);
}

.section__head--reviews {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 24px;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 20px;
}

.reviews-source {
  margin: 6px 0 0;
  font-size: 14px;
  color: var(--muted);
}

.reviews-places {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.reviews-place {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--surface);
  border: 1px solid var(--g-border);
  border-radius: 999px;
  color: var(--g-text);
  font-family: var(--g-font);
  font-size: 13px;
  text-decoration: none;
  transition: box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.2s, transform 0.22s;
}

.reviews-place:hover {
  text-decoration: none;
  border-color: #bdc1c6;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.15);
  transform: translateY(-1px);
}

.reviews-place__name { font-weight: 500; }

.reviews-place__rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--g-muted);
}

.reviews-place__score {
  font-weight: 500;
  color: var(--g-text);
}

.reviews-place__stars {
  color: var(--g-star);
  font-size: 14px;
}

.reviews-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface);
  border: 1px solid var(--g-border);
  border-radius: 999px;
  color: var(--g-text);
  font-family: var(--g-font);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.1);
}

.reviews-google-badge:hover {
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(60, 64, 67, 0.2);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--g-border);
  border-radius: 8px;
  overflow: hidden;
}

.g-review {
  font-family: var(--g-font);
  padding: 16px 20px 14px;
  border-bottom: 1px solid #e8eaed;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s;
}
.g-review:hover {
  transform: translateY(-1px);
  box-shadow: 0 1px 4px rgba(60, 64, 67, 0.08);
}

.g-review:nth-child(odd) {
  border-right: 1px solid #e8eaed;
}

.g-review:nth-last-child(-n+2) {
  border-bottom: none;
}

.g-review__header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.g-review__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  flex-shrink: 0;
  object-fit: cover;
}

.g-review__avatar--photo {
  display: block;
  background: #e8eaed;
}

.g-review__meta { min-width: 0; }

.g-review__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--g-text);
  line-height: 1.3;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.g-review__badge {
  font-size: 11px;
  font-weight: 400;
  color: var(--g-muted);
}

.g-review__sub {
  font-size: 12px;
  color: var(--g-muted);
  line-height: 1.3;
}

.g-review__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.g-review__stars {
  color: var(--g-star);
  font-size: 14px;
  letter-spacing: 1px;
  line-height: 1;
}

.g-review__dot {
  color: var(--g-muted);
  font-size: 12px;
}

.g-review__date {
  font-size: 12px;
  color: var(--g-muted);
}

.g-review__text {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.43;
  color: var(--g-text);
  font-weight: 400;
}

.g-review__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px 12px;
  margin-top: auto;
  padding-top: 4px;
}

.g-review__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: #1a73e8;
  text-decoration: none;
}

.g-review__link:hover {
  text-decoration: underline;
}

.g-review__g {
  flex-shrink: 0;
}

/* ── FAB CV ── */
.fab-cv {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 90;
  padding: 10px 16px;
  background: var(--text);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.fab-cv.is-visible {
  opacity: 0.92;
  transform: translateY(0);
  pointer-events: auto;
}
.fab-cv:hover {
  opacity: 1;
  transform: translateY(-2px);
  color: #fff;
  text-decoration: none;
}
.fab-cv:active {
  transform: translateY(-1px);
}

/* ── Landing ── */
body.landing {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(29, 78, 216, 0.08), transparent),
    var(--bg);
}
.landing__wrap {
  width: 100%;
  max-width: 420px;
  padding: 24px;
}
.landing__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 32px 28px 28px;
  text-align: center;
  box-shadow: var(--shadow-md);
  animation: landingCardIn 520ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes landingCardIn {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.landing__photo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 16px;
}
.landing__name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.landing__tagline {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 8px;
  line-height: 1.45;
}
.landing__location {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 24px;
}
.landing__langs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.lang-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 16px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.lang-btn span:first-child { font-size: 24px; line-height: 1; }
.lang-btn strong { font-size: 14px; font-weight: 700; }
.lang-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  transform: translateY(-2px);
  text-decoration: none;
}
.landing__cv {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.landing__cv a {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
}
.landing__cv a:hover {
  border-color: var(--text);
  color: var(--text);
}

/* ── Gate (PIN) ── */
.gate-page .landing__card.gate {
  text-align: center;
  padding: 36px 28px 32px;
}
.gate__icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 12px;
}
.gate__title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 8px;
}
.gate__lead {
  margin: 0 0 24px;
  font-size: 15px;
  color: var(--muted);
}
.gate__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}
.gate__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.gate__input {
  width: 100%;
  font: 600 1.5rem/1 var(--font);
  letter-spacing: 0.35em;
  text-align: center;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.gate__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.gate__input--error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}
.gate__error {
  margin: 0;
  font-size: 13px;
  color: #dc2626;
}
.gate__submit {
  margin-top: 4px;
  width: 100%;
  font: 600 15px/1 var(--font);
  padding: 14px 18px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: opacity 0.15s;
}
.gate__submit:hover:not(:disabled) { opacity: 0.92; }
.gate__submit:disabled { opacity: 0.6; cursor: wait; }
.gate__hint {
  margin: 20px 0 0;
  font-size: 13px;
  color: var(--muted);
}

/* ── Scroll reveals (professional, sober) ── */
@media (prefers-reduced-motion: no-preference) {
  .job-card,
  .skill-card,
  .project-card,
  .edu-card,
  .g-review,
  .sidebar-block,
  .reviews-place,
  .reviews-google-badge {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }

  .job-card.is-visible,
  .skill-card.is-visible,
  .project-card.is-visible,
  .edu-card.is-visible,
  .g-review.is-visible,
  .sidebar-block.is-visible,
  .reviews-place.is-visible,
  .reviews-google-badge.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Profile photo gentle entrance */
  .profile-card__photo {
    opacity: 0.2;
    transform: scale(0.985) translateY(6px);
    transition: opacity 580ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
  }
  .profile-card__photo.is-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
  }

  /* Section head subtle fade-in on reveal */
  .section__head {
    transition: opacity 0.3s ease;
  }
}

/* When JS is disabled or reduced motion, show everything */
@media (prefers-reduced-motion: reduce) {
  .job-card, .skill-card, .project-card, .edu-card, .g-review,
  .sidebar-block, .profile-card__photo {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .profile-card { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr; }
  .g-review:nth-child(odd) { border-right: none; }
  .g-review:not(:last-child) { border-bottom: 1px solid #e8eaed; }
  .section__head--reviews { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 16px;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 12px; }
  .topbar__inner { position: relative; }
  .sidebar { grid-template-columns: 1fr; }
  .profile-card__photo { width: 96px; height: 96px; margin: 14px auto 12px; }
  .profile-card__meta { padding: 0 14px 14px; text-align: center; }
  .job-card { grid-template-columns: 64px 1fr; }
  .job-card__logo { width: 64px; height: 56px; }
  .edu-card { grid-template-columns: 1fr; }
  .fab-cv { bottom: 14px; right: 14px; }
}
/* === ELEVATED SEUWEB DEPTH v3 — volumetric layers, luxury glass, cinematic authority (non-destructive) === */
:root {
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, 0.05), 0 2px 4px rgba(0,0,0,0.03);
  --shadow-md: 0 8px 24px rgba(28, 25, 23, 0.09), 0 20px 50px -12px rgba(0,0,0,0.12);
  --shadow-lg: 0 30px 70px -15px rgba(0,0,0,0.18), 0 10px 30px -10px rgba(28,25,23,0.08);
  --shadow-vol: 0 2px 4px rgba(0,0,0,0.04), 0 12px 32px -4px rgba(0,0,0,0.1), 0 30px 60px -15px rgba(0,0,0,0.16);
  --glass: rgba(255,255,255,0.82);
  --glass-border: rgba(255,255,255,0.65);
  --radius: 16px;
  --radius-sm: 10px;
  --tracking-tight: -0.018em;
}

/* Premium depth: sidebar + profile */
.sidebar {
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.06));
}
.profile-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-vol);
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1), box-shadow .4s;
}
.profile-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* RESULT CARDS — 5-10x impact */
.highlights-grid {
  gap: 14px;
}
.highlight-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-md);
  transition: transform .35s cubic-bezier(0.23,1,0.32,1), 
              box-shadow .35s cubic-bezier(0.23,1,0.32,1),
              border-color .2s;
  position: relative;
  overflow: hidden;
}
.highlight-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255,255,255,0.6), transparent 60%);
  pointer-events: none;
  opacity: .6;
}
.highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(29,78,216,0.2);
}

/* JOBS / EXPERIENCE — mini case study weight */
.job-card {
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  padding: 18px 20px;
  transition: transform .3s cubic-bezier(0.23,1,0.32,1), box-shadow .3s;
}
.job-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-vol);
  border-color: rgba(29,78,216,0.18);
}

/* TESTIMONIALS — heavier presence, premium weight */
.section--reviews .g-review,
.g-review {
  background: #fff;
  transition: transform .3s, box-shadow .3s, border-color .2s;
  border-bottom: 1px solid var(--border);
}
.g-review:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -8px rgba(0,0,0,0.08);
  z-index: 1;
  position: relative;
}
.g-review__text {
  font-size: 15px;
  line-height: 1.5;
  color: #222;
}

/* ── Reviews highlights (client phrases) ── */
.reviews-highlights {
  margin: 0 0 12px;
}
.reviews-highlights-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--g-muted);
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}
.reviews-highlights-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.review-highlight {
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 999px;
  background: #f8f9fa;
  color: var(--g-text);
  border: 1px solid var(--g-border);
  font-weight: 500;
  transition: background 0.15s, transform 0.15s;
}
.review-highlight:hover {
  background: #e8eaed;
  transform: translateY(-1px);
}

/* SKILLS */
.skill-card {
  box-shadow: var(--shadow-sm);
  transition: transform .25s cubic-bezier(0.23,1,0.32,1), box-shadow .25s, border-color .2s;
}
.skill-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(29,78,216,0.2);
}

/* PROJECTS — cinematic cards */
.projects-grid { gap: 18px; }
.project-card {
  box-shadow: var(--shadow-md);
  transition: transform .4s cubic-bezier(0.23,1,0.32,1), 
              box-shadow .4s cubic-bezier(0.23,1,0.32,1);
  will-change: transform;
}
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-vol);
}

/* Tilt container support (JS controlled, contained) */
.tilt {
  transition: transform 120ms cubic-bezier(0.23,1,0.32,1);
  transform-style: preserve-3d;
}

/* Tilt + Reveal composition via CSS vars */
.tilt,
.reveal {
  --mr-reveal-y: 14px;
  --mr-tilt-x: 0deg;
  --mr-tilt-y: 0deg;
}
.reveal.in-view {
  --mr-reveal-y: 0px;
}
.highlight-card.tilt,
.project-card.tilt {
  transition: transform 260ms cubic-bezier(0.23,1,0.32,1);
  transform:
    translateY(var(--mr-reveal-y))
    perspective(900px)
    rotateX(var(--mr-tilt-x))
    rotateY(var(--mr-tilt-y));
  transform-style: preserve-3d;
}

/* Reveal base */
.reveal {
  opacity: 0;
  transition: opacity .6s cubic-bezier(0.23,1,0.32,1), transform .7s cubic-bezier(0.23,1,0.32,1);
}
.reveal.in-view {
  opacity: 1;
}

/* Elegant subtle grain for premium film texture (very low) */
.film-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: 
    linear-gradient(rgba(0,0,0,0.008) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.008) 1px, transparent 1px);
  background-size: 3px 3px;
  z-index: 1;
  mix-blend-mode: multiply;
  display: none;
}
@media (min-width: 1024px) {
  .film-grain { display: block; }
}

/* Counter numeric polish */
.highlight-number {
  font-variant-numeric: tabular-nums;
}

/* Section breathing — generous premium spacing */
.section { margin-bottom: 56px; }
@media (min-width: 1024px) {
  .section { margin-bottom: 64px; }
}
