/* =============================================
   nexo_MX — styles.css
   ============================================= */

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

:root {
  --bg:     #07070c;
  --bg2:    #0d0d16;
  --bg3:    #111120;
  --cyan:   #00d4ff;
  --cyan2:  #00a8cc;
  --orange: #ff6b35;
  --white:  #f0f0f8;
  --muted:  #8888aa;
  --border: #1e1e30;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  cursor: none;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* ── CURSOR ── */
#cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--cyan); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: transform .1s, background .2s;
}
#cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1px solid var(--cyan); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: transform .08s, width .2s, height .2s, opacity .2s;
  opacity: .5;
}
body:hover #cursor { opacity: 1; }

/* ── NOISE OVERLAY ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' 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");
  pointer-events: none; z-index: 0; opacity: .4;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.2rem 5vw;
  display: flex; align-items: center; justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
nav.scrolled {
  background: rgba(7,7,12,.85);
  backdrop-filter: blur(12px);
  border-color: var(--border);
}
.logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.logo span { color: var(--cyan); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; transition: color .2s; }
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--cyan); color: #000;
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
  padding: .6rem 1.4rem; border-radius: 2px;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: #fff; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--white); transition: .3s; }

/* ── HERO ── */
#inicio {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 10vh 5vw 6vh;
  position: relative; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: center; width: 100%; max-width: 1200px;
  margin: 0 auto; position: relative; z-index: 1;
}
.hero-label {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .75rem; letter-spacing: .15em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 1.5rem; font-weight: 500;
}
.hero-label::before { content: ''; width: 32px; height: 1px; background: var(--cyan); }
h1 {
  font-family: 'Syne', sans-serif; font-weight: 800;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 1.0; letter-spacing: -.04em; margin-bottom: 1.5rem;
}
h1 em { font-style: normal; color: var(--cyan); }
.hero-desc { color: var(--muted); font-size: 1.05rem; line-height: 1.8; max-width: 480px; margin-bottom: 2.5rem; font-weight: 300; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--cyan); color: #000;
  font-family: 'Syne', sans-serif; font-weight: 700;
  font-size: .85rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .85rem 2rem; border-radius: 2px; transition: all .2s;
}
.btn-primary:hover { background: #fff; transform: translateY(-2px); }

.btn-outline {
  display: inline-flex; align-items: center; gap: .6rem;
  border: 1px solid var(--border); color: var(--muted);
  font-family: 'Syne', sans-serif; font-weight: 600;
  font-size: .85rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .85rem 2rem; border-radius: 2px; transition: all .2s;
}
.btn-outline:hover { border-color: var(--cyan); color: var(--white); }

/* ── HERO VISUAL ── */
.hero-visual { position: relative; height: 480px; }
.hero-card { position: absolute; background: var(--bg3); border: 1px solid var(--border); border-radius: 6px; padding: 1.5rem; transition: transform .3s; }
.hero-card.main { top: 0; right: 0; width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.code-window { background: var(--bg2); border-radius: 4px; padding: 1rem 1.2rem; font-family: monospace; font-size: .78rem; line-height: 1.9; margin-bottom: 1rem; border: 1px solid var(--border); }
.code-dots { display: flex; gap: 6px; margin-bottom: .8rem; }
.code-dots span { width: 10px; height: 10px; border-radius: 50%; }
.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #febc2e; }
.code-dots span:nth-child(3) { background: #28c840; }
.code-line .key     { color: #c792ea; }
.code-line .str     { color: #c3e88d; }
.code-line .val     { color: var(--cyan); }
.code-line .comment { color: #546e7a; font-style: italic; }
.hero-stat { position: absolute; background: var(--bg3); border: 1px solid var(--border); border-radius: 4px; padding: .9rem 1.2rem; font-family: 'Syne', sans-serif; }
.hero-stat .num { font-size: 1.5rem; font-weight: 800; color: var(--cyan); line-height: 1; }
.hero-stat .lbl { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: .2rem; }
.stat1 { bottom: 2rem; left: -2rem; animation: float 5s ease-in-out infinite; }
.stat2 { top: 2rem; left: -1rem; animation: float 5s ease-in-out infinite 1.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* HERO BACKGROUND */
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px; opacity: .4;
}
.hero-glow {
  position: absolute; top: 20%; right: 10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,212,255,.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ── SECTIONS COMMON ── */
section { padding: 7rem 5vw; position: relative; z-index: 1; }
.section-label {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 1rem; font-weight: 500;
}
.section-label::before { content: ''; width: 28px; height: 1px; background: var(--cyan); }
h2 { font-family: 'Syne', sans-serif; font-weight: 800; font-size: clamp(2rem,3.5vw,3rem); letter-spacing: -.03em; line-height: 1.1; margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: 1rem; max-width: 500px; font-weight: 300; line-height: 1.8; margin-bottom: 3.5rem; }
.container { max-width: 1200px; margin: 0 auto; }

/* ── SERVICIOS ── */
#servicios { background: var(--bg); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.service-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 6px;
  padding: 2rem; position: relative; overflow: hidden;
  transition: border-color .3s, transform .3s; cursor: default;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  opacity: 0; transition: opacity .3s;
}
.service-card:hover { border-color: rgba(0,212,255,.3); transform: translateY(-4px); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 48px; height: 48px; border-radius: 4px;
  background: rgba(0,212,255,.08); border: 1px solid rgba(0,212,255,.15);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.service-icon svg { width: 22px; height: 22px; stroke: var(--cyan); fill: none; stroke-width: 1.5; }
.service-card h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.15rem; margin-bottom: .7rem; letter-spacing: -.02em; }
.service-card p { color: var(--muted); font-size: .9rem; line-height: 1.7; font-weight: 300; }
.service-tag {
  display: inline-block; margin-top: 1.2rem;
  font-size: .7rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--cyan); background: rgba(0,212,255,.06);
  padding: .3rem .8rem; border-radius: 2px; border: 1px solid rgba(0,212,255,.12);
}

/* ── NOSOTROS ── */
#nosotros { background: var(--bg2); }
.why-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: center; }
.why-left h2 { font-size: clamp(2rem,3.5vw,3rem); }
.why-items { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.why-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.why-num { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 2.5rem; color: rgba(0,212,255,.15); line-height: 1; min-width: 44px; }
.why-item h4 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .95rem; margin-bottom: .3rem; color: var(--white); }
.why-item p { font-size: .88rem; color: var(--muted); font-weight: 300; line-height: 1.7; }
.why-right { position: relative; }
.why-block { background: var(--bg3); border: 1px solid var(--border); border-radius: 6px; padding: 2.5rem; }
.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border-radius: 4px; overflow: hidden; margin-bottom: 1.5rem; }
.metric { background: var(--bg2); padding: 1.5rem; text-align: center; }
.metric .num { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 2rem; color: var(--cyan); line-height: 1; }
.metric .lbl { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-top: .3rem; }
.tech-stack { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }
.tech-pill {
  font-size: .72rem; font-family: 'Syne', sans-serif; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: 2px;
  background: var(--bg3); border: 1px solid var(--border); color: var(--muted);
  transition: all .2s;
}
.tech-pill:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── PORTAFOLIO ── */
#portafolio { background: var(--bg); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.portfolio-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 6px;
  overflow: hidden; transition: transform .3s, border-color .3s; cursor: pointer; position: relative;
}
.portfolio-card:hover { transform: translateY(-4px); border-color: rgba(0,212,255,.3); }
.portfolio-thumb {
  height: 200px; background: var(--bg3);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.portfolio-thumb .thumb-icon { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 3rem; color: rgba(0,212,255,.12); z-index: 1; position: relative; }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: rgba(0,212,255,.08); opacity: 0; transition: opacity .3s;
  display: flex; align-items: center; justify-content: center;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay span {
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: .75rem;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--cyan); border: 1px solid var(--cyan);
  padding: .5rem 1.2rem; border-radius: 2px;
}
.portfolio-info { padding: 1.3rem; }
.portfolio-cat { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--cyan); margin-bottom: .4rem; font-weight: 500; }
.portfolio-info h3 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; margin-bottom: .4rem; }
.portfolio-info p { font-size: .83rem; color: var(--muted); font-weight: 300; line-height: 1.6; }
.portfolio-add {
  background: var(--bg2); border: 1px dashed var(--border); border-radius: 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; min-height: 300px; cursor: pointer;
  transition: border-color .3s, background .3s;
}
.portfolio-add:hover { border-color: var(--cyan); background: rgba(0,212,255,.03); }
.portfolio-add .plus {
  width: 48px; height: 48px; border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--muted); margin-bottom: .8rem;
  transition: border-color .3s, color .3s;
}
.portfolio-add:hover .plus { border-color: var(--cyan); color: var(--cyan); }
.portfolio-add span { font-size: .8rem; color: var(--muted); font-weight: 500; }

