﻿:root {
  --brand-950: #072c56;
  --brand-900: #0b4788;
  --brand-800: #056a78;
  --brand-600: #31cde4;
  --brand-500: #58dcee;
  --brand-300: #a8f1fb;
  --surface: #ffffff;
  --surface-soft: #f2f8ff;
  --surface-alt: #e8fcff;
  --surface-deep: #0d2d58;
  --ink: #14385f;
  --ink-soft: #4d6788;
  --ink-inverse: #effaff;
  --border: rgba(11, 71, 136, 0.14);
  --shadow: 0 30px 80px rgba(11, 71, 136, 0.14);
  --shadow-soft: 0 16px 36px rgba(11, 71, 136, 0.1);
  --radius-lg: 32px;
  --radius-md: 24px;
  --radius-sm: 18px;
  --container: min(1180px, calc(100vw - 32px));
  --transition: 220ms ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(49, 205, 228, 0.2), transparent 28%),
    radial-gradient(circle at top right, rgba(11, 71, 136, 0.1), transparent 30%),
    linear-gradient(180deg, #f9feff 0%, #eef8ff 44%, #ffffff 100%);
  font-family: "Source Sans 3", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(11, 71, 136, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 71, 136, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 80%);
  z-index: -1;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
  border: 0;
}

main {
  display: block;
}

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

.section {
  padding: 88px 0;
}

.section--compact {
  padding: 64px 0;
}

.section--bleed {
  padding-top: 112px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(49, 205, 228, 0.18);
  color: var(--brand-900);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-600);
  box-shadow: 0 0 0 6px rgba(49, 205, 228, 0.18);
}

.section-heading {
  display: grid;
  gap: 14px;
  margin-bottom: 36px;
}

.section-heading h1,
.section-heading h2,
.section-heading h3,
.hero__title,
.page-hero h1 {
  margin: 0;
  font-family: "Exo 2", sans-serif;
  line-height: 0.98;
  letter-spacing: -0.03em;
}

.section-heading h2,
.page-hero h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.section-heading p,
.hero__lead,
.page-hero p,
.copy-block p,
.card p,
.footer-column p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.65;
  font-size: 1.05rem;
}

.utility-bar {
  position: relative;
  z-index: 20;
  padding: 10px 0;
  color: var(--ink-inverse);
  background: linear-gradient(90deg, var(--brand-950), var(--brand-800));
}

.utility-bar__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.96rem;
}

.utility-bar__content p {
  margin: 0;
}

.utility-bar__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 18px 0;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(11, 71, 136, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: "Exo 2", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: var(--brand-950);
  background: linear-gradient(135deg, var(--brand-300), var(--brand-600));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.brand__text small {
  display: block;
  color: var(--ink-soft);
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav > a,
.nav-dropdown > summary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--ink);
  font-weight: 700;
  list-style: none;
  transition:
    color var(--transition),
    background var(--transition),
    transform var(--transition);
}

.site-nav > a:hover,
.nav-dropdown > summary:hover,
.site-nav > a[aria-current="page"] {
  color: var(--brand-900);
  background: rgba(49, 205, 228, 0.16);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown > summary::after {
  content: "+";
  font-size: 1rem;
  font-weight: 800;
}

.nav-dropdown[open] > summary {
  background: rgba(49, 205, 228, 0.16);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 230px;
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.nav-dropdown__menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--ink-soft);
  font-weight: 600;
  transition: background var(--transition), color var(--transition);
}

.nav-dropdown__menu a:hover {
  color: var(--brand-900);
  background: rgba(49, 205, 228, 0.14);
}

.button,
.button-secondary,
.button-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 16px;
  font-weight: 800;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition),
    color var(--transition);
}

.button {
  color: #062d57;
  background: linear-gradient(135deg, var(--brand-300), var(--brand-600));
  box-shadow: 0 16px 36px rgba(49, 205, 228, 0.28);
}

.button-secondary {
  color: var(--ink-inverse);
  background: linear-gradient(135deg, var(--brand-900), var(--brand-800));
  box-shadow: 0 18px 40px rgba(11, 71, 136, 0.24);
}

.button-ghost {
  color: var(--brand-900);
  background: rgba(49, 205, 228, 0.12);
}

.button:hover,
.button-secondary:hover,
.button-ghost:hover,
.menu-toggle:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  color: var(--brand-900);
  background: rgba(49, 205, 228, 0.16);
}

.menu-toggle__bar {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  position: relative;
}

.menu-toggle__bar::before,
.menu-toggle__bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.menu-toggle__bar::before {
  top: -7px;
}

.menu-toggle__bar::after {
  top: 7px;
}

