/* ═══════════════════════════════════════════════════════════════
   NAPSsoft Landing — styles.css
   Brand: #02447b (primary blue) | #1a2e42 (dark navy)
   Font:  Poppins (400, 500, 600, 700)
═══════════════════════════════════════════════════════════════ */

/* ── Reset & Base ─────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue-primary: #02447b;
  --blue-light: rgba(2, 68, 123, 0.08);
  --blue-mid: rgba(2, 68, 123, 0.16);
  --navy: #1a2e42;
  --black-dark: #212222;
  --black-regular: #363736;
  --black-light: #4c4e4c;
  --gray-dark: #939795;
  --gray-light: #f4f6f9;
  --white: #ffffff;
  --input-border: rgba(26, 46, 66, 0.2);
  --section-bg: rgba(212, 225, 247, 0.22);

  --font: 'Poppins', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-card: 0 2px 20px rgba(2, 68, 123, 0.08);
  --shadow-btn: 0 4px 16px rgba(2, 68, 123, 0.3);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 15px;
  color: var(--black-regular);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
button {
  cursor: pointer;
  font-family: var(--font);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Buttons ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn--primary {
  background: var(--blue-primary);
  color: var(--white);
}
.btn--primary:hover {
  background: #013669;
  transform: translateY(-1px);
}
.btn--primary:disabled {
  background: var(--gray-light);
  color: #aaa;
  cursor: not-allowed;
  transform: none;
}

.btn--outline {
  background: transparent;
  color: var(--blue-primary);
  border: 1.5px solid var(--blue-primary);
  box-shadow: none;
}
.btn--outline:hover {
  background: var(--blue-light);
}

.btn--lg {
  padding: 14px 32px;
  font-size: 15px;
}
.btn--sm {
  padding: 8px 18px;
  font-size: 13px;
}
.btn--full {
  width: 100%;
  justify-content: center;
}

/* ── Section helpers ──────────────────────────────────────────── */
.badge,
.section-badge {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--blue-light);
  color: var(--blue-primary);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}
.section-badge--light {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--black-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-body {
  font-size: 15px;
  color: var(--black-light);
  max-width: 640px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ══════════════════════════════════════════════════════════════
   NAVBAR — floating pill (matches Figma Menu component)
══════════════════════════════════════════════════════════════ */
.navbar-wrap {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  padding: 0 40px;
  pointer-events: none;
}

.navbar-pill {
  pointer-events: all;
  display: flex;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 1030px;
  padding: 15px 21px;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 100px;
  box-shadow: 0px 4px 32px rgba(0, 66, 37, 0.08);
  transition: box-shadow 0.2s;
}
.navbar-pill.is-scrolled {
  box-shadow: 0px 8px 40px rgba(0, 40, 80, 0.14);
  background: rgba(255, 255, 255, 0.95);
}

.navbar__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.navbar__logo-img {
  max-width: 140px;
  width: auto;
  display: block;
}

/* Legacy text logo (footer) */
.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
}
.logo-accent {
  color: var(--blue-primary);
}
.logo-text--white {
  color: var(--white);
}
.logo-accent--white {
  color: rgba(255, 255, 255, 0.7);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.navbar__links a {
  padding: 10px;
  font-size: 15px;
  font-weight: 400;
  color: var(--black-dark);
  transition: color 0.2s;
  white-space: nowrap;
}
.navbar__links a:hover {
  color: var(--blue-primary);
}

.navbar__cta {
  flex-shrink: 0;
  max-width: 145px;
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 4px;
  margin-left: auto;
  flex-shrink: 0;
}
.navbar__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black-dark);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.navbar__hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.navbar__hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero {
  padding: 140px 0 72px; /* 16px top offset + 73px navbar + spacing */
  background: linear-gradient(160deg, #f0f5fc 0%, #ffffff 60%);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
}

.hero__content .badge {
  margin-bottom: 20px;
}

.hero__headline {
  font-size: 42px;
  font-weight: 700;
  color: var(--black-dark);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.hero__body {
  font-size: 16px;
  color: var(--black-light);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
  text-align: left;
}

/* Feature grid */
.hero__feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  row-gap: 32px;
}

.hero__content {
  font-family: Poppins;
  font-weight: 400;
  font-style: Regular;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  align-content: center;
  color: var(--black-regular);
}

.hero__content span {
  text-align: center;
}

.hero__description {
  display: flex;
}

.hero__features {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  align-content: center;
}

.text-align-responsive{

}

@media (max-width: 420px) {
  .hero__features {
    justify-content: center;
  }
  .hero__content {
    margin-bottom: 40px;
  }
  .text-align-responsive{
    text-align: center;
  }
}

.feature-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid rgba(2, 68, 123, 0.12);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  font-size: 13px;
  font-weight: 500;
  color: var(--black-dark);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.feature-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(2, 68, 123, 0.12);
}

.feature-chip__icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-light);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.feature-chip__icon svg {
  width: 18px;
  height: 18px;
}

