/* ============================================================
   SSG — System Solution Group
   Archetype: Dark Corporate Precision
   Paleta: Azul profundo #0B1B33 · Azul principal #5C8AC9 · Plata #C5D2E3
   v2026-06-19
   ============================================================ */

/* ── Variables ───────────────────────────────────────────── */
:root {
  --ssg-dark:    #0B1B33;
  --ssg-darker:  #060F1E;
  --ssg-mid:     #112240;
  --ssg-blue:    #2C5390;
  --ssg-accent:  #5C8AC9;
  --ssg-light:   #C5D2E3;
  --ssg-white:   #EEF2F8;
  --ssg-silver:  #8A9BB8;
  --ssg-line:    rgba(92,138,201,0.18);
  --ssg-glow:    rgba(92,138,201,0.12);

  --display: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --body:    'Montserrat', 'Segoe UI', Arial, sans-serif;

  --nav-h:   84px;
  --ease:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  background: var(--ssg-dark);
  color: var(--ssg-light);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ssg-accent); text-decoration: none; }
ul { list-style: none; padding: 0; }

/* ── Skip link ───────────────────────────────────────────── */
.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--ssg-accent); color: #fff; padding: 0.5rem 1rem;
  border-radius: 0 0 8px 8px; font-weight: 700; z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── Container ───────────────────────────────────────────── */
.container { width: min(1200px, 92%); margin: 0 auto; }

/* ── Section spacing ─────────────────────────────────────── */
.section { padding: clamp(4.5rem, 9vw, 7rem) 0; }
.section-dark { background: var(--ssg-darker); }
.section-mid  { background: var(--ssg-mid); }

/* ── Eyebrow ─────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ssg-accent);
  margin-bottom: 0.75rem;
}

/* ── Headings ────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--display); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); color: var(--ssg-white); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: var(--ssg-white); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); color: var(--ssg-white); }
p  { color: var(--ssg-silver); line-height: 1.72; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s var(--ease);
}
.btn-primary {
  background: var(--ssg-accent);
  color: #fff;
}
.btn-primary:hover {
  background: #4a7ab8;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(92,138,201,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--ssg-accent);
  border: 1.5px solid var(--ssg-accent);
}
.btn-outline:hover {
  background: var(--ssg-glow);
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }

/* ── WhatsApp float ──────────────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 500;
  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,0.4);
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  transition: background 0.35s, backdrop-filter 0.35s, box-shadow 0.35s;
}
.nav.scrolled {
  background: rgba(6,15,30,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--ssg-line), 0 4px 32px rgba(0,0,0,0.4);
}
.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.nav-logo-mark {
  width: 36px;
  height: 36px;
  background: var(--ssg-accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.nav-logo-mark svg { width: 22px; height: 22px; fill: #fff; }
.nav-logo-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ssg-white);
  letter-spacing: 0.02em;
}
.nav-logo-name span { color: var(--ssg-accent); }

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-family: var(--display);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ssg-silver);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--ssg-white); }

.nav-cta { display: none; }

.nav-hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ssg-light);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  transform-origin: center;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--ssg-darker);
  z-index: 190;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--ssg-white);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--ssg-accent); }

@media (min-width: 860px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-hamburger { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Animated mesh background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 80% at 20% 40%, rgba(44,83,144,0.35) 0%, transparent 65%),
    radial-gradient(ellipse 60% 60% at 80% 70%, rgba(92,138,201,0.15) 0%, transparent 60%),
    linear-gradient(180deg, var(--ssg-darker) 0%, var(--ssg-dark) 100%);
}

/* Grid lines */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(92,138,201,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92,138,201,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* Floating orb */
.hero-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  top: 10%;
  right: -100px;
  background: radial-gradient(circle, rgba(44,83,144,0.4) 0%, transparent 70%);
  border-radius: 50%;
  animation: orbFloat 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 3rem;
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.hero-content { max-width: 680px; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(92,138,201,0.12);
  border: 1px solid rgba(92,138,201,0.3);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ssg-accent);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.hero-tag-dot {
  width: 6px;
  height: 6px;
  background: var(--ssg-accent);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  color: var(--ssg-white);
}
.hero h1 em {
  font-style: normal;
  color: var(--ssg-accent);
  position: relative;
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--ssg-silver);
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Hero visual panel */
.hero-visual {
  display: none;
}

/* Metrics strip */
.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--ssg-line);
}
.hero-metric {}
.hero-metric-val {
  font-family: var(--display);
  font-size: clamp(5.5rem, 10vw, 9rem);
  font-weight: 800;
  color: var(--ssg-white);
  display: block;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.hero-metric-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ssg-silver);
  letter-spacing: 0.04em;
}

@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.1fr 0.9fr; }
  .hero-visual { display: block; }
}