.hero {
  position: relative;
  padding: 60px 0 40px;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto;
  height: 560px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 18% 22%, rgba(168, 241, 251, 0.8), transparent 24%),
    radial-gradient(circle at 84% 24%, rgba(49, 205, 228, 0.25), transparent 26%),
    linear-gradient(135deg, rgba(11, 71, 136, 0.12), rgba(5, 106, 120, 0.03));
  z-index: -1;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 26px;
  align-items: stretch;
}

.hero__content,
.hero__panel,
.glass-card,
.panel-card,
.slider-card,
.service-card,
.blog-card,
.recognition-card,
.coverage-card,
.city-card,
.calculator-card,
.contact-card,
.footer-card,
.timeline-card,
.value-card,
.article-card,
.faq-card,
.page-panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero__content {
  padding: 34px;
}

.hero__title {
  font-size: clamp(3.4rem, 8vw, 5.6rem);
  max-width: 11ch;
}

.hero__lead {
  margin-top: 20px;
  max-width: 58ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.metric-chip {
  padding: 18px;
  border-radius: 22px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
}

.metric-chip strong,
.stat-card strong,
.kpi-card strong,
.counter {
  display: block;
  font-family: "Exo 2", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.metric-chip span,
.stat-card span,
.kpi-card span {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.hero__panel {
  padding: 28px;
  background:
    radial-gradient(circle at top right, rgba(49, 205, 228, 0.28), transparent 34%),
    linear-gradient(180deg, rgba(7, 44, 86, 0.98), rgba(11, 71, 136, 0.96));
  color: var(--ink-inverse);
}

.hero__panel::after,
.page-panel::after,
.footer-card::after,
.cta-band::after {
  content: "";
  position: absolute;
  inset: auto -70px -90px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49, 205, 228, 0.55), transparent 65%);
  filter: blur(12px);
}

.hero__panel h2,
.page-panel h2,
.cta-band h2 {
  margin: 0 0 10px;
  font-family: "Exo 2", sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
}

.hero__panel p,
.page-panel p,
.cta-band p {
  margin: 0;
  color: rgba(239, 250, 255, 0.82);
  line-height: 1.6;
}

.quick-form,
.contact-form,
.calculator-form {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 0.92rem;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(49, 205, 228, 0.22);
  border-radius: 16px;
  color: inherit;
  background: rgba(11, 71, 136, 0.03);
}

.field textarea {
  min-height: 140px;
  padding: 16px;
  resize: vertical;
}

.hero__panel .field input,
.hero__panel .field select,
.hero__panel .field textarea,
.page-panel .field input,
.page-panel .field select,
.page-panel .field textarea {
  color: var(--ink-inverse);
  background: rgba(11, 71, 136, 0.55);
  border-color: rgba(49, 205, 228, 0.35);
}

/* Opciones del dropdown en paneles oscuros */
.hero__panel .field select option,
.page-panel .field select option {
  background: #0b3d6e;
  color: #ffffff;
}

/* Placeholder color for inputs/textarea in dark panels */
.hero__panel .field input::placeholder,
.hero__panel .field textarea::placeholder,
.page-panel .field input::placeholder,
.page-panel .field textarea::placeholder {
  color: rgba(239, 250, 255, 0.55);
}

/* Select placeholder (first option) */
.hero__panel .field select,
.page-panel .field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2331cde4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* Select en contexto claro (fuera de paneles oscuros) */
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b4788' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.field select option {
  background: #ffffff;
  color: #0f172a;
}

.trust-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-inline span,
.tag,
.small-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.92rem;
  font-weight: 700;
}

.trust-inline span::before,
.small-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-300);
}

.slider {
  display: grid;
  gap: 18px;
}

.slider__viewport {
  overflow: hidden;
}

.slider__track {
  display: flex;
  transition: transform 320ms ease;
  will-change: transform;
}

.slide {
  min-width: 100%;
}

.slider__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.slider__buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider__button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: var(--brand-900);
  background: rgba(49, 205, 228, 0.14);
}

.slider__dots {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.slider__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(11, 71, 136, 0.16);
}

.slider__dots button.is-active {
  width: 34px;
  background: linear-gradient(90deg, var(--brand-600), var(--brand-900));
}

.hero-slide__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.hero-slide__visual {
  position: relative;
  min-height: 360px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 18% 24%, rgba(168, 241, 251, 0.8), transparent 24%),
    radial-gradient(circle at 78% 20%, rgba(49, 205, 228, 0.32), transparent 22%),
    linear-gradient(145deg, rgba(9, 51, 97, 0.98), rgba(6, 106, 120, 0.9));
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.72), rgba(49, 205, 228, 0.16));
}

.hero-orb--one {
  top: 16%;
  left: 10%;
  width: 130px;
  height: 130px;
}

