/* SITICS — Servicios Integrales en Telecomunicaciones */
:root {
  --bg: #FAFAF7;
  --bg-2: #F2F2EC;
  --bg-3: #EAEAE2;
  --cyan: #2DD4DE;
  --cyan-glow: #2DD4DE40;
  --cyan-soft: #2DD4DE15;
  --text: #0E1418;
  --text-dim: #5A6670;
  --text-faint: #A0AAB2;
  --line: #DDDDD3;
  --whatsapp: #25D366;

  --font-display: 'Fraunces', 'Times New Roman', Georgia, serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;

  --maxw: 1320px;
  --pad-x: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Subtle grid pattern background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(45, 212, 222, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(45, 212, 222, 0.045) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 1;
}

/* Noise overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
}

main, nav, footer { position: relative; z-index: 3; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---------- TYPOGRAPHY UTILITIES ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow .bracket { color: var(--text-faint); }

.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.section-tag .num { color: var(--cyan); }

.headline {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-wrap: balance;
  margin: 0;
  font-variation-settings: "SOFT" 30, "WONK" 0, "opsz" 144;
}
.headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--cyan);
  font-family: var(--font-display);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
}
.btn .arrow { transition: transform .3s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover { background: var(--cyan); color: #fff; }
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -120%;
  width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
  transition: left .7s ease;
}
.btn-primary:hover::before { left: 130%; }

.btn-outline {
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #052e15;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease, padding .3s ease;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: #0E1418;
  color: #fff;
}
.nav.scrolled {
  background: rgba(14, 20, 24, 0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: rgba(255,255,255,0.08);
  padding: 12px var(--pad-x);
}
.nav .nav-link { color: rgba(255,255,255,0.62); }
.nav .nav-link:hover { color: #fff; }
.nav .btn-primary { background: var(--cyan); color: #0E1418; }
.nav .btn-primary:hover { background: #fff; color: #0E1418; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.brand-logo {
  height: 38px;
  width: auto;
  display: block;
  transition: opacity .2s ease;
}
.brand:hover .brand-logo { opacity: 0.85; }
.nav.scrolled .brand-logo { height: 32px; }
.brand-logo-footer { height: 44px; filter: brightness(1.05); }
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  flex-shrink: 0;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-name { letter-spacing: 0.04em; }
.brand-name .dot { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: relative;
  padding: 6px 0;
  transition: color .2s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--cyan);
  transition: right .3s ease;
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { right: 0; }

.nav-cta {
  display: inline-flex;
}

.nav-burger { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn { padding: 11px 16px; font-size: 11px; }
}

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  padding: 120px var(--pad-x) 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
}

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp .8s ease forwards;
  animation-delay: .1s;
}

.hero-headline {
  font-size: clamp(40px, 5.6vw, 78px);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp .9s ease forwards;
  animation-delay: .3s;
}

.hero-subheadline {
  color: var(--text-dim);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp .9s ease forwards;
  animation-delay: .5s;
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .9s ease forwards;
  animation-delay: .7s;
}

/* Hero visual: orb */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
  animation-delay: .6s;
}

.orb {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 520px;
  max-height: 520px;
  margin: 0 auto;
}
.orb-glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(45,212,222,0.18), rgba(45,212,222,0.04) 55%, transparent 70%);
  filter: blur(24px);
  animation: pulse 4s ease-in-out infinite;
}
.orb-svg {
  position: relative;
  width: 100%;
  height: 100%;
  animation: rotate 60s linear infinite;
}
.orb-center {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.orb-center .label {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--cyan);
}
.orb-center .sub {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.32em;
  color: var(--text-faint);
  text-transform: uppercase;
}

.badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text);
  white-space: nowrap;
  z-index: 3;
  box-shadow: 0 6px 20px rgba(14,20,24,0.06);
}
.badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
}
.badge .key { color: var(--text-dim); }
.badge .val { color: var(--text); }

