/* ══════════════════════════════════════════════════════════════════
   GUSTAVO ASENSIO · v2 — Gradient Mesh + Editorial
   ══════════════════════════════════════════════════════════════════ */

:root {
  --bg:        #07080f;
  --bg-1:      #0c0e1a;
  --bg-2:      #101220;
  --glass:     rgba(255,255,255,.04);
  --glass-b:   rgba(255,255,255,.08);
  --border:    rgba(255,255,255,.08);
  --border-h:  rgba(139,92,246,.4);

  --violet:    #8b5cf6;
  --violet-lt: #a78bfa;
  --cyan:      #38bdf8;
  --cyan-lt:   #7dd3fc;
  --green:     #34d399;

  --text-1:    #f1f5f9;
  --text-2:    #94a3b8;
  --text-3:    #475569;

  --ff:        'Syne', system-ui, sans-serif;
  --ff-body:   'Inter', system-ui, sans-serif;
  --ff-mono:   'JetBrains Mono', monospace;

  --r:   10px;
  --r-lg: 18px;
  --r-xl: 26px;
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ── RESET ─────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }

/* ── LAYOUT ────────────────────────────────────────────────────── */
.container { width: min(1140px, 100% - 3rem); margin-inline: auto; }
.section { padding: 8rem 0; }
.section-alt { background: var(--bg-1); }

/* ── MESH BACKGROUND ───────────────────────────────────────────── */
.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.mesh-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  animation: drift 18s ease-in-out infinite alternate;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #4c1d95, transparent 70%);
  top: -200px; left: -150px;
  animation-duration: 20s;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #0c4a6e, transparent 70%);
  top: 30%; right: -150px;
  animation-duration: 16s;
  animation-delay: -6s;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, #312e81, transparent 70%);
  bottom: -100px; left: 30%;
  animation-duration: 22s;
  animation-delay: -10s;
}
@keyframes drift {
  to { transform: translate(60px, 40px) scale(1.1); }
}

/* ── GRADIENT TEXT ─────────────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--violet-lt), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── ANIMATIONS ────────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── BUTTONS ───────────────────────────────────────────────────── */
.btn-main {
  display: inline-flex; align-items: center; gap: .5rem;
  background: linear-gradient(135deg, var(--violet), #6d28d9);
  color: #fff;
  padding: .85rem 2.2rem;
  border-radius: 50px;
  font-family: var(--ff);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  border: none;
  box-shadow: 0 0 30px rgba(139,92,246,.35);
  transition: all .3s var(--ease);
}
.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 50px rgba(139,92,246,.55);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent;
  color: var(--text-2);
  padding: .85rem 2.2rem;
  border-radius: 50px;
  font-family: var(--ff);
  font-size: .95rem;
  font-weight: 600;
  border: 1px solid var(--border);
  transition: all .3s var(--ease);
}
.btn-outline:hover {
  border-color: var(--violet);
  color: var(--violet-lt);
  transform: translateY(-3px);
}