/* ══════════════════════════════════════════════════════════════
   LOGOS BAR
══════════════════════════════════════════════════════════════ */
.logos-bar {
  padding: 48px 0;
  overflow: hidden;
}

.logos-bar__headline {
  text-align: center;
  font-size: 20px;
  font-weight: 400;
  color: #000;
  margin-bottom: 32px;
}

.logos-bar__headline span {
  font-weight: 700;
}

.logos-bar__track {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 15%,
    black 85%,
    transparent 100%
  );
}

.logos-bar__logos {
  display: flex;
  gap: 60px;
  align-items: center;
  animation: logos-scroll 18s linear infinite;
  width: max-content;
  will-change: transform;
}

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

.logo-client {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-dark);
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: color 0.2s;
}
.logo-client--johnson {
  font-size: 14px;
}
.logo-client--sm {
  font-size: 13px;
  padding: 4px 12px;
  background: rgba(2, 68, 123, 0.06);
  border-radius: 100px;
}

/* Logo images in bar */
.logo-client-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  flex-shrink: 0;
}
.logo-client-img img {
  max-height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.25s;
}
.logo-client-img img:hover {
  filter: grayscale(0%) opacity(1);
}

/* ══════════════════════════════════════════════════════════════
   STATS / PAIN POINTS
══════════════════════════════════════════════════════════════ */
.stats {
  padding: 96px 0;
  background: var(--section-bg);
}

.stats .section-body {
  margin-bottom: 56px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  /* aspect-ratio: 1/1; */
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(2, 68, 123, 0.06);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
  text-align: left;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(2, 68, 123, 0.12);
}

.stat-card__label {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-primary);
  text-transform: uppercase;
  text-align: left;
}

.stat-card__number {
  font-size: 48px;
  font-weight: 400;
  color: var(--black-dark);
  line-height: 1;
  margin-bottom: 24px;
  text-align: left;
}
.stat-unit {
  font-size: 28px;
  font-weight: 400;
}

.stat-card__desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--black-regular);
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   INDUSTRIES
══════════════════════════════════════════════════════════════ */
.industries {
  padding: 96px 0;
}

.industries__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0;
}

.industry-card {
  background: var(--white);
  border: 1px solid rgba(2, 68, 123, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-card);
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(2, 68, 123, 0.12);
  border-color: rgba(2, 68, 123, 0.25);
}

.industry-card__icon svg {
  width: 48px;
  height: 48px;
}

.industry-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--black-dark);
}

.industry-card p {
  font-size: 14px;
  color: var(--black-light);
  line-height: 1.65;
  flex: 1;
}

.industry-card .btn {
  align-self: flex-start;
  margin-top: 8px;
}

/* ══════════════════════════════════════════════════════════════
   PILLARS
══════════════════════════════════════════════════════════════ */
.pillars {
  padding: 96px 0;
  background: linear-gradient(
    180deg,
    rgba(212, 225, 247, 0) 0%,
    rgba(212, 225, 247, 0.22) 50%,
    rgba(212, 225, 247, 0) 100%
  );
}

.pillars .section-title {
  margin-bottom: 48px;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(2, 68, 123, 0.07);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(2, 68, 123, 0.12);
}

.pillar-card__badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--blue-light);
  color: var(--blue-primary);
  font-size: 12px;
  font-weight: 600;
  align-self: flex-start;
}

.pillar-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--black-dark);
  line-height: 1.3;
}

