/* ============================================================
   SYNKOINTEGRAL — Styles  |  Tema claro / celeste
   ============================================================ */

/* === VARIABLES === */
:root {
  color-scheme: light;
  /* Fondos - blanco puro */
  --bg:        #ffffff;
  --bg2:       #f9fafb;
  --bg3:       #f1f5f9;

  /* Cards */
  --card:      #ffffff;
  --card-h:    #f0f7ff;

  /* Hero / Footer / Impact - azul marino oscuro */
  --dark:      #071235;
  --dark2:     #0c1e4a;
  --dark3:     #112259;

  /* Acento celeste (logo) */
  --green:     #0ea5e9;
  --green2:    #0284c7;
  --green-dim: rgba(14,165,233,0.09);
  --green-bdr: rgba(14,165,233,0.25);

  /* Textos oscuros (sobre fondos claros) */
  --t1:        #0f172a;
  --t2:        #475569;
  --t3:        #94a3b8;

  /* Textos claros (sobre fondos oscuros) */
  --td1:       #ffffff;
  --td2:       rgba(255,255,255,0.72);
  --td3:       rgba(255,255,255,0.40);

  /* Bordes */
  --bdr:       rgba(14,165,233,0.15);
  --bdr-dark:  rgba(255,255,255,0.10);

  --r:         12px;
  --r2:        20px;
  --ease:      0.3s ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background-color: #ffffff; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  background-color: #ffffff;
  color: var(--t1);
  overflow-x: hidden;
  line-height: 1.6;
}
body.loading { overflow: hidden; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img, svg { display: block; max-width: 100%; }
input, textarea, select, button { font-family: inherit; }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }

/* === PRELOADER === */
#preloader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pl-inner { text-align: center; }
.pl-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 2.5rem;
  color: var(--t1);
}
.pl-logo span { color: var(--green); }
.pl-logo img { height: 72px; width: auto; margin: 0 auto 2rem; display: block; }
.pl-track {
  width: 220px;
  height: 2px;
  background: var(--bdr);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto 1rem;
}
.pl-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--green2), var(--green));
  border-radius: 2px;
  transition: width 0.12s ease;
}
.pl-label { font-size: 0.78rem; color: var(--t3); letter-spacing: 0.1em; }

/* === LAYOUT === */
.ctr {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === NAVBAR === */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all var(--ease);
}
/* Siempre texto oscuro (hero blanco) */
#navbar .nav-a        { color: var(--t2); }
#navbar .nav-a:hover,
#navbar .nav-a.active { color: var(--t1); }
#navbar .burger span  { background: var(--t1); }

/* Al hacer scroll: fondo blanco con sombra */
#navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--bdr);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(14,165,233,0.08);
}
#navbar.scrolled .nav-a        { color: var(--t2); }
#navbar.scrolled .nav-a:hover,
#navbar.scrolled .nav-a.active { color: var(--t1); }
#navbar.scrolled .burger span  { background: var(--t1); }

.nav-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
}
.nav-logo img {
  height: 38px;
  width: auto;
  display: block;
  transition: transform var(--ease);
}
.nav-logo:hover img { transform: scale(1.04); }
.logo-green { color: var(--green); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-a {
  font-size: 0.88rem;
  font-weight: 500;
  position: relative;
  transition: color var(--ease);
}
.nav-a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--green);
  border-radius: 1px;
  transition: width var(--ease);
}
.nav-a:hover::after, .nav-a.active::after { width: 100%; }

.nav-cta {
  background: var(--green) !important;
  color: #ffffff !important;
  padding: 8px 22px !important;
  border-radius: 7px;
  font-weight: 600;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  background: var(--green2) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 20px rgba(14,165,233,0.3) !important;
}

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px; height: 2px;
  border-radius: 2px;
  transition: all var(--ease);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mob-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7,18,53,0.6);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease);
}
.mob-overlay.show { opacity: 1; pointer-events: all; }
.mob-menu {
  position: fixed;
  top: 0; right: -100%;
  width: min(300px, 85vw);
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid var(--bdr);
  z-index: 99;
  padding: 84px 32px 40px;
  transition: right 0.4s cubic-bezier(0.4,0,0.2,1);
}
.mob-menu.open { right: 0; }
.mob-menu ul { display: flex; flex-direction: column; gap: 1.6rem; }
.mob-menu a {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--t2);
  transition: color var(--ease);
}
.mob-menu a:hover { color: var(--green); }

/* === BUTTONS === */
.btn-pri {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}
.btn-pri:hover {
  background: var(--green2);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(14,165,233,0.30);
}
.btn-pri.btn-full { width: 100%; justify-content: center; }