/* ── TYPOGRAPHY HELPERS ────────────────────────────────────────── */
.section-eyebrow {
  font-family: var(--ff-mono);
  font-size: .75rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--violet-lt);
  margin-bottom: .9rem;
  display: block;
}
.section-title {
  font-family: var(--ff);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.section-sub {
  color: var(--text-2);
  max-width: 480px;
  margin-inline: auto;
}
.section-header { text-align: center; margin-bottom: 4.5rem; }

/* ══ NAV ═════════════════════════════════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1.5rem 0;
  transition: all .4s var(--ease);
}
#navbar.scrolled {
  background: rgba(7,8,15,.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.nav-inner {
  width: min(1140px, 100% - 3rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--ff);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-1);
}
.logo-bracket { color: var(--violet-lt); }

.nav-links {
  display: flex; align-items: center; gap: 2.5rem; list-style: none;
}
.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color .25s;
}
.nav-links a:hover { color: var(--text-1); }
.nav-pill {
  background: rgba(139,92,246,.15);
  border: 1px solid rgba(139,92,246,.3);
  padding: .45rem 1.2rem;
  border-radius: 50px;
  color: var(--violet-lt) !important;
  transition: all .25s !important;
}
.nav-pill:hover {
  background: var(--violet) !important;
  color: #fff !important;
  border-color: var(--violet) !important;
}
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-1); border-radius: 2px;
  transition: all .3s;
}

/* ══ HERO ════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
}
.hero-inner { max-width: 820px; }

.hero-tag {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8rem;
  font-family: var(--ff-mono);
  color: var(--green);
  background: rgba(52,211,153,.1);
  border: 1px solid rgba(52,211,153,.2);
  padding: .4rem 1rem;
  border-radius: 50px;
  margin-bottom: 2rem;
}
.dot-live {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { box-shadow: 0 0 0 0 rgba(52,211,153,.5); }
  50%      { box-shadow: 0 0 0 6px rgba(52,211,153,0); }
}

.hero-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .1em;
  margin-bottom: 1.5rem;
}
.line-sm {
  font-family: var(--ff);
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  font-weight: 400;
  color: var(--text-2);
  letter-spacing: -.01em;
}
.line-lg {
  font-family: var(--ff);
  font-size: clamp(4rem, 14vw, 10rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.03em;
  background: linear-gradient(135deg, #fff 20%, #c4b5fd 60%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.line-role {
  font-family: var(--ff);
  font-size: clamp(1.1rem, 3vw, 1.8rem);
  font-weight: 600;
  color: var(--text-2);
  margin-top: .5rem;
}

.hero-desc {
  color: var(--text-2);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto 2rem;
}
.hero-desc strong { color: var(--text-1); }

.hero-chips {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
  margin-bottom: 2.5rem;
}
.hero-chips span {
  font-size: .78rem;
  font-family: var(--ff-mono);
  color: var(--text-3);
  background: var(--glass);
  border: 1px solid var(--border);
  padding: .3rem .85rem;
  border-radius: 50px;
}

.hero-actions {
  display: flex; justify-content: center; gap: 1rem;
  flex-wrap: wrap; margin-bottom: 4rem;
}

.hero-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 2rem;
  background: var(--glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  border-radius: var(--r-xl);
  padding: 1.5rem 2.5rem;
  width: fit-content;
  margin-inline: auto;
}
.hstat { text-align: center; }
.hstat-num {
  font-family: var(--ff);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--violet-lt), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hstat-plus { font-size: 1.5rem; font-weight: 700; color: var(--violet-lt); }
.hstat-label {
  display: block;
  font-size: .75rem;
  color: var(--text-3);
  line-height: 1.3;
  margin-top: .2rem;
}
.hstat-div {
  width: 1px; height: 50px;
  background: var(--border);
}

.hero-scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  z-index: 1;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, transparent, var(--violet-lt));
  animation: scrollAnim 2.5s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  45%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  55%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
.hero-scroll span {
  font-family: var(--ff-mono); font-size: .65rem;
  color: var(--text-3); letter-spacing: .15em; text-transform: uppercase;
}

/* ══ SOBRE MÍ ════════════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 6rem;
  align-items: center;
}
.about-lead {
  font-size: 1.15rem;
  color: var(--text-1);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}
.about-lead strong { color: var(--violet-lt); }
.about-body {
  color: var(--text-2);
  margin-bottom: 1rem;
  line-height: 1.8;
}
.about-body strong { color: var(--text-1); }
.about-pills {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem;
}
.about-pills span {
  font-size: .78rem;
  color: var(--cyan-lt);
  background: rgba(56,189,248,.08);
  border: 1px solid rgba(56,189,248,.18);
  padding: .3rem .85rem;
  border-radius: 50px;
  font-family: var(--ff-mono);
}

/* RIGHT CARDS */
.about-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 1rem;
}
.about-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  backdrop-filter: blur(8px);
  transition: border-color .3s, transform .3s;
}
.about-card:hover { border-color: var(--border-h); transform: translateY(-3px); }

