/* ============================================================
   TRIONI — shared.css
   ============================================================ */

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

:root {
  --cyan:      #00d4ff;
  --cyan-dim:  rgba(0, 212, 255, 0.15);
  --cyan-glow: rgba(0, 212, 255, 0.40);
  --bg:        #070b12;
  --bg2:       #0d1320;
  --bg3:       #111827;
  --text:      #f0f4ff;
  --muted:     #8892a4;
  --border:    rgba(255, 255, 255, 0.07);
  --card:      rgba(255, 255, 255, 0.04);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  overflow-x: hidden;
  cursor: none;
}

/* ── CURSOR ──────────────────────────────────────────────── */
#cursor {
  position: fixed; width: 10px; height: 10px;
  background: var(--cyan); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
}
#cursor-ring {
  position: fixed; width: 36px; height: 36px;
  border: 1.5px solid var(--cyan-glow); border-radius: 50%;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .3s cubic-bezier(.25,1,.5,1), height .3s cubic-bezier(.25,1,.5,1), border-color .3s;
}
body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring { width: 56px; height: 56px; border-color: var(--cyan); }

/* ── STARS ───────────────────────────────────────────────── */
#stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; }

/* ── SCROLL PROGRESS ─────────────────────────────────────── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px;
  background: var(--cyan); z-index: 999; transition: width .1s linear;
}

/* ── NAV ─────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 3rem;
  background: rgba(7,11,18,0.75); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border); transition: padding .3s;
}
nav.scrolled { padding: .7rem 3rem; }

.nav-logo {
  display: flex; align-items: center; text-decoration: none;
  color: var(--text); flex-shrink: 0;
}
.nav-logo .logo-full {
  height: 22px; width: auto; display: block;
  color: var(--text); transition: color .2s;
}
.nav-logo:hover .logo-full { color: var(--cyan); }

.footer-logo { margin-bottom: .8rem; }
.footer-logo .logo-mark { height: 32px; width: auto; display: block; color: var(--cyan); }

.mobile-menu-header .nav-logo .logo-full { height: 20px; }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--muted); text-decoration: none; font-size: .85rem;
  font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--cyan); transition: width .3s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--cyan); }

.nav-cta {
  padding: .55rem 1.4rem; background: var(--cyan); color: #000;
  border: none; border-radius: 6px; font-weight: 700;
  font-family: 'Space Grotesk', sans-serif; font-size: .82rem;
  letter-spacing: .06em; text-transform: uppercase; cursor: none;
  text-decoration: none; transition: background .2s, transform .15s, box-shadow .2s;
}
.nav-cta:hover { background: #33ddff; box-shadow: 0 0 20px var(--cyan-glow); transform: translateY(-1px); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-block; padding: .85rem 2rem;
  background: var(--cyan); color: #000; border: none; border-radius: 8px;
  font-weight: 700; font-family: 'Space Grotesk', sans-serif;
  font-size: .9rem; letter-spacing: .06em; text-transform: uppercase;
  cursor: none; text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary:hover { background: #33ddff; box-shadow: 0 0 30px var(--cyan-glow); transform: translateY(-2px); }

.btn-ghost {
  display: inline-block; padding: .85rem 2rem;
  background: transparent; color: var(--text);
  border: 1px solid var(--border); border-radius: 8px;
  font-weight: 600; font-family: 'Space Grotesk', sans-serif;
  font-size: .9rem; letter-spacing: .04em; cursor: none; text-decoration: none;
  transition: border-color .2s, color .2s;
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* ── SECTION COMMONS ─────────────────────────────────────── */
section { position: relative; z-index: 1; padding: 7rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.section-alt { background: var(--bg2); }
.accent { color: var(--cyan); }

.section-tag {
  font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 1rem;
  display: flex; align-items: center; gap: .7rem;
}
.section-tag::before, .section-tag::after { content: ''; flex: 0 0 30px; height: 1px; background: var(--cyan); }

.section-title { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 1rem; }
.section-title .accent { color: var(--cyan); }
.section-sub { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 540px; }

/* ── PAGE HEADER ─────────────────────────────────────────── */
.page-header {
  position: relative; z-index: 1;
  padding: 10rem 2rem 5rem; text-align: center;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(0,212,255,0.07), transparent);
}
.page-tag {
  font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: center; gap: .7rem;
}
.page-tag::before, .page-tag::after { content: ''; flex: 0 0 30px; height: 1px; background: var(--cyan); }
.page-header h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 1rem; }
.page-header h1 span { color: var(--cyan); }
.page-header p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 520px; margin: 0 auto; }