.badge-1 { top: 8%;  right: -4%; animation: float 6s ease-in-out infinite; }
.badge-2 { top: 46%; left: -8%;  animation: float 6s ease-in-out infinite; animation-delay: -2s; }
.badge-3 { bottom: 10%; right: 4%; animation: float 6s ease-in-out infinite; animation-delay: -4s; }

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--text-faint);
  text-transform: uppercase;
  z-index: 5;
}
.scroll-hint .line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-hint .line::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: linear-gradient(to bottom, transparent, var(--cyan));
  animation: scrollDown 2.4s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { top: -50%; }
  100% { top: 150%; }
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes pulse {
  0%, 100% { opacity: .7; transform: scale(1); }
  50%      { opacity: 1;  transform: scale(1.04); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-15px); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 120px;
    text-align: left;
  }
  .hero-visual { max-width: 420px; margin: 0 auto; width: 100%; }
  .scroll-hint { display: none; }
}

/* ---------- CONTACTS ---------- */
.contacts { background: var(--bg-2); }
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}
.contacts-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.contact-card {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.contact-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(14,20,24,0.06);
}
.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(45,212,222,0.10);
  border: 1px dashed var(--cyan);
  color: var(--cyan);
  display: grid;
  place-items: center;
}
.contact-icon svg { width: 24px; height: 24px; }
.contact-icon-wa {
  background: rgba(37, 211, 102, 0.12);
  border-color: var(--whatsapp);
  color: var(--whatsapp);
}
.contact-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--cyan);
  margin: 0;
}
.contact-card-wa .contact-title { color: var(--whatsapp); }
.contact-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}
.contact-email { font-family: var(--font-mono); font-size: 13px; word-break: break-all; }
.contact-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
}
.contact-list .muted {
  display: inline-block;
  width: 56px;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-right: 8px;
}
.contact-cta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-top: auto;
  padding-top: 4px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.contact-cta-wa { color: var(--whatsapp); }
.contact-card:hover .arrow { transform: translateX(4px); }
.contact-cta .arrow { transition: transform .3s ease; }

@media (max-width: 768px) {
  .contacts-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .contacts-cards { grid-template-columns: 1fr; }
}

/* ---------- TESTIMONIOS ---------- */
.testimonials { background: var(--bg); }
.testi-rating {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.stars {
  display: inline-flex;
  gap: 2px;
  font-size: 18px;
  color: #F2B233;
  line-height: 1;
  letter-spacing: 1px;
}
.stars-sm { font-size: 13px; letter-spacing: 0.5px; }
.rating-text {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(220px, auto);
  gap: 24px;
}
.testi-card {
  grid-column: span 2;
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 36px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: border-color .3s ease, transform .3s ease;
}
.testi-card:hover {
  border-color: var(--cyan);
  transform: translateY(-3px);
}
.testi-card-lg {
  grid-column: span 4;
  background: linear-gradient(135deg, rgba(45,212,222,0.06), transparent 50%), var(--bg-2);
  border-color: var(--cyan);
}
.testi-card-lg .testi-quote { font-size: 22px; line-height: 1.45; }
.testi-card-lg .quote-mark { font-size: 96px; }

.quote-mark {
  position: absolute;
  top: 12px;
  right: 22px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 64px;
  line-height: 1;
  color: var(--cyan);
  opacity: 0.35;
  pointer-events: none;
}
.testi-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 16.5px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 0;
  text-wrap: pretty;
  flex-grow: 1;
}
.testi-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
}
.testi-author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testi-author strong {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.testi-author span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

@media (max-width: 1024px) {
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-card, .testi-card-lg { grid-column: span 1; }
  .testi-card-lg { grid-column: span 2; }
}
@media (max-width: 640px) {
  .testi-grid { grid-template-columns: 1fr; }
  .testi-card, .testi-card-lg { grid-column: span 1; }
  .testi-card-lg .testi-quote { font-size: 18px; }
}

/* ---------- DEPARTAMENTOS ---------- */
.departments { background: var(--bg-2); }
.dept-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.dept-card {
  background: var(--bg);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.dept-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: 0 18px 40px rgba(14,20,24,0.08);
}
.dept-photo {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}
.dept-photo-inner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end start;
  padding: 18px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0E1418;
}
.dept-photo-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14,20,24,0.05) 30%, rgba(14,20,24,0.85) 100%),
    linear-gradient(135deg, rgba(45,212,222,0.18), transparent 60%);
}
.dept-photo-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.dept-photo-1 {
  background-image: linear-gradient(180deg, rgba(14,20,24,0.15) 0%, rgba(14,20,24,0.55) 70%, rgba(14,20,24,0.85) 100%), url('assets/dept-ingenieria.jpg');
  background-size: cover;
  background-position: center;
}
.dept-photo-2 {
  background-image: linear-gradient(180deg, rgba(14,20,24,0.15) 0%, rgba(14,20,24,0.55) 70%, rgba(14,20,24,0.85) 100%), url('assets/dept-telecom.jpg');
  background-size: cover;
  background-position: center;
}
.dept-photo-3 {
  background-image: linear-gradient(180deg, rgba(14,20,24,0.15) 0%, rgba(14,20,24,0.55) 70%, rgba(14,20,24,0.85) 100%), url('assets/dept-operaciones.jpg');
  background-size: cover;
  background-position: center;
}
.dept-photo-4 {
  background-image: linear-gradient(180deg, rgba(14,20,24,0.15) 0%, rgba(14,20,24,0.55) 70%, rgba(14,20,24,0.85) 100%), url('assets/dept-comercializacion.jpg');
  background-size: cover;
  background-position: center;
}
.dept-photo-label {
  position: relative;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.dept-body {
  padding: 28px 26px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dept-icon {
  position: absolute;
  top: -28px;
  left: 26px;
  width: 52px;
  height: 52px;
  background: var(--cyan);
  color: #0E1418;
  border-radius: 4px;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(45,212,222,0.30);
}
.dept-icon svg { width: 26px; height: 26px; }
.dept-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 16px 0 0;
  color: var(--text);
}
.dept-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dept-list li {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-dim);
  padding-left: 18px;
  position: relative;
  text-wrap: pretty;
}
.dept-list li::before {
  content: '→';
  position: absolute;
  left: 0; top: 0;
  color: var(--cyan);
  font-family: var(--font-mono);
}
@media (max-width: 1024px) {
  .dept-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .dept-grid { grid-template-columns: 1fr; }
}

