/* ═══════════════════════════════════════════════════
   ALONSO HERNÁNDEZ PONCE — style.css
   Estrategia: MOBILE FIRST
   Base → 320px mínimo garantizado
   Breakpoints: 480 · 768 · 1024 · 1280
═══════════════════════════════════════════════════ */

/* ─── TOKENS ──────────────────────────────────── */
:root {
  --bg:        #080808;
  --surface:   #0f0f0f;
  --surface2:  #161616;
  --border:    #1e1e1e;
  --accent:    #d4a843;
  --accent-dim:#8a6a22;
  --text:      #ebebeb;
  --muted:     #888;
  --subtle:    #444;
  --fh: 'Syne', sans-serif;
  --fm: 'JetBrains Mono', monospace;
  --fb: 'DM Sans', sans-serif;
  --nav-h: 56px;
  --radius: 0;
}

/* ─── RESET ───────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--fb);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  min-width: 320px;
}

::selection { background: var(--accent); color: #000; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; }
input, textarea { font-family: inherit; }

/* ─── SCROLLBAR ───────────────────────────────── */
::-webkit-scrollbar       { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent-dim); }

/* ─── NOISE OVERLAY ───────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .4;
}

/* ─── CURSOR LINE (desktop only) ─────────────── */
.cursor-line {
  display: none; /* oculto en mobile por defecto */
  position: fixed;
  top: 0; bottom: 0;
  width: 1px;
  background: rgba(212,168,67,.05);
  pointer-events: none;
  z-index: 200;
  transition: left .08s linear;
}

/* ─── CONTENEDOR ──────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

section { position: relative; z-index: 1; }

/* ─── SECCIÓN: ESPACIADO VERTICAL BASE ────────── */
.section-pad {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

/* ═══════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.25rem;
  background: rgba(8,8,8,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--fh);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -.02em;
}
.nav-logo span { color: var(--accent); }

/* Links ocultos por defecto (mobile) */
.nav-links {
  display: none;
}

/* Hamburger visible por defecto (mobile) */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--muted);
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  z-index: 99;
  background: rgba(8,8,8,.99);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-family: var(--fh);
  font-size: 2rem;
  font-weight: 700;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { transition: color .2s; }
.mobile-menu a:hover { color: var(--accent); }

/* ═══════════════════════════════════════════════
   SECTION HEADER
═══════════════════════════════════════════════ */
.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  overflow: hidden;
}
.section-num {
  font-family: var(--fm);
  font-size: .68rem;
  color: var(--accent);
  letter-spacing: .1em;
  flex-shrink: 0;
}
.section-title {
  font-family: var(--fh);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  flex-shrink: 0;
  white-space: nowrap;
}
.section-line {
  flex: 1;
  height: 1px;
  background: var(--border);
  min-width: 12px;
}

/* ═══════════════════════════════════════════════
   BOTONES
═══════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .75rem 1.4rem;
  background: var(--accent);
  color: #000;
  font-family: var(--fm);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .07em;
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.btn-primary:hover { background: #f0c050; }
.btn-primary:active { transform: scale(.97); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .75rem 1.4rem;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--fm);
  font-size: .75rem;
  letter-spacing: .07em;
  transition: border-color .2s, color .2s;
  white-space: nowrap;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }

/* ═══════════════════════════════════════════════
   HERO — MOBILE FIRST
═══════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  min-height: 100dvh;           /* dynamic viewport height en móvil */
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
}

.hero-inner {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
  display: flex;
  flex-direction: column;       /* columna en mobile */
  gap: 2rem;
}