.main-card {
  grid-column: 1 / -1;
  text-align: center;
  padding: 2rem;
}
.avatar-ring {
  width: 90px; height: 90px;
  border-radius: 50%;
  border: 2px solid rgba(139,92,246,.4);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  animation: spin-ring 15s linear infinite;
}
@keyframes spin-ring { to { transform: rotate(360deg); } }
.avatar {
  width: 74px; height: 74px; border-radius: 50%;
  background: linear-gradient(135deg, #1e1b4b, #2d1b69);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff); font-size: 1.5rem; font-weight: 800;
  color: var(--violet-lt);
  animation: spin-ring 15s linear infinite reverse;
}
.main-card h3 {
  font-family: var(--ff); font-size: 1.2rem; font-weight: 700; margin-bottom: .25rem;
}
.main-card > p { font-size: .85rem; color: var(--text-3); margin-bottom: .75rem; }
.location-tag {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; color: var(--text-2);
  background: var(--glass-b); border: 1px solid var(--border);
  padding: .3rem .8rem; border-radius: 50px;
}
.location-tag svg { width: 14px; height: 14px; flex-shrink: 0; }

.mini-card { display: flex; align-items: center; gap: .85rem; }
.mini-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
}
.card-uba .mini-icon  { background: rgba(139,92,246,.15); }
.card-uba .mini-icon svg { stroke: var(--violet-lt); width: 20px; height: 20px; }
.card-data .mini-icon { background: rgba(56,189,248,.12); }
.card-data .mini-icon svg { stroke: var(--cyan); width: 20px; height: 20px; }
.card-afip .mini-icon { background: rgba(52,211,153,.12); }
.card-afip .mini-icon svg { stroke: var(--green); width: 20px; height: 20px; }

.mini-card strong { font-size: .9rem; font-weight: 600; display: block; }
.mini-card p { font-size: .75rem; color: var(--text-3); }

/* ══ SERVICIOS — BENTO GRID ══════════════════════════════════════ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto auto;
  gap: 1.25rem;
  perspective: 1200px;
}

.bento-card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2rem;
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  transition: border-color .35s, transform .35s, box-shadow .35s;
}
.bento-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(139,92,246,.06), transparent 60%);
  opacity: 0;
  transition: opacity .35s;
}
.bento-card:hover {
  border-color: var(--border-h);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0,0,0,.4), 0 0 0 1px rgba(139,92,246,.15);
}
.bento-card:hover::after { opacity: 1; }

.bento-large { grid-column: span 2; }
.bento-wide  { grid-column: span 2; }
.bento-accent { background: linear-gradient(135deg, rgba(139,92,246,.12), rgba(56,189,248,.06)); }

.bento-icon {
  width: 50px; height: 50px;
  background: rgba(139,92,246,.12);
  border: 1px solid rgba(139,92,246,.2);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.bento-icon svg { width: 24px; height: 24px; stroke: var(--violet-lt); }

.bento-card h3 {
  font-family: var(--ff);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: .75rem;
  line-height: 1.2;
}
.bento-card p { font-size: .9rem; color: var(--text-2); line-height: 1.7; }

.bento-tag {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: .72rem;
  font-family: var(--ff-mono);
  color: var(--violet-lt);
  background: rgba(139,92,246,.12);
  border: 1px solid rgba(139,92,246,.25);
  padding: .25rem .75rem;
  border-radius: 50px;
}
.bento-tag-v { color: var(--cyan); background: rgba(56,189,248,.1); border-color: rgba(56,189,248,.25); }

/* ══ EXPERIENCIA ═════════════════════════════════════════════════ */
.exp-header { margin-bottom: 4rem; }