.pillar-card__body {
  font-size: 14px;
  color: var(--black-light);
  line-height: 1.65;
}

/* Real photo visuals inside pillar cards */
.pillar-photo-stack {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
}
.pillar-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.pillar-photo--back {
  opacity: 1;
  transform: scale(1.02);
  filter: blur(0);
}
.pillar-photo--front {
  opacity: 0;
  transition: opacity 0.4s ease;
}
.pillar-card:hover .pillar-photo--front {
  opacity: 1;
}
.pillar-card:hover .pillar-photo--back {
  opacity: 0;
}

/* Contact logo images */
.contact-logo-img {
  display: flex;
  align-items: center;
  height: 28px;
}
.contact-logo-img img {
  max-height: 24px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  filter: brightness(0) opacity(0.6);
  transition: opacity 0.2s;
}
.contact-logo-img img:hover {
  filter: brightness(0) opacity(1);
}

/* Mock UI visuals inside pillar cards */
.pillar-card__visual {
  margin-top: 8px;
  flex: 1;
}

.pillar-visual-mock {
  background: var(--gray-light);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mock-bar {
  height: 6px;
  border-radius: 4px;
}
.mock-bar--full {
  background: #02447b;
  width: 100%;
}
.mock-bar--warning {
  background: #f0a500;
  width: 65%;
}
.mock-bar--danger {
  background: #d94040;
  width: 30%;
}

.mock-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--black-light);
  background: var(--white);
  border-radius: 6px;
  padding: 7px 10px;
}
.mock-row .mock-text {
  flex: 1;
  font-size: 11px;
}
.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mock-dot--green {
  background: #22c55e;
}
.mock-dot--yellow {
  background: #f0a500;
}
.mock-dot--red {
  background: #d94040;
}

.mock-status {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 100px;
}
.mock-status.ok {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}
.mock-status.warn {
  background: rgba(240, 165, 0, 0.12);
  color: #b45309;
}
.mock-status.danger {
  background: rgba(217, 64, 64, 0.12);
  color: #b91c1c;
}

.mock-file {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 11px;
  color: var(--black-light);
}
.mock-file svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.mock-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--input-border);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 11px;
  color: var(--gray-dark);
  background: var(--white);
  margin-top: 4px;
}
.mock-search svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.mock-calendar-header {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-primary);
  margin-bottom: 4px;
}
.mock-calendar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 11px;
  color: var(--black-light);
  border: 1px solid transparent;
}
.mock-calendar-item--active {
  border-color: var(--blue-primary);
  background: var(--blue-light);
}
.mock-month {
  font-size: 10px;
  font-weight: 700;
  color: var(--blue-primary);
  min-width: 28px;
}
.mock-permit {
  flex: 1;
}

/* ══════════════════════════════════════════════════════════════
   MODULES
══════════════════════════════════════════════════════════════ */
.modules {
  padding: 96px 0;
}

.modules__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.module-card {
  background: rgba(212, 225, 247, 0.16);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    background 0.25s;
}
.module-card:hover {
  background: var(--white);
  box-shadow: 0 6px 28px rgba(2, 68, 123, 0.1);
  transform: translateY(-3px);
}

.module-card__icon {
  background-color: rgba(2, 68, 123, 0.08);
  border-radius: 8px;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
}

.module-card__icon svg {
  width: 40px;
  height: 40px;
}

.module-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--blue-primary);
  text-align: left;
}

.module-card p {
  font-size: 14px;
  font-weight: 400;
  color: var(--black-regular);
  text-align: left;
}

/* ══════════════════════════════════════════════════════════════
   MADE FOR MEXICO
══════════════════════════════════════════════════════════════ */
.mexico {
  padding: 96px 0;
  background: var(--section-bg);
}

.mexico__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.mexico__title {
  text-align: left;
  margin-bottom: 16px;
}

.mexico__body {
  text-align: left;
  margin-bottom: 32px;
}

.mexico__cta {
  display: inline-flex;
}

.mexico__right {
  display: flex;
  flex-direction: column;
}

.mexico-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 16px;
}

.mexico-card--last {
  margin-bottom: 0;
}

.mexico-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.mexico-card__bullet {
  color: var(--primary, #02447b);
  font-size: 10px;
  line-height: 1;
  flex-shrink: 0;
}

.mexico-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--black-regular, #1a1a2e);
  margin: 0;
}

