body.page-inicio {
  background: var(--color-white);
}

/* Section typography inherited from main.css (home as base) */

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(92vh - var(--header-height) - 1.5rem);
  display: flex;
  align-items: flex-end;
  margin: calc(var(--header-height) + 0.85rem) 0.85rem 0;
  padding: 3.5rem 0 4.5rem;
  color: var(--color-white);
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(8, 17, 31, 0.18);
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1.15s ease;
  will-change: opacity;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.05);
  transform-origin: center center;
  will-change: transform;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide.is-active img {
  animation: hero-kenburns 7.5s ease-out forwards;
}

@keyframes hero-kenburns {
  from {
    transform: scale(1.05);
  }
  to {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide.is-active img {
    animation: none;
    transform: scale(1);
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(6, 14, 28, 0.9) 0%, rgba(6, 14, 28, 0.62) 48%, rgba(6, 14, 28, 0.28) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, 640px);
  max-width: 640px;
  margin: 0;
  margin-left: clamp(1.35rem, 4.5vw, 3.5rem);
  padding-right: 1rem;
  animation: hero-in 0.9s ease both;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-brand {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-on-dark);
}

.hero-content h1 {
  margin: 0 0 1.2rem;
  color: #fff;
  font-size: clamp(2.35rem, 4.8vw, 3.85rem);
  font-weight: var(--heading-weight);
  letter-spacing: -0.02em;
  line-height: 1.14;
  text-transform: uppercase;
}

.hero-content h1 .accent {
  color: var(--color-on-dark);
}

.hero-content .lead {
  margin: 0 0 0.95rem;
  max-width: 38ch;
  color: #e8eef5;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: 0;
}

.hero-content .sub {
  margin: 0 0 1.75rem;
  max-width: 44ch;
  color: #b7c4d4;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.page-inicio .hero-actions .btn {
  min-height: 48px;
  padding: 0.8rem 1.7rem;
  border-radius: 10px;
}

.page-inicio .hero-actions .btn-primary {
  box-shadow: 0 10px 26px rgba(1, 112, 185, 0.32);
}

.page-inicio .hero-actions .btn-ghost {
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.06);
}

/* —— Distribución / Alcance (impacto post-banner) —— */
.distribucion,
.page-inicio .distribucion {
  position: relative;
  background:
    radial-gradient(ellipse 90% 70% at 8% 10%, rgba(1, 112, 185, 0.16), transparent 52%),
    radial-gradient(ellipse 60% 50% at 95% 90%, rgba(1, 112, 185, 0.1), transparent 48%),
    var(--color-surface);
  margin-top: 0;
  padding-top: clamp(2.25rem, 4vw, 3.25rem);
  padding-bottom: clamp(2.25rem, 4vw, 3.25rem);
  overflow: hidden;
}

.distribucion::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(1, 112, 185, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(1, 112, 185, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 20%, transparent 75%);
  pointer-events: none;
}

.distribucion-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 0;
  align-items: stretch;
  background: #fff;
  border: 1px solid rgba(13, 27, 42, 0.07);
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9) inset,
    0 4px 12px rgba(8, 17, 31, 0.04),
    0 24px 56px rgba(8, 17, 31, 0.1);
  animation: home-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.distribucion-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 3;
  background: linear-gradient(90deg, var(--color-primary) 0%, #4aa3d8 45%, transparent 100%);
}

.distribucion-copy {
  position: relative;
  z-index: 1;
  padding: clamp(1.35rem, 2.8vw, 1.85rem) clamp(1.4rem, 3vw, 2.1rem);
  background:
    linear-gradient(150deg, #ffffff 0%, #f5f9fc 55%, #eef5fb 100%);
}

.distribucion-copy::before {
  content: "";
  position: absolute;
  right: -18%;
  top: -30%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 112, 185, 0.08), transparent 68%);
  pointer-events: none;
}

.distribucion-copy::after {
  content: "";
  position: absolute;
  top: 14%;
  right: 0;
  width: 1px;
  height: 72%;
  background: linear-gradient(180deg, transparent, rgba(13, 27, 42, 0.1), transparent);
}

.distribucion-badge {
  width: 40px;
  height: 40px;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(1, 112, 185, 0.22), rgba(1, 112, 185, 0.06));
  color: var(--color-primary);
  box-shadow:
    inset 0 0 0 1px rgba(1, 112, 185, 0.16),
    0 10px 22px rgba(1, 112, 185, 0.14);
}

.distribucion-badge svg {
  width: 18px;
  height: 18px;
}