/* Tag */
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--fm);
  font-size: .68rem;
  color: var(--accent);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.hero-tag::before {
  content: '';
  display: block;
  width: 20px; height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/*
  Nombre: escala con vw sin mínimo grande.
  A 320px: 10vw = 32px → "HERNÁNDEZ" ≈ 9 chars × 0.8 × 32 = 230px < 270px disponibles ✓
  A 480px: 10vw = 48px → 345px < 430px ✓
  A 768px: sube via breakpoint
*/
.hero-name {
  font-family: var(--fh);
  font-size: 10vw;
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.04em;
  margin-bottom: 1.25rem;
}
.hero-name .line         { display: block; overflow: hidden; }
.hero-name .line span    { display: block; animation: slideUp .7s cubic-bezier(.22,.61,.36,1) both; }
.hero-name .line:nth-child(1) span { animation-delay: .1s; }
.hero-name .line:nth-child(2) span { animation-delay: .2s; }
.hero-name .line:nth-child(3) span { animation-delay: .3s; }
.hero-name .accent       { color: var(--accent); }

@keyframes slideUp {
  from { transform: translateY(110%); }
  to   { transform: translateY(0); }
}

.hero-desc {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.75rem;
  animation: fadeIn .8s ease .6s both;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  animation: fadeIn .8s ease .75s both;
}

/* Panel de stats: oculto en mobile */
.hero-panel { display: none; }

/* Status pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .9rem;
  border: 1px solid #1a2a10;
  background: #0c1608;
  font-family: var(--fm);
  font-size: .68rem;
  color: #6fcf4a;
  align-self: flex-start;
}
.pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #6fcf4a;
  flex-shrink: 0;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}

/* Stat cards */
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: .9rem;
  transition: border-color .3s, transform .3s;
}
.stat-card:hover { border-color: var(--accent-dim); }
.stat-num {
  font-family: var(--fh);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
}
.stat-label          { font-size: .76rem; color: var(--muted); line-height: 1.4; }
.stat-label strong   { display: block; color: var(--text); font-weight: 400; margin-bottom: .1rem; }

/* ═══════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════ */
#about {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  border-top: 1px solid var(--border);
}

.about-grid {
  display: flex;
  flex-direction: column;   /* columna en mobile */
  gap: 2.5rem;
}

.about-text p {
  font-size: .92rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1rem;
}
.about-text p:last-child { margin-bottom: 0; }
.about-text p strong { color: var(--text); font-weight: 400; }

.skill-group { margin-bottom: 1.5rem; }
.skill-group:last-child { margin-bottom: 0; }
.skill-group-label {
  font-family: var(--fm);
  font-size: .64rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .7rem;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag {
  padding: .25rem .7rem;
  border: 1px solid var(--border);
  font-family: var(--fm);
  font-size: .67rem;
  color: var(--muted);
  letter-spacing: .04em;
  transition: border-color .2s, color .2s;
  cursor: default;
}
.tag:hover { border-color: var(--accent); color: var(--text); }

/* ═══════════════════════════════════════════════
   EXPERIENCE
═══════════════════════════════════════════════ */
#experience {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  border-top: 1px solid var(--border);
}

.exp-list {
  border-left: 1px solid var(--border);
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
}
.exp-item {
  position: relative;
  padding-bottom: 2.5rem;
}
.exp-item:last-child { padding-bottom: 0; }
.exp-item::before {
  content: '';
  position: absolute;
  left: calc(-1.5rem - 5px);
  top: 5px;
  width: 9px; height: 9px;
  border: 1.5px solid var(--accent);
  background: var(--bg);
  border-radius: 50%;
}
.exp-period {
  font-family: var(--fm);
  font-size: .67rem;
  color: var(--accent);
  letter-spacing: .08em;
  margin-bottom: .4rem;
}
.exp-role {
  font-family: var(--fh);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.02em;
  margin-bottom: .2rem;
}
.exp-company {
  font-size: .82rem;
  color: var(--muted);
  margin-bottom: .9rem;
}
.exp-bullets {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.exp-bullets li {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.65;
  padding-left: 1rem;
  position: relative;
}
.exp-bullets li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ═══════════════════════════════════════════════
   PROJECTS
═══════════════════════════════════════════════ */
#projects {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  border-top: 1px solid var(--border);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr;   /* 1 col en mobile */
  gap: 1px;
  background: var(--border);
}

.project-card {
  background: var(--bg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  transition: background .3s;
  position: relative;
  overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.22,.61,.36,1);
}
.project-card:hover { background: var(--surface); }
.project-card:hover::before { transform: scaleX(1); }

.project-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .25s;
}
.project-icon i { font-size: .85rem; color: var(--muted); transition: color .25s; }
.project-card:hover .project-icon { border-color: var(--accent-dim); }
.project-card:hover .project-icon i { color: var(--accent); }