.exp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.exp-col-title {
  font-family: var(--ff);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-2);
  letter-spacing: .04em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.exp-col-title svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--violet-lt); }

/* timeline */
.exp-col:first-child { position: relative; padding-left: 1.5rem; }
.exp-col:first-child::before {
  content: '';
  position: absolute;
  left: 0; top: 56px; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--violet), transparent);
}

.exp-item { position: relative; margin-bottom: 2.25rem; }
.exp-dot {
  position: absolute;
  left: -1.5rem;
  top: .3rem;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--text-3);
  transform: translateX(-4px);
}
.exp-dot.current { background: var(--violet); border-color: var(--violet); box-shadow: 0 0 12px rgba(139,92,246,.5); }

.exp-meta {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: .4rem;
}
.exp-period { font-size: .76rem; font-family: var(--ff-mono); color: var(--text-3); }
.exp-status {
  font-size: .68rem; font-family: var(--ff-mono);
  color: var(--green);
  background: rgba(52,211,153,.1);
  border: 1px solid rgba(52,211,153,.2);
  padding: .15rem .6rem; border-radius: 50px;
}
.exp-item h4 {
  font-family: var(--ff); font-size: 1.1rem; font-weight: 700;
  color: var(--text-1); margin-bottom: .2rem;
}
.exp-org { font-size: .83rem; color: var(--violet-lt); margin-bottom: .6rem; }
.exp-desc { font-size: .88rem; color: var(--text-2); line-height: 1.7; margin-bottom: .8rem; }
.exp-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.exp-tags span {
  font-size: .72rem; font-family: var(--ff-mono);
  color: var(--text-3);
  background: var(--glass);
  border: 1px solid var(--border);
  padding: .18rem .6rem; border-radius: 50px;
}

/* edu cards */
.edu-card {
  display: flex; align-items: flex-start; gap: 1.25rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.4rem;
  margin-bottom: 1rem;
  transition: border-color .3s, transform .3s;
}
.edu-card:hover { border-color: var(--border-h); transform: translateX(4px); }

.edu-year {
  font-family: var(--ff);
  font-size: 1rem;
  font-weight: 800;
  color: var(--violet-lt);
  min-width: 50px;
  text-align: center;
  padding-top: .15rem;
}
.edu-body h4 { font-family: var(--ff); font-size: .95rem; font-weight: 700; margin-bottom: .2rem; }
.edu-body p  { font-size: .82rem; color: var(--text-2); margin-bottom: .5rem; }
.edu-badge {
  font-size: .68rem; font-family: var(--ff-mono);
  color: var(--cyan-lt);
  background: rgba(56,189,248,.08);
  border: 1px solid rgba(56,189,248,.2);
  padding: .18rem .65rem; border-radius: 50px;
  display: inline-block;
}

/* marquee */
.skills-marquee {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: .75rem 0;
  margin-top: 1.5rem;
  background: var(--glass);
}
.marquee-track {
  display: flex; gap: 2.5rem;
  width: max-content;
  animation: marquee 20s linear infinite;
}
.marquee-track span {
  font-size: .78rem; font-family: var(--ff-mono);
  color: var(--text-3); white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ══ HABILIDADES ════════════════════════════════════════════════ */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.skill-group-label {
  font-family: var(--ff);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--violet-lt);
  margin-bottom: 1.75rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid var(--border);
}
.skill-bar-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .4rem;
  margin-bottom: 1.4rem;
  align-items: center;
}
.skill-bar-row > span:first-child { font-size: .85rem; color: var(--text-2); }
.skill-pct { font-size: .75rem; font-family: var(--ff-mono); color: var(--text-3); }
.skill-track {
  grid-column: 1 / -1;
  height: 4px;
  background: rgba(255,255,255,.07);
  border-radius: 10px;
  overflow: hidden;
}
.skill-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  border-radius: 10px;
  transition: width 1.3s cubic-bezier(.4,0,.2,1);
}