.btn-sec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--t2);
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.92rem;
  border: 1px solid var(--bdr);
  transition: all var(--ease);
}
.btn-sec:hover {
  border-color: var(--green-bdr);
  background: var(--green-dim);
  color: var(--green2);
}

/* === HERO (fondo blanco) === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #ffffff;
}
#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.35;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(14,165,233,0.06) 0%, transparent 70%),
    linear-gradient(to bottom, transparent 60%, #ffffff 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 130px 24px 110px;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14,165,233,0.09);
  border: 1px solid rgba(14,165,233,0.25);
  color: var(--green2);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 2rem;
  opacity: 0;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  animation: bdot 2s ease infinite;
}
@keyframes bdot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.4; transform:scale(0.7); }
}

/* Title */
.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.8rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  max-width: 880px;
  color: var(--t1);
}
.tl { display: block; opacity: 0; }
.green-em { color: var(--green); font-style: normal; }

.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--t2);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  opacity: 0;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  opacity: 0;
}

/* KPIs */
.hero-kpis {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  opacity: 0;
}
.kpi { display: flex; flex-direction: column; gap: 2px; }
.kpi strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--t1);
  line-height: 1;
}
.kpi span { font-size: 0.78rem; color: var(--t3); }
.kpi-sep { width: 1px; height: 36px; background: var(--bdr); }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--t3);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
}
.scroll-bar {
  width: 1px; height: 46px;
  background: linear-gradient(to bottom, var(--green), transparent);
  animation: sbar 2s ease infinite;
}
@keyframes sbar {
  0%   { transform: scaleY(0); transform-origin: top; }
  49%  { transform: scaleY(1); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* === SECTIONS (general) === */
.sec { padding: 100px 0; }
.sec-head {
  text-align: center;
  margin-bottom: 64px;
}
.sec-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.9rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--t1);
}
.sec-head p {
  color: var(--t2);
  max-width: 540px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.7;
}
.tag {
  display: inline-block;
  color: var(--green2);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 0.75rem;
}

/* AOS (custom scroll animation) */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-aos][data-dir="left"]  { transform: translateX(-40px); }
[data-aos][data-dir="right"] { transform: translateX(40px); }
[data-aos].aos-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* === SERVICES === */
.services-sec { background: var(--bg); }

.srv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.srv-card {
  background: var(--card);
  border: 1px solid var(--bdr);
  border-radius: var(--r2);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  cursor: default;
}
.srv-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--green-dim);
  opacity: 0;
  transition: opacity var(--ease);
}
.srv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(14,165,233,0.12);
  border-color: var(--green-bdr);
}
.srv-card:hover::before { opacity: 1; }

.srv-ico {
  width: 52px; height: 52px;
  color: var(--green);
  margin-bottom: 1.5rem;
  transition: transform var(--ease);
  position: relative; z-index: 1;
}
.srv-card:hover .srv-ico { transform: scale(1.1) rotate(-4deg); }

.srv-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--t1);
  position: relative; z-index: 1;
}
.srv-card p {
  color: var(--t2);
  font-size: 0.88rem;
  line-height: 1.7;
  position: relative; z-index: 1;
}

/* Blue bottom line on hover */
.srv-line {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--green2), var(--green));
  transition: width 0.45s ease;
  border-radius: 0 0 0 var(--r2);
}
.srv-card:hover .srv-line { width: 100%; }

/* === ABOUT === */
.about-sec {
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}
.about-sec::before { display: none; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Visual */
.about-vis {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ab-graphic {
  position: relative;
  width: 280px; height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ab-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(14,165,233,0.18);
}
.ring-a { width: 280px; height: 280px; animation: rot 22s linear infinite; }
.ring-b { width: 200px; height: 200px; border-color: rgba(14,165,233,0.28); animation: rot 16s linear infinite reverse; }
.ring-c { width: 130px; height: 130px; border-color: rgba(14,165,233,0.45); animation: rot 11s linear infinite; }
@keyframes rot { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.ab-core {
  width: 84px; height: 84px;
  background: rgba(14,165,233,0.08);
  border: 1px solid var(--green-bdr);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative; z-index: 2;
}
.ab-core svg { width: 54px; height: 54px; }

.ab-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1px solid var(--bdr);
  border-radius: 10px;
  padding: 10px 16px;
  box-shadow: 0 8px 28px rgba(14,165,233,0.10);
  font-size: 0.84rem;
  color: var(--t1);
}
.ab-b1 { bottom: 24px; left: -10px; }
.ab-b2 { top: 24px; right: -10px; }
.ab-badge-icon {
  width: 34px; height: 34px;
  border-radius: 7px;
  background: var(--green-dim);
  border: 1px solid var(--green-bdr);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}
.ab-badge-icon svg { width: 16px; height: 16px; }
.ab-badge strong { display: block; font-size: 0.9rem; font-weight: 600; color: var(--t1); }
.ab-badge span { color: var(--t3); font-size: 0.75rem; }

/* Text */
.about-txt { display: flex; flex-direction: column; gap: 1rem; }
.about-txt h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.4rem;
  color: var(--t1);
}
.about-lead { font-size: 1.02rem; color: var(--t2); line-height: 1.75; }
.about-p { font-size: 0.92rem; color: var(--t2); line-height: 1.75; }

.ab-vals { display: flex; flex-direction: column; gap: 0.9rem; margin-top: 0.5rem; }
.ab-val { display: flex; gap: 14px; align-items: flex-start; }
.av-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-top: 7px;
  flex-shrink: 0;
}
.ab-val strong { display: block; font-size: 0.93rem; margin-bottom: 2px; color: var(--t1); }
.ab-val span { font-size: 0.84rem; color: var(--t2); line-height: 1.55; }

