/* ==========================================================================
   Asesoría y Servicio Computacional San Luis — Premium Glassmorphism
   Paleta: azul / verde / blanco (marca)
   ========================================================================== */

:root {
  --white:      #ffffff;
  --bg:         #f6faf9;
  --bg-2:       #eef6f3;
  --ink:        #0b1526;
  --ink-soft:   #46536a;
  --ink-mute:   #8592a3;

  --blue:       #0b5394;
  --blue-bright:#1c86d6;
  --blue-soft:  #e7f1fb;
  --green:      #1a9e4f;
  --green-bright:#2fc46e;
  --green-soft: #e7f8ee;

  --glass:      rgba(255, 255, 255, 0.62);
  --glass-2:    rgba(255, 255, 255, 0.4);
  --glass-border: rgba(255, 255, 255, 0.8);
  --line:       rgba(11, 21, 38, 0.08);
  --shadow-sm:  0 2px 10px rgba(11, 21, 38, 0.06);
  --shadow-md:  0 16px 40px -12px rgba(11, 83, 148, 0.22);
  --shadow-lg:  0 30px 70px -20px rgba(11, 83, 148, 0.28);

  --font-display: "Manrope", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    "JetBrains Mono", "Consolas", monospace;
  --font-body:    "Inter", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 12px;
  --radius:    22px;
  --radius-lg: 32px;

  --nav-h: 76px;
  --ease-out: cubic-bezier(.16,1,.3,1);
  --container-pad: 1.25rem;
  --container-max: 1240px;
}

@media (min-width: 768px) { :root { --container-pad: 2.5rem; } }
@media (min-width: 1280px) { :root { --container-pad: 3vw; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, select { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--ink);
}
p { margin: 0; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--container-pad); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--white); padding: .8rem 1.2rem;
  border-radius: 0 0 10px 0;
  font-size: .9rem;
}
.skip-link:focus { left: 0; top: 0; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1rem;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.text-gradient {
  background: linear-gradient(100deg, var(--blue) 15%, var(--green-bright) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede { font-size: 1.08rem; color: var(--ink-soft); max-width: 58ch; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-size: .96rem;
  font-weight: 700;
  padding: .95rem 1.7rem;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background-color .3s var(--ease-out), color .3s var(--ease-out);
  white-space: normal;
  text-align: center;
}
.btn-ico { display: inline-flex; width: 18px; height: 18px; }
.btn-ico svg { width: 100%; height: 100%; }

.btn-primary {
  background: linear-gradient(120deg, var(--blue) 0%, var(--blue-bright) 55%, var(--green) 130%);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.btn-glass {
  background: var(--glass);
  color: var(--ink);
  border: 1.5px solid var(--glass-border);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: var(--shadow-sm);
}
@supports not (backdrop-filter: blur(1px)) {
  .btn-glass { background: rgba(255,255,255,0.92); }
}
.btn-glass:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-lg { padding: 1.15rem 2.1rem; font-size: 1.02rem; }

@media (min-width: 640px) { .btn { white-space: nowrap; } }

/* ---------- Glass card base ---------- */
.glass-card {
  background: var(--glass);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: var(--shadow-sm);
}
@supports not (backdrop-filter: blur(1px)) {
  .glass-card { background: rgba(255,255,255,0.92); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1rem var(--container-pad) 0;
}
.header-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 .6rem 0 1.1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--glass);
  border: 1.5px solid var(--glass-border);
  border-radius: 999px;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease-out);
}
@supports not (backdrop-filter: blur(1px)) {
  .header-inner { background: rgba(255,255,255,0.95); }
}
.site-header.is-scrolled .header-inner { box-shadow: var(--shadow-md); }

.brand { display: flex; align-items: center; margin-right: auto; }
.brand-logo { height: 38px; width: auto; flex: none; }
.brand-word {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  margin-left: .6rem;
  padding-left: .6rem;
  border-left: 1px solid var(--line);
}
.brand-word strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .82rem;
  color: var(--ink);
  white-space: nowrap;
}
.brand-word small {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .68rem;
  color: var(--ink-mute);
  white-space: nowrap;
}
@media (max-width: 359px) { .brand-word { display: none; } }
@media (min-width: 900px) and (max-width: 1149px) { .brand-word { display: none; } }

.main-nav { display: none; align-items: center; gap: 1.9rem; }
.main-nav a {
  position: relative;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 600;
  padding: .3rem 0;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: right .3s var(--ease-out);
}
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }
.main-nav a.is-active { color: var(--blue); }
@media (min-width: 900px) { .main-nav { display: flex; } }