/* ── FOOTER ──────────────────────────────────────────────── */
footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 4rem 2rem 2rem; z-index: 1; position: relative; }
.footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid var(--border);
}
.footer-brand p { color: var(--muted); font-size: .85rem; line-height: 1.7; margin: .8rem 0 1.2rem; }
.footer-logo { font-size: 1.4rem; font-weight: 700; margin-bottom: .2rem; }
.footer-location { color: var(--muted); font-size: .85rem; display: block; margin-top: .2rem; }
.footer-col h4 { font-size: .72rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer-col a { display: block; color: var(--muted); text-decoration: none; font-size: .88rem; margin-bottom: .6rem; transition: color .2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-social-btn {
  color: var(--muted); font-size: .8rem; text-decoration: none;
  border: 1px solid var(--border); padding: .4rem .8rem; border-radius: 6px;
  transition: border-color .2s, color .2s; display: inline-block; margin-right: .5rem;
}
.footer-social-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem; font-size: .8rem; color: var(--muted);
}

/* ── WHATSAPP FLOAT ──────────────────────────────────────── */
#wa {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 200;
  width: 56px; height: 56px; background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  text-decoration: none; cursor: none;
  transition: transform .25s, box-shadow .25s;
  animation: waPulse 2.5s ease-in-out infinite;
}
#wa:hover { transform: scale(1.12); box-shadow: 0 6px 30px rgba(37,211,102,.6); }
#wa svg { width: 30px; height: 30px; fill: white; }
@keyframes waPulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50%      { box-shadow: 0 4px 35px rgba(37,211,102,.7); }
}

/* ── REVEAL ON SCROLL ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s; }
.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; }

/* ── LEGAL ───────────────────────────────────────────────── */
.legal-body { max-width: 760px; margin: 0 auto; padding: 10rem 2rem 5rem; }
.legal-section { margin-bottom: 2.5rem; }
.legal-section h2 { font-size: 1.2rem; font-weight: 700; color: var(--cyan); margin-bottom: 1rem; padding-left: .8rem; border-left: 2px solid var(--cyan); }
.legal-section p { color: var(--muted); font-size: .95rem; line-height: 1.8; margin-bottom: .8rem; }
.legal-section ul { color: var(--muted); font-size: .95rem; line-height: 1.8; padding-left: 1.5rem; margin-bottom: .8rem; }
.legal-section ul li { margin-bottom: .4rem; }
.legal-section a { color: var(--cyan); text-decoration: none; }
.legal-section a:hover { text-decoration: underline; }
.legal-section strong { color: var(--text); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq-wrap { margin-top: 3rem; }
.faq-list { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--border); overflow: hidden; }
.faq-q {
  width: 100%; background: none; border: none; color: var(--text);
  font-family: 'Space Grotesk', sans-serif; font-size: 1rem; font-weight: 600;
  text-align: left; padding: 1.4rem 0;
  display: flex; justify-content: space-between; align-items: center;
  cursor: none; gap: 1rem;
}
.faq-num { color: var(--cyan); font-size: .75rem; min-width: 24px; }
.faq-icon { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--border); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--cyan); transition: transform .3s, background .2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--cyan-dim); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.25,1,.5,1), padding .3s; color: var(--muted); font-size: .9rem; line-height: 1.75; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 1.5rem; }
.faq-cta { margin-top: 2.5rem; max-width: 760px; padding: 2rem; border: 1px solid var(--border); border-radius: 12px; background: var(--card); display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.faq-cta p { color: var(--muted); font-size: .9rem; }
.faq-cta strong { color: var(--text); }

/* ════════════════════════════════════════════════════════════
   INDEX
   ════════════════════════════════════════════════════════════ */
#hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 7rem 2rem 4rem; z-index: 1;
  background: radial-gradient(ellipse 80% 60% at 50% 10%, rgba(0,212,255,0.06), transparent 70%);
}
.hero-tag { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); border: 1px solid var(--cyan-dim); padding: .35rem 1rem; border-radius: 100px; margin-bottom: 2rem; }
.hero-title { font-size: clamp(3rem, 10vw, 8.5rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; margin-bottom: 1.5rem; }
.hero-sub { font-size: clamp(.95rem, 2vw, 1.15rem); color: var(--muted); max-width: 460px; line-height: 1.7; margin-bottom: 2.5rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.stats-row { display: flex; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; margin-top: 4rem; background: var(--card); }
.stat { flex: 1; padding: 1.2rem 2.5rem; text-align: center; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat-n { font-size: 2rem; font-weight: 700; color: var(--cyan); }
.stat-l { font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5px; margin-top: 4rem; border: 1.5px solid var(--border); border-radius: 16px; overflow: hidden; }
.service-card { background: var(--card); padding: 2.5rem 2rem; position: relative; overflow: hidden; transition: background .3s; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--cyan); transform: scaleX(0); transition: transform .4s; transform-origin: left; }
.service-card:hover { background: rgba(0,212,255,0.06); }
.service-card:hover::before { transform: scaleX(1); }
.service-num { font-size: .7rem; font-weight: 700; letter-spacing: .15em; color: var(--cyan); margin-bottom: 1.5rem; }
.service-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--cyan-dim); border: 1px solid var(--cyan-glow); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.2rem; }
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .8rem; }
.service-card p { color: var(--muted); font-size: .9rem; line-height: 1.7; }
.service-badge { display: inline-block; margin-top: 1.2rem; font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); border: 1px solid var(--cyan-dim); padding: .3rem .8rem; border-radius: 100px; }