.project-label {
  font-family: var(--fm);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-dim);
}
.project-title {
  font-family: var(--fh);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.project-desc {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}
.project-stack { display: flex; flex-wrap: wrap; gap: .35rem; }
.stack-tag {
  padding: .18rem .5rem;
  background: var(--surface2);
  font-family: var(--fm);
  font-size: .62rem;
  color: var(--subtle);
  letter-spacing: .04em;
}

/* ═══════════════════════════════════════════════
   EDUCATION
═══════════════════════════════════════════════ */
#education {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  border-top: 1px solid var(--border);
}

.edu-grid {
  display: grid;
  grid-template-columns: 1fr;   /* 1 col en mobile */
  gap: 1px;
  background: var(--border);
}
.edu-card {
  background: var(--bg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  transition: background .3s;
}
.edu-card:hover { background: var(--surface); }
.edu-period {
  font-family: var(--fm);
  font-size: .67rem;
  color: var(--accent);
  letter-spacing: .08em;
}
.edu-degree {
  font-family: var(--fh);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.3;
}
.edu-institution { font-size: .82rem; color: var(--muted); }
.edu-badge {
  display: inline-block;
  padding: .2rem .6rem;
  background: var(--surface2);
  font-family: var(--fm);
  font-size: .62rem;
  color: var(--accent-dim);
  letter-spacing: .06em;
  align-self: flex-start;
  margin-top: .25rem;
}

/* ═══════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════ */
#contact {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  border-top: 1px solid var(--border);
}

.contact-inner {
  display: flex;
  flex-direction: column;   /* columna en mobile */
  gap: 2.5rem;
}

.contact-heading {
  font-family: var(--fh);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.04em;
  margin-bottom: 1rem;
}
.contact-heading span { color: var(--accent); }

.contact-sub {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.8;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 1.75rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .9rem 1.1rem;
  border: 1px solid var(--border);
  transition: border-color .25s, background .25s;
  overflow: hidden;
}
.contact-link:hover {
  border-color: var(--accent);
  background: var(--surface);
}
.contact-link-icon {
  width: 32px; height: 32px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color .25s, background .25s;
}
.contact-link:hover .contact-link-icon {
  border-color: var(--accent);
  background: #1a1200;
}
.contact-link-icon i { font-size: .85rem; color: var(--muted); transition: color .25s; }
.contact-link:hover .contact-link-icon i { color: var(--accent); }

.contact-link-text {
  font-family: var(--fm);
  font-size: .73rem;
  color: var(--muted);
  line-height: 1.4;
  overflow: hidden;
  min-width: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.contact-link-text span {
  display: block;
  font-size: .6rem;
  color: var(--subtle);
  letter-spacing: .08em;
  margin-bottom: .1rem;
  white-space: nowrap;
}
.contact-link:hover .contact-link-text { color: var(--text); }

/* Form */
.contact-form { display: flex; flex-direction: column; gap: .85rem; }
.form-group   { display: flex; flex-direction: column; gap: .4rem; }
.form-label {
  font-family: var(--fm);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--subtle);
}
.form-input,
.form-textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--fb);
  font-size: .88rem;
  padding: .78rem .95rem;
  outline: none;
  width: 100%;
  transition: border-color .2s;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-input:focus,