/* Hero visual — tech diagram */
.tech-diagram {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 420px;
  margin-left: auto;
}
.diagram-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--ssg-line);
  animation: spin linear infinite;
}
.diagram-ring--1 { inset: 0; animation-duration: 30s; }
.diagram-ring--2 { inset: 12%; animation-duration: 22s; animation-direction: reverse; }
.diagram-ring--3 { inset: 24%; animation-duration: 16s; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.diagram-center {
  position: absolute;
  inset: 35%;
  background: radial-gradient(circle, rgba(44,83,144,0.6) 0%, rgba(11,27,51,0.9) 100%);
  border: 1.5px solid rgba(92,138,201,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.diagram-center svg { width: 42px; height: 42px; fill: var(--ssg-accent); }

.diagram-node {
  position: absolute;
  background: rgba(11,27,51,0.85);
  border: 1.5px solid #1A56DB;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #FFFFFF;
  white-space: nowrap;
  min-width: 72px;
  text-align: center;
  letter-spacing: 0.03em;
}

/* ============================================================
   QUIÉNES SOMOS
   ============================================================ */
.nosotros-grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 760px) {
  .nosotros-grid { grid-template-columns: 1fr 1fr; }
}

.nosotros-content h2 { margin-bottom: 1.25rem; }
.nosotros-content p { margin-bottom: 1rem; }

.nosotros-pillars {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}
.pillar {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: rgba(92,138,201,0.05);
  border: 1px solid var(--ssg-line);
  border-radius: 10px;
  transition: border-color 0.3s, background 0.3s;
}
.pillar:hover {
  border-color: rgba(92,138,201,0.4);
  background: rgba(92,138,201,0.09);
}
.pillar-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(92,138,201,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar-icon svg { width: 20px; height: 20px; stroke: var(--ssg-accent); fill: none; stroke-width: 1.8; }
.pillar-body strong { display: block; font-family: var(--display); font-weight: 700; color: var(--ssg-white); margin-bottom: 0.3rem; font-size: 0.95rem; }
.pillar-body p { font-size: 0.88rem; color: var(--ssg-silver); margin: 0; line-height: 1.55; }

/* Nosotros visual */
.nosotros-visual {
  position: relative;
}
.nosotros-card {
  background: var(--ssg-mid);
  border: 1px solid var(--ssg-line);
  border-radius: 16px;
  padding: 1.5rem 1rem;
  position: relative;
  overflow: visible;
}
.nosotros-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(92,138,201,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.nosotros-triangle {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 1rem;
  overflow: visible;
}
.triangle-label {
  font-size: 0.7rem;
  font-family: var(--display);
  color: var(--ssg-silver);
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 1rem;
}
.nosotros-tagline {
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ssg-white);
  text-align: center;
  line-height: 1.4;
  margin-top: 0.5rem;
}
.nosotros-tagline span { color: var(--ssg-accent); }

/* ============================================================
   SOLUCIONES
   ============================================================ */
.soluciones-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}
.soluciones-header h2 { margin-bottom: 1rem; }

.soluciones-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.solucion-item {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--ssg-mid);
  border: 1px solid var(--ssg-line);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.solucion-item:hover {
  border-color: rgba(92,138,201,0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
@media (min-width: 760px) {
  .solucion-item { grid-template-columns: auto 1fr auto; }
}

.solucion-num {
  font-family: var(--display);
  font-size: clamp(6rem, 12vw, 11rem);
  font-weight: 900;
  color: rgba(92,138,201,0.18);
  line-height: 1;
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  pointer-events: none;
  letter-spacing: -0.02em;
}

.solucion-icon-wrap {
  width: 64px;
  height: 64px;
  background: rgba(92,138,201,0.1);
  border: 1.5px solid rgba(92,138,201,0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s;
}
.solucion-item:hover .solucion-icon-wrap {
  background: rgba(92,138,201,0.2);
  border-color: rgba(92,138,201,0.5);
}
.solucion-icon-wrap svg { width: 30px; height: 30px; stroke: var(--ssg-accent); fill: none; stroke-width: 1.6; }

.solucion-body {}
.solucion-body h3 { margin-bottom: 0.6rem; }
.solucion-body p { font-size: 0.93rem; color: var(--ssg-silver); line-height: 1.65; }

.solucion-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}
.brand-chip {
  padding: 0.3rem 0.75rem;
  background: rgba(92,138,201,0.08);
  border: 1px solid rgba(92,138,201,0.2);
  border-radius: 50px;
  font-size: 0.75rem;
  font-family: var(--display);
  font-weight: 600;
  color: var(--ssg-accent);
  letter-spacing: 0.03em;
}

.solucion-cta {}

/* ============================================================
   ALIADOS TECNOLÓGICOS — Trust Bar
   ============================================================ */
.aliados-header {
  text-align: center;
  margin-bottom: 3rem;
}
.aliados-header h2 { margin-bottom: 0.75rem; }
.aliados-header p { max-width: 540px; margin: 0 auto; }

.aliados-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--ssg-line);
  border: 1px solid var(--ssg-line);
  border-radius: 16px;
  overflow: hidden;
}
@media (min-width: 640px) { .aliados-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 960px) { .aliados-grid { grid-template-columns: repeat(4, 1fr); } }

.aliado-item {
  background: var(--ssg-mid);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
  min-height: 140px;
  text-decoration: none;
  color: inherit;
}
.aliado-item:hover { background: rgba(92,138,201,0.07); transform: translateY(-2px); }

.aliado-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
}
.aliado-logo svg { height: 80px; width: 100%; max-width: 100%; }

.aliado-name {
  font-family: var(--display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ssg-silver);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.7;
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contacto-inner {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}
@media (min-width: 860px) {
  .contacto-inner { grid-template-columns: 1fr 1.3fr; }
}

.contacto-info h2 { margin-bottom: 1rem; }
.contacto-info > p { margin-bottom: 2rem; }

.contacto-datos {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.dato-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.dato-icon {
  width: 40px;
  height: 40px;
  background: rgba(92,138,201,0.1);
  border: 1px solid var(--ssg-line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dato-icon svg { width: 18px; height: 18px; stroke: var(--ssg-accent); fill: none; stroke-width: 1.8; }
.dato-body strong { display: block; font-weight: 700; font-size: 0.88rem; color: var(--ssg-white); margin-bottom: 0.2rem; }
.dato-body span, .dato-body a { font-size: 0.88rem; color: var(--ssg-silver); }
.dato-body a:hover { color: var(--ssg-accent); }

/* Form */
.contacto-form-card {
  background: var(--ssg-mid);
  border: 1px solid var(--ssg-line);
  border-radius: 16px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
}
.form-title {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ssg-white);
  margin-bottom: 0.5rem;
}
.form-subtitle { font-size: 0.88rem; color: var(--ssg-silver); margin-bottom: 1.75rem; }

.form-grid {
  display: grid;
  gap: 1rem;
}
.form-row { display: grid; gap: 1rem; }
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--display);
  color: var(--ssg-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem 1rem;
  background: rgba(11,27,51,0.6);
  border: 1.5px solid var(--ssg-line);
  border-radius: 8px;
  font-family: var(--body);
  font-size: 0.93rem;
  color: var(--ssg-white);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--ssg-silver); opacity: 0.5; }
.form-group select { color: var(--ssg-silver); }
.form-group select option { background: var(--ssg-dark); color: var(--ssg-white); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--ssg-accent);
  box-shadow: 0 0 0 3px rgba(92,138,201,0.15);
}
.form-group input.field-error,
.form-group select.field-error,
.form-group textarea.field-error { border-color: #e05c5c; }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit { width: 100%; justify-content: center; margin-top: 0.25rem; }
.form-note { font-size: 0.78rem; color: var(--ssg-silver); text-align: center; margin-top: 0.75rem; opacity: 0.7; }

.form-success {
  text-align: center;
  padding: 2rem 1rem;
}
.form-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: rgba(92,138,201,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success-icon svg { width: 28px; height: 28px; stroke: var(--ssg-accent); fill: none; stroke-width: 2; }
.form-success h3 { color: var(--ssg-white); margin-bottom: 0.75rem; font-size: 1.2rem; }
.form-success p { color: var(--ssg-silver); font-size: 0.9rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ssg-darker);
  border-top: 1px solid var(--ssg-line);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem;
}
.footer-inner {
  display: grid;
  gap: 2rem;
}
@media (min-width: 640px) {
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; }
}

.footer-brand p { font-size: 0.85rem; color: var(--ssg-silver); margin-top: 1rem; max-width: 280px; line-height: 1.65; }
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.footer-logo-mark {
  width: 32px;
  height: 32px;
  background: var(--ssg-accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-logo-mark svg { width: 18px; height: 18px; fill: #fff; }
.footer-logo-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ssg-white);
  letter-spacing: 0.01em;
}
.footer-logo-name span { color: var(--ssg-accent); }

.footer-nav h4 {
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ssg-accent);
  margin-bottom: 1rem;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a {
  font-size: 0.85rem;
  color: var(--ssg-silver);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--ssg-white); }

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--ssg-line);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.78rem; color: var(--ssg-silver); opacity: 0.6; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.revealed { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }

/* ============================================================
   GA4 + GSC placeholders (hidden)
   ============================================================ */
/* <!-- GA4-PLACEHOLDER: Insert Google Analytics 4 script here --> */
/* <!-- GSC-PLACEHOLDER: Insert Google Search Console meta tag here --> */


/* ══ RESPONSIVE FIX MÓVIL ══ */
@media (max-width: 600px) {
  .hero { padding: 6rem 1rem 3rem; }
  .hero-inner { flex-direction: column; gap: 2rem; }
  .hero-visual { min-height: 280px; width: 100%; }
  .diagram-container { width: 100%; max-width: 100%; }
  .nosotros-inner { flex-direction: column; }
  .nosotros-triangle { max-width: 100%; overflow: visible; }
  .solucion-item { padding: 1.2rem; }
  .aliados-grid { grid-template-columns: repeat(2,1fr); }
  .hero-metrics { gap: 1rem; }
  .hero-metric-val { font-size: clamp(3.5rem,15vw,5.5rem); }
  section { padding: 3rem 1rem; }
  .section-inner { padding: 0; }
  .nav-inner { padding: 0 1rem; }
}
@media (max-width: 400px) {
  .hero-metric-val { font-size: 3rem; }
  .aliados-grid { grid-template-columns: 1fr 1fr; }
}