.btn-nav-cta { display: none; padding: .7rem 1.3rem; font-size: .88rem; }
@media (min-width: 900px) { .btn-nav-cta { display: inline-flex; } }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: none; border: none; cursor: pointer;
  margin-left: auto; flex: none;
}
@media (min-width: 900px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink);
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out);
  margin: 0 auto;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: calc(var(--nav-h) + 1rem) 1rem auto 1rem;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility 0s .3s;
  z-index: 99;
  padding: 1.6rem 1.6rem 2rem;
}
.mobile-nav.is-open {
  opacity: 1; transform: translateY(0); visibility: visible; pointer-events: auto;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility 0s;
}
.mobile-nav nav { display: flex; flex-direction: column; margin-bottom: 1.4rem; }
.mobile-nav a {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
  padding: .65rem 0; border-bottom: 1px solid var(--line);
  transition: color .2s var(--ease-out);
}
.mobile-nav a.is-active { color: var(--blue); }
.mobile-nav .btn { width: 100%; }
@media (min-width: 900px) { .mobile-nav { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: clip;
  padding-top: 2.5rem;
}
.hero-mesh {
  position: absolute;
  inset: -10% -10% 10% -10%;
  z-index: -2;
  background:
    radial-gradient(38% 42% at 18% 22%, rgba(11,83,148,0.16), transparent 68%),
    radial-gradient(42% 46% at 85% 15%, rgba(26,158,79,0.16), transparent 68%),
    radial-gradient(50% 50% at 50% 100%, rgba(11,83,148,0.08), transparent 70%);
  filter: blur(10px);
  animation: meshDrift 22s ease-in-out infinite;
}
@keyframes meshDrift {
  0%, 100% { transform: translate3d(0,0,0) scale(1); }
  50% { transform: translate3d(-1.5%, 1.5%, 0) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mesh { animation-duration: 60s; }
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: -1;
  opacity: .55;
  pointer-events: none;
}
.blob-blue { width: 380px; height: 380px; top: -80px; right: 6%; background: var(--blue-bright); }
.blob-green { width: 320px; height: 320px; bottom: -60px; left: -80px; background: var(--green-bright); }

.hero-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 3rem var(--container-pad) 4rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 5rem; }
}

.hero-title {
  font-size: clamp(2.4rem, 6.4vw, 3.9rem);
  margin: 0 0 1.3rem;
}
.hero-sub {
  max-width: 46ch;
  color: var(--ink-soft);
  font-size: 1.12rem;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.4rem; }

.hero-trust { display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap; }
.trust-stat { display: flex; flex-direction: column; }
.trust-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.7rem; line-height: 1;
  background: linear-gradient(100deg, var(--blue), var(--green));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.trust-label { font-size: .78rem; color: var(--ink-mute); margin-top: .3rem; line-height: 1.3; }
.trust-divider { width: 1px; height: 34px; background: var(--line); }

.hero-collage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}
.collage-fan-wrap { position: relative; width: 100%; aspect-ratio: 1 / 0.82; }
.hero-collage-glow {
  position: absolute;
  inset: 6% -8%;
  background: linear-gradient(135deg, var(--blue-bright), var(--green-bright));
  filter: blur(60px);
  opacity: .3;
  border-radius: var(--radius-lg);
  z-index: -1;
}

.collage-fan { position: absolute; inset: 0; }
.collage-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44%;
  aspect-ratio: 3 / 5;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  background: var(--white);
  opacity: 1;
  transform: translate(-50%, -50%) translate(var(--tx), var(--ty)) rotate(var(--rot)) scale(var(--scale));
  z-index: var(--z);
  transition: transform .5s var(--ease-out), opacity .4s var(--ease-out), box-shadow .3s var(--ease-out);
}
/* Static fallback fan (7 slots) — matches the JS-computed initial layout exactly,
   so the page reads correctly even if JS never runs. */