.hero-orb--two {
  right: 12%;
  bottom: 16%;
  width: 180px;
  height: 180px;
}

.hero-dashboard {
  position: absolute;
  inset: auto 24px 24px;
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 14px;
}

.dashboard-panel,
.dashboard-stack {
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
}

.dashboard-panel strong,
.dashboard-stack strong,
.story-card__quote,
.product-card h3,
.recognition-card h3,
.service-card h3,
.blog-card h3,
.value-card h3,
.coverage-card h3,
.contact-card h3,
.city-card h3,
.calculator-card h3,
.timeline-card h3,
.article-card h3 {
  display: block;
  margin: 0 0 8px;
  font-family: "Exo 2", sans-serif;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.dashboard-stack {
  display: grid;
  gap: 12px;
}

.dashboard-mini {
  padding: 14px;
  border-radius: 18px;
  background: var(--surface-soft);
}

.dashboard-mini span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.dashboard-bar {
  margin-top: 12px;
  height: 10px;
  border-radius: 999px;
  background: rgba(11, 71, 136, 0.08);
  overflow: hidden;
}

.dashboard-bar::before {
  content: "";
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-600), var(--brand-900));
}

.quick-grid,
.segments-grid,
.stats-grid,
.values-grid,
.trust-grid,
.service-grid,
.blog-grid,
.coverage-grid,
.cities-grid,
.contact-grid,
.timeline-grid,
.articles-grid,
.kpi-grid {
  display: grid;
  gap: 20px;
}

.quick-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quick-card,
.segment-card,
.product-card,
.story-card,
.recognition-card,
.service-card,
.blog-card,
.value-card,
.coverage-card,
.city-card,
.contact-card,
.timeline-card,
.article-card,
.kpi-card {
  padding: 26px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.quick-card {
  display: grid;
  gap: 14px;
}

.quick-card__number,
.card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  font-family: "Exo 2", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-950);
  background: linear-gradient(135deg, var(--brand-300), var(--brand-600));
}

.quick-card h3,
.segment-card h3 {
  margin: 0;
  font-family: "Exo 2", sans-serif;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.quick-card p,
.segment-card p {
  margin: 0;
  color: var(--ink-soft);
}

.quick-card button {
  width: fit-content;
  padding: 0;
  color: var(--brand-900);
  font-weight: 800;
  background: transparent;
}

.segments-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.segment-card {
  min-height: 290px;
  display: grid;
  align-content: start;
  gap: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(232, 252, 255, 0.94));
}

.segment-card ul,
.footer-links,
.list-check,
.simple-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.segment-card li,
.simple-list li,
.list-check li {
  position: relative;
  padding-left: 24px;
  color: var(--ink-soft);
  line-height: 1.55;
}

.segment-card li + li,
.simple-list li + li,
.list-check li + li {
  margin-top: 10px;
}

.segment-card li::before,
.simple-list li::before,
.list-check li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand-600);
}

.stories-layout,
.products-layout {
  display: grid;
  gap: 28px;
}

.story-card,
.product-card,
.recognition-card,
.service-card,
.blog-card,
.value-card,
.coverage-card,
.city-card,
.contact-card,
.timeline-card,
.article-card {
  height: 100%;
}

.story-card__quote {
  margin-bottom: 12px;
  line-height: 1.3;
}

.story-card__meta,
.blog-card__meta,
.article-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--brand-900);
  font-size: 0.88rem;
  font-weight: 700;
}

.product-card {
  display: grid;
  gap: 14px;
}

.product-card__price {
  font-family: "Exo 2", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.recognition-card {
  display: grid;
  gap: 14px;
  min-height: 240px;
}

.recognition-score {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: "Exo 2", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--brand-900);
}

.stats-section {
  position: relative;
}

.stats-shell,
.page-panel,
.cta-band,
.footer-card {
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(49, 205, 228, 0.22), transparent 34%),
    linear-gradient(140deg, rgba(11, 71, 136, 0.96), rgba(7, 44, 86, 0.98));
  color: var(--ink-inverse);
}

.stats-grid,
.kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 30px;
}

.stat-card,
.kpi-card {
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-card strong {
  color: var(--ink-inverse);
}

.sustainability-layout,
.page-layout,
.contact-layout,
.coverage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 26px;
  align-items: start;
}

.copy-block {
  display: grid;
  gap: 18px;
}

.copy-block h2,
.copy-block h3 {
  margin: 0;
  font-family: "Exo 2", sans-serif;
  letter-spacing: -0.02em;
}

.copy-block h2 {
  font-size: clamp(2.25rem, 4vw, 3.4rem);
}

.value-card {
  display: grid;
  gap: 16px;
  align-content: start;
  min-height: 240px;
}

