/* =====================================================
   RESET & ROOT
===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy:       #0d1b3e;
  --blue:       #2b7de9;
  --blue-light: #5ba3f5;
  --white:      #ffffff;
  --bg-light:   #f4f7fc;
  --text-dark:  #1a1a2e;
  --text-mid:   #4a5568;
  --border:     #e2e8f0;
  --green:      #10b981;
  --wa-green:   #25D366;
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.14);
  --radius:     12px;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* =====================================================
   TYPOGRAPHY UTILITIES
===================================================== */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-title.light { color: var(--white); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 580px;
  margin-bottom: 40px;
}
.section-subtitle.light { color: rgba(255,255,255,.78); }
.accent-line {
  width: 56px; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
  border-radius: 2px;
  margin-bottom: 28px;
}
.accent-line.centered { margin-left: auto; margin-right: auto; }

/* =====================================================
   LAYOUT
===================================================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-sm { padding: 48px 0; }
.bg-white { background: var(--white); }
.bg-light { background: var(--bg-light); }
.bg-navy { background: var(--navy); }

/* =====================================================
   BUTTONS
===================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 8px; font-size: .95rem;
  font-weight: 600; cursor: pointer; border: 2px solid transparent;
  transition: all .2s ease; text-decoration: none; white-space: nowrap;
}
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: #1d6dd4; border-color: #1d6dd4; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(43,125,233,.35); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); transform: translateY(-1px); }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-white:hover { background: #f0f4ff; transform: translateY(-1px); }
.btn-white-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-white-outline:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn-wa { background: var(--wa-green); color: var(--white); border-color: var(--wa-green); }
.btn-wa:hover { background: #1fba58; transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: .875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }

/* =====================================================
   NAVBAR
===================================================== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--white); padding: 0 24px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.10); }
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-mark {
  width: 40px; height: 40px; background: var(--navy); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; color: var(--white); letter-spacing: -.02em;
  flex-shrink: 0;
}
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-name { font-size: .85rem; font-weight: 800; color: var(--navy); letter-spacing: .04em; line-height: 1.1; text-transform: uppercase; }
.nav-logo-sub { font-size: .65rem; font-weight: 500; color: var(--text-mid); letter-spacing: .06em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px; font-size: .875rem; font-weight: 500; color: var(--text-mid);
  border-radius: 6px; transition: color .2s; position: relative;
}
.nav-link:hover { color: var(--navy); }
.nav-link.active { color: var(--blue); }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 0; left: 14px; right: 14px;
  height: 2px; background: var(--blue); border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-wa {
  width: 38px; height: 38px; border-radius: 50%; background: #e8f8ee;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.nav-wa:hover { background: var(--wa-green); }
.nav-wa:hover svg { stroke: var(--white); }
.nav-wa svg { stroke: var(--wa-green); width: 20px; height: 20px; }
.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 8px; border: none; background: none;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: var(--white); border-top: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,.12); z-index: 999;
  flex-direction: column; padding: 16px 24px 24px;
  animation: slideDown .25s ease;
}
.mobile-menu.open { display: flex; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.mobile-menu .nav-link { padding: 12px 0; border-bottom: 1px solid var(--border); border-radius: 0; font-size: 1rem; }
.mobile-menu .nav-link:last-child { border-bottom: none; }
.mobile-menu .nav-actions { margin-top: 16px; flex-wrap: wrap; }

/* =====================================================
   HERO
===================================================== */
.hero {
  min-height: 72vh; position: relative;
  display: flex; align-items: center;
  padding-top: 72px; overflow: hidden;
  background: url('../img/image_principal.webp') center/cover no-repeat;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(5,15,40,.60) 45%, rgba(5,15,40,.25) 100%);
}
.hero-left {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  width: 680px; max-width: calc(100vw - 48px);
  margin-left: max(24px, calc((100vw - 1200px) / 2 + 24px));
  padding: 80px 60px 80px 0;
}
.hero-eyebrow {
  font-size: 10.5px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 20px;
  display: flex; align-items: center; gap: 8px;
}
.hero-eyebrow::before { content: ''; display: block; width: 24px; height: 2px; background: var(--blue-light); }
.hero-title {
  font-size: clamp(1.7rem, 3.2vw, 2.6rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: .01em;
  color: var(--white); line-height: 1.2; margin-bottom: 20px;
}
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,.75); margin-bottom: 36px; max-width: 480px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust { display: flex; gap: 20px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.7); }
.trust-item .check { color: var(--green); font-size: 1rem; }