.distribucion-copy .eyebrow {
  margin-bottom: 0.35rem;
  letter-spacing: 0.16em;
}

.distribucion-copy h2 {
  margin: 0 0 0.65rem;
  color: var(--color-heading);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-transform: none;
  max-width: 14ch;
}

.distribucion-copy > p {
  margin: 0;
  max-width: 42ch;
  color: #556274;
  font-size: 0.95rem;
  line-height: 1.6;
}

.distribucion-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.distribucion-points span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 32px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff 0%, #f0f6fb 100%);
  border: 1px solid rgba(1, 112, 185, 0.16);
  color: #2c3d4f;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 6px 14px rgba(8, 17, 31, 0.05);
  transition:
    transform 0.28s ease,
    background 0.28s ease,
    color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.distribucion-points span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(1, 112, 185, 0.14);
}

.distribucion-points span:hover {
  transform: translateY(-2px);
  background: rgba(1, 112, 185, 0.1);
  border-color: rgba(1, 112, 185, 0.32);
  color: var(--color-primary-dark);
  box-shadow: 0 10px 20px rgba(1, 112, 185, 0.12);
}

.stats {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.5rem;
  padding: clamp(0.85rem, 2vw, 1.15rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(1, 112, 185, 0.42), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(74, 163, 216, 0.22), transparent 42%),
    linear-gradient(155deg, #050b16 0%, #0a1628 48%, #123554 100%);
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.45;
  pointer-events: none;
}

.stat-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem 0.7rem 1rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  text-align: left;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.stat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--color-on-dark), var(--color-primary));
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -20%;
  top: -40%;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159, 208, 240, 0.12), transparent 70%);
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-2px);
  border-color: rgba(159, 208, 240, 0.4);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.stat-card .num {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
  text-shadow: 0 6px 16px rgba(1, 112, 185, 0.3);
}

.stat-card .label {
  color: #c2d0de;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: right;
  max-width: 12ch;
}

@keyframes home-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* —— Gestión / Servicios —— */
.gestion-section,
#servicios {
  position: relative;
  background: #fff;
}

.gestion-section .section-head {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.gestion-section .section-title {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.gestion-section .section-lead,
.gestion-section .eyebrow {
  text-align: center;
}

.gestion-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.gestion-card {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  border-radius: 22px;
  color: #fff;
  border: 1px solid rgba(13, 27, 42, 0.08);
  box-shadow: 0 22px 52px rgba(8, 17, 31, 0.13);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.gestion-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  z-index: 2;
  background: linear-gradient(90deg, var(--color-primary), #4aa3d8);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.gestion-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 36px 72px rgba(8, 17, 31, 0.22);
}

.gestion-card:hover::after {
  transform: scaleX(1);
}

.gestion-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.gestion-card:hover img {
  transform: scale(1.1);
}

.gestion-card .overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(185deg, rgba(6, 14, 28, 0.12) 0%, rgba(6, 14, 28, 0.32) 38%, rgba(6, 14, 28, 0.94) 100%);
  transition: background 0.4s ease;
}

.gestion-card:hover .overlay {
  background:
    linear-gradient(185deg, rgba(6, 14, 28, 0.08) 0%, rgba(1, 112, 185, 0.28) 42%, rgba(6, 14, 28, 0.96) 100%);
}

.gestion-card .body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 440px;
  padding: 1.9rem 1.6rem 2rem;
}

.gestion-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 48px;
  margin-bottom: 1.1rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0170b9, #0a5a94);
  border: 1px solid rgba(159, 208, 240, 0.4);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  box-shadow: 0 12px 26px rgba(1, 112, 185, 0.4);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gestion-card:hover .gestion-step {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(1, 112, 185, 0.5);
}

.gestion-card h3 {
  margin: 0 0 0.6rem;
  color: #fff;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.gestion-card p {
  margin: 0;
  color: #d5e0ec;
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 28ch;
  transition: color 0.3s ease;
}

.gestion-card:hover p {
  color: #e8eef5;
}

/* —— Sectores —— */
.sectores {
  position: relative;
  background:
    radial-gradient(circle at 12% 18%, rgba(1, 112, 185, 0.2), transparent 30%),
    linear-gradient(145deg, #07101d 0%, #0d1b2a 55%, #12304f 100%);
  color: #fff;
  overflow: hidden;
}

.sectores .section-title {
  color: #fff;
}

.sectores .section-head {
  margin-bottom: 2.75rem;
}

.sectores-grid-wrap {
  width: min(100% - 1.5rem, 1480px);
  margin-inline: auto;
}

.sectores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.sector-card {
  position: relative;
  display: block;
  min-height: 330px;
  overflow: hidden;
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.sector-card:hover {
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.32);
}

.sector-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.sector-card:hover img {
  transform: scale(1.07);
}

.sector-card span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1.55rem 1.4rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.86), transparent 58%);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* —— Features / Beneficios —— */
.features-section {
  background: var(--color-surface);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(13, 27, 42, 0.07);
  border-radius: 16px;
  padding: 1.85rem 1.55rem 1.9rem;
  box-shadow: 0 14px 34px rgba(8, 17, 31, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), #4aa3d8);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(1, 112, 185, 0.2);
  box-shadow: 0 24px 48px rgba(8, 17, 31, 0.11);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(1, 112, 185, 0.14), rgba(1, 112, 185, 0.04));
  color: var(--color-primary);
  border: 1px solid rgba(1, 112, 185, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card:hover .feature-icon {
  transform: translateY(-2px);
  background: linear-gradient(145deg, #0170b9, #0a5a94);
  color: #fff;
  border-color: transparent;
}

.feature-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--color-heading);
}