.value-card--deep,
.cta-band,
.footer-card {
  background:
    radial-gradient(circle at top right, rgba(49, 205, 228, 0.22), transparent 34%),
    linear-gradient(135deg, var(--brand-900), var(--brand-800));
  color: var(--ink-inverse);
}

.value-card--deep p,
.value-card--deep li,
.footer-card p,
.footer-column a,
.footer-card .simple-list li,
.cta-band p {
  color: rgba(239, 250, 255, 0.82);
}

.value-card--deep .card-icon {
  background: rgba(255, 255, 255, 0.14);
  color: var(--ink-inverse);
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.service-card {
  display: grid;
  gap: 12px;
  min-height: 240px;
}

.coverage-layout {
  margin-top: 36px;
}

.coverage-card,
.map-board {
  padding: 28px;
}

.map-board {
  border-radius: 30px;
  border: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(232, 252, 255, 0.94));
  box-shadow: var(--shadow-soft);
}

.map-board__visual {
  position: relative;
  min-height: 360px;
  margin-top: 16px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 22% 32%, rgba(168, 241, 251, 0.6), transparent 18%),
    radial-gradient(circle at 70% 24%, rgba(49, 205, 228, 0.36), transparent 18%),
    linear-gradient(135deg, rgba(11, 71, 136, 0.9), rgba(5, 106, 120, 0.8));
  overflow: hidden;
}

.map-board__route,
.map-board__city {
  position: absolute;
}

.map-board__route {
  inset: 16% 14%;
  border: 2px dashed rgba(255, 255, 255, 0.36);
  border-radius: 36px;
}

.map-board__city {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-300);
  box-shadow: 0 0 0 7px rgba(49, 205, 228, 0.2);
}

.map-board__city span {
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--brand-950);
  background: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 700;
}

.map-board__city--one {
  top: 20%;
  left: 30%;
}

.map-board__city--two {
  top: 34%;
  left: 54%;
}

.map-board__city--three {
  top: 58%;
  left: 40%;
}

.map-board__city--four {
  top: 70%;
  left: 64%;
}

.coverage-grid,
.cities-grid,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.coverage-card,
.city-card,
.contact-card {
  display: grid;
  gap: 12px;
}

.blog-grid,
.articles-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card,
.article-card {
  display: grid;
  gap: 14px;
  min-height: 100%;
}

.blog-card__cover,
.article-card__cover,
.featured-article__cover {
  min-height: 220px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 28% 32%, rgba(168, 241, 251, 0.9), transparent 20%),
    linear-gradient(135deg, rgba(11, 71, 136, 1), rgba(49, 205, 228, 0.8));
}

.blog-card__cover--one,
.article-card__cover--one {
  background:
    radial-gradient(circle at 22% 22%, rgba(168, 241, 251, 0.9), transparent 20%),
    linear-gradient(135deg, rgba(11, 71, 136, 1), rgba(5, 106, 120, 0.92));
}

.blog-card__cover--two,
.article-card__cover--two {
  background:
    radial-gradient(circle at 72% 22%, rgba(168, 241, 251, 0.9), transparent 18%),
    linear-gradient(135deg, rgba(7, 44, 86, 1), rgba(49, 205, 228, 0.88));
}

.blog-card__cover--three,
.article-card__cover--three {
  background:
    radial-gradient(circle at 42% 64%, rgba(168, 241, 251, 0.7), transparent 22%),
    linear-gradient(135deg, rgba(11, 71, 136, 0.96), rgba(5, 106, 120, 0.9));
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.footer {
  padding: 36px 0 28px;
}

.footer-card {
  display: grid;
  gap: 24px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.footer-column {
  display: grid;
  gap: 14px;
}

.footer-column h3 {
  margin: 0;
  font-family: "Exo 2", sans-serif;
  font-size: 1.15rem;
}

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a {
  color: rgba(239, 250, 255, 0.82);
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(239, 250, 255, 0.7);
  font-size: 0.95rem;
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--ink-inverse);
  font-weight: 800;
}

.page-hero {
  position: relative;
  padding: 62px 0 30px;
}

.page-hero__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

.page-hero__content {
  padding: 34px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
}

.page-hero__content h1 {
  max-width: 10ch;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.page-panel {
  display: grid;
  gap: 16px;
}

.timeline-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-card {
  display: grid;
  gap: 12px;
}

.timeline-year {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  width: fit-content;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--brand-950);
  background: linear-gradient(135deg, var(--brand-300), var(--brand-600));
  font-family: "Exo 2", sans-serif;
  font-weight: 800;
}

.calculator-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.calculator-card {
  padding: 30px;
  display: grid;
  gap: 18px;
}

.calculator-result {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 22px;
  background: var(--surface-soft);
}

.calculator-result strong {
  font-family: "Exo 2", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.03em;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.faq-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  list-style: none;
  font-family: "Exo 2", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--brand-900);
}