/* ---------- BRANDS GRID ---------- */
.brands { background: var(--bg); }
.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.brand-cell {
  background: var(--bg);
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  padding: 28px 32px;
  transition: background .25s ease;
}
.brand-cell img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.55);
  transition: filter .35s ease, transform .35s ease;
}
.brand-cell:hover {
  background: var(--bg-2);
}
.brand-cell:hover img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.04);
}
.brand-cell-more {
  background: var(--bg-2);
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.brand-cell-more .more-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 36px;
  letter-spacing: -0.02em;
  color: var(--cyan);
  line-height: 1;
}
.brand-cell-more .more-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 8px;
}
@media (max-width: 1024px) {
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .brand-cell { padding: 20px 24px; }
}

/* ---------- SECTION SHARED ---------- */
.section {
  padding: 140px var(--pad-x);
  border-top: 1px solid var(--line);
  position: relative;
}
.section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.section-head {
  max-width: 760px;
  margin-bottom: 80px;
}
.section-head-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-tag {
  margin-bottom: 24px;
  display: inline-block;
}
.section-title {
  font-size: clamp(32px, 4.4vw, 60px);
  margin-bottom: 24px;
}
.section-lead {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 580px;
  text-wrap: pretty;
  margin: 0;
}
.section-head-center .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- SERVICIOS ---------- */
.services { background: var(--bg-2); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--bg-2);
  padding: 40px 36px 36px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: background .3s ease;
  min-height: 380px;
}
.service-card::before {
  content: attr(data-num);
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-faint);
}
.service-card:hover { background: #EAEAE2; }
.service-card-feature { background: linear-gradient(135deg, rgba(45,212,222,0.06), transparent 60%), var(--bg-2); }

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--cyan);
}
.service-icon svg { width: 100%; height: 100%; display: block; }

.service-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.015em;
  color: var(--text);
  margin: 0;
  line-height: 1.15;
}
.service-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
  text-wrap: pretty;
}
.service-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.service-bullets li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  padding-left: 14px;
  position: relative;
}
.service-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 7px;
  width: 6px; height: 1px;
  background: var(--cyan);
}
.service-link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-top: 12px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.service-link .arrow { transition: transform .3s ease; }
.service-link:hover .arrow { transform: translateX(4px); }

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; padding: 32px 28px; }
}