.collage-card:nth-child(1) { --rot: -16deg;   --tx: -58%;   --ty: 4%;    --scale: 0.8;   --z: 7; }
.collage-card:nth-child(2) { --rot: -10.7deg; --tx: -38.7%; --ty: 1.78%; --scale: 0.911; --z: 8; }
.collage-card:nth-child(3) { --rot: -5.3deg;  --tx: -19.3%; --ty: 0.44%; --scale: 0.978; --z: 9; }
.collage-card:nth-child(4) { --rot: 0deg;     --tx: 0%;     --ty: 0%;    --scale: 1;     --z: 10; }
.collage-card:nth-child(5) { --rot: 5.3deg;   --tx: 19.3%;  --ty: 0.44%; --scale: 0.978; --z: 9; }
.collage-card:nth-child(6) { --rot: 10.7deg;  --tx: 38.7%;  --ty: 1.78%; --scale: 0.911; --z: 8; }
.collage-card:nth-child(7) { --rot: 16deg;    --tx: 58%;    --ty: 4%;    --scale: 0.8;   --z: 7; }
.collage-card:nth-child(n+8) { opacity: 0; pointer-events: none; }

@media (hover: hover) and (pointer: fine) {
  .collage-card:hover {
    transform: translate(-50%, -50%) translate(var(--tx), calc(var(--ty) - 16px)) rotate(0deg) scale(calc(var(--scale) * 1.1));
    z-index: 20;
    box-shadow: var(--shadow-lg), 0 24px 44px -12px rgba(11, 21, 38, 0.35);
  }
}
.collage-card img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 639px) {
  .collage-card:nth-child(1) { --tx: -44%; }
  .collage-card:nth-child(7) { --tx: 44%; }
}

.collage-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; }
.collage-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex: none;
  border-radius: 50%;
  background: var(--glass);
  border: 1.5px solid var(--glass-border);
  backdrop-filter: blur(10px) saturate(160%);
  -webkit-backdrop-filter: blur(10px) saturate(160%);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .25s var(--ease-out), color .25s var(--ease-out), transform .25s var(--ease-out);
}
@supports not (backdrop-filter: blur(1px)) { .collage-arrow { background: rgba(255,255,255,.92); } }
.collage-arrow svg { width: 16px; height: 16px; }
.collage-arrow:hover { background: linear-gradient(120deg, var(--blue), var(--green)); color: var(--white); transform: scale(1.08); }
.collage-dots { display: flex; align-items: center; gap: .4rem; }
.collage-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--line);
  transition: background .25s var(--ease-out), transform .25s var(--ease-out);
}
.collage-dots span.is-active { background: linear-gradient(120deg, var(--blue), var(--green)); transform: scale(1.5); }

/* ---------- Brands strip ---------- */
.brands-strip {
  border-top: 1px solid var(--line);
  padding: 2.2rem 0 2.6rem;
  margin-top: 1rem;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.brands-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 1.8rem;
}
.brands-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  animation: marquee 60s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .brands-track { animation-duration: 130s; } }

/* Fixed, uniform box per logo — every mark scales to fit the same footprint
   regardless of its native aspect ratio, so the row reads as one consistent set. */
.brand-box {
  flex: none;
  width: 108px;
  height: 64px;
  margin: 0 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-box img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .6;
  transition: opacity .3s var(--ease-out), filter .3s var(--ease-out);
}

/* A few marks (Samsung, Tripp Lite, Western Digital, Xbox, Acer, ASUS, Brother,
   Hewlett Packard Enterprise, Lenovo, Microsoft, MSI) render visually smaller than
   the rest at the same box size — scale them up so the row reads evenly. */
.brand-box--lg img {
  max-width: 142%;
  max-height: 142%;
}
@media (min-width: 640px) {
  .brand-box { width: 128px; height: 72px; margin: 0 1.4rem; }
}
@media (hover: hover) {
  .brand-box img:hover { filter: grayscale(0); opacity: 1; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; position: relative; }
@media (min-width: 900px) { .section { padding: 6.5rem 0; } }
.section-alt { background: var(--bg-2); }

.section-head { max-width: 62ch; margin-bottom: 3rem; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.7rem); }