/* === PROCESS === */
.process-sec { background: var(--bg); }

.proc-steps {
  display: flex;
  position: relative;
}
.proc-steps::before {
  content: '';
  position: absolute;
  top: 39px;
  left: 40px; right: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bdr) 15%, var(--bdr) 85%, transparent);
}

.proc-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 14px;
  position: relative;
}

.ps-num {
  width: 78px; height: 78px;
  border-radius: 50%;
  background: var(--green);
  color: #ffffff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative; z-index: 1;
  transition: transform var(--ease), box-shadow var(--ease);
  box-shadow: 0 6px 20px rgba(14,165,233,0.25);
}
.proc-step:hover .ps-num {
  transform: scale(1.12);
  box-shadow: 0 10px 32px rgba(14,165,233,0.40);
}

.ps-body h3 { font-size: 0.97rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--t1); }
.ps-body p { font-size: 0.83rem; color: var(--t2); line-height: 1.65; }

/* === IMPACT === */
.impact-sec {
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}
#impactCanvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0.08;
}
.impact-sec .ctr { position: relative; z-index: 1; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--bdr);
  border-radius: var(--r2);
  padding: 48px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(14,165,233,0.12);
  border-color: var(--green-bdr);
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--green2), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}
.stat-card:hover::after { transform: scaleX(1); }

.st-ico {
  width: 40px; height: 40px;
  margin: 0 auto 1.5rem;
  color: var(--green);
}
.st-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--t1);
  line-height: 1;
}
.st-suf {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}
.stat-card p {
  color: var(--t2);
  font-size: 0.83rem;
  margin-top: 0.75rem;
  line-height: 1.55;
}

/* === CONTACT === */
.contact-sec { background: var(--bg); }

.ct-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: start;
}

.ct-info h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0.75rem 0 1rem;
  color: var(--t1);
}
.ct-info > p { color: var(--t2); line-height: 1.75; margin-bottom: 2rem; }

.ct-items { display: flex; flex-direction: column; gap: 1rem; }
.ct-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border-radius: var(--r);
  border: 1px solid var(--bdr);
  background: var(--card);
  transition: all var(--ease);
  box-shadow: 0 2px 10px rgba(14,165,233,0.06);
}
.ct-item:hover {
  border-color: var(--green-bdr);
  background: var(--green-dim);
  box-shadow: 0 6px 20px rgba(14,165,233,0.12);
}
.ct-ico {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: var(--green-dim);
  border: 1px solid var(--green-bdr);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green);
}
.ct-ico svg { width: 18px; height: 18px; }
.ct-item strong { display: block; font-size: 0.8rem; color: var(--t3); margin-bottom: 2px; }
.ct-item span { font-size: 0.92rem; font-weight: 500; color: var(--t1); }
.ct-item a { color: var(--t1); }
.ct-item a:hover { color: var(--green); }

