/* ============================================================
   FOUCE DIGITAL — Premium SaaS landing
   Design system + components
   ============================================================ */

:root {
  /* Brand surfaces (deep navy) */
  --bg:        #060d18;
  --bg-2:      #0a1525;
  --bg-3:      #0e1d33;
  --bg-deep:   #04090f;

  /* Accents (brand) — adjustable via Tweaks */
  --cyan:      #00b8e6;
  --cyan-lift: #36d0ff;
  --gold:      #e8a820;
  --gold-lift: #ffc658;

  /* Ink */
  --ink:       #eef4fc;
  --muted:     #93a8c4;
  --faint:     #56708f;

  /* Lines */
  --line:      rgba(120,170,220,0.10);
  --line-2:    rgba(120,170,220,0.16);

  /* Glow */
  --glow-cyan: rgba(0,184,230,0.35);
  --glow-gold: rgba(232,168,32,0.28);

  /* Geometry */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --maxw: 1200px;
  --pad:  clamp(1.25rem, 5vw, 4rem);

  /* Type */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Ambient gradient wash behind the canvas */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 8%, rgba(0,184,230,0.10), transparent 60%),
    radial-gradient(50% 45% at 12% 22%, rgba(232,168,32,0.06), transparent 60%),
    radial-gradient(80% 60% at 50% 100%, rgba(0,184,230,0.05), transparent 70%),
    var(--bg);
}

/* Node-network canvas sits just above the wash */
#nodes {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  width: 100%; height: 100%;
  opacity: 0.9;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(0,184,230,0.30); color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }

/* ============================================================
   ICONOGRAPHY
   ============================================================ */