.bento { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5px; margin-top: 4rem; border: 1.5px solid var(--border); border-radius: 16px; overflow: hidden; }
.bento-cell { background: var(--card); padding: 2.5rem; transition: background .3s; }
.bento-cell:hover { background: rgba(0,212,255,0.05); }
.bento-cell.tall { grid-row: span 2; }
.bento-icon { font-size: 2rem; margin-bottom: 1rem; }
.bento-cell h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .7rem; }
.bento-cell p { color: var(--muted); font-size: .88rem; line-height: 1.65; }
.bento-sub { margin-top: 1rem !important; }

.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 4rem; }
.portfolio-card { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: var(--bg3); transition: transform .3s, box-shadow .3s; }
.portfolio-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,212,255,0.1); }
.portfolio-thumb { width: 100%; height: 180px; background: linear-gradient(135deg, var(--bg3), var(--bg2)); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; border-bottom: 1px solid var(--border); position: relative; }
.portfolio-tag { position: absolute; top: 12px; left: 12px; font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--cyan); color: #000; padding: .25rem .7rem; border-radius: 4px; }
.portfolio-info { padding: 1.2rem 1.5rem; }
.portfolio-info h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .4rem; }
.portfolio-info p { color: var(--muted); font-size: .85rem; line-height: 1.55; }
.portfolio-more { margin-top: 2.5rem; text-align: center; }

.faci-mock { background: var(--bg); border-radius: 6px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); width: 75%; box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
.faci-mock-bar { background: #0d2b1a; padding: .35rem .5rem; display: flex; gap: .3rem; align-items: center; border-bottom: 1px solid rgba(255,255,255,0.08); }
.faci-mock-bar span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.15); }
.faci-mock-body { padding: .8rem; background: linear-gradient(135deg, #0d2b1a, #1a4a2e); }
.faci-mock-title { font-size: .8rem; font-weight: 700; color: #fff; margin-bottom: .2rem; }
.faci-mock-sub { font-size: .6rem; color: rgba(255,255,255,0.6); }

.proceso-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.steps { display: flex; flex-direction: column; }
.step { display: flex; gap: 2rem; align-items: flex-start; padding: 2rem 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; }
.step-num { font-size: 3.5rem; font-weight: 700; line-height: 1; min-width: 70px; text-align: right; color: transparent; -webkit-text-stroke: 1px rgba(0,212,255,0.25); transition: -webkit-text-stroke .3s; }
.step:hover .step-num { -webkit-text-stroke: 1px var(--cyan); }
.step-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.step-body p { color: var(--muted); font-size: .9rem; line-height: 1.7; }

#cta { background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(0,212,255,0.08), transparent); }
.cta-box { border: 1px solid var(--border); border-radius: 20px; padding: 5rem 3rem; background: var(--card); position: relative; overflow: hidden; text-align: center; }
.cta-box::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60%; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); }
.cta-box h2 { font-size: clamp(1.6rem, 3.5vw, 2.8rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 1rem; }
.cta-box p { color: var(--muted); max-width: 400px; margin: 0 auto 2.5rem; line-height: 1.7; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════
   NOSOTROS
   ════════════════════════════════════════════════════════════ */
.quienes-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.quienes-text p { color: var(--muted); font-size: .95rem; line-height: 1.8; margin-bottom: 1.2rem; }

.visual-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; margin-bottom: 1rem; position: relative; overflow: hidden; transition: border-color .3s; }
.visual-card:hover { border-color: var(--cyan-dim); }
.visual-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--cyan), transparent); }
.vc-tag { font-size: .65rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: var(--cyan); margin-bottom: .8rem; }
.visual-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .6rem; }
.visual-card p { color: var(--muted); font-size: .85rem; line-height: 1.65; }