.faq-card[open] summary::after {
  content: "-";
}

.faq-card p {
  margin: 0;
  padding: 0 24px 22px;
  color: var(--ink-soft);
}

.featured-article {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

.featured-article__copy,
.featured-article__panel {
  padding: 30px;
  border-radius: 32px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.featured-article__copy {
  display: grid;
  gap: 18px;
}

.featured-article__copy h2 {
  margin: 0;
  font-family: "Exo 2", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(6, 30, 59, 0.62);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.modal.is-open {
  display: grid;
}

.modal__dialog {
  width: min(760px, 100%);
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 40px 100px rgba(6, 30, 59, 0.24);
}

.modal__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.modal__header h2 {
  margin: 0;
  font-family: "Exo 2", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.03em;
}

.modal__close {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: var(--brand-900);
  background: rgba(49, 205, 228, 0.16);
}

.modal__body {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 500ms ease,
    transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Partners / Aliados */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 200ms ease, box-shadow 200ms ease;
  min-height: 100px;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(11, 71, 136, 0.12);
}

.partner-logo {
  width: auto;
  height: 36px;
  max-width: 110px;
  object-fit: contain;
  display: block;
}

.partner-fallback {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-950);
}

.partner-card strong:last-child {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.2;
}


/* ═══════════════════════════════════════
   RESPONSIVE — KreditPlus

   Breakpoints: 1100 | 920 | 768 | 640 | 480
═══════════════════════════════════════ */

/* 1100px — tablet landscape */
@media (max-width: 1100px) {
  .hero__layout,
  .sustainability-layout,
  .page-layout,
  .contact-layout,
  .coverage-layout,
  .page-hero__shell,
  .featured-article {
    grid-template-columns: 1fr;
  }

  .quick-grid,
  .trust-grid,
  .stats-grid,
  .kpi-grid,
  .timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid,
  .segments-grid,
  .blog-grid,
  .articles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partners-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  /* hero panel goes below hero content on tablet */
  .hero__panel {
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
  }

  .hero__metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 920px — tablet portrait / hamburger nav */
@media (max-width: 920px) {
  .header__inner {
    justify-content: space-between;
  }
  .brand {
    /* If the center element is wider/narrower than the outer elements, it won't be perfectly centered. Let's position it absolute to be safe */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .nequi-logo {
    display: block;
  }
  .nequi-logo img {
    height: 28px;
    width: auto;
    object-fit: contain;
  }
  .site-header {
    padding: 12px 0;
  }

  .menu-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 12px;
    right: 12px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.99);
    box-shadow: var(--shadow);
    z-index: 99;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav > a,
  .nav-dropdown > summary {
    width: 100%;
    justify-content: space-between;
    padding: 12px 16px;
  }

  .nav-dropdown__menu {
    position: static;
    min-width: 0;
    margin-top: 8px;
    box-shadow: none;
    border-radius: 16px;
    background: var(--surface-soft);
  }

  .header__actions .button-secondary {
    display: none;
  }

  /* Single column grids */
  .hero-slide__grid,
  .quick-grid,
  .service-grid,
  .blog-grid,
  .articles-grid,
  .calculator-layout,
  .coverage-grid,
  .cities-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .segments-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* Padding adjustments */
  .hero__content,
  .hero__panel,
  .page-hero__content,
  .page-panel,
  .stats-shell,
  .footer-card {
    padding: 24px;
  }

  .cta-band {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 20px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .utility-bar__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: .88rem;
  }

  .hero__metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* 768px — large phones / small tablets */
@media (max-width: 768px) {
  :root {
    --container: min(100%, calc(100vw - 24px));
  }

  .section {
    padding: 64px 0;
  }

  .section--compact {
    padding: 48px 0;
  }

  .hero {
    padding: 32px 0 28px;
  }

  .hero::before,
  .page-hero::before {
    inset: 10px 10px auto;
    border-radius: 28px;
  }

  .partners-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Stack hero metrics to 2 cols */
  .hero__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-slide__visual {
    min-height: 220px;
  }

  .hero-dashboard {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Trust grid 2 cols */
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Stats 2 cols */
  .stats-grid,
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Segments single col */
  .segments-grid {
    grid-template-columns: 1fr;
  }

  /* Blog / articles single col */
  .blog-grid,
  .articles-grid {
    grid-template-columns: 1fr;
  }

  /* Section headings */
  .section-heading h2,
  .page-hero h1,
  .copy-block h2 {
    font-size: clamp(1.9rem, 7vw, 2.8rem);
  }

  .hero__title {
    font-size: clamp(2.6rem, 11vw, 3.8rem);
  }

  /* Timeline single col */
  .timeline-grid {
    grid-template-columns: 1fr;
  }

  /* Quick grid 2 cols */
  .quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Footer 2 cols */
  .footer-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Slider controls row */
  .slider__controls {
    flex-wrap: wrap;
    gap: 10px;
  }

  /* Cards padding */
  .quick-card,
  .segment-card,
  .product-card,
  .story-card,
  .recognition-card,
  .service-card,
  .blog-card,
  .value-card,
  .coverage-card,
  .city-card,
  .contact-card,
  .timeline-card,
  .article-card,
  .kpi-card {
    padding: 20px;
  }

  .calculator-card {
    padding: 22px;
  }

  /* Hero panel full width */
  .hero__panel {
    max-width: 100%;
  }

  /* CTA band */
  .cta-band {
    text-align: center;
  }
  .cta-band .hero__actions {
    justify-content: center;
  }

  /* Page hero panel hidden or below */
  .page-hero__shell {
    grid-template-columns: 1fr;
  }

  /* contact layout */
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* 640px — phones */
@media (max-width: 640px) {
  .section,
  .section--bleed {
    padding: 56px 0;
  }

  .hero {
    padding-top: 28px;
  }

  .hero__title {
    font-size: clamp(2.2rem, 12vw, 3.4rem);
  }

  .section-heading h2,
  .page-hero h1,
  .copy-block h2,
  .featured-article__copy h2 {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }

  .partners-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* ALL grids single col on mobile */
  .quick-grid,
  .trust-grid,
  .stats-grid,
  .kpi-grid,
  .timeline-grid,
  .segments-grid,
  .blog-grid,
  .articles-grid,
  .coverage-grid,
  .cities-grid,
  .contact-grid,
  .hero__metrics,
  .calculator-layout,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-dashboard {
    grid-template-columns: 1fr;
  }

  .hero__content,
  .hero__panel {
    padding: 20px;
  }

  .stats-shell,
  .footer-card,
  .page-hero__content,
  .page-panel {
    padding: 20px;
    border-radius: 24px;
  }

  .hero::before,
  .page-hero::before {
    inset: 6px 6px auto;
    height: 380px;
    border-radius: 22px;
  }

  /* Slider controls stack */
  .slider__controls {
    flex-direction: column;
    align-items: stretch;
  }

  .slider__buttons {
    justify-content: center;
  }

  /* Footer */
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .footer-top,
  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  /* Modal */
  .modal {
    padding: 16px;
    align-items: flex-end;
  }

  .modal__dialog {
    border-radius: 24px 24px 0 0;
    padding: 22px 18px;
  }

  /* Brand text hide small on very small */
  .brand__text small {
    display: none;
  }

  /* Buttons full width in hero actions */
  .hero__actions .button,
  .hero__actions .button-ghost,
  .hero__actions .button-secondary {
    flex: 1;
    justify-content: center;
    min-width: 0;
  }

  /* CTA band single column */
  .cta-band {
    grid-template-columns: 1fr;
    padding: 20px;
    border-radius: 24px;
    text-align: left;
  }

  /* Utility bar hidden on mobile */
  .utility-bar {
    display: none;
  }

  /* Form */
  .quick-form button,
  .contact-form button {
    width: 100%;
  }

  /* Metric chip font */
  .metric-chip strong {
    font-size: 1.3rem;
  }

  /* Recognition score */
  .recognition-score {
    font-size: 2.2rem;
  }
}

/* 480px — very small phones */
@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(2rem, 14vw, 3rem);
    max-width: 100%;
  }

  .button,
  .button-secondary,
  .button-ghost {
    min-height: 48px;
    padding: 0 18px;
    font-size: .95rem;
  }

  .eyebrow {
    font-size: .8rem;
    padding: 8px 12px;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .hero-slide__visual {
    display: none;
  }

  /* Brand mark size */
  .brand__mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  /* Footer card padding */
  .footer-card {
    padding: 18px;
    border-radius: 20px;
  }

  /* Product price smaller */
  .product-card__price {
    font-size: 1.5rem;
  }

  /* Stats counter */
  .stat-card strong,
  .kpi-card strong {
    font-size: 1.6rem;
  }
}


/* ═══════════════════════════════════════
   HERO — Photo style (Crezcamos-inspired)
═══════════════════════════════════════ */

.hero--photo {
  padding: 48px 0 0;
  background: #fff;
  overflow: hidden;
}

.hero--photo::before {
  display: none; /* disable old gradient blob */
}

/* Split layout: copy left, photos right */
.hero__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding-bottom: 48px;
}

/* LEFT copy */
.hero__copy {
  display: grid;
  gap: 0;
}

.hero__copy .hero__title {
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--brand-950);
  margin: 12px 0 20px;
  max-width: none;
}

.hero__copy .hero__lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 50ch;
}

.hero__copy .hero__actions {
  margin-top: 32px;
  gap: 16px;
}

/* Trust badges row */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.trust-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-600);
  flex-shrink: 0;
}