.mexico-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: #4a5568;
  margin: 0;
  padding-left: 20px;
}

.mexico-card__highlight {
  color: var(--primary, #02447b);
  font-weight: 600;
}

/* ══════════════════════════════════════════════════════════════
   FEATURES / GOVERNANCE
══════════════════════════════════════════════════════════════ */
.features {
  padding: 96px 0;
  background: var(--white);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  border: 1px solid rgba(2, 68, 123, 0.2);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card__title {
  font-size: 28px;
  font-weight: 400;
  color: var(--blue-primary);
  line-height: 1.3;
}

.feature-card__desc {
  font-size: 14px;
  font-weight: 400;
  color: var(--black-light);
  line-height: 1.65;
  flex: 1;
}

.feature-card__footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}

.feature-card__icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--gray-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-card__icon-wrap img {
  width: 24px;
  height: 24px;
}

.feature-card__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue-primary);
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════════════ */
.testimonials {
  padding: 96px 0;
  background: var(--white);
}

.testimonials__inner {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 24px;
  align-items: stretch;
}

/* Left */
.testimonials__left {
  background: #02447b;
  border-radius: 20px;
  padding: 55px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.testimonials__badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 14px;
  font-weight: 400;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  align-self: flex-start;
}

.testimonials__title {
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}

.testimonials__nav {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.testimonials__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 1);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  padding: 0;
}

.testimonials__btn:hover {
  background: rgba(255, 255, 255, 0.18);
}

.testimonials__btn img {
  width: 16px;
  height: 16px;
}

/* Right */
.testimonials__right {
  background: var(--white);
  border-radius: 20px;
  padding: 55px;
  border: 1px solid rgba(2, 68, 123, 0.12);
  display: flex;
  flex-direction: column;
}

.testimonials__slider-wrap {
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.testimonials__slider {
  display: flex;
  flex: 1;
  width: 100%;
  transition: transform 0.4s ease;
  will-change: transform;
}

.testimonials__slide {
  min-width: 100%;
  max-width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.testimonials__quote-icon {
  width: 35px;
  height: auto;
}

.testimonials__slide-title {
  color: #02447b;
  font-size: 24px;
  font-weight: 700;
  margin-top: 24px;
  line-height: 1.3;
}

.testimonials__slide-desc {
  font-size: 18px;
  font-weight: 400;
  color: var(--black-dark);
  margin-top: 10px;
  margin-bottom: 24px;
  line-height: 1.65;
  flex: 1;
}

.testimonials__author {
  display: flex;
  align-items: center;
}

.testimonials__avatar {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: rgba(62, 62, 194, 0.2);
  margin-right: 8px;
}

.testimonials__author-info {
  display: flex;
  flex-direction: column;
}

.testimonials__author-name {
  font-weight: 700;
  font-size: 15px;
  color: var(--black-dark);
}

.testimonials__author-role {
  font-weight: 400;
  font-size: 15px;
  color: var(--black-dark);
}

/* ══════════════════════════════════════════════════════════════
   CONTACT FORM
══════════════════════════════════════════════════════════════ */
.contact {
  padding: 96px 0;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contact .section-title {
  color: var(--black-dark);
}
.contact__title {
  font-size: clamp(24px, 3vw, 34px);
}

.contact .section-body {
  color: var(--black-light);
  margin-bottom: 32px;
}

.contact__social-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--black-dark);
  margin-bottom: 12px;
}

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

/* Form */
.contact-form {
  background: rgba(212, 225, 247, 0.2);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 400;
  color: var(--black-dark);
}

.required {
  color: var(--blue-primary);
}
.optional {
  font-weight: 400;
  color: var(--gray-dark);
  font-size: 12px;
}

.form-group input,
.form-group textarea {
  padding: 11px 14px;
  border: 1px solid var(--input-border);
  font-family: var(--font);
  font-size: 14px;
  color: var(--black-dark);
  background: var(--white);
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
  resize: vertical;
}

.form-group input {border-radius: 100px;}
.form-group textarea {border-radius: 24px;
margin-bottom: 24px;}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-dark);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(2, 68, 123, 0.1);
}