.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mini-card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 1.2rem; text-align: center; transition: border-color .3s, background .3s; }
.mini-card:hover { border-color: var(--cyan-dim); background: rgba(0,212,255,0.04); }
.mini-n { display: block; font-size: 1.8rem; font-weight: 700; color: var(--cyan); }
.mini-l { display: block; font-size: .65rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; }

.valores-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 4rem; }
.valor-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 2rem; transition: transform .3s, border-color .3s, box-shadow .3s; }
.valor-card:hover { transform: translateY(-4px); border-color: var(--cyan-dim); box-shadow: 0 12px 40px rgba(0,212,255,0.08); }
.valor-icon { font-size: 1.8rem; margin-bottom: 1rem; }
.valor-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .6rem; }
.valor-card p { color: var(--muted); font-size: .875rem; line-height: 1.7; }

.equipo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 4rem; }
.team-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; transition: border-color .3s, transform .3s; }
.team-card:hover { border-color: var(--cyan-dim); transform: translateY(-4px); }
.team-avatar { width: 56px; height: 56px; border-radius: 14px; background: var(--cyan-dim); border: 1px solid var(--cyan-glow); display: flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 700; color: var(--cyan); letter-spacing: .05em; margin-bottom: 1.2rem; }
.team-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .3rem; }
.team-role { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1rem; }
.team-card p { color: var(--muted); font-size: .875rem; line-height: 1.7; margin-bottom: 1.2rem; }
.team-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.team-tags span { font-size: .68rem; font-weight: 600; letter-spacing: .07em; color: var(--muted); border: 1px solid var(--border); padding: .2rem .6rem; border-radius: 100px; transition: border-color .2s, color .2s; }
.team-card:hover .team-tags span { border-color: var(--cyan-dim); color: var(--text); }

.manifiesto-box { max-width: 820px; margin: 0 auto; border: 1px solid var(--border); border-radius: 20px; padding: 4rem; background: var(--card); position: relative; overflow: hidden; text-align: center; }
.manifiesto-box::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 50%; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); }
.manifiesto-label { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--cyan); margin-bottom: 2rem; }
blockquote { font-size: clamp(1rem, 2.2vw, 1.3rem); font-weight: 500; line-height: 1.75; color: var(--text); font-style: italic; margin-bottom: 1.5rem; }
.manifiesto-firma { color: var(--muted); font-size: .85rem; }

/* ════════════════════════════════════════════════════════════
   TRABAJO
   ════════════════════════════════════════════════════════════ */
.filters { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 3rem; }
.filter-btn { padding: .5rem 1.2rem; background: transparent; border: 1px solid var(--border); color: var(--muted); border-radius: 100px; font-family: 'Space Grotesk', sans-serif; font-size: .78rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; cursor: none; transition: all .2s; }
.filter-btn:hover { border-color: var(--cyan-dim); color: var(--text); }
.filter-btn.active { background: var(--cyan); border-color: var(--cyan); color: #000; }

.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; }
.project-card { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: var(--bg2); transition: transform .35s, box-shadow .35s, border-color .35s; display: flex; flex-direction: column; }
.project-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,212,255,0.1); border-color: var(--cyan-dim); }
.project-card.hidden { display: none; }