/* ── REDES ── */
#redes { background: var(--bg2); }
.redes-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; }
.red-card {
  background: var(--bg3); border: 1px solid var(--border); border-radius: 6px;
  padding: 1.8rem 1.5rem;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .8rem;
  transition: border-color .3s, transform .3s; cursor: pointer;
}
.red-card:hover { transform: translateY(-3px); }
.red-card.ig:hover { border-color: #e1306c; }
.red-card.fb:hover { border-color: #1877f2; }
.red-card.tw:hover { border-color: #1da1f2; }
.red-card.li:hover { border-color: #0a66c2; }
.red-card.ig .red-icon svg { stroke: #e1306c; }
.red-card.fb .red-icon svg { stroke: #1877f2; }
.red-card.tw .red-icon svg { stroke: #1da1f2; }
.red-card.li .red-icon svg { stroke: #0a66c2; }
.red-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--bg2); display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); }
.red-icon svg { width: 24px; height: 24px; fill: none; stroke-width: 1.5; }
.red-card h4 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .95rem; }
.red-card span { font-size: .78rem; color: var(--muted); }

/* ── PRESUPUESTO ── */
#presupuesto { background: var(--bg); position: relative; overflow: hidden; }
#presupuesto::before {
  content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,212,255,.05) 0%, transparent 70%);
  pointer-events: none;
}
.presup-inner { max-width: 780px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.presup-inner h2 { font-size: clamp(2rem,4vw,3.5rem); }
.presup-inner .section-label { justify-content: center; }
.presup-inner .section-label::before { display: none; }
.presup-inner .section-sub { margin: 0 auto 3rem; text-align: center; max-width: 540px; }
.contact-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2.5rem; }
.contact-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: 6px; padding: 2rem;
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  transition: border-color .3s, transform .3s; cursor: pointer;
}
.contact-card:hover { transform: translateY(-3px); }
.contact-card.wa:hover { border-color: #25d366; }
.contact-card.em:hover { border-color: var(--cyan); }
.contact-card .cc-icon {
  width: 48px; height: 48px; border-radius: 4px;
  background: rgba(0,212,255,.05); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem;
}
.contact-card.wa .cc-icon { background: rgba(37,211,102,.05); border-color: rgba(37,211,102,.15); }
.contact-card.wa .cc-icon svg { stroke: #25d366; }
.contact-card.em .cc-icon svg { stroke: var(--cyan); }
.cc-icon svg { width: 22px; height: 22px; fill: none; stroke-width: 1.5; }
.contact-card h4 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.05rem; margin-bottom: .4rem; }
.contact-card p { font-size: .85rem; color: var(--muted); font-weight: 300; line-height: 1.6; margin-bottom: 1.2rem; }
.cc-action {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Syne', sans-serif; font-weight: 700; font-size: .78rem;
  letter-spacing: .06em; text-transform: uppercase;
  padding: .65rem 1.4rem; border-radius: 2px; transition: all .2s;
}
.contact-card.wa .cc-action { background: rgba(37,211,102,.1); color: #25d366; border: 1px solid rgba(37,211,102,.2); }
.contact-card.wa .cc-action:hover { background: #25d366; color: #000; }
.contact-card.em .cc-action { background: rgba(0,212,255,.08); color: var(--cyan); border: 1px solid rgba(0,212,255,.15); }
.contact-card.em .cc-action:hover { background: var(--cyan); color: #000; }
.presup-note { font-size: .8rem; color: var(--muted); font-weight: 300; }
.presup-note span { color: var(--white); }

/* ── FOOTER ── */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 3rem 5vw 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 2rem; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem; }
.footer-logo .logo { font-size: 1.1rem; }
.footer-logo p { font-size: .82rem; color: var(--muted); margin-top: .5rem; max-width: 260px; font-weight: 300; }
.footer-links { display: flex; gap: 4rem; }
.footer-col h5 { font-family: 'Syne', sans-serif; font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--white); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li a { font-size: .82rem; color: var(--muted); transition: color .2s; font-weight: 300; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; font-size: .75rem; color: var(--muted); font-weight: 300; }

/* ── REVEAL ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── TABLET (≤1024px) ── */
@media (max-width: 1024px) {
  .services-grid   { grid-template-columns: repeat(2,1fr); }
  .why-grid        { grid-template-columns: 1fr; gap: 3rem; }
  .portfolio-grid  { grid-template-columns: repeat(2,1fr); }
  .redes-grid      { grid-template-columns: repeat(2,1fr); }
}

/* ── MOBILE (≤768px) ── */
@media (max-width: 768px) {
  body { cursor: auto; }
  #cursor, #cursor-ring { display: none; }

  /* NAV */
  nav { padding: 1rem 5vw; }
  .nav-links {
    display: none; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(7,7,12,.98); backdrop-filter: blur(16px);
    padding: 5rem 5vw 3rem; gap: 0; list-style: none;
    z-index: 99; justify-content: center; align-items: center;
    transition: opacity .3s;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.4rem; padding: 1rem 0; color: var(--white); border-bottom: 1px solid var(--border); width: 100%; text-align: center; }
  .nav-links .nav-cta-mobile {
    display: block; margin-top: 2rem;
    background: var(--cyan); color: #000;
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: .9rem; letter-spacing: .08em; text-transform: uppercase;
    padding: 1rem 2rem; border-radius: 2px; text-align: center; width: 100%;
  }
  .nav-cta { display: none; }
  .hamburger { display: flex; z-index: 200; position: relative; }
  .hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* HERO */
  #inicio { padding: 8rem 5vw 5rem; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { display: none; }
  h1 { font-size: 2.6rem; }
  .hero-desc { font-size: .95rem; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; padding: 1rem; }

  /* SECTIONS */
  section { padding: 4.5rem 5vw; }
  h2 { font-size: 1.9rem; }
  .section-sub { font-size: .9rem; margin-bottom: 2.5rem; }

  /* SERVICIOS */
  .services-grid { grid-template-columns: 1fr; gap: 1rem; }
  .service-card { padding: 1.5rem; }

  /* NOSOTROS */
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-block { padding: 1.5rem; }
  .metric-row { grid-template-columns: 1fr 1fr; }
  .metric { padding: 1rem; }
  .metric .num { font-size: 1.5rem; }
  .why-num { font-size: 1.8rem; min-width: 32px; }

  /* PORTAFOLIO */
  .portfolio-grid { grid-template-columns: 1fr; gap: 1rem; }
  .portfolio-add { min-height: 140px; }

  /* REDES */
  .redes-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .red-card { padding: 1.3rem 1rem; }

  /* PRESUPUESTO */
  .contact-methods { grid-template-columns: 1fr; gap: 1rem; }
  .presup-inner h2 { font-size: 1.9rem; }

  /* FOOTER */
  .footer-top { flex-direction: column; gap: 2rem; }
  .footer-links { flex-direction: column; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
}

/* ── SMALL MOBILE (≤420px) ── */
@media (max-width: 420px) {
  h1 { font-size: 2.1rem; }
  .redes-grid { grid-template-columns: 1fr 1fr; }
  .metric-row { grid-template-columns: 1fr 1fr; }
  nav { padding: .9rem 4vw; }
}