/* RIGHT photo collage */
.hero__photos {
  position: relative;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 12px;
  border-radius: 32px;
  overflow: hidden;
}

.photo-grid__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: 28px;
  min-height: 460px;
}

.photo-grid__side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
}

.photo-grid__top,
.photo-grid__bottom {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.photo-grid__top img,
.photo-grid__bottom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Approval badge over top photo */
.photo-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(11, 71, 136, 0.18);
  font-size: 0.88rem;
}

.photo-badge__check {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-300), var(--brand-600));
  color: var(--brand-950);
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
}

.photo-badge strong {
  display: block;
  font-family: "Exo 2", sans-serif;
  font-size: 0.95rem;
  color: var(--brand-950);
}

.photo-badge small {
  color: var(--ink-soft);
}

/* Floating stat chip */
.photo-stat-float {
  position: absolute;
  top: 24px;
  left: -20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--brand-900), var(--brand-800));
  color: var(--ink-inverse);
  box-shadow: 0 16px 40px rgba(11, 71, 136, 0.32);
}

.photo-stat-float strong {
  font-family: "Exo 2", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brand-300);
  white-space: nowrap;
}

.photo-stat-float span {
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(239, 250, 255, 0.85);
}

/* ── Segment cards row ── */
.hero__segments {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
  background: var(--surface-soft);
}