.project-thumb { height: 200px; position: relative; overflow: hidden; background: var(--thumb-color, var(--bg3)); display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--border); }
.thumb-content { width: 85%; }
.thumb-mock { background: var(--bg); border-radius: 8px; overflow: hidden; border: 1px solid var(--border); box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.mock-bar { background: var(--bg2); padding: .4rem .6rem; display: flex; gap: .3rem; align-items: center; border-bottom: 1px solid var(--border); }
.mock-bar span { width: 7px; height: 7px; border-radius: 50%; background: var(--border); }
.mock-hero { padding: 1rem; min-height: 80px; display: flex; flex-direction: column; justify-content: flex-end; }
.mock-badge { display: inline-block; font-size: .55rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--cyan); color: #000; padding: .15rem .4rem; border-radius: 3px; margin-bottom: .3rem; width: fit-content; }
.mock-title { font-size: .85rem; font-weight: 700; margin-bottom: .15rem; }
.mock-sub { font-size: .65rem; color: var(--muted); }
.project-cat-badge { position: absolute; top: 12px; right: 12px; font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); border: 1px solid var(--cyan-dim); padding: .25rem .6rem; border-radius: 100px; background: rgba(7,11,18,0.7); backdrop-filter: blur(8px); }
.cta-thumb { background: var(--cyan-dim) !important; flex-direction: column; gap: .6rem; border-bottom: 1px dashed var(--cyan-glow) !important; }
.cta-plus { font-size: 3rem; font-weight: 300; color: var(--cyan); line-height: 1; }
.cta-thumb > p { font-size: .78rem; color: var(--muted); letter-spacing: .05em; text-align: center; }

.project-info { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.project-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .6rem; }
.project-header h3 { font-size: 1.15rem; font-weight: 700; }
.project-year { font-size: .72rem; font-weight: 600; color: var(--cyan); letter-spacing: .1em; }
.project-info > p { color: var(--muted); font-size: .875rem; line-height: 1.65; margin-bottom: 1.2rem; flex: 1; }
.project-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.2rem; }
.project-tags span { font-size: .65rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--border); padding: .2rem .6rem; border-radius: 100px; transition: border-color .2s; }
.project-card:hover .project-tags span { border-color: var(--cyan-dim); }
.project-results { display: flex; gap: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.result { display: flex; flex-direction: column; }
.result-n { font-size: 1.2rem; font-weight: 700; color: var(--cyan); }
.result-l { font-size: .65rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: .1rem; }

.proceso-quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 4rem; }
.pq-card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 2rem; transition: border-color .3s, transform .3s; }
.pq-card:hover { border-color: var(--cyan-dim); transform: translateY(-4px); }
.pq-icon { font-size: 2rem; margin-bottom: 1rem; }
.pq-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: .6rem; }
.pq-card p { color: var(--muted); font-size: .875rem; line-height: 1.65; }

/* ════════════════════════════════════════════════════════════
   CONTACTO
   ════════════════════════════════════════════════════════════ */
main { position: relative; z-index: 1; padding: 3rem 2rem 6rem; }
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1rem; }

.info-card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 1.4rem; display: flex; gap: 1rem; align-items: flex-start; transition: border-color .3s, background .3s; }
.info-card:hover { border-color: var(--cyan-dim); background: rgba(0,212,255,0.04); }
.info-icon { width: 40px; height: 40px; border-radius: 8px; background: var(--cyan-dim); border: 1px solid var(--cyan-glow); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.info-label { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan); margin-bottom: .25rem; }
.info-val { font-size: .95rem; font-weight: 500; }
.info-val a { color: var(--text); text-decoration: none; transition: color .2s; }
.info-val a:hover { color: var(--cyan); }
.info-sub { font-size: .8rem; color: var(--muted); margin-top: .15rem; }
.response-badge { padding: 1.3rem; border: 1px solid var(--cyan-dim); border-radius: 12px; background: rgba(0,212,255,0.04); }
.response-badge strong { display: block; font-size: .9rem; margin-bottom: .4rem; }
.response-badge p { color: var(--muted); font-size: .82rem; line-height: 1.65; }