/* ---------- DIFERENCIADOR ---------- */
.unique { background: var(--bg); }
.unique-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 80px;
}
.compare-col {
  border: 1px solid var(--line);
  padding: 36px 32px;
  background: var(--bg-2);
}
.compare-us {
  border-color: var(--cyan);
  background: linear-gradient(135deg, rgba(45,212,222,0.05), transparent 60%), var(--bg-2);
  box-shadow: 0 0 60px rgba(45,212,222,0.08);
}
.compare-head { margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px dashed var(--line); }
.compare-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: block;
  margin-bottom: 8px;
}
.compare-tag-us { color: var(--cyan); }
.compare-sub {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text);
}
.compare-list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.compare-list li {
  font-size: 14px;
  line-height: 1.5;
  padding-left: 26px;
  position: relative;
  color: var(--text-dim);
}
.compare-list-bad li::before {
  content: '×';
  position: absolute; left: 0; top: -2px;
  width: 18px; height: 18px;
  display: grid; place-items: center;
  border: 1px solid var(--text-faint);
  border-radius: 50%;
  font-size: 12px;
  color: var(--text-faint);
}
.compare-list-good li {
  color: var(--text);
}
.compare-list-good li::before {
  content: '✓';
  position: absolute; left: 0; top: -2px;
  width: 18px; height: 18px;
  display: grid; place-items: center;
  background: var(--cyan);
  color: #fff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
}

.compare-divider {
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--text-faint);
  position: relative;
  padding: 0 8px;
}
.compare-divider::before,
.compare-divider::after {
  content: '';
  position: absolute;
  left: 50%;
  width: 1px;
  height: 30%;
  background: linear-gradient(to bottom, transparent, var(--line));
}
.compare-divider::before { top: 0; }
.compare-divider::after { bottom: 0; transform: scaleY(-1); }
.compare-divider span {
  background: var(--bg);
  padding: 8px 0;
}

@media (max-width: 900px) {
  .unique-compare { grid-template-columns: 1fr; gap: 16px; }
  .compare-divider { padding: 12px 0; }
  .compare-divider::before, .compare-divider::after { display: none; }
}

.unique-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.stat {
  background: var(--bg-2);
  padding: 36px 28px;
  text-align: left;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 64px;
  letter-spacing: -0.04em;
  color: var(--cyan);
  line-height: 1;
}
.stat-unit {
  font-size: 36px;
  color: var(--text-dim);
}
.stat-label {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
@media (max-width: 720px) {
  .unique-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 48px; }
}

/* ---------- TRUST / LOGOS / MARCA GTO ---------- */
.trust { background: var(--bg-2); }
.logo-marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
  margin-bottom: 80px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.logo-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.logo-set {
  display: flex;
  flex-shrink: 0;
}
.logo-item {
  padding: 0 48px;
  display: grid;
  place-items: center;
  border-right: 1px dashed var(--line);
  min-width: 220px;
  height: 80px;
}
.logo-item img {
  max-height: 64px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.6);
  transition: filter .35s ease;
}
.logo-item:hover img {
  filter: grayscale(0) opacity(1);
}
.logo-mono {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text-dim);
  white-space: nowrap;
  transition: color .3s ease;
}
.logo-item:hover .logo-mono { color: var(--text); }
.logo-mono sup { font-size: 10px; vertical-align: super; color: var(--cyan); }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marca-gto {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(45,212,222,0.06), transparent 60%), var(--bg-2);
  position: relative;
  overflow: hidden;
}
.marca-gto::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(45,212,222,0.08), transparent 50%);
  pointer-events: none;
}
.marca-gto-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 56px;
  padding: 56px;
  position: relative;
  z-index: 2;
}
.marca-gto-mark {
  width: 160px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.marca-gto-mark img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(14,20,24,0.15));
}
.marca-gto-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 12px 0 14px;
}
.marca-gto-title em { font-style: italic; font-weight: 400; color: var(--cyan); }
.marca-gto-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
  max-width: 560px;
  text-wrap: pretty;
}
@media (max-width: 720px) {
  .marca-gto-inner { grid-template-columns: 1fr; padding: 36px; gap: 28px; text-align: left; }
  .marca-gto-mark { width: 88px; height: 88px; }
}

