/* ============================================================
   VEXIK — Section & component styles
   ============================================================ */

/* ---------- Ambient site-wide background ---------- */
.ambient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(620px 620px at 82% 8%, rgba(0,255,128,.055), transparent 60%),
    radial-gradient(560px 560px at 10% 64%, rgba(0,255,128,.04), transparent 62%),
    radial-gradient(500px 500px at 60% 110%, rgba(0,255,128,.035), transparent 64%);
  filter: blur(8px);
  animation: ambientShift 40s ease-in-out infinite alternate;
}
@keyframes ambientShift {
  0%   { transform: translate3d(0,0,0)      scale(1); }
  50%  { transform: translate3d(0,-1.5%,0)  scale(1.06); }
  100% { transform: translate3d(0,1%,0)     scale(1.02); }
}
@media (prefers-reduced-motion: reduce) { .ambient { animation: none; } }

/* keep section content above the ambient layer (nav & menu keep their own z-index) */
body > section, body > footer { position: relative; z-index: 1; }

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-dot { width: 7px; height: 7px; background: var(--green); transition: width .2s, height .2s, background .2s; }
.cursor-ring {
  width: 34px; height: 34px;
  border: 1px solid rgba(0,255,128,.5);
  transition: width .25s cubic-bezier(.2,.7,.2,1), height .25s cubic-bezier(.2,.7,.2,1), border-color .25s, background .25s;
}
body.cursor-hover .cursor-ring { width: 60px; height: 60px; border-color: var(--green); background: rgba(0,255,128,.06); }
body.cursor-hover .cursor-dot { width: 4px; height: 4px; }
@media (hover: none), (max-width: 860px) {
  .cursor-dot, .cursor-ring { display: none; }
  * { cursor: auto !important; }
}
@media (hover: hover) and (min-width: 861px) {
  body.custom-cursor, body.custom-cursor a, body.custom-cursor button { cursor: none; }
}

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background .35s, backdrop-filter .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  height: 74px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-size: 21px; font-weight: 700; color: var(--white);
  letter-spacing: -0.02em;
  display: inline-flex; align-items: center; gap: 8px;
}
.logo .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-bottom: 2px; }
.nav-links { display: flex; align-items: center; gap: 38px; }
.nav-links a {
  font-size: 14px; color: var(--gray); font-weight: 500;
  transition: color .2s; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 1px; background: var(--green); transition: width .25s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 22px; }
.nav-cta { padding: 11px 20px; font-size: 13.5px; }

.hamburger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; margin-right: -6px; }
.hamburger span { width: 22px; height: 1.6px; background: var(--white); transition: transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 74px 0 auto 0;
  background: rgba(0,0,0,.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 999;
  transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
  padding: 24px var(--gutter) 34px;
}
.mobile-menu.open { transform: none; opacity: 1; pointer-events: auto; }
.mobile-menu a:not(.btn) { display: block; padding: 16px 2px; font-size: 19px; color: var(--white); border-bottom: 1px solid var(--border); font-weight: 600; }
.mobile-menu .btn {
  margin-top: 26px; width: 100%; justify-content: center;
  padding: 17px 24px; font-size: 16px; font-weight: 700;
  color: #04150b; letter-spacing: -0.01em;
  border-radius: 12px;
  box-shadow: 0 10px 30px -10px rgba(0,255,128,.45);
}
.mobile-menu .btn .arrow, .mobile-menu .btn::after { color: #04150b; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 110px; overflow: hidden; }
#particles { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-glow {
  position: absolute; top: -200px; right: -160px;
  width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(0,255,128,.16) 0%, rgba(0,255,128,.05) 35%, transparent 68%);
  filter: blur(20px);
  z-index: 0; pointer-events: none;
  animation: glowShift 18s ease-in-out infinite alternate;
}
.hero-glow2 {
  top: auto; right: auto; bottom: -260px; left: -180px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,255,128,.12) 0%, rgba(0,255,128,.04) 38%, transparent 70%);
  filter: blur(22px);
  animation: glowShift2 24s ease-in-out infinite alternate;
}
@keyframes glowShift {
  0%   { transform: translate(0,0) scale(1);            opacity: 1; }
  50%  { transform: translate(-50px,40px) scale(1.12);  opacity: .78; }
  100% { transform: translate(30px,-20px) scale(1.05);  opacity: 1; }
}
@keyframes glowShift2 {
  0%   { transform: translate(0,0) scale(1);            opacity: .85; }
  50%  { transform: translate(60px,-30px) scale(1.15);  opacity: 1; }
  100% { transform: translate(-20px,20px) scale(1.04);  opacity: .8; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-glow, .hero-glow2 { animation: none; }
}
.hero-inner { position: relative; z-index: 2; max-width: 940px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; text-align: center; }
.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 15px; border: 1px solid var(--border);
  border-radius: 100px; background: var(--surface);
  font-size: 12px; color: var(--gray-strong); font-weight: 500;
  letter-spacing: .01em; margin-bottom: 34px; white-space: nowrap;
}
.pill .ping { position: relative; width: 7px; height: 7px; }
.pill .ping i { position: absolute; inset: 0; border-radius: 50%; background: var(--green); }
.pill .ping i:first-child { animation: ping 1.8s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 75%,100% { transform: scale(2.4); opacity: 0; } }