/* ---------- Servicios cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
  margin-bottom: 1.6rem;
}
@media (min-width: 860px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }

.cards-grid-compact { gap: 1.1rem; }
@media (min-width: 560px) { .cards-grid-compact { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cards-grid-compact { grid-template-columns: repeat(4, 1fr); } }

.glass-card.reveal { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out); }

article.glass-card {
  padding: 2.2rem 1.8rem 2.4rem;
}
article.glass-card.card-compact {
  padding: 1.7rem 1.5rem 1.9rem;
}
@media (hover: hover) {
  article.glass-card:hover, .plan-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(11,83,148,0.28);
    transform: translateY(-4px);
  }
}

.card-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
}
.card-compact .card-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  margin-bottom: 1.1rem;
}
.card-icon svg { width: 28px; height: 28px; }
.card-compact .card-icon svg { width: 23px; height: 23px; }
.card-icon-blue { background: var(--blue-soft); color: var(--blue); }
.card-icon-green { background: var(--green-soft); color: var(--green); }

.glass-card h3 { font-size: 1.32rem; margin-bottom: .7rem; }
.glass-card > p { color: var(--ink-soft); margin-bottom: 1.2rem; }
.card-compact h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.card-compact > p { font-size: .9rem; margin-bottom: 0; }

/* ---------- Request panel ---------- */
.request-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.8rem;
  padding: 2.4rem 1.9rem;
}
@media (min-width: 860px) { .request-panel { grid-template-columns: 1fr 1.15fr; align-items: center; padding: 2.8rem 3rem; } }
.request-copy h3 { font-size: 1.4rem; margin-top: .4rem; }
.request-form label {
  display: block; font-family: var(--font-mono); font-size: .76rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--ink-mute);
  margin-bottom: .6rem;
}
.request-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.request-row select {
  flex: 1 1 220px;
  padding: .9rem 1.1rem;
  border: 1.5px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  font-size: .95rem;
}
.request-row select:focus { border-color: var(--blue); }
.form-note {
  font-size: .82rem;
  color: var(--ink-mute);
  margin-top: 1rem;
}
.form-note.center { text-align: center; margin: 1.4rem 0 0; }

/* ---------- Empresas ---------- */
.enterprise-grid {
  margin-bottom: 3.5rem;
}
.enterprise-text .lede { max-width: 62ch; }

.benefit-list {
  margin: 1.9rem 0 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem 2.5rem;
}
@media (min-width: 700px) { .benefit-list { grid-template-columns: repeat(2, 1fr); max-width: 780px; } }
.benefit-list li {
  display: flex; align-items: flex-start; gap: .8rem;
  font-size: 1.02rem; color: var(--ink-soft);
}
.benefit-list li svg { width: 22px; height: 22px; color: var(--green); flex: none; margin-top: .1em; }

.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.4rem;
}
@media (min-width: 860px) { .plans-grid { grid-template-columns: repeat(3, 1fr); } }

.plan-card {
  position: relative;
  padding: 2rem 1.8rem 2.2rem;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
}
.plan-featured {
  border-color: rgba(11,83,148,0.35);
  box-shadow: var(--shadow-md);
}
@media (min-width: 860px) { .plan-featured { transform: translateY(-10px); } }
.plan-card > .plan-tag {
  position: absolute; top: -13px; left: 1.8rem;
  background: linear-gradient(120deg, var(--blue), var(--green));
  color: var(--white);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  padding: .35rem .8rem; border-radius: 999px;
  margin-bottom: 0;
}
.plan-name { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; margin-bottom: 1.3rem; }
.plan-specs { display: flex; flex-direction: column; gap: .8rem; }
.plan-specs > div { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: .8rem; }
.plan-specs dt { font-size: .82rem; color: var(--ink-mute); }
.plan-specs dd { margin: 0; font-weight: 700; font-size: .95rem; }

.center-cta { text-align: center; margin-top: 2.6rem; }

/* ---------- Nosotros ---------- */
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  align-items: center;
}
@media (min-width: 900px) { .nosotros-grid { grid-template-columns: .85fr 1.15fr; gap: 3.5rem; } }

.nosotros-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  aspect-ratio: 3 / 2;
}
.nosotros-figure img { width: 100%; height: 100%; object-fit: cover; }

.nosotros-text .lede { margin: 1.2rem 0 0; }
.nosotros-text .lede + .lede { margin-top: .9rem; }
.nosotros-text .lede:last-of-type { margin-bottom: 2.2rem; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 560px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
.stat-card {
  padding: 1.3rem 1rem;
  text-align: left;
}
.stat-num {
  display: block;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2rem);
  background: linear-gradient(100deg, var(--blue), var(--green));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
  margin-bottom: .4rem;
}
.stat-label { font-size: .78rem; color: var(--ink-mute); }