/* Form */
.ct-form-wrap {
  background: var(--card);
  border: 1px solid var(--bdr);
  border-radius: var(--r2);
  padding: 40px;
  box-shadow: 0 8px 40px rgba(14,165,233,0.08);
}
.ct-form { display: flex; flex-direction: column; gap: 1.2rem; }
.frow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.fgroup { display: flex; flex-direction: column; gap: 6px; }
.fgroup label { font-size: 0.82rem; font-weight: 600; color: var(--t2); }
.fgroup input,
.fgroup select,
.fgroup textarea {
  background: var(--bg);
  border: 1px solid var(--bdr);
  border-radius: 8px;
  padding: 12px 15px;
  color: var(--t1);
  font-size: 0.9rem;
  transition: all var(--ease);
  outline: none;
  resize: vertical;
  -webkit-appearance: none;
  appearance: none;
}
.fgroup input:focus,
.fgroup select:focus,
.fgroup textarea:focus {
  border-color: var(--green);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(14,165,233,0.12);
}
.fgroup input::placeholder,
.fgroup textarea::placeholder { color: var(--t3); }
.fgroup select option { background: #ffffff; color: var(--t1); }

/* === FOOTER (azul marino oscuro) === */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--bdr);
  padding: 72px 0 32px;
}
.ft-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.ft-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
  color: var(--t1);
}
.ft-logo img { height: 52px; width: auto; display: block; margin-bottom: 1rem; }
.ft-brand p {
  color: var(--t2);
  font-size: 0.88rem;
  line-height: 1.72;
  margin-bottom: 1.5rem;
}
.ft-social { display: flex; gap: 10px; }
.ft-social a {
  width: 36px; height: 36px;
  border-radius: 7px;
  border: 1px solid var(--bdr);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--t2);
  transition: all var(--ease);
}
.ft-social a svg { width: 15px; height: 15px; }
.ft-social a:hover { border-color: var(--green); color: var(--green); background: rgba(14,165,233,0.10); }

.ft-links h4 {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--t3);
  margin-bottom: 1.1rem;
}
.ft-links ul { display: flex; flex-direction: column; gap: 0.65rem; }
.ft-links a { color: var(--t2); font-size: 0.88rem; transition: color var(--ease); }
.ft-links a:hover { color: var(--green); }

.ft-bottom {
  border-top: 1px solid var(--bdr);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--t3);
  font-size: 0.8rem;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .srv-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { gap: 48px; }
}

@media (max-width: 768px) {
  .sec { padding: 72px 0; }

  .nav-links { display: none; }
  .burger { display: flex; }

  .hero-content { padding: 110px 24px 90px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-vis { min-height: 280px; }
  .ab-b1, .ab-b2 { display: none; }

  .proc-steps {
    flex-direction: column;
    gap: 0;
  }
  .proc-steps::before { display: none; }
  .proc-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 0 0 2rem;
    position: relative;
  }
  .proc-step::before {
    content: '';
    position: absolute;
    left: 38px; top: 78px;
    width: 1px;
    height: calc(100% - 30px);
    background: var(--bdr);
  }
  .proc-step:last-child::before { display: none; }
  .ps-num { flex-shrink: 0; width: 62px; height: 62px; font-size: 0.9rem; margin-bottom: 0; }

  .ct-grid { grid-template-columns: 1fr; gap: 48px; }
  .frow { grid-template-columns: 1fr; }
  .ct-form-wrap { padding: 28px 20px; }

  .srv-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }

  .ft-grid { grid-template-columns: 1fr; gap: 32px; }
  .ft-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .btn-pri, .btn-sec { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-kpis { gap: 1.2rem; }
  .kpi-sep { display: none; }
}

/* === HERO FEATURES (bullets bajo el título) === */
.hero-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2rem;
}
.hero-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--t2);
}
.hf-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(14,165,233,0.6);
}

/* === SERVICE LIST (bullets dentro de cards) === */
.srv-list {
  list-style: none;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.srv-list li {
  font-size: 0.82rem;
  color: var(--t2);
  padding-left: 14px;
  position: relative;
}
.srv-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.7;
}

/* === PROCESO IMAGES === */
.proc-imgs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}
.proc-img-slot {
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg3);
  border: 1px solid var(--bdr);
  position: relative;
  transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.proc-img-slot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7,18,53,0.50) 100%);
  pointer-events: none;
  opacity: 0.65;
  transition: opacity var(--ease);
}
.proc-img-slot:hover {
  transform: translateY(-4px);
  border-color: var(--green-bdr);
  box-shadow: 0 14px 40px rgba(14,165,233,0.14);
}
.proc-img-slot:hover::after { opacity: 0.30; }
.proc-img-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.proc-img-slot:hover img { transform: scale(1.06); }

@media (max-width: 900px) {
  .proc-imgs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .proc-imgs { grid-template-columns: 1fr; }
}

/* === WHATSAPP FLOTANTE === */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.40);
  transition: transform var(--ease), box-shadow var(--ease);
}
.wa-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 32px rgba(37,211,102,0.55);
}

/* Tooltip */
.wa-tooltip {
  position: absolute;
  right: 68px;
  background: #0f172a;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
  transition: opacity var(--ease), transform var(--ease);
}
.wa-tooltip::after {
  content: '';
  position: absolute;
  top: 50%; right: -5px;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: #0f172a;
  border-right: none;
}
.wa-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Pulso de atención */
.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37,211,102,0.4);
  animation: wa-pulse 2.5s ease infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 0.7; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

@media (max-width: 480px) {
  .wa-float { bottom: 18px; right: 18px; width: 52px; height: 52px; }
}