.form-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 2.5rem; }
.form-card h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: .3rem; }
.form-card > p { color: var(--muted); font-size: .85rem; margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .45rem; margin-bottom: 1rem; }
label { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
input, select, textarea { background: rgba(255,255,255,0.03); border: 1px solid var(--border); color: var(--text); font-family: 'Space Grotesk', sans-serif; font-size: .92rem; padding: .75rem 1rem; border-radius: 8px; width: 100%; transition: border-color .2s, background .2s; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); background: rgba(0,212,255,0.04); }
input::placeholder, textarea::placeholder { color: var(--muted); }
select option { background: var(--bg2); color: var(--text); }
textarea { resize: vertical; min-height: 120px; }
.btn-submit { width: 100%; padding: .95rem; background: var(--cyan); color: #000; border: none; border-radius: 8px; font-weight: 700; font-family: 'Space Grotesk', sans-serif; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; cursor: none; margin-top: .4rem; transition: background .2s, transform .15s, box-shadow .2s; }
.btn-submit:hover { background: #33ddff; box-shadow: 0 0 30px var(--cyan-glow); transform: translateY(-1px); }
.form-note { font-size: .75rem; color: var(--muted); text-align: center; margin-top: .9rem; }
.form-note a { color: var(--cyan); text-decoration: none; }
#success-msg { display: none; text-align: center; padding: 3rem 2rem; }
.success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--cyan-dim); border: 1px solid var(--cyan-glow); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--cyan); margin: 0 auto 1.2rem; }
#success-msg h3 { font-size: 1.3rem; font-weight: 700; color: var(--cyan); margin-bottom: .5rem; }
#success-msg p { color: var(--muted); font-size: .9rem; line-height: 1.7; }
#success-msg a { color: var(--cyan); text-decoration: none; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════════════════ */
@media (max-width: 1000px) {
  .valores-grid { grid-template-columns: repeat(2, 1fr); }
  .proceso-quick-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .proceso-layout { grid-template-columns: 1fr; gap: 3rem; }
  .bento { grid-template-columns: 1fr; }
  .bento-cell.tall { grid-row: span 1; }
  .quienes-layout { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
/* ── HAMBURGER BUTTON ────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 36px; height: 36px;
  background: none; border: 1px solid var(--border); border-radius: 8px;
  cursor: none; padding: 0; transition: border-color .2s;
}
.nav-hamburger:hover { border-color: var(--cyan); }
.nav-hamburger span {
  display: block; width: 18px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: transform .3s, opacity .3s, width .3s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE MENU ─────────────────────────────────────────── */
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(320px, 85vw);
  background: var(--bg2); border-left: 1px solid var(--border);
  z-index: 500; display: flex; flex-direction: column;
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.25,1,.5,1);
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 2.5rem; padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-close {
  background: none; border: 1px solid var(--border); border-radius: 8px;
  color: var(--muted); font-size: 1rem; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: none; transition: border-color .2s, color .2s;
}
.mobile-menu-close:hover { border-color: var(--cyan); color: var(--cyan); }

.mobile-nav-links { list-style: none; display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.mobile-nav-links a {
  display: block; padding: .9rem 1rem;
  color: var(--muted); text-decoration: none;
  font-size: 1rem; font-weight: 500; letter-spacing: .03em;
  border-radius: 8px; transition: background .2s, color .2s;
}
.mobile-nav-links a:hover,
.mobile-nav-links a.active { background: var(--cyan-dim); color: var(--text); }

.mobile-cta {
  display: block; text-align: center;
  padding: .9rem; background: var(--cyan); color: #000;
  border-radius: 8px; text-decoration: none;
  font-weight: 700; font-size: .9rem; letter-spacing: .05em;
  text-transform: uppercase; margin-top: 1.5rem;
  transition: background .2s;
}
.mobile-cta:hover { background: #33ddff; }

.mobile-overlay {
  position: fixed; inset: 0; z-index: 499;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .35s;
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }

@media (max-width: 768px) {
  body { cursor: auto; }
  #cursor, #cursor-ring { display: none; }
  nav { padding: .9rem 1.5rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  a, button { cursor: pointer; }
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .valores-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .projects-grid { grid-template-columns: 1fr; }
  .proceso-quick-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .stats-row { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