.hero h1 {
  font-size: clamp(42px, 8vw, 92px);
  font-weight: 700; letter-spacing: -0.045em; line-height: 0.98;
  color: var(--white);
  text-wrap: balance;
}
.hero h1 .line2 { color: #777; }
.scramble { color: var(--green); }
.hero-sub {
  font-size: 18px; line-height: 1.65; color: var(--gray);
  max-width: 720px; margin: 30px auto 40px;
  text-wrap: balance;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-cta .arrow { font-size: 1.4em; line-height: 0.8; position: relative; top: 1px; }
.hero-cta .btn { padding: 16px 28px; font-size: 15px; }

/* ---------- Credibility bar ---------- */
.cred {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cred-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.cred-item {
  padding: 30px 28px;
  display: flex; align-items: center; gap: 13px;
  font-size: 14px; color: var(--gray-strong); font-weight: 500;
  border-left: 1px solid var(--border);
}
.cred-item:first-child { border-left: none; }
.cred-item .chk {
  flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-dim); color: var(--green);
  display: grid; place-items: center; font-size: 11px;
}

/* ---------- Problema (rediseñada) ---------- */
.problema { background: transparent; }
.problema-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start;
}
.problema-left { position: sticky; top: 110px; }
.problema-left .eyebrow {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--label);
}
.problema-left h2 { font-size: 48px; font-weight: 700; letter-spacing: -0.03em; margin: 12px 0 0; line-height: 1.06; }
.problema-lead { font-size: 15px; color: #666; line-height: 1.7; max-width: 380px; margin: 24px 0 32px; }
.problema-cta { padding: 14px 24px; }

.problema-right { display: flex; flex-direction: column; gap: 10px; max-width: 500px; margin-left: -38px; margin-top: 40px; }
.pain-card {
  display: flex; align-items: center; gap: 16px;
  background: #0A0A0A; border: 0.5px solid #1e1e1e; border-radius: 12px;
  padding: 1rem 1.25rem;
  transition: border-color .3s, transform .3s, background .3s;
}
.pain-card:hover { border-color: #2c2c2c; background: #0d0d0d; transform: translateX(-3px); }
.pain-x { flex: none; color: #ff4444; opacity: .6; font-size: 18px; font-weight: 700; line-height: 1; }
.pain-card p { font-size: 14px; color: var(--gray); line-height: 1.5; }

.problema-banner {
  margin-top: 56px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: #0A0A0A; border-top: 0.5px solid #1e1e1e; border-radius: 12px;
  padding: 1.5rem 2rem;
}
.problema-banner .pb-main { color: #fff; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.problema-banner .pb-link { color: var(--green); font-size: 13px; font-weight: 600; transition: opacity .2s; white-space: nowrap; }
.problema-banner .pb-link:hover { opacity: .75; }

/* staggered card entrance (right → left) */
.reveal-x { opacity: 0; transform: translateX(20px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal-x.in { opacity: 1; transform: none; }
.problema-right .reveal-x.in:nth-child(1) { transition-delay: 0s; }
.problema-right .reveal-x.in:nth-child(2) { transition-delay: .1s; }
.problema-right .reveal-x.in:nth-child(3) { transition-delay: .2s; }
.problema-right .reveal-x.in:nth-child(4) { transition-delay: .3s; }
.problema-right .reveal-x.in:nth-child(5) { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { .reveal-x { opacity: 1; transform: none; transition: none; } }

/* ---------- Solución ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card {
  position: relative; display: block; color: inherit;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 36px 32px 40px;
  transition: border-color .3s, transform .3s, background .3s;
}
.feat-card:hover { border-color: #1c1c1c; background: #0c0c0c; transform: translateY(-4px); }
.feat-border {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; overflow: visible; z-index: 1;
}
.feat-border rect {
  x: 1px; y: 1px; width: calc(100% - 2px); height: calc(100% - 2px);
  rx: var(--radius); fill: none;
  stroke: var(--green); stroke-width: 2;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  transition: stroke-dashoffset .7s cubic-bezier(.55,.1,.3,1);
}
.feat-card:hover .feat-border rect { stroke-dashoffset: 0; }
.feat-card > .feat-ico,
.feat-card > h3,
.feat-card > p { position: relative; z-index: 2; }
.feat-ico {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--green-dim); color: var(--green);
  display: grid; place-items: center; margin-bottom: 26px;
}
.feat-ico svg { width: 24px; height: 24px; }
.feat-card h3 { font-size: 22px; margin-bottom: 12px; letter-spacing: -0.02em; }
.feat-card p { font-size: 15px; color: var(--gray); line-height: 1.6; }

/* ---------- Proyectos ---------- */
.proj-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.proj-card {
  position: relative; border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden; background: var(--surface);
  transform-style: preserve-3d;
  transition: border-color .3s, box-shadow .3s;
}
.proj-card:hover { border-color: #2a2a2a; box-shadow: 0 30px 70px -40px rgba(0,0,0,.9); }
.proj-shot {
  aspect-ratio: 16 / 9; position: relative; overflow: hidden;
  display: grid; place-items: center;
  background:
    radial-gradient(120% 120% at 70% 10%, rgba(0,255,128,.06), transparent 50%),
    linear-gradient(160deg, #0e0e0e, #060606);
  transform: translateZ(30px);
}
.proj-shot .proj-img {
  position: absolute; inset: 0; z-index: 2;
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .5s ease;
}
.proj-card:hover .proj-img { transform: scale(1.04); }
.proj-shot .ghost-name {
  font-size: 38px; font-weight: 700; color: #1c1c1c; letter-spacing: -0.04em;
  transition: color .35s;
}
.proj-card:hover .ghost-name { color: #242424; }
.proj-shot .grid-bg {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 38px 38px; opacity: .35;
  mask-image: radial-gradient(110% 80% at 50% 30%, #000, transparent 80%);
}
.proj-overlay {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(180deg, rgba(0,255,128,.03), rgba(0,40,20,.16));
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .35s;
}
.proj-overlay span {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 100px;
  background: var(--green); color: #001a0d; font-weight: 600; font-size: 14px;
  transform: translateY(8px); transition: transform .35s;
}
.proj-card:hover .proj-overlay { opacity: 1; }
.proj-card:hover .proj-overlay span { transform: none; }
.proj-meta {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px; transform: translateZ(20px);
}
.proj-meta .badge {
  display: inline-block; font-size: 11px; text-transform: uppercase;
  letter-spacing: .12em; color: var(--gray); padding: 5px 11px;
  border: 1px solid var(--border); border-radius: 100px; margin-bottom: 10px;
}
.proj-meta h3 { font-size: 21px; letter-spacing: -0.02em; }
.proj-arrow {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border); color: var(--gray);
  display: grid; place-items: center;
  transition: background .3s, color .3s, border-color .3s, transform .3s;
}
.proj-card:hover .proj-arrow { background: var(--green); color: #001a0d; border-color: var(--green); transform: rotate(-45deg); }

/* ---------- Testimonios ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.testi-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 40px 38px;
  display: flex; flex-direction: column; gap: 26px;
}
.testi-card .quote-mark { color: var(--green); font-size: 42px; line-height: .5; font-weight: 700; height: 22px; }
.testi-card blockquote { font-size: 19px; line-height: 1.55; color: var(--gray-strong); font-weight: 400; letter-spacing: -0.01em; }
.testi-author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testi-author .av {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: linear-gradient(140deg, #143, #021); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--green); font-weight: 700; font-size: 16px;
}
.testi-author .who b { display: block; color: var(--white); font-size: 14.5px; font-weight: 600; }
.testi-author .who span { font-size: 12.5px; color: var(--label); }

/* ---------- Proceso ---------- */
.proc-list { display: flex; flex-direction: column; }
.proc-item {
  position: relative;
  display: grid; grid-template-columns: 120px 1fr; gap: 40px;
  padding: 38px 0; border-top: 1px solid var(--border);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), border-color .35s ease;
}
.proc-item:last-child { border-bottom: 1px solid var(--border); }
.proc-item::before {
  content: ""; position: absolute; left: -2px; top: 24px; bottom: 24px; width: 2px;
  background: var(--green); border-radius: 2px;
  transform: scaleY(0); transform-origin: top; opacity: 0;
  transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .3s ease;
}
.proc-item::after {
  content: "→"; position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%) translateX(-10px);
  color: var(--green); font-size: 26px; font-weight: 600; opacity: 0;
  transition: opacity .4s ease, transform .5s cubic-bezier(.2,.7,.2,1);
}
.proc-item:hover {
  transform: translateX(18px);
  border-color: #242424;
  z-index: 1;
}
.proc-item:hover::before { transform: scaleY(1); opacity: 1; }
.proc-item:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }
.proc-num { font-size: 60px; font-weight: 700; color: #161616; letter-spacing: -0.04em; line-height: .9; transition: color .35s ease, transform .45s cubic-bezier(.2,.7,.2,1); }
.proc-item:hover .proc-num { color: var(--green); transform: translateX(6px); }
.proc-body { max-width: 620px; padding-top: 6px; }
.proc-body h3 { font-size: 23px; margin-bottom: 10px; letter-spacing: -0.02em; color: #d8d8d8; transition: color .35s ease; }
.proc-item:hover .proc-body h3 { color: var(--white); }
.proc-body p { font-size: 15.5px; color: var(--gray); }

/* ---------- Precios ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 38px 32px 36px;
  display: flex; flex-direction: column;
  transition: border-color .3s, transform .3s;
}
.price-card:hover { border-color: #2a2a2a; transform: translateY(-4px); }
.price-card.featured {
  border-color: var(--green);
  background: linear-gradient(180deg, rgba(0,255,128,.04), transparent 40%), var(--surface);
  position: relative; box-shadow: 0 0 0 1px var(--green), 0 30px 80px -50px rgba(0,255,128,.5);
}
.price-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--green); color: #001a0d; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; padding: 6px 14px; border-radius: 100px;
  white-space: nowrap;
}
.price-card .plan-name { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--gray); font-weight: 600; }
.price-card .plan-tag { font-size: 25px; color: var(--white); font-weight: 700; letter-spacing: -0.02em; margin: 14px 0 24px; }
.price-card.featured .plan-tag { color: var(--green); }
.price-card ul { list-style: none; display: flex; flex-direction: column; gap: 15px; margin-bottom: 34px; flex: 1; }
.price-card li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; color: var(--gray-strong); line-height: 1.45; }
.price-card li .tick { flex: none; color: var(--green); margin-top: 2px; }
.price-card .btn { width: 100%; justify-content: center; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px 4px; font-size: 19px; color: var(--white); font-weight: 500; letter-spacing: -0.01em;
}
.faq-icon { flex: none; width: 24px; height: 24px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--green); border-radius: 2px; transition: transform .3s; }
.faq-icon::before { top: 11px; left: 3px; width: 18px; height: 2px; }
.faq-icon::after { top: 3px; left: 11px; width: 2px; height: 18px; }
.faq-item.open .faq-icon::after { transform: rotate(90deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(.2,.7,.2,1); }
.faq-a-inner { padding: 0 4px 28px; font-size: 15.5px; color: var(--gray); max-width: 680px; line-height: 1.65; }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; padding: 64px 0 130px; position: relative; overflow: hidden; }
.cta-glow {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(0,255,128,.13), transparent 65%);
  filter: blur(10px); pointer-events: none;
}
.cta-final .inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; }
.cta-final h2 { font-size: clamp(36px, 5.5vw, 60px); letter-spacing: -0.04em; line-height: 1.02; }
.cta-final p { font-size: 18px; color: var(--gray); margin: 24px 0 38px; }
.cta-final .btn { padding: 18px 32px; font-size: 16px; }

/* ---------- Footer ---------- */
.footer { background: #030303; border-top: 1px solid var(--border); padding: 80px 0 40px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--border); }
.footer .logo { margin-bottom: 18px; }
.footer-tag { font-size: 15px; color: var(--gray); max-width: 320px; line-height: 1.6; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.footer-contact .fc-item { display: inline-flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--gray); transition: color .2s; width: fit-content; white-space: nowrap; }
.footer-contact .fc-item svg { width: 18px; height: 18px; flex: none; color: var(--label); transition: color .2s; }
.footer-contact .fc-item:hover { color: var(--white); }
.footer-contact .fc-item:hover svg { color: var(--green); }
.footer-meta { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.footer-meta .fm-tag { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--label); }
.footer-meta .fm-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(0,255,128,.14); flex: none; }
.footer-col h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--label); font-weight: 600; margin-bottom: 20px; }
.footer-col a { display: block; font-size: 14.5px; color: var(--gray); padding: 7px 0; transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-col a.social { display: flex; align-items: center; gap: 11px; width: fit-content; }
.footer-col a.social svg { width: 17px; height: 17px; flex: none; color: var(--label); transition: color .2s; }
.footer-col a.social:hover svg { color: var(--green); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 30px; flex-wrap: wrap; gap: 16px; }
.footer-bottom .label { color: var(--label); }
.footer-bottom .credit { font-size: 14px; color: var(--gray); }

/* ---------- Floating WhatsApp (mobile) ---------- */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--green); color: #001a0d;
  display: none; place-items: center;
  box-shadow: 0 12px 36px -8px rgba(0,255,128,.5);
  animation: waPulse 2.4s ease-in-out infinite;
}
@keyframes waPulse { 0%,100%{ box-shadow: 0 12px 36px -8px rgba(0,255,128,.5);} 50%{ box-shadow: 0 12px 46px -4px rgba(0,255,128,.75);} }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .feat-grid, .price-grid { grid-template-columns: 1fr; }
  .problema-right { margin-left: 0; max-width: none; }
  .price-card.featured { order: -1; }
  .cred-grid { grid-template-columns: repeat(2,1fr); }
  .cred-item:nth-child(3) { border-left: none; }
  .cred-item:nth-child(n+3) { border-top: 1px solid var(--border); }
}

@media (max-width: 860px) {
  :root { --gutter: 22px; }
  .nav-links, .nav-right .nav-cta, .nav-right .label { display: none; }
  .hamburger { display: flex; }
  .section-pad { padding: 88px 0; }
  .section-head { margin-bottom: 44px; }
  .section-head h2 { font-size: 34px; }
  .hero { padding: 116px 0 80px; }
  .hero-sub { font-size: 16.5px; }
  .proj-grid, .testi-grid { grid-template-columns: 1fr; }
  .problema-grid { grid-template-columns: 1fr; gap: 38px; }
  .problema-left { position: static; }
  .problema-left h2 { font-size: 34px; }
  .problema-banner { margin-top: 32px; padding: 1.25rem 1.5rem; flex-direction: column; align-items: flex-start; gap: 12px; }
  .proc-item { grid-template-columns: 70px 1fr; gap: 22px; }
  .proc-num { font-size: 42px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .wa-float { display: grid; }
  .hero-cta .btn { flex: 1; justify-content: center; }
  .cred-item { padding: 22px 18px; font-size: 13px; }
}

@media (max-width: 560px) {
  .cred-grid { grid-template-columns: 1fr; }
  .cred-item { border-left: none !important; border-top: 1px solid var(--border); }
  .cred-item:first-child { border-top: none; }
  .testi-card, .feat-card, .price-card { padding: 30px 24px; }
  .section-head h2 { font-size: 30px; }
  .problema-left h2 { font-size: 30px; }
  .testi-card blockquote { font-size: 17px; }
  .faq-q { font-size: 17px; padding: 22px 2px; }
  .proc-body h3 { font-size: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* Phones — keep the headline from overflowing very narrow screens */
@media (max-width: 480px) {
  .hero { padding: 104px 0 64px; }
  .hero h1 { font-size: clamp(33px, 11vw, 50px); letter-spacing: -0.035em; }
  .hero-sub { font-size: 15.5px; margin: 22px auto 30px; }
  .hero-cta { width: auto; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
  .hero-cta .btn { width: auto; flex: none; padding: 10px 18px; font-size: 12.5px; border-radius: 9px; }
  .pill { white-space: normal; text-align: center; line-height: 1.4; }
  .section-pad { padding: 72px 0; }
  .proc-item { grid-template-columns: 52px 1fr; gap: 16px; }
  .proc-num { font-size: 34px; }
  .problema-banner { padding: 1.1rem 1.25rem; }
  .cta-final { padding: 48px 0 96px; }
  .cta-final .btn { width: 100%; justify-content: center; }
}

@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .hero h1 { font-size: 30px; }
  .section-head h2 { font-size: 26px; }
}

/* ============================================================
   MOBILE POLISH — tap targets, spacing & touch comfort
   ============================================================ */
@media (max-width: 860px) {
  /* Comfortable touch targets (≥44px) for footer links */
  .footer-col a { padding: 11px 0; }
  .footer-col a.social { padding: 10px 0; }
  .footer-contact { gap: 4px; }
  .footer-contact .fc-item { padding: 10px 0; }

  /* Floating WhatsApp must not sit on top of the copyright line */
  .footer { padding-bottom: 104px; }
  .wa-float { bottom: max(20px, env(safe-area-inset-bottom)); right: 18px; }

  /* Larger, easier nav menu rows */
  .mobile-menu a { padding: 18px 0; }

  /* Generous gaps once cards stack into one column */
  .feat-grid { gap: 16px; }
  .proj-grid, .testi-grid, .price-grid { gap: 18px; }

  /* Keep the "Más elegido" badge clear of the card edge */
  .price-card.featured { margin-top: 14px; }
}

@media (max-width: 560px) {
  /* Tighten oversized inner padding so content breathes edge-to-edge */
  .testi-card { padding: 28px 22px; gap: 22px; }
  .feat-card { padding: 30px 22px 34px; }
  .price-card { padding: 34px 24px 30px; }
  .testi-card blockquote { font-size: 16.5px; line-height: 1.6; }

  /* Problema cards: a touch more room, smaller overlap-free layout */
  .problema-right { gap: 8px; }
  .pain-card { padding: 0.95rem 1.1rem; gap: 13px; }

  /* Proceso: prevent the big number from crowding the text */
  .proc-item { padding: 30px 0; }

  /* Footer brand block reads better with a little breathing room */
  .footer-bottom { gap: 10px; }
}

@media (max-width: 400px) {
  /* Pricing feature rows stay legible on the smallest phones */
  .price-card li { font-size: 14px; }
  .feat-card h3 { font-size: 20px; }
  .proj-meta { padding: 18px 18px; }
  .proj-meta h3 { font-size: 19px; }
  .testi-author .av { width: 40px; height: 40px; }
}

/* Avoid the heavy 3D tilt / hover transforms ever sticking on touch */
@media (hover: none) {
  .proj-card { transform: none !important; }
  .feat-card:hover, .price-card:hover, .proj-card:hover { transform: none; }
}