.ic { width: 1em; height: 1em; stroke: currentColor; fill: none;
      stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
      flex: none; display: inline-block; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(6,13,24,0.72);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0.9rem var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 11px; object-fit: cover;
  border: 1px solid var(--line-2);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.4), 0 8px 22px rgba(0,184,230,0.12);
}
.brand-word {
  font-family: var(--font-display);
  font-size: 1.04rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--ink); line-height: 1;
}
.brand-word b { color: var(--cyan); font-weight: 700; }
.brand-word span { color: var(--gold); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 0.35rem; }
.nav-links a {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--muted); padding: 0.55rem 0.95rem; border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--ink); background: rgba(120,170,220,0.06); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.6rem 1.15rem !important;
  border: 1px solid rgba(0,184,230,0.4);
  color: var(--cyan) !important; border-radius: 999px !important;
  font-weight: 600 !important;
  background: rgba(0,184,230,0.06) !important;
  transition: all .2s ease;
}
.nav-cta:hover { background: rgba(0,184,230,0.16) !important; box-shadow: 0 0 24px rgba(0,184,230,0.25); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 11px;
  background: rgba(120,170,220,0.08); border: 1px solid var(--line);
  align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
.nav-toggle .ic { width: 22px; height: 22px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 600;
  font-size: 0.92rem; letter-spacing: 0.01em;
  padding: 0.95rem 1.6rem; border-radius: 999px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn .ic { width: 1.15em; height: 1.15em; }
.btn-primary {
  background: linear-gradient(135deg, var(--cyan-lift), var(--cyan));
  color: #04121c;
  box-shadow: 0 10px 30px -8px var(--glow-cyan), inset 0 1px 0 rgba(255,255,255,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px var(--glow-cyan), inset 0 1px 0 rgba(255,255,255,0.4); }
.btn-ghost {
  background: rgba(120,170,220,0.05);
  border-color: var(--line-2); color: var(--ink);
}
.btn-ghost:hover { border-color: rgba(0,184,230,0.4); color: var(--cyan); transform: translateY(-2px); }
.btn-wa {
  background: linear-gradient(135deg, #34d27a, #1faf5e); color: #04140b;
  box-shadow: 0 10px 30px -8px rgba(37,176,93,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(37,176,93,0.5); }
.btn-lg { padding: 1.1rem 2rem; font-size: 1rem; }

/* ============================================================
   SHARED SECTION SCAFFOLD
   ============================================================ */
.section { padding-block: clamp(4.5rem, 9vw, 7.5rem); position: relative; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.1rem;
}
.eyebrow::before { content: ''; width: 1.8rem; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }

.h-display {
  font-family: var(--font-display);
  font-weight: 700; line-height: 1.05; letter-spacing: -0.02em;
  font-size: clamp(2rem, 4vw, 3rem);
  text-wrap: balance;
}
.h-display em { font-style: normal; color: var(--cyan); }
.h-display b   { font-weight: 700; color: var(--gold); }

.lead {
  font-size: 1.05rem; color: var(--muted); line-height: 1.7;
  max-width: 46ch; margin-top: 1.1rem;
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-top: clamp(8rem, 14vh, 11rem); padding-bottom: clamp(2rem,6vw,4rem); }
.hero-variant { display: none; }
body[data-hero="split"]    .hv-split    { display: block; }
body[data-hero="center"]   .hv-center   { display: block; }
body[data-hero="showcase"] .hv-showcase { display: block; }

.hero-tag {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cyan);
  padding: 0.5rem 0.95rem; border-radius: 999px;
  background: rgba(0,184,230,0.08); border: 1px solid rgba(0,184,230,0.2);
}
.hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0,184,230,0.18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.35;} }

.hero-h1 {
  font-family: var(--font-display);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.03em;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  margin-top: 0; text-wrap: balance;
}
.hero-h1 em { font-style: normal; color: var(--cyan); }
.hero-h1 b  { font-weight: 700; color: var(--gold); }

.hero-sub { font-size: 1.12rem; color: var(--muted); line-height: 1.7; margin-top: 1.5rem; max-width: 42ch; }
.hero-origin {
  display: inline-flex; align-items: center; gap: 0.55rem;
  margin-top: 1.4rem; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--faint);
}
.hero-origin .ic { width: 14px; height: 14px; color: var(--gold); }
.hero-btns { display: flex; flex-wrap: nowrap; gap: 0.9rem; margin-top: 2.2rem; align-items: center; }
.hero-microtrust {
  display: flex; align-items: center; gap: 0.6rem; margin-top: 1.6rem;
  font-size: 0.82rem; color: var(--faint);
}
.hero-microtrust .ic { width: 16px; height: 16px; color: var(--cyan); }

/* --- Variant: SPLIT --- */
.hv-split .hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-visual { position: relative; }
.hero-visual-frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -30px rgba(0,184,230,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
}
.hero-visual-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-visual-frame::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6,13,24,0.55));
  pointer-events: none;
}
.hero-glow {
  position: absolute; inset: -12% -12% -12% -12%; z-index: -1;
  background: radial-gradient(50% 50% at 60% 40%, rgba(0,184,230,0.4), transparent 70%);
  filter: blur(40px);
}
.float-chip {
  position: absolute; z-index: 3;
  background: rgba(10,21,37,0.78); backdrop-filter: blur(10px);
  border: 1px solid var(--line-2); border-radius: 14px;
  padding: 0.75rem 1rem; display: flex; align-items: center; gap: 0.7rem;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,0.6);
  animation: floaty 5s ease-in-out infinite;
}
.float-chip .ic { width: 20px; height: 20px; color: var(--cyan); }
.float-chip .fc-num { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); line-height: 1; }
.float-chip .fc-lbl { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.04em; white-space: nowrap; }
.float-chip.tl { top: 8%; left: -6%; }
.float-chip.br { bottom: 10%; right: -5%; animation-delay: 1.6s; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-9px);} }