.form-success {
  display: none;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #15803d;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  text-align: center;
}
.form-success.is-visible {
  display: block;
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer-wrap {
  padding: 0 24px 24px;
}

.footer {
  background: var(--navy);
  border-radius: 24px;
  padding: 56px 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  padding-bottom: 48px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
}

.footer__logo {
  display: inline-block;
  margin-bottom: 24px;
}

.footer__logo-img {
  max-width: 174px;
  width: 100%;
  height: auto;
}

.footer__brand-desc {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  gap: 11px;
}
.footer__social-link {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.footer__social-link:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
}

.footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.footer__col-title {
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 20px;
}
.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer__col ul a {
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__col ul a:hover {
  color: var(--white);
}

.footer__cta-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer__cta-col {
  margin-top: auto;
  padding-top: 24px;
}

.footer__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: #1a2e42;
  font-size: 14px;
  font-weight: 400;
  font-family: var(--font);
  padding: 6px 14px;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.footer__cta-btn:hover {
  opacity: 0.9;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__bottom-links {
  display: flex;
  gap: 32px;
}
.footer__bottom-links a {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer__bottom-links a:hover {
  color: var(--white);
}

/* ══════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS (Intersection Observer)
══════════════════════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up-delay-1 {
  transition-delay: 0.1s;
}
.fade-up-delay-2 {
  transition-delay: 0.2s;
}
.fade-up-delay-3 {
  transition-delay: 0.3s;
}
.fade-up-delay-4 {
  transition-delay: 0.4s;
}
.fade-up-delay-5 {
  transition-delay: 0.5s;
}
.fade-up-delay-6 {
  transition-delay: 0.6s;
}

/* ══════════════════════════════════════════════════════════════
   MOBILE  (≤ 768px)
══════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  /* Navbar */
  .navbar-wrap {
    padding: 0 12px;
    top: 10px;
  }

  .navbar-pill {
    gap: 12px;
    padding: 8px 12px;
    border-radius: 16px;
  }

  .navbar__links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    padding: 8px 16px 16px;
    box-shadow: 0 8px 40px rgba(0, 40, 80, 0.14);
    z-index: 99;
  }
  .navbar__links.is-open {
    display: flex;
  }
  .navbar__links a {
    padding: 12px 4px;
    border-bottom: 1px solid rgba(2, 68, 123, 0.06);
    font-size: 15px;
  }
  .navbar__links a:last-child {
    border-bottom: none;
  }

  .navbar__cta {
    display: none;
  }
  .navbar__hamburger {
    display: flex;
  }

  /* Hero */
  .hero {
    padding: 110px 0 56px;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__headline {
    font-size: 30px;
    text-align: center;
  }
  .hero__body {
    font-size: 15px;
    text-align: center;
  }
  .btn--primary {
      display: block;
  width: fit-content;
  margin: 0 auto;
  }

  .hero__feature-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .feature-chip {
    padding: 10px 12px;
    font-size: 12px;
  }
  .feature-chip__icon {
    width: 28px;
    height: 28px;
  }
  .feature-chip__icon svg {
    width: 15px;
    height: 15px;
  }

  /* Logos bar */
  .logos-bar {
    padding: 32px 0;
  }
  .logos-bar__headline {
    font-size: 13px;
    padding: 0 20px;
  }

  /* Stats */
  .stats {
    padding: 64px 0;
  }
  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .stat-card {
    padding: 24px 18px;
  }
  .stat-card__number {
    font-size: 38px;
  }
  .stat-unit {
    font-size: 22px;
  }

  /* Industries */
  .industries {
    padding: 64px 0;
  }
  .industries__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Pillars */
  .pillars {
    padding: 64px 0;
  }
  .pillars__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Testimonials */
  .testimonials {
    padding: 64px 0;
  }

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

  .testimonials__left {
    padding: 24px;
    gap: 20px;
  }

  .testimonials__badge {
    font-size: 14px;
    padding: 6px 10px;
  }

  .testimonials__title {
    font-size: 24px;
  }

  .testimonials__right {
    padding: 24px;
    overflow: hidden;
    min-width: 0;
  }

  .testimonials__slide-title {
    font-size: 21px;
  }

  .testimonials__slide-desc {
    font-size: 15px;
  }

  /* Features */
  .features__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Modules */
  .modules {
    padding: 64px 0;
  }
  .modules__grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .module-card {
    padding: 22px 18px;
  }
  .module-card h4 {
    font-size: 14px;
  }

  /* Made for Mexico */
  .mexico {
    padding: 64px 0;
  }
  .mexico__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mexico__cta {
    white-space: normal;
    max-width: 100%;
  }

  /* Contact */
  .contact {
    padding: 64px 0;
  }
  .contact__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form {
    padding: 24px 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-wrap {
    padding: 0 12px 12px;
  }
  .footer {
    padding: 48px 0 0;
    border-radius: 16px;
  }
  .footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
  }
  .footer__nav {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer__bottom {
    padding: 20px 0;
  }
  .footer__bottom-links {
    gap: 20px;
  }

  /* Section helpers */
  .section-body {
    margin-bottom: 32px;
  }
}

/* ══════════════════════════════════════════════════════════════
   SMALL MOBILE  (≤ 420px)
══════════════════════════════════════════════════════════════ */
@media (max-width: 420px) {
  .hero__feature-grid {
    grid-template-columns: 1fr;
  }
  .stats__grid {
    grid-template-columns: 1fr;
  }
  .features__grid {
    grid-template-columns: 1fr;
  }
  .modules__grid {
    grid-template-columns: 1fr;
  }
  .footer__nav {
    grid-template-columns: 1fr 1fr;
  }
}

/* ══════════════════════════════════════════════════════════════
   TABLET  (769px – 1024px)
══════════════════════════════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero__inner {
    gap: 40px;
  }
  .stats__grid {
    grid-template-columns: 1fr 1fr;
  }
  .industries__grid {
    grid-template-columns: 1fr 1fr;
  }
  .pillars__grid {
    grid-template-columns: 1fr;
  }
  .modules__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__nav {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* Common styles */
.main-container {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  align-items: center;
}

.bg-blue {
  background-color: var(--section-bg);
}

.first-container {
  margin-top: 100px;
}

.content-center {
  text-align: center;
  width: 100%;
}

/*
*/
.service-card {
  max-width: 360px;
  text-align: left;
  padding: 24px;
}

.service-card__icon {
  display: block;
  margin-bottom: 16px;
}

.service-card__title {
  margin: 0;
  color: #02447b;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
}

.service-card__subtitle {
  margin: 0;
  color: #02447b;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.3;
}

.service-card__description {
  margin: 8px 0 16px 0;
  color: #363736;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
}

.service-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border: none;
  border-radius: 40px;
  background-color: rgba(2, 68, 123, 0.08);
  color: #02447b;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 14px;
  cursor: pointer;
}

.three-pilars-container {
  display: grid;
  grid-template-columns: 1fr 385px;
  column-gap: 24;
}

.three-pilars-card {
  border: 1px solid rgba(212, 225, 247, 0.8);
  border-radius: 24px;
  background-color: white;
  text-align: left;
  overflow: hidden;
  height: 100%;
}

.three-pilars-card-flex {
  border: 1px solid rgba(212, 225, 247, 0.8);
  border-radius: 24px;
  background-color: white;
  text-align: left;
  display: flex;
  overflow: hidden;
  align-items: center;
  margin-right: 20px;
}

@media (max-width: 768px) {
  .three-pilars-container {
    grid-template-columns: 1fr;
  }
  .three-pilars-card-flex {
    flex-direction: column;
    margin-right: 0;
    padding: 0 20px 20px 20px;
  }
  .three-pilars-card-flex:last-child {
    margin-bottom: 24px;
  }
}

.three-pilars-card-flex:nth-child(1) {
margin-bottom: 20px;
}

.three-pilars-card-flex img {
  height: 100%;
  max-height: 280px;
  width: auto;
  display: block;
}

.three-pilars-card-content-flex {
  padding: 32px 20px 32px 10px;
}

.three-pilars-card-content {
  padding: 32px 40px;
}

.three-pilars-title {
  color: #212222;
  font-family: Poppins;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 12px;
}

.three-pilar-description {
  font-family: Poppins;
  font-weight: 400;
  font-size: 15px;
}