.feature-card p {
  margin: 0;
  color: #627083;
  font-size: 0.94rem;
  line-height: 1.65;
}

/* —— Soluciones (C + toques de A) —— */
.soluciones {
  background: #fff;
}

.soluciones-clean {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.soluciones-clean--mix {
  grid-auto-rows: minmax(0, auto);
}

.sol-clean {
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(13, 27, 42, 0.08);
  box-shadow: 0 12px 30px rgba(8, 17, 31, 0.05);
  color: var(--color-heading);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.sol-clean:hover {
  color: var(--color-heading);
  transform: translateY(-5px);
  border-color: rgba(1, 112, 185, 0.22);
  box-shadow: 0 24px 50px rgba(8, 17, 31, 0.12);
}

.sol-clean--feature {
  grid-column: span 2;
  grid-row: span 2;
  position: relative;
  border: 0;
  background: #0d1b2a;
  color: #fff;
}

.sol-clean--wide {
  grid-column: span 2;
  position: relative;
  border: 0;
  background: #0d1b2a;
  color: #fff;
}

.sol-clean--feature:hover,
.sol-clean--wide:hover {
  color: #fff;
  border-color: transparent;
  box-shadow: 0 24px 52px rgba(8, 17, 31, 0.18);
}

.sol-clean__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #dbe4ee;
}

.sol-clean--feature .sol-clean__media,
.sol-clean--wide .sol-clean__media {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  height: 100%;
}

.sol-clean--wide .sol-clean__media {
  min-height: 210px;
}

.sol-clean--feature {
  min-height: 100%;
}

.sol-clean__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 14, 28, 0.28), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.sol-clean:not(.sol-clean--feature):not(.sol-clean--wide):hover .sol-clean__media::after {
  opacity: 1;
}

.sol-clean--feature .sol-clean__media::after,
.sol-clean--wide .sol-clean__media::after {
  opacity: 1;
  background: linear-gradient(to top, rgba(6, 14, 28, 0.88) 0%, rgba(6, 14, 28, 0.3) 50%, transparent 100%);
}

.sol-clean__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.sol-clean:hover .sol-clean__media img {
  transform: scale(1.07);
}

.sol-clean__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  border-top: 3px solid transparent;
  transition: border-color 0.35s ease;
}

.sol-clean:hover .sol-clean__bar {
  border-top-color: var(--color-primary);
}

.sol-clean__bar h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.25;
  color: var(--color-heading);
}

.sol-clean__bar span {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(1, 112, 185, 0.1);
  color: var(--color-primary);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.sol-clean__bar span svg {
  width: 15px;
  height: 15px;
}

.sol-clean:hover .sol-clean__bar span {
  background: var(--color-primary);
  color: #fff;
  transform: translateX(3px);
}

.sol-clean__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
  padding: 1.35rem 1.4rem;
}

.sol-clean__overlay h3 {
  margin: 0;
  color: #fff;
  font-size: 1.35rem;
  line-height: 1.2;
}

.sol-clean--wide .sol-clean__overlay h3 {
  font-size: 1.2rem;
}