.seg-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 20px;
  border-right: 1px solid var(--border);
  text-decoration: none;
  color: var(--ink);
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
}

.seg-card:last-child {
  border-right: none;
}

.seg-card:hover {
  background: rgba(49, 205, 228, 0.08);
}

.seg-card:hover .seg-card__arrow {
  transform: translateX(4px);
}

.seg-card__icon {
  flex-shrink: 0;
}

.seg-card > div {
  flex: 1;
  min-width: 0;
}

.seg-card strong {
  display: block;
  font-family: "Exo 2", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-900);
  line-height: 1.25;
}

.seg-card span {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 2px;
  line-height: 1.4;
}

.seg-card__arrow {
  font-size: 1.1rem;
  color: var(--brand-600);
  transition: transform var(--transition);
  flex-shrink: 0;
}

/* ── Responsive adjustments ── */
@media (max-width: 1100px) {
  .hero__split {
    gap: 32px;
  }
  .photo-stat-float {
    left: 0;
  }
}

@media (max-width: 920px) {
  .header__inner {
    justify-content: space-between;
  }
  .brand {
    /* If the center element is wider/narrower than the outer elements, it won't be perfectly centered. Let's position it absolute to be safe */
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .nequi-logo {
    display: block;
  }
  .nequi-logo img {
    height: 28px;
    width: auto;
    object-fit: contain;
  }
  .hero__split {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
  }
  .hero__photos {
    order: -1;
  }
  .photo-grid__main img {
    min-height: 300px;
  }
  .photo-stat-float {
    top: 12px;
    left: 12px;
  }
  .hero__segments {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .seg-card:nth-child(2) {
    border-right: none;
  }
  .seg-card:nth-child(1),
  .seg-card:nth-child(2) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 640px) {
  .hero--photo {
    padding: 32px 0 0;
  }
  .photo-grid {
    grid-template-columns: 1fr;
  }
  .photo-grid__side {
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr;
  }
  .photo-grid__main img {
    min-height: 260px;
  }
  .hero__segments {
    grid-template-columns: 1fr 1fr;
  }
  .seg-card:nth-child(odd) {
    border-right: 1px solid var(--border);
  }
  .seg-card:nth-child(even) {
    border-right: none;
  }
  .seg-card:nth-child(1),
  .seg-card:nth-child(2),
  .seg-card:nth-child(3) {
    border-bottom: 1px solid var(--border);
  }
}

/* ═══════════════════════════════════════════════════════
   HERO GRADIENT — estilo Crezcamos adaptado a KreditPlus
   ═══════════════════════════════════════════════════════ */
.hero--gradient {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #062d57 0%, #0b4788 50%, #0c7080 100%);
}

.hero--gradient::before {
  content: '';
  position: absolute;
  top: -15%;
  right: -5%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(49,205,228,0.22), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero--gradient::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -10%;
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, rgba(168,241,251,0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero__flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 580px;
  gap: 0;
  position: relative;
  z-index: 1;
}

/* LEFT copy */
.hero__copy-g {
  padding: 70px 0 40px;
  color: #fff;
}

.hero__eyebrow-g {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.2);
  color: #a8f1fb;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero__eyebrow-g::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #31cde4;
  box-shadow: 0 0 0 5px rgba(49,205,228,0.25);
}

.hero__title-g {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 22px;
}

.hero__title-g span {
  color: #31cde4;
}

.hero__sub-g {
  font-size: 1.08rem;
  line-height: 1.65;
  color: rgba(239,250,255,0.78);
  max-width: 44ch;
  margin: 0 0 32px;
}

.btn-hero-g {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 16px;
  background: linear-gradient(135deg, #31cde4, #a8f1fb);
  color: #062d57;
  font-weight: 800;
  font-size: 1rem;
  border: 0;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(49,205,228,0.38);
  transition: transform 220ms ease, box-shadow 220ms ease;
  font-family: inherit;
}

.btn-hero-g:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 56px rgba(49,205,228,0.5);
}

.hero__trust-g {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: rgba(239,250,255,0.88);
  font-size: 0.84rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.14);
}

.trust-pill::before {
  content: '✓';
  color: #31cde4;
  font-weight: 800;
}

/* RIGHT: person visual */
.hero__visual-g {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 580px;
  z-index: 1;
}

.hero__person-img {
  position: relative;
  z-index: 2;
  height: 100%;
  max-height: 560px;
  width: auto;
  max-width: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 28px 28px 0 0;
  display: block;
}

/* Gradient overlays to blend person into background */
.hero__visual-g::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, #0b4788, transparent);
  z-index: 3;
  pointer-events: none;
}