.form-textarea:focus { border-color: var(--accent); }
.form-textarea { resize: vertical; min-height: 110px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr;   /* 1 col en mobile */
  gap: .85rem;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--border);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .5rem;
  position: relative;
  z-index: 1;
}
.footer-logo {
  font-family: var(--fh);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.footer-logo span { color: var(--accent); }
.footer-copy {
  font-family: var(--fm);
  font-size: .62rem;
  color: var(--subtle);
  letter-spacing: .06em;
}

/* ═══════════════════════════════════════════════
   SCROLL REVEAL
═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22,.61,.36,1);
}
.reveal.visible { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════════════ */
.back-top {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 50;
  width: 38px; height: 38px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s, border-color .2s;
}
.back-top i { font-size: .7rem; }
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { border-color: var(--accent); color: var(--accent); }

/* ═══════════════════════════════════════════════
   BREAKPOINT 480px — Móvil grande
═══════════════════════════════════════════════ */
@media (min-width: 480px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
  nav        { padding: 0 1.5rem; }
  footer     { padding: 1.75rem 1.5rem; }

  .hero-inner { padding: 3rem 1.5rem; }
  .hero-name  { font-size: 9vw; }

  .hero-ctas  { gap: .875rem; }

  .projects-grid { grid-template-columns: repeat(2, 1fr); }

  .form-row { grid-template-columns: 1fr 1fr; }

  .contact-heading { font-size: 2.6rem; }
}

/* ═══════════════════════════════════════════════
   BREAKPOINT 768px — Tablet
═══════════════════════════════════════════════ */
@media (min-width: 768px) {
  :root { --nav-h: 60px; }

  .container { padding-left: 2rem; padding-right: 2rem; }
  nav        { padding: 0 2rem; }
  footer     { padding: 2rem 2rem; flex-direction: row; align-items: center; justify-content: space-between; }

  /* Mostrar nav links, ocultar hamburger */
  .nav-links {
    display: flex;
    gap: 2rem;
    font-family: var(--fm);
    font-size: .68rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
  }
  .nav-links a { transition: color .2s; position: relative; }
  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0; right: 0;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease;
  }
  .nav-links a:hover { color: var(--text); }
  .nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
  .hamburger { display: none; }

  /* Hero */
  .hero-inner {
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
  }
  .hero-name      { font-size: 7.5vw; }
  .hero-desc      { font-size: .95rem; }
  .hero-panel     { display: flex; flex-direction: column; gap: 1rem; animation: fadeIn .8s ease .5s both; }

  /* Sections */
  #about,
  #experience,
  #projects,
  #education,
  #contact {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .section-header { margin-bottom: 2.5rem; }
  .section-title  { font-size: 2rem; }

  /* About: 2 columnas */
  .about-grid { flex-direction: row; gap: 3.5rem; }
  .about-text { flex: 1; }
  .about-grid > div:last-child { flex: 1.1; }

  /* Experience */
  .exp-list { padding-left: 2rem; }
  .exp-item::before { left: calc(-2rem - 5px); }
  .exp-role { font-size: 1.3rem; }

  /* Projects: 2 columnas */
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card  { padding: 1.75rem; }

  /* Education: 2 columnas */
  .edu-grid { grid-template-columns: repeat(2, 1fr); }

  /* Contact: 2 columnas */
  .contact-inner  { flex-direction: row; gap: 4rem; align-items: start; }
  .contact-inner > div { flex: 1; }
  .contact-heading { font-size: 3rem; }
}

/* ═══════════════════════════════════════════════
   BREAKPOINT 1024px — Desktop
═══════════════════════════════════════════════ */
@media (min-width: 1024px) {
  .container { padding-left: 2.5rem; padding-right: 2.5rem; }
  nav        { padding: 0 2.5rem; }
  footer     { padding: 2rem 2.5rem; }

  .hero-inner {
    max-width: 1180px;
    padding: 4rem 2.5rem;
    grid-template-columns: 1fr 360px;
    gap: 3.5rem;
  }
  .hero-name { font-size: clamp(3.5rem, 6vw, 5.5rem); }
  .hero-desc { font-size: 1rem; max-width: 480px; }

  .stat-card:hover { transform: translateX(4px); }

  .section-title { font-size: 2.4rem; }

  /* About */
  .about-grid { gap: 5rem; }
  .project-card { padding: 2rem; }
  .contact-inner { gap: 5rem; }
  .contact-link:hover { transform: translateX(5px); }

  /* Cursor line visible en desktop */
  .cursor-line { display: block; }
}

/* ═══════════════════════════════════════════════
   BREAKPOINT 1280px — Desktop grande
═══════════════════════════════════════════════ */
@media (min-width: 1280px) {
  .container { padding-left: 3.5rem; padding-right: 3.5rem; }
  nav        { padding: 0 3.5rem; }
  footer     { padding: 2rem 3.5rem; }

  .hero-inner {
    padding: 4.5rem 3.5rem;
    grid-template-columns: 1fr 400px;
  }
  .hero-name { font-size: 5.5rem; }
  .stat-num  { font-size: 2rem; }

  #about,
  #experience,
  #projects,
  #education,
  #contact {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }

  .section-title { font-size: 2.6rem; }
}