.sol-clean__overlay span {
  color: var(--color-on-dark);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.sol-clean--feature:hover .sol-clean__overlay span,
.sol-clean--wide:hover .sol-clean__overlay span {
  opacity: 1;
  transform: translateX(4px);
}

/* —— Alianzas —— */
.alianzas {
  position: relative;
  background: var(--color-surface);
  overflow: hidden;
  padding-bottom: clamp(3.5rem, 6vw, 5rem);
}

.alianzas .section-head {
  margin-bottom: 2.25rem;
}

.alianzas-marquee {
  position: relative;
  display: grid;
  gap: 0.85rem;
  width: min(100% - 2rem, 1700px);
  margin-inline: auto;
  overflow: hidden;
}

.alianzas-track-wrap {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.alianzas-track {
  display: flex;
  width: max-content;
  gap: 0.85rem;
}

.alianzas-track--left {
  animation: marquee-left 38s linear infinite;
}

.alianzas-track--right {
  animation: marquee-right 44s linear infinite;
}

.alianzas-track-wrap:nth-child(3) .alianzas-track--left {
  animation-duration: 50s;
}

.alianzas-track:hover {
  animation-play-state: paused;
}

.alianza-logo {
  flex: 0 0 auto;
  width: 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(13, 27, 42, 0.06);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  box-shadow: 0 8px 20px rgba(8, 17, 31, 0.04);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.alianza-logo:hover {
  transform: translateY(-2px);
  border-color: rgba(1, 112, 185, 0.18);
  box-shadow: 0 14px 28px rgba(8, 17, 31, 0.08);
}

.alianza-logo img {
  max-width: 100%;
  max-height: 68px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(0.12);
  opacity: 0.92;
  transition: filter 0.28s ease, opacity 0.28s ease;
}

.alianza-logo:hover img {
  filter: none;
  opacity: 1;
}

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

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

/* —— Financiamiento —— */
.financiamiento {
  position: relative;
  background:
    radial-gradient(circle at 80% 0%, rgba(1, 112, 185, 0.22), transparent 32%),
    linear-gradient(145deg, #07101d 0%, #0d1b2a 100%);
  color: #fff;
}

.financiamiento .section-title {
  color: #fff;
}

.finance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.finance-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.85rem 1.7rem;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.finance-card:hover {
  transform: translateY(-4px);
  border-color: rgba(159, 208, 240, 0.35);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.18);
}

.finance-card__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}

.finance-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(159, 208, 240, 0.12);
  color: var(--color-on-dark);
  border: 1px solid rgba(159, 208, 240, 0.22);
}

.finance-icon svg {
  width: 22px;
  height: 22px;
}

.finance-card h3 {
  margin: 0;
  color: var(--color-on-dark);
  font-size: 1.15rem;
  line-height: 1.25;
}

.finance-card ul {
  margin: 0;
  padding-left: 1.05rem;
  color: #c6d2e0;
  font-size: 0.93rem;
}

.finance-card li {
  margin-bottom: 0.5rem;
}

/* —— Contacto + formulario —— */
.contacto-section {
  background: var(--color-surface);
}

.contacto-shell {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(13, 27, 42, 0.07);
  box-shadow: 0 28px 70px rgba(8, 17, 31, 0.1);
  background: #fff;
}

.contacto-info {
  padding: clamp(1.75rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 0% 0%, rgba(1, 112, 185, 0.18), transparent 42%),
    linear-gradient(160deg, #0a1628 0%, #10233d 100%);
  color: #fff;
}

.contacto-info .eyebrow {
  color: var(--color-on-dark);
}

.contacto-info h2 {
  margin: 0 0 0.9rem;
  color: #fff;
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  letter-spacing: -0.03em;
}

.contacto-lead {
  margin: 0 0 2rem;
  color: #b8c6d6;
  line-height: 1.7;
}

.contacto-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}

.contacto-list li {
  display: grid;
  gap: 0.2rem;
}

.contacto-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7ea8c8;
}

.contacto-list a,
.contacto-list span:not(.contacto-label) {
  color: #e8eef5;
  font-weight: 600;
  line-height: 1.5;
}

.contacto-list a:hover {
  color: var(--color-on-dark);
}

.contacto-link {
  color: var(--color-on-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.contacto-link:hover {
  color: #fff;
  transform: translateX(3px);
}

.contact-form {
  display: grid;
  gap: 1.35rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  background: #fff;
}

.contact-form__head h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  color: var(--color-heading);
}

.contact-form__head p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-heading);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.78rem 0.95rem;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  background: #f8fafc;
  font-family: inherit;
  font-size: 0.96rem;
  color: var(--color-heading);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.field-phone {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #d7dee8;
  border-radius: 8px;
  background: #f8fafc;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.field-phone:hover {
  border-color: #c0cad8;
  background: #fff;
}