/* --- Variant: CENTER --- */
.hv-center { text-align: center; }
.hv-center .hero-inner { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hv-center .hero-sub { max-width: 56ch; }
.hv-center .hero-btns { justify-content: center; }
.center-mark {
  width: 92px; height: 92px; border-radius: 22px; object-fit: cover;
  border: 1px solid var(--line-2); margin-bottom: 1.6rem;
  box-shadow: 0 20px 60px -16px var(--glow-cyan);
  animation: floaty 6s ease-in-out infinite;
}
.hv-center .hero-microtrust { justify-content: center; }

/* --- Variant: SHOWCASE --- */
.hv-showcase .hero-grid {
  display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.showcase-frame {
  position: relative; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--line-2); aspect-ratio: 3 / 2;
  box-shadow: 0 50px 110px -34px rgba(0,184,230,0.4);
}
.showcase-frame img { width: 100%; height: 100%; object-fit: cover; }
.showcase-stats {
  position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%);
  display: flex; gap: 0.6rem; z-index: 3; width: max-content;
}
.showcase-stats .float-chip { position: static; animation: none; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  border-block: 1px solid var(--line);
  background: rgba(10,21,37,0.4);
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  max-width: var(--maxw); margin: 0 auto;
}
.trust-cell {
  padding: clamp(1.6rem, 3vw, 2.4rem) var(--pad);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 0.3rem;
}
.trust-cell:first-child { border-left: none; }
.trust-num {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1;
  background: linear-gradient(135deg, var(--cyan-lift), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.trust-lbl { font-size: 0.8rem; color: var(--muted); line-height: 1.4; letter-spacing: 0.02em; }

/* ============================================================
   SERVICIOS
   ============================================================ */
.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.services-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem;
}
.service-card {
  background: linear-gradient(180deg, var(--bg-2), rgba(8,16,28,0.6));
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.8rem; display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.service-card::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(120% 80% at 50% -20%, rgba(0,184,230,0.10), transparent 60%);
  opacity: 0; transition: opacity .3s ease;
}
.service-card:hover { transform: translateY(-5px); border-color: rgba(0,184,230,0.3);
  box-shadow: 0 30px 60px -28px rgba(0,184,230,0.4); }
.service-card:hover::before { opacity: 1; }
.svc-ico {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,184,230,0.1); border: 1px solid rgba(0,184,230,0.22);
  color: var(--cyan);
}
.svc-ico .ic { width: 24px; height: 24px; }
.service-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; margin-bottom: 0.5rem; }
.svc-result { font-size: 0.88rem; color: var(--cyan); font-weight: 600; margin-bottom: 0.7rem; }
.svc-main > p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; flex-grow: 1; }
.svc-expand-panel p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.svc-price {
  margin-top: 1.3rem; padding-top: 1rem; border-top: 1px solid var(--line);
  font-size: 0.78rem; color: var(--faint); letter-spacing: 0.03em;
  display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap;
}
.svc-price strong { color: var(--ink); font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; }
/* featured (pack) card */
.service-card.featured {
  background: linear-gradient(180deg, rgba(0,184,230,0.10), rgba(232,168,32,0.05));
  border-color: rgba(0,184,230,0.32);
}
.service-card.featured .svc-ico { background: rgba(232,168,32,0.12); border-color: rgba(232,168,32,0.3); color: var(--gold); }
.featured-flag {
  position: absolute; top: 1.2rem; right: 1.2rem;
  font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(232,168,32,0.4);
  padding: 0.3rem 0.6rem; border-radius: 999px; background: rgba(232,168,32,0.08);
}

/* ============================================================
   PROCESO
   ============================================================ */
#proceso { background: linear-gradient(180deg, transparent, rgba(10,21,37,0.5), transparent); }
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; position: relative;
}
.step-card {
  background: rgba(10,21,37,0.5); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 1.7rem; position: relative;
  transition: border-color .25s ease, transform .25s ease;
}
.step-card:hover { border-color: rgba(0,184,230,0.28); transform: translateY(-4px); }
.step-num {
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  width: 38px; height: 38px; border-radius: 11px; margin-bottom: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan); background: rgba(0,184,230,0.1); border: 1px solid rgba(0,184,230,0.25);
}
.step-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.88rem; color: var(--muted); line-height: 1.6; }

/* ============================================================
   POR QUÉ FOUCE
   ============================================================ */