/* ---------- Contacto ---------- */
.contact-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2.6rem 1.9rem;
}
@media (min-width: 900px) { .contact-panel { grid-template-columns: 1.15fr .85fr; padding: 3.2rem; gap: 3rem; align-items: center; } }
.contact-mesh {
  position: absolute; inset: -20%;
  background: radial-gradient(45% 45% at 15% 20%, rgba(11,83,148,0.12), transparent 70%),
              radial-gradient(45% 45% at 90% 90%, rgba(26,158,79,0.12), transparent 70%);
  z-index: -1;
}
.contact-cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.6rem 0 2.2rem; }
.contact-details { display: grid; gap: 1.3rem; }
.contact-details dt {
  font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase;
  letter-spacing: .06em; color: var(--ink-mute); margin-bottom: .3rem;
}
.contact-details dd { margin: 0; font-size: 1.02rem; font-weight: 600; }
.contact-details dd a { color: var(--blue); text-decoration: none; }
.contact-details dd a:hover { text-decoration: underline; }
.contact-figure {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
}
.contact-figure img { width: 100%; height: 100%; object-fit: cover; }

.contact-map {
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  aspect-ratio: 21 / 9;
}
@media (max-width: 639px) { .contact-map { aspect-ratio: 4 / 3; } }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.img-fachada { object-position: center 50%; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  overflow: clip;
  background: var(--ink);
  color: rgba(255,255,255,.62);
}
.footer-mesh {
  position: absolute;
  inset: -20% -10% -10% -10%;
  z-index: 0;
  background:
    radial-gradient(40% 60% at 12% 0%, rgba(28,134,214,0.28), transparent 70%),
    radial-gradient(45% 60% at 92% 100%, rgba(47,196,110,0.22), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.footer-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.6rem;
  padding: 4.5rem 0 3rem;
}
@media (min-width: 640px) { .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .footer-inner { grid-template-columns: 1.3fr .8fr .9fr 1fr; gap: 2rem; } }

.footer-brand .brand-logo { height: 36px; }
.footer-tagline { font-size: .9rem; line-height: 1.65; color: rgba(255,255,255,.5); max-width: 30ch; margin: 1.1rem 0 1.4rem; }

.footer-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin: 0 0 1.1rem;
}
.footer-nav { display: flex; flex-direction: column; gap: .75rem; }
.footer-nav a { font-size: .92rem; color: rgba(255,255,255,.6); width: fit-content; transition: color .2s var(--ease-out); }
.footer-nav a:hover { color: var(--green-bright); }

.footer-contact-list { display: flex; flex-direction: column; gap: .9rem; margin: 0 0 1.4rem; list-style: none; padding: 0; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: .7rem; font-size: .88rem; line-height: 1.5; color: rgba(255,255,255,.6); }
.footer-contact-list svg { width: 17px; height: 17px; flex: none; margin-top: .15rem; color: var(--green-bright); }
.footer-contact-list a { color: inherit; }
.footer-contact-list a:hover { color: var(--white); }
.footer-cta { font-size: .88rem; padding: .75rem 1.3rem; }

.footer-social { display: flex; gap: .7rem; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.75);
  transition: background .25s var(--ease-out), color .25s var(--ease-out), transform .25s var(--ease-out);
}
.footer-social svg { width: 18px; height: 18px; }
.footer-social a:hover {
  background: linear-gradient(120deg, var(--blue-bright), var(--green-bright));
  color: var(--white);
  transform: translateY(-2px);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.5rem 0 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-top {
  font-size: .82rem;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  transition: color .2s var(--ease-out);
}
.footer-top:hover { color: var(--green-bright); }

@media (max-width: 639px) {
  .footer-inner { justify-items: center; text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-tagline { margin-left: auto; margin-right: auto; }
  .footer-nav { align-items: center; }
  .footer-contact-list li { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366, #1fb355);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(37,211,102,.4);
  z-index: 200;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
  animation: waPulse 2.6s ease-in-out infinite;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 12px 30px rgba(37,211,102,.4); }
  50% { box-shadow: 0 12px 30px rgba(37,211,102,.4), 0 0 0 10px rgba(37,211,102,.12); }
}
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { transform: scale(1.08); }

/* ---------- Reveals ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

.hero-text .reveal,
.hero-collage.reveal { opacity: 1; transform: none; }