.field-phone:focus-within {
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(1, 112, 185, 0.12);
}

.field-phone__prefix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 3.35rem;
  padding: 0 0.8rem;
  border-right: 1px solid #d7dee8;
  background: #eef3f8;
  color: #3d4654;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
}

.field-phone input {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.field.field--error .field-phone {
  border-color: #d64545;
  background: #fff8f8;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #93a0b2;
}

.field input:hover,
.field textarea:hover {
  border-color: #c0cad8;
  background: #fff;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(1, 112, 185, 0.12);
}

.field textarea {
  min-height: 132px;
  resize: vertical;
}

.contact-form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.contact-form__foot .btn {
  border: 0;
  min-width: 180px;
  min-height: 46px;
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
}

.form-note {
  margin: 0;
  color: #7a8798;
  font-size: 0.82rem;
}

.form-note a {
  color: var(--color-primary);
  font-weight: 600;
  text-underline-offset: 2px;
}

.form-note a:hover {
  text-decoration: underline;
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(1, 112, 185, 0.16);
}

/* Staggered subtle entrance for key cards */
@media (prefers-reduced-motion: no-preference) {
  .gestion-card,
  .feature-card,
  .finance-card {
    animation: home-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .gestion-card:nth-child(1),
  .feature-card:nth-child(1),
  .finance-card:nth-child(1) { animation-delay: 0.05s; }
  .gestion-card:nth-child(2),
  .feature-card:nth-child(2),
  .finance-card:nth-child(2) { animation-delay: 0.12s; }
  .gestion-card:nth-child(3),
  .feature-card:nth-child(3),
  .finance-card:nth-child(3) { animation-delay: 0.19s; }
  .gestion-card:nth-child(4),
  .feature-card:nth-child(4) { animation-delay: 0.26s; }
}

/* —— Responsive —— */
@media (max-width: 1000px) {
  .distribucion-grid,
  .contacto-shell {
    grid-template-columns: 1fr;
  }

  .distribucion-copy::after {
    display: none;
  }

  .distribucion-copy {
    padding: clamp(1.25rem, 4vw, 1.6rem);
  }

  .distribucion-copy h2 {
    font-size: clamp(1.45rem, 4vw, 1.75rem);
  }

  .stats {
    padding: 0.85rem;
  }

  .gestion-grid,
  .features-grid,
  .finance-grid {
    grid-template-columns: 1fr 1fr;
  }

  .soluciones-clean {
    grid-template-columns: repeat(3, 1fr);
  }

  .sol-clean--feature {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 320px;
  }

  .sol-clean--wide {
    grid-column: span 2;
  }

  .sectores-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sectores-grid-wrap {
    width: min(100% - 1.1rem, 1480px);
  }

  .sector-card {
    min-height: 260px;
  }

  .hero {
    align-items: center;
    margin: calc(var(--header-height) + 0.65rem) 0.65rem 1.15rem;
    border-radius: 22px;
    min-height: calc(86vh - var(--header-height));
  }

  .hero-content {
    margin-left: clamp(1.15rem, 4vw, 2rem);
    width: min(100% - 2rem, 560px);
  }
}

@media (max-width: 640px) {
  .stats,
  .gestion-grid,
  .features-grid,
  .finance-grid,
  .sectores-grid,
  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .soluciones-clean {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .sol-clean--feature,
  .sol-clean--wide {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 200px;
  }

  .sol-clean__overlay h3 {
    font-size: 1.15rem;
  }

  .sol-clean__bar h3 {
    font-size: 0.9rem;
  }

  .sector-card {
    min-height: 230px;
  }

  .sectores-grid-wrap {
    width: min(100% - 0.85rem, 1480px);
  }

  .stat-card {
    flex-direction: row;
    align-items: center;
  }

  .stat-card .label {
    text-align: right;
    max-width: none;
  }

  .stat-card .num {
    font-size: 1.4rem;
  }

  .gestion-card,
  .gestion-card .body {
    min-height: 360px;
  }

  .distribucion-copy h2 {
    max-width: none;
  }

  .alianza-logo {
    width: 156px;
    height: 88px;
  }

  .hero {
    min-height: calc(82vh - var(--header-height));
    margin: calc(var(--header-height) + 0.55rem) 0.55rem 1rem;
    padding: 2.75rem 0 3.25rem;
    border-radius: 18px;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .alianza-logo {
    width: 160px;
    height: 92px;
  }

  .alianza-logo img {
    max-height: 58px;
  }

  .contact-form__foot {
    flex-direction: column;
    align-items: flex-start;
  }
}