/* =====================================================
   METRICS
===================================================== */
.metrics-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.metric-item {
  padding: 16px 14px; text-align: center; border-right: 1px solid var(--border);
}
.metric-item:last-child { border-right: none; }
.metric-number {
  font-size: 1.7rem; font-weight: 800; color: var(--navy); line-height: 1.15; margin-bottom: 4px;
  min-height: 2.3em; display: flex; align-items: center; justify-content: center;
}
.metric-label { font-size: .78rem; font-weight: 500; color: var(--text-mid); line-height: 1.4; }

/* =====================================================
   VALUE CARDS (¿Por qué elegir Support?)
===================================================== */
.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.value-card {
  background: var(--bg-light); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 22px; transition: box-shadow .25s, transform .25s;
}
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.value-icon {
  width: 40px; height: 40px; background: var(--white); border: 1px solid var(--border);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.value-icon svg { stroke: var(--blue); }
.value-title { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.value-desc { font-size: .88rem; color: var(--text-mid); }
.value-closing {
  margin-top: 28px; text-align: center;
  font-size: .85rem; font-weight: 600; letter-spacing: .04em;
  color: var(--blue);
}

/* =====================================================
   LOGO STRIP
===================================================== */
.logo-strip-label {
  text-align: center; font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--text-mid);
  margin-bottom: 32px;
}
.logo-strip-track-wrap {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 10%, black 90%, transparent 100%);
}
.logo-strip-row {
  display: flex; flex-wrap: nowrap; gap: 16px; align-items: center;
  width: max-content;
  animation: marquee 45s linear infinite;
}
@media (hover: hover) and (pointer: fine) {
  .logo-strip-track-wrap:hover .logo-strip-row { animation-play-state: paused; }
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.logo-box {
  flex-shrink: 0;
  width: 200px; height: 100px; padding: 10px 16px;
  border: 1px solid var(--border); border-radius: 8px;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  opacity: .9; transition: all .3s;
  cursor: default;
}
.logo-box img {
  display: block; width: 100%; height: 100%;
  object-fit: contain;
  filter: grayscale(1); transition: filter .3s;
}
@media (hover: hover) and (pointer: fine) {
  .logo-box:hover { opacity: 1; border-color: var(--blue); }
  .logo-box:hover img { filter: grayscale(0); }
}

/* =====================================================
   SERVICE CARDS
===================================================== */
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.service-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 22px; display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-icon {
  width: 46px; height: 46px; background: #eef4fd; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.service-icon svg { stroke: var(--blue); }
.service-title { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.service-desc { font-size: .88rem; color: var(--text-mid); margin-bottom: 16px; flex: 1; }
.service-link { font-size: .875rem; font-weight: 600; color: var(--blue); display: flex; align-items: center; gap: 6px; transition: gap .2s; }
.service-link:hover { gap: 10px; }

/* =====================================================
   CASE CARDS
===================================================== */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--border);
  border-left: 4px solid var(--blue); padding: 28px 24px;
  transition: box-shadow .25s, transform .25s;
}
.case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.case-pill {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  background: #eef4fd; color: var(--blue); font-size: .72rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 12px;
}
.case-company { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.case-row { margin-bottom: 10px; }
.case-row-label { font-size: .72rem; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 2px; }
.case-row-text { font-size: .875rem; color: var(--text-mid); }

/* =====================================================
   CTA FINAL
===================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
  padding: 96px 0; text-align: center;
}
.cta-section .section-title { color: var(--white); }
.cta-section .section-subtitle { color: rgba(255,255,255,.78); margin: 0 auto 36px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.cta-contact-row { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; }
.cta-contact-item { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: rgba(255,255,255,.72); }
.cta-contact-item a { color: rgba(255,255,255,.9); font-weight: 600; }
.cta-contact-item a:hover { color: var(--white); }

/* =====================================================
   FOOTER
===================================================== */
.footer { background: var(--navy); color: var(--white); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.5fr 2fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-mark {
  width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 800; color: var(--white);
}
.footer-logo-name { font-size: .85rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--white); }
.footer-logo-sub { font-size: .62rem; font-weight: 500; color: rgba(255,255,255,.5); letter-spacing: .07em; text-transform: uppercase; }
.footer-tagline { font-size: .88rem; color: rgba(255,255,255,.6); margin-bottom: 20px; line-height: 1.6; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.footer-social a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.footer-social a svg { stroke: rgba(255,255,255,.7); }
.footer-col-title { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: .875rem; color: rgba(255,255,255,.65); transition: color .2s; }
.footer-link:hover { color: var(--white); }
.footer-contact-items { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact-item svg { stroke: var(--blue-light); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a, .footer-contact-item span { font-size: .85rem; color: rgba(255,255,255,.65); transition: color .2s; }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom-text { font-size: .78rem; color: rgba(255,255,255,.4); }
.footer-bottom-text a { color: inherit; text-decoration: underline; text-underline-offset: 2px; transition: color .3s; }
.footer-bottom-text a:hover { color: rgba(255,255,255,.8); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-link { font-size: .78rem; color: rgba(255,255,255,.4); transition: color .2s; }
.footer-bottom-link:hover { color: rgba(255,255,255,.7); }

/* =====================================================
   FABS (WhatsApp + Scroll Top)
===================================================== */
.fab-group { position: fixed; bottom: 28px; right: 28px; display: flex; flex-direction: column; gap: 12px; z-index: 900; }
.fab-wa {
  width: 52px; height: 52px; border-radius: 50%; background: var(--wa-green);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4); transition: transform .2s, box-shadow .2s;
}
.fab-wa:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37,211,102,.5); }
.fab-wa svg { stroke: var(--white); }
.fab-top {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md); cursor: pointer; transition: all .2s;
  opacity: 0; pointer-events: none;
}
.fab-top.visible { opacity: 1; pointer-events: auto; }
.fab-top:hover { background: var(--navy); border-color: var(--navy); }
.fab-top:hover svg { stroke: var(--white); }
.fab-top svg { stroke: var(--navy); transition: stroke .2s; }

/* =====================================================
   SCROLL REVEAL
===================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1024px) {
  .metric-item { padding: 16px 10px; }
  .metric-number { font-size: 1.45rem; }
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > *:first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .hero { min-height: auto; background-image: none; background: linear-gradient(135deg, #0d1b3e 0%, #1a3a6e 60%, #0d1b3e 100%); }
  .hero::before { display: none; }
  .hero-left { width: auto; max-width: none; margin-left: 0; padding: 104px 24px 48px; }
  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .hamburger { display: flex; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-item { padding: 16px 12px; }
  .metric-item:nth-child(2n) { border-right: none; }
  .metric-item:nth-child(n+3) { border-top: 1px solid var(--border); }
  .metric-item:last-child { grid-column: 1 / -1; }
  .services-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > *:first-child { grid-column: auto; }
  .fab-group { bottom: 20px; right: 20px; }
  .logo-strip-row { gap: 10px; animation-duration: 23s; }
  .logo-box { width: 150px; height: 76px; padding: 8px 12px; }
}