/* ══ CONTACTO ════════════════════════════════════════════════════ */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 6rem;
  align-items: start;
}
.contact-desc {
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-size: 1rem;
}
.cinfo-list { display: flex; flex-direction: column; gap: 1.25rem; }
.cinfo-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color .3s, transform .3s;
  color: inherit;
}
.cinfo-item:hover { border-color: var(--border-h); transform: translateX(4px); }
.cinfo-icon {
  width: 42px; height: 42px; flex-shrink: 0;
  background: rgba(139,92,246,.12);
  border: 1px solid rgba(139,92,246,.2);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
}
.cinfo-icon svg { width: 18px; height: 18px; stroke: var(--violet-lt); }
.cinfo-icon svg[fill="currentColor"] { fill: var(--violet-lt); stroke: none; width: 16px; height: 16px; }
.cinfo-label { font-size: .72rem; font-family: var(--ff-mono); color: var(--text-3); letter-spacing: .06em; display: block; margin-bottom: .15rem; }
.cinfo-value { font-size: .9rem; color: var(--text-1); }

/* form */
.contact-form {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  backdrop-filter: blur(8px);
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.cf-group { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1.25rem; }
.cf-group label {
  font-size: .73rem; font-family: var(--ff-mono);
  color: var(--text-3); letter-spacing: .08em; text-transform: uppercase;
}
.cf-group input,
.cf-group select,
.cf-group textarea {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: .85rem 1rem;
  color: var(--text-1);
  font-family: var(--ff-body);
  font-size: .92rem;
  outline: none;
  transition: border-color .3s;
  resize: none;
}
.cf-group input::placeholder,
.cf-group textarea::placeholder { color: var(--text-3); }
.cf-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.cf-group select option { background: #101220; }
.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
  border-color: var(--violet);
  background: rgba(139,92,246,.06);
}
.btn-submit {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: .6rem;
  background: linear-gradient(135deg, var(--violet), #6d28d9);
  color: #fff; padding: 1rem;
  border-radius: var(--r-lg);
  font-family: var(--ff); font-size: 1rem; font-weight: 700;
  border: none;
  box-shadow: 0 0 30px rgba(139,92,246,.3);
  transition: all .3s;
}
.btn-submit svg { width: 18px; height: 18px; }
.btn-submit:hover { box-shadow: 0 0 50px rgba(139,92,246,.55); transform: translateY(-2px); }

.form-success {
  text-align: center; padding: 2.5rem; color: var(--green); font-size: 1rem;
}

/* ══ FOOTER ══════════════════════════════════════════════════════ */
.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  position: relative; z-index: 1;
}
.footer-inner {
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.footer-logo {
  font-family: var(--ff); font-size: 1.5rem; font-weight: 800;
  margin-bottom: .5rem;
}
.footer p { font-size: .82rem; color: var(--text-3); }
.footer-sub { font-size: .76rem !important; }

/* ══ RESPONSIVE ══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-large { grid-column: span 2; }
  .bento-wide  { grid-column: span 2; }
  .about-grid  { grid-template-columns: 1fr; }
  .about-right { grid-template-columns: repeat(2, 1fr); }
  .main-card   { grid-column: 1 / -1; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 5rem 0; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 270px; height: 100vh;
    background: rgba(12,14,26,.97); backdrop-filter: blur(16px);
    flex-direction: column; justify-content: center;
    gap: 2rem; border-left: 1px solid var(--border);
    z-index: 199; transition: right .35s var(--ease);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.1rem; }
  .bento-grid  { grid-template-columns: 1fr; }
  .bento-large, .bento-wide { grid-column: span 1; }
  .exp-layout  { grid-template-columns: 1fr; gap: 3rem; }
  .skills-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 3rem; }
  .cf-row { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1.5rem; }
  .hstat-div  { width: 60px; height: 1px; }
}

@media (max-width: 480px) {
  .about-right { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem; }
}