.hero__visual-g::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 25%;
  background: linear-gradient(transparent, #0b4788);
  z-index: 3;
  pointer-events: none;
}

/* Floating benefit badges */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 8px 28px rgba(0,0,0,0.14);
  font-size: 0.86rem;
  font-weight: 700;
  color: #0b4788;
  z-index: 10;
  white-space: nowrap;
  border: 1px solid rgba(49,205,228,0.2);
}

.float-badge--1 { top: 70px;   left: -10px; animation: floatBadge 3.2s ease-in-out infinite; }
.float-badge--2 { top: 200px;  right: 10px; animation: floatBadge 3.2s ease-in-out infinite 0.8s; }
.float-badge--3 { top: 340px;  left: 0px;   animation: floatBadge 3.2s ease-in-out infinite 1.6s; }
.float-badge--4 { bottom: 90px; right: 10px; animation: floatBadge 3.2s ease-in-out infinite 1.2s; }

.float-badge__icon { font-size: 1.1rem; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-7px); }
}

/* Info / amount card below the hero */
.hero-amount-card {
  position: relative;
  z-index: 10;
  background: #fff;
  border-radius: 24px;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 20px 60px rgba(11,71,136,0.16);
  margin: -36px auto 0;
  max-width: 820px;
}

.hero-amount-card p {
  margin: 0;
  font-size: 1rem;
  color: #4d6788;
  line-height: 1.5;
}

.hero-amount-card strong {
  color: #0b4788;
}

/* ─── RESPONSIVE HERO — igual a Crezcamos ─── */
@media (max-width: 860px) {

  /* Stacked: imagen arriba, texto abajo */
  .hero__flex {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    min-height: auto;
  }

  /* IMAGEN PRIMERO en mobile (order) */
  .hero__visual-g {
    order: -1;
    height: 300px;
    width: 100%;
    border-radius: 0;
    justify-content: center;
    align-items: flex-end;
  }

  .hero__person-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
  }

  /* Gradiente lateral no aplica en mobile */
  .hero__visual-g::before {
    display: none;
  }

  /* TEXTO debajo de la imagen */
  .hero__copy-g {
    order: 0;
    padding: 28px 16px 36px;
    text-align: center;
  }

  .hero__title-g {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .hero__sub-g {
    font-size: 1rem;
    max-width: 100%;
    margin-bottom: 24px;
  }

  .btn-hero-g {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 15px 24px;
  }

  .hero__trust-g {
    justify-content: center;
    gap: 8px;
  }

  /* Badges en mobile: sólo 2 visibles */
  .float-badge { font-size: 0.78rem; padding: 8px 12px; }
  .float-badge--1 { top: 12px; left: 8px; }
  .float-badge--2 { top: 12px; right: 8px; }
  .float-badge--3 { display: none; }
  .float-badge--4 { display: none; }

  /* Tarjeta de montos */
  .hero-amount-card {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
    margin: -1px 0 0;
    border-radius: 0 0 20px 20px;
    max-width: 100%;
    box-shadow: none;
    border-top: 1px solid rgba(11,71,136,0.1);
  }
}