.porque-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.porque-left p { font-size: 0.98rem; color: var(--muted); line-height: 1.85; margin-top: 1.1rem; }
.porque-left p strong { color: var(--ink); font-weight: 600; }
.porque-left .h-display { margin-top: 0.4rem; }
.galicia-badge {
  display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 1.8rem;
  font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold);
  padding: 0.6rem 1.1rem; border-radius: 999px;
  border: 1px solid rgba(232,168,32,0.3); background: rgba(232,168,32,0.06);
}
.galicia-badge .ic { width: 15px; height: 15px; }
.razones { display: flex; flex-direction: column; gap: 0.8rem; }
.razon {
  display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; align-items: start;
  padding: 1.4rem 1.5rem; border-radius: var(--r);
  background: rgba(10,21,37,0.5); border: 1px solid var(--line);
  transition: border-color .25s ease, background .25s ease, transform .2s ease;
}
.razon:hover { border-color: rgba(0,184,230,0.25); transform: translateX(4px); }
.razon-num { font-family: var(--font-display); font-weight: 700; color: var(--cyan); font-size: 0.95rem; opacity: 0.7; }
.razon h4 { font-size: 0.98rem; font-weight: 600; margin-bottom: 0.3rem; color: var(--ink); }
.razon p { font-size: 0.86rem; color: var(--muted); line-height: 1.55; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-list { display: flex; flex-direction: column; gap: 0.7rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--r); background: rgba(10,21,37,0.45);
  overflow: hidden; transition: border-color .25s ease; }
.faq-item.open { border-color: rgba(0,184,230,0.3); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.4rem; font-family: var(--font-display); font-weight: 500; font-size: 1rem; color: var(--ink);
}
.faq-q .ic { width: 20px; height: 20px; color: var(--cyan); transition: transform .3s ease; flex: none; }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 1.4rem 1.3rem; color: var(--muted); font-size: 0.92rem; line-height: 1.7; }

/* ============================================================
   CONTACTO
   ============================================================ */
#contacto { scroll-margin-top: 80px; }
.contact-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-methods { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 2rem; }
.cmethod {
  display: flex; align-items: center; gap: 0.9rem;
  padding: 1rem 1.2rem; border-radius: var(--r);
  border: 1px solid var(--line); background: rgba(10,21,37,0.5);
  transition: border-color .2s ease, transform .2s ease;
}
.cmethod:hover { border-color: rgba(0,184,230,0.3); transform: translateX(4px); }
.cmethod .cm-ico { width: 42px; height: 42px; border-radius: 11px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,184,230,0.1); border: 1px solid rgba(0,184,230,0.22); color: var(--cyan); }
.cmethod .cm-ico .ic { width: 20px; height: 20px; }
.cm-lbl { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--faint); }
.cm-val { font-size: 0.95rem; color: var(--ink); font-weight: 500; }
.cmethod.wa .cm-ico { background: rgba(37,176,93,0.12); border-color: rgba(37,176,93,0.3); color: #34d27a; }

.contact-card {
  background: linear-gradient(180deg, var(--bg-2), rgba(8,16,28,0.7));
  border: 1px solid var(--line-2); border-radius: var(--r-xl);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: 0 40px 90px -40px rgba(0,184,230,0.3);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.5rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border-radius: 12px;
  background: var(--bg-deep); border: 1px solid var(--line-2); color: var(--ink);
  font-size: 0.95rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #46607c; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,184,230,0.18);
}
.field select option { background: var(--bg-2); color: var(--ink); }
.form-submit { width: 100%; margin-top: 0.4rem; }
.form-note { font-size: 0.78rem; color: var(--faint); margin-top: 0.9rem; text-align: center; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta-band { position: relative; }
.cta-inner {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl); border: 1px solid var(--line-2);
  background:
    radial-gradient(80% 120% at 80% 0%, rgba(0,184,230,0.18), transparent 60%),
    radial-gradient(70% 120% at 0% 100%, rgba(232,168,32,0.12), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg-deep));
  padding: clamp(2.5rem, 6vw, 4.5rem);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.cta-inner .hero-btns { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line); }