/* ---------- EQUIPO ---------- */
.team { background: var(--bg); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.team-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.team-portrait {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, rgba(45,212,222,0.12), rgba(45,212,222,0.02));
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.team-portrait::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(45,212,222,0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(45,212,222,0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.team-initial {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 64px;
  letter-spacing: -0.03em;
  color: var(--cyan);
  position: relative;
  z-index: 2;
  text-shadow: 0 0 40px rgba(45,212,222,0.4);
}
.team-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 4px;
}
.team-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: var(--text);
}
.team-bio {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0;
  text-wrap: pretty;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

/* ---------- CTA FINAL ---------- */
.cta-final {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.cta-content .section-tag { margin-bottom: 24px; display: inline-block; }
.cta-content .section-title { margin-bottom: 24px; }
.cta-content .section-lead { margin-bottom: 36px; }
.cta-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.cta-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}
.cta-check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--cyan);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}
.cta-point strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  color: var(--text);
  margin-bottom: 2px;
}
.cta-point span {
  font-size: 13px;
  color: var(--text-dim);
}

.cta-form {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: sticky;
  top: 100px;
}
.form-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
  color: var(--text);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.field input,
.field select,
.field textarea {
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  border-radius: 2px;
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: var(--bg-3);
}
.field textarea { resize: vertical; min-height: 80px; font-family: var(--font-body); }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-submit {
  margin-top: 8px;
  justify-content: center;
  width: 100%;
}
.form-fineprint {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  margin: 0;
  line-height: 1.5;
}
.form-success {
  background: rgba(45,212,222,0.12);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  margin: 0;
}
@media (max-width: 1024px) {
  .cta-grid { grid-template-columns: 1fr; gap: 56px; }
  .cta-form { position: static; }
}
@media (max-width: 480px) {
  .field-row { grid-template-columns: 1fr; }
  .cta-form { padding: 28px; }
}

/* ---------- FOOTER ---------- */
.footer {
  background: #0E1418;
  color: #E8EBED;
  border-top: 1px solid var(--line);
  padding: 80px var(--pad-x) 0;
  position: relative;
  z-index: 3;
  --line: #2A3036;
  --text: #E8EBED;
  --text-dim: #95A0A8;
  --text-faint: #5A6470;
}
.footer .brand { color: #fff; }
.footer .brand-name .dot { color: var(--cyan); }
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 56px;
  padding-bottom: 64px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 20px;
}
.footer-col .brand { margin-bottom: 18px; }
.footer-address {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0 0 20px;
  max-width: 280px;
}
.footer-cert {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.footer-cert .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 6px var(--cyan);
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-list a {
  font-size: 14px;
  color: var(--text);
  transition: color .2s ease;
}
.footer-list a:hover { color: var(--cyan); }
.footer-list .muted { color: var(--text-dim); font-size: 13px; }

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer-socials a {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text-dim);
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}
.footer-socials a:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  transform: translateY(-2px);
}
.footer-socials svg { width: 14px; height: 14px; }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.footer-bottom .credit a { color: var(--cyan); }
.credit-jaguar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-transform: none;
  letter-spacing: 0.04em;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 13px;
  transition: border-color 0.25s ease, transform 0.25s ease;
  vertical-align: middle;
}
.credit-jaguar img {
  height: 18px;
  width: auto;
  display: block;
}
.credit-jaguar:hover {
  border-color: var(--cyan);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- WHATSAPP FAB ---------- */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  display: grid;
  place-items: center;
  z-index: 200;
  transition: transform .25s ease;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
}
.wa-fab:hover { transform: scale(1.1); }
.wa-fab svg { width: 32px; height: 32px; display: block; }
.wa-fab::before, .wa-fab::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--whatsapp);
  animation: ripple 2s ease-out infinite;
}
.wa-fab::after { animation-delay: 1s; }

@keyframes ripple {
  0%   { transform: scale(1);   opacity: .8; }
  100% { transform: scale(1.8); opacity: 0; }
}

/* ---------- A11Y ---------- */
:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