.footer-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 2.6rem var(--pad);
}
.footer-cols {
  display: flex; flex-direction: row;
  align-items: center; justify-content: space-between;
  gap: 2rem;
}
/* Izquierda: logo */
.footer-left {
  display: flex; flex-direction: row; align-items: center; gap: 0.7rem;
  background: none; border: none; cursor: default;
  padding: 0; flex-shrink: 0;
}
.footer-left .brand-mark { width: 34px; height: 34px; border-radius: 6px; }
/* Centro: info */
.footer-center {
  font-size: 0.8rem; color: var(--faint); line-height: 1.8;
  text-align: center; flex: 1;
}
.footer-center a { color: inherit; }
/* Derecha: copyright */
.footer-right {
  font-size: 0.8rem; color: var(--faint); line-height: 1.8;
  text-align: right; flex-shrink: 0;
}
/* Trigger oculto en el 2026 */
.hidden-trigger-inline { cursor: default; }

@media (max-width: 700px) {
  .footer-cols { flex-direction: column; text-align: center; }
  .footer-right { text-align: center; }
}

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #34d27a, #1faf5e); color: #052a16;
  box-shadow: 0 14px 34px -8px rgba(37,176,93,0.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.wa-fab .ic { width: 28px; height: 28px; }
.wa-fab:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 20px 44px -8px rgba(37,176,93,0.7); }
.wa-fab::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(52,210,122,0.5); animation: ring 2.6s ease-out infinite;
}
@keyframes ring { 0%{ transform: scale(1); opacity: .7; } 100%{ transform: scale(1.6); opacity: 0; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(6,13,24,0.97); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line); padding: 0.8rem var(--pad) 1.4rem; gap: 0.4rem;
  }
  .nav-links.open a { padding: 0.85rem 1rem; }
  .nav-toggle { display: flex; }

  .hv-split .hero-grid, .hv-showcase .hero-grid { grid-template-columns: 1fr; }
  .hero-visual, .showcase-wrap { order: -1; }
  .float-chip.tl { left: 2%; } .float-chip.br { right: 2%; }
  .showcase-frame { aspect-ratio: 16/11; max-width: 520px; margin-inline: auto; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-cell:nth-child(3) { border-left: none; }
  .trust-cell { border-top: 1px solid var(--line); }
  .trust-cell:nth-child(-n+2) { border-top: none; }

  .porque-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .services-grid, .process-grid { grid-template-columns: 1fr; }
  .float-chip { display: none; }
  .hero-btns { flex-wrap: wrap; }
  .hero-btns .btn { width: 100%; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   TARJETAS EXPANDIBLES (Soluciones digitales)
   ============================================================ */
.svc-expandable { cursor: pointer; transition: box-shadow 0.3s; }
.svc-main { display: flex; flex-direction: column; flex-grow: 1; }
.svc-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-top: auto; padding-top: 1.2rem; flex-wrap: wrap;
}
.svc-price { font-size: 0.9rem; opacity: 0.8; }

.svc-cta-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--cyan); color: var(--bg);
  border: none; border-radius: 8px;
  padding: 0.55rem 1.1rem; font-size: 0.88rem; font-weight: 600;
  cursor: pointer; transition: background 0.2s, transform 0.15s;
  white-space: nowrap; font-family: inherit;
}
.svc-cta-btn .ic { width: 14px; height: 14px; stroke: var(--bg); }
.svc-cta-btn:hover { background: var(--accent); transform: translateY(-1px); }
.svc-open .svc-cta-btn { background: rgba(255,255,255,0.12); color: var(--text); }
.svc-open .svc-cta-btn .ic { stroke: var(--text); }
.svc-open .svc-cta-btn:hover { background: rgba(255,255,255,0.18); transform: none; }

.svc-expand-panel {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  animation: expandIn 0.25s ease;
}
@keyframes expandIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.svc-expand-intro {
  font-size: 0.95rem; margin: 0 0 1rem; opacity: 0.85; line-height: 1.5;
}
.svc-expand-actions {
  display: flex; gap: 0.75rem; flex-wrap: wrap;
}
.btn-sm {
  padding: 0.55rem 1.1rem !important;
  font-size: 0.85rem !important;
}
.svc-expand-note {
  font-size: 0.78rem; opacity: 0.5; margin: 0.8rem 0 0;
}

/* ============================================================
   FOOTER LINKS (maps, espazo)
   ============================================================ */
.footer-maps-link {
  color: var(--cyan);
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-maps-link:hover { opacity: 0.75; text-decoration: underline; }
