:root {
  --navy-950: #030821;
  --navy-900: #071038;
  --navy-800: #0b1c55;
  --ink: #101a45;
  --muted: #667196;
  --line: #e4e8f4;
  --surface: #f7f9ff;
  --white: #ffffff;
  --blue: #178bff;
  --blue-soft: #eaf4ff;
  --purple: #8138ff;
  --pink: #e21bb7;
  --cyan: #27d7ff;
  --green: #15c47e;
  --shadow: 0 24px 60px rgba(15, 25, 70, 0.12);
}

/* Eventos page redesign */
.events-page main {
  padding-top: clamp(98px, 10vw, 128px);
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 8%, rgba(23, 139, 255, 0.14), transparent 25%),
    radial-gradient(circle at 90% 14%, rgba(184, 36, 216, 0.14), transparent 26%),
    linear-gradient(180deg, #f4f8ff 0%, #ffffff 42%, #f7fbff 100%);
}

.events-page .events-hero,
.events-page .events-section {
  width: min(1180px, calc(100% - 72px));
  margin-right: auto;
  margin-left: auto;
}

.events-page .events-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: clamp(520px, 64vw, 680px);
  padding: clamp(42px, 6vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 40px;
  background:
    radial-gradient(circle at 84% 16%, rgba(64, 196, 255, 0.36), transparent 28%),
    radial-gradient(circle at 12% 88%, rgba(235, 31, 180, 0.34), transparent 32%),
    linear-gradient(135deg, #061034 0%, #0b1f5c 46%, #4c148b 100%);
  box-shadow: 0 34px 110px rgba(7, 18, 60, 0.24);
  animation: eventsReveal 900ms ease both;
}

.events-page .events-hero::before {
  position: absolute;
  inset: 28px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 30px;
  content: "";
  pointer-events: none;
}

.events-page .events-hero::after {
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(142, 212, 255, 0.22);
  border-radius: 999px;
  content: "";
  background: radial-gradient(circle, rgba(23, 139, 255, 0.2), transparent 62%);
  pointer-events: none;
}

.events-page .events-hero-copy {
  position: relative;
  z-index: 1;
}

.events-page .events-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.events-page .events-hero-lead,
.events-page .events-hero-note {
  max-width: 690px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.18vw, 1.12rem);
  line-height: 1.65;
}

.events-page .events-hero-note {
  max-width: 650px;
  margin-top: 16px;
  color: rgba(232, 241, 255, 0.92);
}

.events-page .events-hero-visual {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
  min-height: 390px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    radial-gradient(circle at 20% 20%, rgba(142, 212, 255, 0.18), transparent 28%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 26px 76px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.events-page .events-orbit {
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  pointer-events: none;
}

.events-page .events-orbit span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #8ed4ff;
  box-shadow: 0 0 24px rgba(142, 212, 255, 0.5);
}

.events-page .events-orbit span:nth-child(1) {
  top: 16%;
  left: 14%;
}

.events-page .events-orbit span:nth-child(2) {
  right: 12%;
  top: 44%;
  background: #ff4dd8;
}

.events-page .events-orbit span:nth-child(3) {
  bottom: 14%;
  left: 48%;
  background: #27d09b;
}

.events-page .events-hero-visual article {
  position: relative;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
  transition: transform 280ms ease, border-color 280ms ease, background 280ms ease;
}

.events-page .events-hero-visual article:nth-of-type(2) {
  transform: translateX(22px);
}

.events-page .events-hero-visual article:nth-of-type(3) {
  transform: translateX(-8px);
}

.events-page .events-hero-visual svg {
  width: 58px;
  height: 58px;
  padding: 15px;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #b824d8, #178bff);
}

.events-page .events-hero-visual article:nth-of-type(2) svg {
  background: linear-gradient(135deg, #178bff, #27d09b);
}

.events-page .events-hero-visual article:nth-of-type(3) svg {
  background: linear-gradient(135deg, #ff3ebf, #8138ff);
}

.events-page .events-hero-visual span {
  color: #8ed4ff;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.events-page .events-hero-visual strong {
  display: block;
  margin-top: 5px;
  font-size: 1.08rem;
  line-height: 1.22;
}

.events-page .events-section {
  padding: clamp(72px, 8vw, 110px) 0 0;
}

.events-page main > .events-section:last-of-type {
  padding-bottom: clamp(72px, 8vw, 110px);
}

.events-page .events-section-head {
  max-width: 820px;
  margin-bottom: clamp(26px, 4vw, 40px);
}

.events-page .events-section h2 {
  margin: 0;
  color: #07123c;
  font-size: clamp(2rem, 3.8vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.events-page .events-section-head p {
  margin: 16px 0 0;
  color: #566480;
  font-size: 1.05rem;
  line-height: 1.7;
}

.events-page .events-journey-card {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(24px, 4vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(16, 32, 68, 0.08);
  border-radius: 34px;
  background:
    radial-gradient(circle at 10% 12%, rgba(23, 139, 255, 0.16), transparent 30%),
    radial-gradient(circle at 88% 82%, rgba(184, 36, 216, 0.16), transparent 32%),
    linear-gradient(135deg, #ffffff, #f4f9ff);
  box-shadow: 0 28px 84px rgba(16, 32, 68, 0.12);
}

.events-page .events-journey-line {
  position: absolute;
  top: 50%;
  left: 12%;
  right: 12%;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(23, 139, 255, 0.08), rgba(184, 36, 216, 0.28), rgba(39, 208, 155, 0.18));
  pointer-events: none;
}

.events-page .events-journey-card article {
  position: relative;
  z-index: 1;
  min-height: 270px;
  padding: 26px;
  border: 1px solid rgba(16, 32, 68, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 46px rgba(16, 32, 68, 0.09);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.events-page .events-journey-card article::before,
.events-page .events-why-grid article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, #178bff, #b824d8);
}

.events-page .events-journey-card article:nth-of-type(2)::before,
.events-page .events-why-grid article:nth-child(2)::before {
  background: linear-gradient(90deg, #b824d8, #ff3ebf);
}

.events-page .events-journey-card article:nth-of-type(3)::before,
.events-page .events-why-grid article:nth-child(3)::before {
  background: linear-gradient(90deg, #178bff, #27d09b);
}

.events-page .events-journey-card article:nth-of-type(4)::before,
.events-page .events-why-grid article:nth-child(4)::before {
  background: linear-gradient(90deg, #8138ff, #178bff);
}

.events-page .events-journey-card svg,
.events-page .events-why-grid svg {
  width: 58px;
  height: 58px;
  padding: 15px;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #178bff, #8138ff);
  box-shadow: 0 12px 28px rgba(23, 139, 255, 0.22);
}

.events-page .events-journey-card article:nth-of-type(3) svg,
.events-page .events-why-grid article:nth-child(3) svg {
  background: linear-gradient(135deg, #178bff, #27d09b);
}

.events-page .events-journey-card h3,
.events-page .events-why-grid h3,
.events-page .events-gallery-grid h3 {
  margin: 18px 0 0;
  color: #07123c;
  font-size: 1.22rem;
  line-height: 1.22;
}

.events-page .events-journey-card p,
.events-page .events-why-grid p,
.events-page .events-gallery-grid p {
  margin: 12px 0 0;
  color: #5a6684;
  font-size: 0.96rem;
  line-height: 1.6;
}

.events-page .events-why {
  width: min(1180px, calc(100% - 72px));
}

.events-page .events-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.events-page .events-why-grid article {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(16, 32, 68, 0.08);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(16, 32, 68, 0.08);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.events-page .events-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.events-page .events-gallery-grid article {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 16px;
  border: 1px solid rgba(16, 32, 68, 0.08);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 20px 54px rgba(16, 32, 68, 0.09);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.events-page .events-gallery-feature {
  grid-column: span 2;
  grid-row: span 2;
}

.events-page .events-gallery-thumb {
  display: grid;
  min-height: 178px;
  place-items: center;
  overflow: hidden;
  border-radius: 22px;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 62, 191, 0.28), transparent 33%),
    radial-gradient(circle at 16% 82%, rgba(23, 139, 255, 0.32), transparent 34%),
    linear-gradient(135deg, #08133d, #174ea6);
  transition: transform 320ms ease, filter 320ms ease;
}

.events-page .events-gallery-feature .events-gallery-thumb {
  min-height: 360px;
}

.events-page .events-gallery-thumb svg {
  width: 64px;
  height: 64px;
  color: #ffffff;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.18));
}

.events-page .events-gallery-grid h3 {
  margin: 16px 4px 0;
  font-size: 1.04rem;
}

.events-page .events-gallery-grid p {
  margin-right: 4px;
  margin-left: 4px;
  font-size: 0.92rem;
}

@media (hover: hover) and (pointer: fine) {
  .events-page .events-hero-visual article:hover {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.16);
  }

  .events-page .events-hero-visual article:nth-of-type(2):hover {
    transform: translate(22px, -4px);
  }

  .events-page .events-hero-visual article:nth-of-type(3):hover {
    transform: translate(-8px, -4px);
  }

  .events-page .events-journey-card article:hover,
  .events-page .events-why-grid article:hover,
  .events-page .events-gallery-grid article:hover {
    border-color: rgba(23, 139, 255, 0.24);
    box-shadow: 0 28px 70px rgba(16, 32, 68, 0.14);
    transform: translateY(-5px);
  }

  .events-page .events-gallery-grid article:hover .events-gallery-thumb {
    transform: scale(1.025);
    filter: saturate(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .events-page .events-hero {
    animation: none;
  }

  .events-page *,
  .events-page *::before,
  .events-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1080px) {
  .events-page .events-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .events-page .events-hero-visual article,
  .events-page .events-hero-visual article:nth-of-type(2),
  .events-page .events-hero-visual article:nth-of-type(3) {
    transform: none;
  }

  .events-page .events-journey-card,
  .events-page .events-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 740px) {
  .events-page main {
    padding-top: 84px;
  }

  .events-page .events-hero,
  .events-page .events-section,
  .events-page .events-why {
    width: calc(100% - 28px);
  }

  .events-page .events-hero {
    padding: 30px 20px;
    border-radius: 28px;
  }

  .events-page .events-hero::before {
    inset: 14px;
    border-radius: 22px;
  }

  .events-page .events-hero-copy h1 {
    font-size: clamp(2.2rem, 10vw, 2.85rem);
    line-height: 1.03;
  }

  .events-page .events-hero-lead,
  .events-page .events-hero-note {
    margin-top: 16px;
    font-size: 0.96rem;
    line-height: 1.56;
  }

  .events-page .events-hero-visual {
    min-height: 0;
    padding: 14px;
    border-radius: 24px;
  }

  .events-page .events-hero-visual article {
    grid-template-columns: 50px 1fr;
    padding: 13px;
  }

  .events-page .events-hero-visual svg {
    width: 50px;
    height: 50px;
    padding: 13px;
    border-radius: 17px;
  }

  .events-page .events-section {
    padding-top: 62px;
  }

  .events-page main > .events-section:last-of-type {
    padding-bottom: 62px;
  }

  .events-page .events-section h2 {
    font-size: clamp(1.9rem, 8vw, 2.45rem);
  }

  .events-page .events-section-head p {
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .events-page .events-journey-card,
  .events-page .events-why-grid,
  .events-page .events-gallery-grid {
    grid-template-columns: 1fr;
  }

  .events-page .events-journey-card {
    padding: 18px;
    border-radius: 26px;
  }

  .events-page .events-journey-line {
    display: none;
  }

  .events-page .events-journey-card article,
  .events-page .events-why-grid article {
    min-height: 0;
    padding: 22px;
  }

  .events-page .events-gallery-feature {
    grid-column: auto;
    grid-row: auto;
  }

  .events-page .events-gallery-feature .events-gallery-thumb,
  .events-page .events-gallery-thumb {
    min-height: 190px;
  }
}

/* Fale Conosco card-first final redesign */
.contact-page main {
  padding-top: 104px;
}

.contact-page .contact-hub,
.contact-page .contact-support {
  width: min(1200px, calc(100% - 72px));
  margin-right: auto;
  margin-left: auto;
}

.contact-page .contact-hub {
  display: block;
  min-height: 0;
  padding: 48px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-page .contact-hub::before,
.contact-page .contact-hub::after {
  display: none;
}

.contact-page .contact-hub-intro {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.contact-page .contact-hub-intro .contact-label {
  flex: 0 0 auto;
}

.contact-page .contact-hub-intro p {
  max-width: 560px;
  margin: 0;
  color: #596684;
  font-size: 1rem;
  line-height: 1.55;
  text-align: right;
}

.contact-page .contact-channel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
  gap: 26px;
  margin-top: 0;
}

.contact-page .contact-channel-card {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: clamp(30px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 8%, rgba(23, 139, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff, #f9fbff);
  box-shadow: 0 28px 82px rgba(16, 32, 68, 0.12);
}

.contact-page .contact-channel-card.is-primary {
  border-color: rgba(186, 38, 211, 0.2);
  background:
    radial-gradient(circle at 94% 8%, rgba(186, 38, 211, 0.12), transparent 30%),
    radial-gradient(circle at 0% 100%, rgba(23, 139, 255, 0.1), transparent 32%),
    linear-gradient(180deg, #ffffff, #f9fbff);
}

.contact-page .contact-channel-card.is-primary::before {
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  content: "";
  background: linear-gradient(90deg, #b824d8, #8138ff, #178bff);
}

.contact-page .contact-channel-top {
  display: flex;
  gap: 16px;
  align-items: center;
}

.contact-page .contact-channel-top > i {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #b824d8, #178bff);
  box-shadow: 0 18px 42px rgba(23, 139, 255, 0.2);
}

.contact-page .contact-channel-card:not(.is-primary) .contact-channel-top > i {
  background: linear-gradient(135deg, #178bff, #15c47e);
}

.contact-page .contact-channel-top span {
  display: block;
  margin-bottom: 5px;
  color: #165fc7;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-page .contact-channel-card h3 {
  margin: 0;
  color: #101a45;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.12;
}

.contact-page .contact-channel-card p {
  max-width: 650px;
  margin: 24px 0 0;
  color: #5d6886;
  font-size: 1.05rem;
  line-height: 1.64;
}

.contact-page .contact-value {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin: 28px 0 26px;
  padding: 13px 16px;
  border: 1px solid rgba(23, 139, 255, 0.14);
  border-radius: 16px;
  color: #08133d;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(16, 32, 68, 0.08);
  font-size: clamp(1.08rem, 1.55vw, 1.3rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact-page .contact-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: auto;
}

.contact-page .contact-card-actions .button {
  min-height: 48px;
  margin: 0;
  padding-inline: 22px;
}

.contact-page .contact-secondary-button {
  color: #101a45;
  border: 1px solid rgba(23, 139, 255, 0.18);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 28px rgba(16, 32, 68, 0.08);
}

.contact-page .contact-secondary-button:hover {
  color: #165fc7;
  border-color: rgba(186, 38, 211, 0.28);
  background: #ffffff;
}

.contact-page .contact-support {
  padding-top: 74px;
  padding-bottom: 84px;
}

.contact-page .contact-support .contact-section-head {
  max-width: 780px;
}

.contact-page .contact-support .contact-section-head h2 {
  color: #101a45;
  font-size: clamp(2rem, 3vw, 3.1rem);
  line-height: 1.06;
}

.contact-page .contact-support .contact-section-head p {
  max-width: 730px;
  margin-top: 14px;
  color: #596684;
  font-size: 1.05rem;
  line-height: 1.64;
}

.contact-page .contact-support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.contact-page .contact-support-grid article {
  min-height: 224px;
  padding: 24px;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 18px 50px rgba(16, 32, 68, 0.08);
}

.contact-page .contact-support-grid i {
  width: 48px;
  height: 48px;
  border-radius: 16px;
}

.contact-page .contact-support-grid h3 {
  margin-top: 18px;
  color: #101a45;
  font-size: 1.08rem;
  line-height: 1.18;
}

.contact-page .contact-support-grid p {
  color: #5d6886;
  font-size: 0.94rem;
  line-height: 1.56;
}

@media (hover: hover) and (pointer: fine) {
  .contact-page .contact-channel-card:hover,
  .contact-page .contact-support-grid article:hover {
    transform: translateY(-5px);
    border-color: rgba(23, 139, 255, 0.22);
    box-shadow: 0 34px 86px rgba(16, 32, 68, 0.15);
  }

  .contact-page .contact-channel-card:hover .contact-channel-top > i {
    transform: translateY(-2px) scale(1.035);
  }
}

@media (max-width: 1100px) {
  .contact-page .contact-channel-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .contact-page main {
    padding-top: 82px;
  }

  .contact-page .contact-hub,
  .contact-page .contact-support {
    width: calc(100% - 32px);
  }

  .contact-page .contact-hub {
    padding-top: 34px;
  }

  .contact-page .contact-hub-intro {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
  }

  .contact-page .contact-hub-intro p {
    max-width: none;
    text-align: left;
  }

  .contact-page .contact-channel-card {
    min-height: auto;
    padding: 26px 22px;
    border-radius: 24px;
  }

  .contact-page .contact-channel-top {
    align-items: flex-start;
  }

  .contact-page .contact-channel-top > i {
    width: 52px;
    height: 52px;
    border-radius: 17px;
  }

  .contact-page .contact-card-actions {
    display: grid;
  }

  .contact-page .contact-card-actions .button {
    width: 100%;
  }

  .contact-page .contact-support {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .contact-page .contact-support-grid {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-support-grid article {
    min-height: 0;
  }
}

/* Fale Conosco intro compactness refinement */
.contact-page .contact-intro {
  padding: 46px 0 22px;
}

.contact-page .contact-intro h1 {
  max-width: 900px;
  font-size: clamp(2.45rem, 4.45vw, 4.15rem);
  line-height: 1.04;
}

.contact-page .contact-intro p {
  max-width: 760px;
  margin-top: 18px;
}

.contact-page .contact-channels {
  padding-top: 18px;
}

@media (max-width: 720px) {
  .contact-page .contact-intro {
    padding: 32px 0 18px;
  }
}

/* Fale Conosco final wide premium layout */
.contact-page {
  background:
    radial-gradient(circle at 6% 7%, rgba(23, 139, 255, 0.12), transparent 30%),
    radial-gradient(circle at 92% 10%, rgba(186, 38, 211, 0.1), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 44%, #f3f7fc 100%);
}

.contact-page main {
  padding-top: 112px;
}

.contact-page .contact-hero,
.contact-page .contact-channels,
.contact-page .contact-support {
  width: min(1280px, calc(100% - 80px));
  margin-right: auto;
  margin-left: auto;
}

.contact-page .contact-hero {
  position: relative;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.62fr);
  gap: clamp(38px, 5vw, 76px);
  min-height: 560px;
  padding: clamp(48px, 6vw, 82px);
  overflow: hidden;
  border: 1px solid rgba(23, 139, 255, 0.13);
  border-radius: 34px;
  background:
    radial-gradient(circle at 80% 18%, rgba(186, 38, 211, 0.16), transparent 32%),
    radial-gradient(circle at 8% 88%, rgba(23, 139, 255, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(237, 246, 255, 0.94));
  box-shadow: 0 34px 100px rgba(16, 32, 68, 0.13);
}

.contact-page .contact-hero::before {
  position: absolute;
  inset: auto -6% -20% auto;
  width: min(44vw, 520px);
  height: min(44vw, 520px);
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 139, 255, 0.12), transparent 68%);
}

.contact-page .contact-hero h1 {
  max-width: 780px;
  color: #08133d;
  font-size: clamp(3.15rem, 6vw, 5.8rem);
  line-height: 0.98;
}

.contact-page .contact-hero-copy p {
  max-width: 790px;
  margin-top: 24px;
  color: #4e5d7d;
  font-size: clamp(1.12rem, 1.55vw, 1.34rem);
  line-height: 1.68;
}

.contact-page .contact-hero-copy > span {
  display: inline-flex;
  max-width: 720px;
  margin-top: 26px;
  padding: 13px 16px;
  border: 1px solid rgba(23, 139, 255, 0.16);
  border-radius: 999px;
  color: #24345f;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 44px rgba(16, 32, 68, 0.08);
  font-size: 1rem;
  font-weight: 850;
}

.contact-page .contact-hero-panel {
  align-self: center;
  justify-self: stretch;
  width: 100%;
  padding: 22px;
  border: 1px solid rgba(16, 32, 68, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 26px 74px rgba(16, 32, 68, 0.12);
  backdrop-filter: blur(14px);
}

.contact-page .contact-hero-panel article,
.contact-page .contact-hero-panel article:nth-child(2),
.contact-page .contact-hero-panel article:nth-child(3) {
  min-height: 96px;
  padding: 20px;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(16, 32, 68, 0.08);
  transform: none;
}

.contact-page .contact-hero-panel i {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.contact-page .contact-hero-panel strong {
  font-size: 1.08rem;
}

.contact-page .contact-hero-panel span {
  font-size: 0.94rem;
}

.contact-page .contact-channels {
  padding-top: 82px;
  padding-bottom: 0;
}

.contact-page .contact-section-head {
  max-width: 860px;
}

.contact-page .contact-section-head h2 {
  font-size: clamp(2.2rem, 3.4vw, 3.65rem);
  line-height: 1.04;
}

.contact-page .contact-section-head p {
  max-width: 760px;
  margin-top: 14px;
  color: #596684;
  font-size: 1.08rem;
  line-height: 1.68;
}

.contact-page .contact-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.contact-page .contact-channel-card {
  position: relative;
  display: flex;
  min-height: 390px;
  padding: clamp(30px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 10%, rgba(23, 139, 255, 0.08), transparent 30%),
    #ffffff;
  box-shadow: 0 28px 78px rgba(16, 32, 68, 0.12);
}

.contact-page .contact-channel-card.is-primary {
  border-color: rgba(186, 38, 211, 0.2);
  background:
    radial-gradient(circle at 92% 8%, rgba(186, 38, 211, 0.11), transparent 30%),
    radial-gradient(circle at 12% 100%, rgba(23, 139, 255, 0.1), transparent 34%),
    #ffffff;
}

.contact-page .contact-channel-card.is-primary::before {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  content: "";
  background: linear-gradient(90deg, #b824d8, #8138ff, #178bff);
}

.contact-page .contact-channel-card > i {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #b824d8, #178bff);
  box-shadow: 0 18px 44px rgba(23, 139, 255, 0.2);
}

.contact-page .contact-channel-card h3 {
  margin: 0;
  color: #101a45;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.14;
}

.contact-page .contact-channel-card p {
  max-width: 560px;
  margin: 16px 0 0;
  color: #5d6886;
  font-size: 1.03rem;
  line-height: 1.62;
}

.contact-page .contact-channel-card strong {
  display: block;
  margin: 24px 0 26px;
  color: #08133d;
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact-page .contact-channel-card .button {
  width: fit-content;
  min-height: 48px;
  margin: 0 10px 10px 0;
  padding-inline: 22px;
}

.contact-page .contact-modal-trigger {
  margin-top: 0;
}

.contact-page .contact-support {
  padding-top: 84px;
  padding-bottom: 84px;
}

.contact-page .contact-support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.contact-page .contact-support-grid article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 22px 58px rgba(16, 32, 68, 0.09);
}

.contact-page .contact-support-grid i {
  width: 52px;
  height: 52px;
  border-radius: 17px;
}

.contact-page .contact-support-grid h3 {
  margin-top: 20px;
  color: #101a45;
  font-size: 1.16rem;
  line-height: 1.18;
}

.contact-page .contact-support-grid p {
  color: #5d6886;
  font-size: 0.98rem;
  line-height: 1.58;
}

@media (hover: hover) and (pointer: fine) {
  .contact-page .contact-channel-card:hover,
  .contact-page .contact-support-grid article:hover {
    transform: translateY(-5px);
    border-color: rgba(23, 139, 255, 0.22);
    box-shadow: 0 34px 86px rgba(16, 32, 68, 0.15);
  }

  .contact-page .contact-channel-card:hover > i {
    transform: translateY(-2px) scale(1.035);
  }
}

@media (max-width: 1100px) {
  .contact-page .contact-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .contact-page main {
    padding-top: 92px;
  }

  .contact-page .contact-hero,
  .contact-page .contact-channels,
  .contact-page .contact-support {
    width: min(100% - 40px, 1280px);
  }

  .contact-page .contact-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-page .contact-channel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .contact-page main {
    padding-top: 82px;
  }

  .contact-page .contact-hero,
  .contact-page .contact-channels,
  .contact-page .contact-support {
    width: calc(100% - 32px);
  }

  .contact-page .contact-hero {
    padding: 30px 22px;
    border-radius: 24px;
  }

  .contact-page .contact-hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.45rem);
  }

  .contact-page .contact-hero-copy > span {
    align-items: flex-start;
    border-radius: 18px;
    font-size: 0.92rem;
  }

  .contact-page .contact-hero-panel {
    padding: 16px;
    border-radius: 22px;
  }

  .contact-page .contact-hero-panel article {
    min-height: 82px;
    padding: 16px;
  }

  .contact-page .contact-channels {
    padding-top: 58px;
  }

  .contact-page .contact-section-head h2 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .contact-page .contact-channel-card {
    min-height: auto;
    padding: 26px 22px;
    border-radius: 22px;
  }

  .contact-page .contact-channel-card .button {
    width: 100%;
    margin-right: 0;
  }

  .contact-page .contact-support {
    padding-top: 62px;
    padding-bottom: 64px;
  }

  .contact-page .contact-support-grid {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-support-grid article {
    min-height: 0;
    padding: 24px;
  }
}

/* Fale Conosco compact institutional redesign */
.contact-page main {
  padding-top: 112px;
}

.contact-page .contact-intro,
.contact-page .contact-channels,
.contact-page .contact-support {
  width: min(1200px, calc(100% - 72px));
  margin-right: auto;
  margin-left: auto;
}

.contact-page .contact-intro {
  padding: 64px 0 32px;
  background: transparent;
}

.contact-page .contact-label {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(23, 139, 255, 0.16);
  border-radius: 999px;
  color: #165fc7;
  background: rgba(23, 139, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-page .contact-intro-copy {
  max-width: 920px;
  margin-top: 20px;
}

.contact-page .contact-intro h1 {
  margin: 0;
  color: #08133d;
  font-size: clamp(2.65rem, 5vw, 4.7rem);
  line-height: 1.02;
}

.contact-page .contact-intro p {
  max-width: 820px;
  margin: 22px 0 0;
  color: #596684;
  font-size: clamp(1.08rem, 1.45vw, 1.26rem);
  line-height: 1.68;
}

.contact-page .contact-channels {
  padding-top: 26px;
  padding-bottom: 0;
  background: transparent;
}

.contact-page .contact-channel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 28px;
  margin-top: 0;
}

.contact-page .contact-channel-card {
  position: relative;
  min-height: 382px;
  padding: clamp(30px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 8%, rgba(23, 139, 255, 0.08), transparent 32%),
    #ffffff;
  box-shadow: 0 26px 72px rgba(16, 32, 68, 0.11);
}

.contact-page .contact-channel-card.is-primary {
  border-color: rgba(186, 38, 211, 0.2);
  background:
    radial-gradient(circle at 88% 8%, rgba(186, 38, 211, 0.12), transparent 31%),
    radial-gradient(circle at 0% 100%, rgba(23, 139, 255, 0.1), transparent 34%),
    #ffffff;
}

.contact-page .contact-channel-card.is-primary::before {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  content: "";
  background: linear-gradient(90deg, #b824d8, #8138ff, #178bff);
}

.contact-page .contact-channel-card > i {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #b824d8, #178bff);
  box-shadow: 0 18px 42px rgba(23, 139, 255, 0.18);
}

.contact-page .contact-channel-card h3 {
  margin: 0;
  color: #101a45;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  line-height: 1.14;
}

.contact-page .contact-channel-card p {
  max-width: 620px;
  margin: 16px 0 0;
  color: #5d6886;
  font-size: 1.04rem;
  line-height: 1.62;
}

.contact-page .contact-channel-card strong {
  display: block;
  margin: 24px 0 26px;
  color: #08133d;
  font-size: clamp(1.08rem, 1.55vw, 1.3rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact-page .contact-channel-card .button {
  width: fit-content;
  min-height: 48px;
  margin: 0 10px 10px 0;
  padding-inline: 22px;
}

.contact-page .contact-modal-trigger {
  margin-top: 0;
}

.contact-page .contact-support {
  padding-top: 78px;
  padding-bottom: 84px;
  background: transparent;
}

.contact-page .contact-support .contact-section-head {
  max-width: 860px;
}

.contact-page .contact-support .contact-section-head h2 {
  color: #101a45;
  font-size: clamp(2.05rem, 3.3vw, 3.35rem);
  line-height: 1.05;
}

.contact-page .contact-support .contact-section-head p {
  max-width: 780px;
  margin-top: 14px;
  color: #596684;
  font-size: 1.06rem;
  line-height: 1.66;
}

.contact-page .contact-support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.contact-page .contact-support-grid article {
  min-height: 245px;
  padding: 28px;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 22px 58px rgba(16, 32, 68, 0.09);
}

.contact-page .contact-support-grid i {
  width: 52px;
  height: 52px;
  border-radius: 17px;
}

.contact-page .contact-support-grid h3 {
  margin-top: 20px;
  color: #101a45;
  font-size: 1.16rem;
  line-height: 1.18;
}

.contact-page .contact-support-grid p {
  color: #5d6886;
  font-size: 0.98rem;
  line-height: 1.58;
}

@media (hover: hover) and (pointer: fine) {
  .contact-page .contact-channel-card:hover,
  .contact-page .contact-support-grid article:hover {
    transform: translateY(-5px);
    border-color: rgba(23, 139, 255, 0.22);
    box-shadow: 0 34px 86px rgba(16, 32, 68, 0.15);
  }

  .contact-page .contact-channel-card:hover > i {
    transform: translateY(-2px) scale(1.035);
  }
}

@media (max-width: 1100px) {
  .contact-page .contact-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .contact-page main {
    padding-top: 92px;
  }

  .contact-page .contact-intro,
  .contact-page .contact-channels,
  .contact-page .contact-support {
    width: min(100% - 40px, 1200px);
  }

  .contact-page .contact-intro {
    padding-top: 46px;
  }

  .contact-page .contact-channel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .contact-page main {
    padding-top: 82px;
  }

  .contact-page .contact-intro,
  .contact-page .contact-channels,
  .contact-page .contact-support {
    width: calc(100% - 32px);
  }

  .contact-page .contact-intro {
    padding: 36px 0 22px;
  }

  .contact-page .contact-intro h1 {
    font-size: clamp(2.25rem, 11vw, 3.35rem);
  }

  .contact-page .contact-intro p {
    font-size: 1rem;
  }

  .contact-page .contact-channel-card {
    min-height: auto;
    padding: 26px 22px;
    border-radius: 22px;
  }

  .contact-page .contact-channel-card .button {
    width: 100%;
    margin-right: 0;
  }

  .contact-page .contact-support {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .contact-page .contact-support-grid {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-support-grid article {
    min-height: 0;
    padding: 24px;
  }
}

/* Dark theme pass */
body {
  color: #e8efff;
  background:
    radial-gradient(circle at 18% 8%, rgba(23, 139, 255, 0.16), transparent 28%),
    radial-gradient(circle at 88% 22%, rgba(226, 27, 183, 0.12), transparent 30%),
    linear-gradient(180deg, #030821 0%, #071038 42%, #04091f 100%);
}

.metric-shell,
.section,
.footer {
  position: relative;
  z-index: 1;
}

.metric-bar,
.solution-card,
.content-card,
.contact-form {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.metric-bar article {
  border-color: rgba(255, 255, 255, 0.1);
}

.metric-bar strong,
h2,
h3,
.solution-card h3,
.why-list h3,
.content-card h3 {
  color: #f7faff;
}

.metric-bar span,
.head-side,
.head-side p,
.solution-card p,
.why-list p,
.footer-brand p,
.footer-brand small,
.footer-columns a,
.content-card a,
.event-banner p,
.featured-content span,
.featured-content li,
.final-cta p {
  color: #b8c4e6;
}

.kicker,
.head-side a,
.solution-card a,
.outline-link,
.content-card a {
  color: #79c8ff;
}

.solutions,
.why-program,
.trusted,
.content,
.event-section {
  color: #e8efff;
}

.outline-link {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.solution-card > i,
.solution-card > svg,
.why-list i,
.why-list article > svg,
.metric-bar i,
.metric-bar article > svg {
  color: #dbeeff;
  background: linear-gradient(135deg, rgba(129, 56, 255, 0.9), rgba(23, 139, 255, 0.9));
}

.solution-card:nth-child(2) > i,
.solution-card:nth-child(2) > svg,
.why-list article:nth-child(2) i,
.why-list article:nth-child(2) > svg,
.solution-card:nth-child(4) > i,
.solution-card:nth-child(4) > svg {
  color: #fff2fb;
  background: linear-gradient(135deg, rgba(226, 27, 183, 0.9), rgba(129, 56, 255, 0.9));
}

.solution-card:nth-child(3) > i,
.solution-card:nth-child(3) > svg,
.why-list article:nth-child(3) i,
.why-list article:nth-child(3) > svg,
.solution-card:nth-child(5) > i,
.solution-card:nth-child(5) > svg,
.why-list article:nth-child(4) i,
.why-list article:nth-child(4) > svg {
  color: #f5fbff;
  background: linear-gradient(135deg, rgba(39, 215, 255, 0.75), rgba(95, 110, 255, 0.88));
}

.trusted h2 {
  color: #f7faff;
}

.client-carousel::before {
  background: linear-gradient(90deg, #061037, rgba(6, 16, 55, 0));
}

.client-carousel::after {
  background: linear-gradient(270deg, #061037, rgba(6, 16, 55, 0));
}

.client-logo {
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.client-image {
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.28));
}

.client-image.is-favicon {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
}

.client-wordmark small {
  color: #8fd8ff;
}

.client-wordmark strong,
.client-wordmark em {
  color: color-mix(in srgb, var(--brand) 78%, #ffffff 22%);
}

.featured-program,
.event-banner,
.final-cta {
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.content-card span {
  color: #b8dfff;
  background: rgba(23, 139, 255, 0.14);
}

.thumb.light-blue::before {
  background:
    radial-gradient(circle at 45% 36%, rgba(255, 255, 255, 0.62), transparent 18%),
    linear-gradient(140deg, #12306c, #5f89ff);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-columns h3 {
  color: #79c8ff;
}

.footer .logo {
  filter: none;
}

/* White header across pages */
.topbar,
.topbar.scrolled,
.topbar.open,
.about-reference .topbar:not(.scrolled):not(.open) {
  color: #101a45;
  width: min(1220px, calc(100% - 72px));
  min-height: 72px;
  margin-top: 10px;
  padding: 0 18px;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(16, 26, 69, 0.08);
  backdrop-filter: none;
}

.topbar .logo:not(.reference-logo) {
  width: 142px;
  min-width: 142px;
}

.topbar .main-nav a {
  opacity: 0.86;
}

.topbar .main-nav a:hover {
  color: #165fc7;
  opacity: 1;
}

.topbar .menu-button {
  color: #101a45;
  border-color: rgba(16, 26, 69, 0.18);
  background: rgba(255, 255, 255, 0.78);
}

@media (max-width: 720px) {
  .topbar,
  .topbar.scrolled,
  .topbar.open,
  .about-reference .topbar:not(.scrolled):not(.open) {
    width: calc(100% - 32px);
  }
}

/* Balanced light/dark rhythm - final cascade */
:root {
  --surface: #f4f7fb;
  --line: rgba(16, 32, 68, 0.1);
  --muted: #5d6886;
  --ink: #102044;
}

body {
  color: #102044;
  background: linear-gradient(180deg, #030821 0 760px, #f4f7fb 760px 100%);
}

.section,
.trusted,
.content,
.event-section,
.why-program,
.about-story,
.values-section,
.purpose-grid,
.about-stats {
  color: #102044;
}

.metric-bar,
.solution-card,
.content-card,
.about-stats article,
.story-card,
.purpose-grid article,
.value-grid article {
  border-color: rgba(16, 32, 68, 0.1);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 60px rgba(15, 25, 70, 0.11);
  backdrop-filter: blur(10px);
}

.metric-bar strong,
.section h2,
.section h3,
.trusted h2,
.solution-card h3,
.why-list h3,
.content-card h3,
.story-card h3,
.purpose-grid h3,
.value-grid h3 {
  color: #101a45;
}

.metric-bar span,
.head-side,
.head-side p,
.solution-card p,
.why-list p,
.content-card div,
.story-copy p:not(.kicker),
.story-card p,
.purpose-grid p,
.value-grid p,
.about-stats span,
.footer-brand p,
.footer-brand small,
.footer-columns a {
  color: #5d6886;
}

.kicker,
.head-side a,
.solution-card a,
.outline-link,
.content-card a,
.footer-columns h3 {
  color: #165fc7;
}

.solutions,
.content,
.trusted,
.values-section {
  padding-top: 72px;
  padding-bottom: 72px;
  background: #f4f7fb;
}

.why-program {
  display: block;
  width: min(1220px, calc(100% - 72px));
  max-width: 1220px;
  margin: 0 auto;
  padding: 72px 0;
  background: transparent;
}

.trusted,
.content,
.about-story,
.values-section,
.about-stats,
.purpose-grid {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100vw - 1220px) / 2));
  padding-right: max(20px, calc((100vw - 1220px) / 2));
}

.purpose-grid {
  background: #ffffff;
}

.event-section {
  padding-top: 54px;
  padding-bottom: 54px;
  background: #f4f7fb;
}

.featured-program,
.event-banner,
.final-cta {
  color: #ffffff;
}

.featured-program h2,
.event-banner h2,
.final-cta h2 {
  color: #ffffff;
}

.featured-content span,
.featured-content li,
.event-banner p,
.final-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.client-carousel::before {
  background: linear-gradient(90deg, #f4f7fb, rgba(244, 247, 251, 0));
}

.client-carousel::after {
  background: linear-gradient(270deg, #f4f7fb, rgba(244, 247, 251, 0));
}

.client-wordmark small {
  color: #1f72c9;
}

.client-wordmark strong,
.client-wordmark em {
  color: var(--brand);
}

.client-image {
  filter: drop-shadow(0 10px 18px rgba(16, 26, 69, 0.12));
}

.client-image.is-favicon {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
}

.footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: max(20px, calc((100vw - 1220px) / 2));
  padding-right: max(20px, calc((100vw - 1220px) / 2));
  border-top: 1px solid rgba(16, 32, 68, 0.1);
  color: #102044;
  background: #ffffff;
}

.about-page {
  background: linear-gradient(180deg, #030821 0 620px, #f4f7fb 620px 100%);
}

.about-hero h1,
.about-hero p,
.about-hero-card strong,
.about-hero-card p {
  color: #f7faff;
}

.about-story,
.values-section {
  background: #f4f7fb;
}

.about-stats {
  background: linear-gradient(180deg, transparent 0, transparent 48px, #f4f7fb 48px);
}

/* Course card final lock */
.why-program {
  display: block;
  width: min(1220px, calc(100% - 72px));
  max-width: 1220px;
  margin: 0 auto;
  padding: 72px 0;
  background: transparent;
}

.featured-program {
  width: 100%;
  min-height: 560px;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.8fr);
  gap: 54px;
  border-radius: 18px;
}

.featured-content {
  max-width: 660px;
  padding: 64px;
}

.featured-content h2 {
  font-size: clamp(2.35rem, 4vw, 4rem);
}

.course-poster {
  margin: 0 56px 0 0;
}

.course-poster img {
  width: min(500px, 100%);
  height: auto;
}

@media (max-width: 980px) {
  .why-program {
    width: min(100% - 40px, 1220px);
    padding: 56px 0;
  }

  .featured-program {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .course-poster {
    margin: 0 32px 36px;
  }

  .course-poster img {
    width: min(520px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .why-program {
    width: calc(100% - 32px);
    padding: 48px 0;
  }

  .featured-content {
    padding: 32px 24px;
  }

  .course-poster {
    margin: 0 24px 28px;
  }
}

@media (max-width: 720px) {
  .services-page .impact-section {
    grid-template-columns: 1fr;
  }

  .services-page .impact-list {
    grid-template-columns: 1fr;
  }

  .services-page .impact-list article {
    width: 100%;
    min-width: 0;
  }
}

/* Contact page final lock */
.contact-page {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 38%, #f4f7fb 100%);
  color: #102044;
}

.contact-page main {
  padding-top: 96px;
}

.contact-page .contact-hero,
.contact-page .contact-main,
.contact-page .contact-support,
.contact-page .contact-final-cta {
  width: min(1220px, calc(100% - 72px));
  margin-left: auto;
  margin-right: auto;
}

.contact-page .contact-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: 520px;
  padding: clamp(40px, 6vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(59, 116, 211, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 20%, rgba(186, 38, 211, 0.18), transparent 30%),
    radial-gradient(circle at 16% 86%, rgba(23, 139, 255, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 245, 255, 0.94));
  box-shadow: 0 30px 90px rgba(16, 32, 68, 0.1);
}

.contact-page .contact-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #08133d;
  font-size: clamp(2.35rem, 4.8vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.contact-page .contact-hero-copy p {
  max-width: 680px;
  margin: 24px 0 0;
  color: #4f5f82;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.72;
}

.contact-page .contact-hero-panel {
  justify-self: end;
  width: min(100%, 420px);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(5, 12, 42, 0.96), rgba(10, 38, 89, 0.9)),
    radial-gradient(circle at 82% 18%, rgba(186, 38, 211, 0.32), transparent 34%);
  box-shadow: 0 28px 70px rgba(8, 19, 61, 0.22);
}

.contact-page .contact-main {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.74fr);
  gap: 28px;
  align-items: start;
  margin-top: 56px;
}

.contact-page .contact-form-card,
.contact-page .contact-info-card,
.contact-page .contact-highlight-card,
.contact-page .contact-support-grid article {
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 60px rgba(16, 32, 68, 0.1);
}

.contact-page .contact-form-card {
  padding: clamp(24px, 4vw, 42px);
}

.contact-page .contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

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

.contact-page .contact-field input,
.contact-page .contact-field select,
.contact-page .contact-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(16, 32, 68, 0.14);
  border-radius: 14px;
  outline: none;
  color: #101a45;
  background: #ffffff;
  font: inherit;
}

.contact-page .contact-support {
  max-width: 1220px;
  padding-top: 72px;
  padding-bottom: 72px;
  background: transparent;
}

.contact-page .contact-support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.contact-page .contact-final-cta {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: 72px;
  margin-bottom: 72px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 24px;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 18%, rgba(186, 38, 211, 0.32), transparent 28%),
    linear-gradient(135deg, #050c2a, #0a2b66);
  box-shadow: 0 26px 70px rgba(8, 19, 61, 0.24);
}

.contact-page .contact-final-cta h2,
.contact-page .contact-final-cta p {
  color: #ffffff;
}

@media (max-width: 980px) {
  .contact-page main {
    padding-top: 88px;
  }

  .contact-page .contact-hero,
  .contact-page .contact-main {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-hero,
  .contact-page .contact-main,
  .contact-page .contact-support,
  .contact-page .contact-final-cta {
    width: min(100% - 40px, 1220px);
  }

  .contact-page .contact-hero-panel {
    justify-self: stretch;
    width: 100%;
  }

  .contact-page .contact-support-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .contact-page main {
    padding-top: 82px;
  }

  .contact-page .contact-hero,
  .contact-page .contact-main,
  .contact-page .contact-support,
  .contact-page .contact-final-cta {
    width: calc(100% - 32px);
  }

  .contact-page .contact-hero {
    min-height: auto;
    padding: 30px 22px;
    border-radius: 22px;
  }

  .contact-page .contact-hero h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .contact-page .contact-signal-grid,
  .contact-page .contact-form-grid,
  .contact-page .contact-support-grid {
    grid-template-columns: 1fr;
  }

.contact-page .contact-final-cta {
  flex-direction: column;
  align-items: stretch;
  margin-top: 56px;
  margin-bottom: 56px;
}
}

/* Contact page without form */
.contact-page .contact-direct {
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 30px;
}

.contact-page .contact-contact-card,
.contact-page .contact-instructions-card {
  min-height: 100%;
}

.contact-page .contact-card-head p {
  max-width: 660px;
}

.contact-page .contact-instructions-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 24px;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 16%, rgba(186, 38, 211, 0.28), transparent 34%),
    linear-gradient(135deg, #071033, #0a2b66);
  box-shadow: 0 28px 74px rgba(8, 19, 61, 0.2);
}

.contact-page .contact-instructions-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, #b824d8, #178bff);
}

.contact-page .contact-instructions-card h2 {
  position: relative;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  line-height: 1.08;
}

.contact-page .contact-instructions-card > p {
  position: relative;
  margin: 14px 0 24px;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.68;
}

.contact-page .email-guidance {
  position: relative;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-page .email-guidance strong {
  display: block;
  margin-bottom: 14px;
  color: #ffffff;
  line-height: 1.45;
}

.contact-page .email-guidance ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.contact-page .email-guidance li {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.42;
}

.contact-page .interest-options {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 26px;
}

.contact-page .interest-options span {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  font-weight: 850;
}

.contact-page .contact-email-button {
  position: relative;
  width: fit-content;
}

@media (hover: hover) and (pointer: fine) {
  .contact-page .interest-options span:hover {
    border-color: rgba(125, 211, 252, 0.34);
    background: rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 980px) {
  .contact-page .contact-direct {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .contact-page .contact-instructions-card {
    padding: 26px 22px;
  }

  .contact-page .contact-email-button {
    width: 100%;
    justify-content: center;
  }
}

/* Fale Conosco wide premium final override */
.contact-page {
  background:
    radial-gradient(circle at 6% 7%, rgba(23, 139, 255, 0.12), transparent 30%),
    radial-gradient(circle at 92% 10%, rgba(186, 38, 211, 0.1), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 44%, #f3f7fc 100%);
}

.contact-page main {
  padding-top: 112px;
}

.contact-page .contact-hero,
.contact-page .contact-channels,
.contact-page .contact-support {
  width: min(1280px, calc(100% - 80px));
  margin-right: auto;
  margin-left: auto;
}

.contact-page .contact-hero {
  position: relative;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.62fr);
  gap: clamp(38px, 5vw, 76px);
  min-height: 560px;
  padding: clamp(48px, 6vw, 82px);
  overflow: hidden;
  border: 1px solid rgba(23, 139, 255, 0.13);
  border-radius: 34px;
  background:
    radial-gradient(circle at 80% 18%, rgba(186, 38, 211, 0.16), transparent 32%),
    radial-gradient(circle at 8% 88%, rgba(23, 139, 255, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(237, 246, 255, 0.94));
  box-shadow: 0 34px 100px rgba(16, 32, 68, 0.13);
}

.contact-page .contact-hero::before {
  position: absolute;
  inset: auto -6% -20% auto;
  width: min(44vw, 520px);
  height: min(44vw, 520px);
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 139, 255, 0.12), transparent 68%);
}

.contact-page .contact-hero h1 {
  max-width: 780px;
  color: #08133d;
  font-size: clamp(3.15rem, 6vw, 5.8rem);
  line-height: 0.98;
}

.contact-page .contact-hero-copy p {
  max-width: 790px;
  margin-top: 24px;
  color: #4e5d7d;
  font-size: clamp(1.12rem, 1.55vw, 1.34rem);
  line-height: 1.68;
}

.contact-page .contact-hero-copy > span {
  display: inline-flex;
  max-width: 720px;
  margin-top: 26px;
  padding: 13px 16px;
  border: 1px solid rgba(23, 139, 255, 0.16);
  border-radius: 999px;
  color: #24345f;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 44px rgba(16, 32, 68, 0.08);
  font-size: 1rem;
  font-weight: 850;
}

.contact-page .contact-hero-panel {
  align-self: center;
  justify-self: stretch;
  width: 100%;
  padding: 22px;
  border: 1px solid rgba(16, 32, 68, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 26px 74px rgba(16, 32, 68, 0.12);
  backdrop-filter: blur(14px);
}

.contact-page .contact-hero-panel article,
.contact-page .contact-hero-panel article:nth-child(2),
.contact-page .contact-hero-panel article:nth-child(3) {
  min-height: 96px;
  padding: 20px;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(16, 32, 68, 0.08);
  transform: none;
}

.contact-page .contact-hero-panel i {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.contact-page .contact-hero-panel strong {
  font-size: 1.08rem;
}

.contact-page .contact-hero-panel span {
  font-size: 0.94rem;
}

.contact-page .contact-channels {
  padding-top: 82px;
  padding-bottom: 0;
}

.contact-page .contact-section-head {
  max-width: 860px;
}

.contact-page .contact-section-head h2 {
  font-size: clamp(2.2rem, 3.4vw, 3.65rem);
  line-height: 1.04;
}

.contact-page .contact-section-head p {
  max-width: 760px;
  margin-top: 14px;
  color: #596684;
  font-size: 1.08rem;
  line-height: 1.68;
}

.contact-page .contact-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.contact-page .contact-channel-card {
  position: relative;
  min-height: 390px;
  padding: clamp(30px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 10%, rgba(23, 139, 255, 0.08), transparent 30%),
    #ffffff;
  box-shadow: 0 28px 78px rgba(16, 32, 68, 0.12);
}

.contact-page .contact-channel-card.is-primary {
  border-color: rgba(186, 38, 211, 0.2);
  background:
    radial-gradient(circle at 92% 8%, rgba(186, 38, 211, 0.11), transparent 30%),
    radial-gradient(circle at 12% 100%, rgba(23, 139, 255, 0.1), transparent 34%),
    #ffffff;
}

.contact-page .contact-channel-card.is-primary::before {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  content: "";
  background: linear-gradient(90deg, #b824d8, #8138ff, #178bff);
}

.contact-page .contact-channel-card > i {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #b824d8, #178bff);
  box-shadow: 0 18px 44px rgba(23, 139, 255, 0.2);
}

.contact-page .contact-channel-card h3 {
  margin: 0;
  color: #101a45;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.14;
}

.contact-page .contact-channel-card p {
  max-width: 560px;
  margin: 16px 0 0;
  color: #5d6886;
  font-size: 1.03rem;
  line-height: 1.62;
}

.contact-page .contact-channel-card strong {
  display: block;
  margin: 24px 0 26px;
  color: #08133d;
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact-page .contact-channel-card .button {
  width: fit-content;
  min-height: 48px;
  margin: 0 10px 10px 0;
  padding-inline: 22px;
}

.contact-page .contact-modal-trigger {
  margin-top: 0;
}

.contact-page .contact-support {
  padding-top: 84px;
  padding-bottom: 84px;
}

.contact-page .contact-support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.contact-page .contact-support-grid article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 22px 58px rgba(16, 32, 68, 0.09);
}

.contact-page .contact-support-grid i {
  width: 52px;
  height: 52px;
  border-radius: 17px;
}

.contact-page .contact-support-grid h3 {
  margin-top: 20px;
  color: #101a45;
  font-size: 1.16rem;
  line-height: 1.18;
}

.contact-page .contact-support-grid p {
  color: #5d6886;
  font-size: 0.98rem;
  line-height: 1.58;
}

@media (hover: hover) and (pointer: fine) {
  .contact-page .contact-channel-card:hover,
  .contact-page .contact-support-grid article:hover {
    transform: translateY(-5px);
    border-color: rgba(23, 139, 255, 0.22);
    box-shadow: 0 34px 86px rgba(16, 32, 68, 0.15);
  }

  .contact-page .contact-channel-card:hover > i {
    transform: translateY(-2px) scale(1.035);
  }
}

@media (max-width: 1100px) {
  .contact-page .contact-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .contact-page main {
    padding-top: 92px;
  }

  .contact-page .contact-hero,
  .contact-page .contact-channels,
  .contact-page .contact-support {
    width: min(100% - 40px, 1280px);
  }

  .contact-page .contact-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-page .contact-channel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .contact-page main {
    padding-top: 82px;
  }

  .contact-page .contact-hero,
  .contact-page .contact-channels,
  .contact-page .contact-support {
    width: calc(100% - 32px);
  }

  .contact-page .contact-hero {
    padding: 30px 22px;
    border-radius: 24px;
  }

  .contact-page .contact-hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.45rem);
  }

  .contact-page .contact-hero-copy > span {
    align-items: flex-start;
    border-radius: 18px;
    font-size: 0.92rem;
  }

  .contact-page .contact-hero-panel {
    padding: 16px;
    border-radius: 22px;
  }

  .contact-page .contact-hero-panel article {
    min-height: 82px;
    padding: 16px;
  }

  .contact-page .contact-channels {
    padding-top: 58px;
  }

  .contact-page .contact-section-head h2 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .contact-page .contact-channel-card {
    min-height: auto;
    padding: 26px 22px;
    border-radius: 22px;
  }

  .contact-page .contact-channel-card .button {
    width: 100%;
    margin-right: 0;
  }

  .contact-page .contact-support {
    padding-top: 62px;
    padding-bottom: 64px;
  }

  .contact-page .contact-support-grid {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-support-grid article {
    min-height: 0;
    padding: 24px;
  }
}

/* Contact instructions modal */
body.modal-open {
  overflow: hidden;
}

.contact-page .contact-modal-trigger {
  margin-top: 12px;
}

.contact-modal[hidden] {
  display: none;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.contact-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.contact-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 12, 42, 0.56);
  backdrop-filter: blur(8px);
}

.contact-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1040px, 100%);
  max-height: min(86vh, 860px);
  overflow: auto;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 28px;
  outline: none;
  background:
    radial-gradient(circle at 92% 8%, rgba(186, 38, 211, 0.1), transparent 28%),
    linear-gradient(135deg, #ffffff, #f4f8ff);
  box-shadow: 0 36px 110px rgba(5, 12, 42, 0.34);
  transform: translateY(18px) scale(0.985);
  transition: transform 240ms ease;
}

.contact-modal.is-open .contact-modal-panel {
  transform: translateY(0) scale(1);
}

.contact-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 999px;
  color: #101a45;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(16, 32, 68, 0.12);
  cursor: pointer;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.contact-modal-close:hover {
  transform: translateY(-2px);
  border-color: rgba(186, 38, 211, 0.28);
  box-shadow: 0 18px 42px rgba(16, 32, 68, 0.16);
}

.contact-modal-close svg {
  width: 18px;
  height: 18px;
}

.contact-page .contact-modal-head {
  max-width: 720px;
  padding-right: 56px;
}

.contact-page .contact-modal .email-instructions-panel {
  margin-top: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.contact-page .contact-modal .email-checklist,
.contact-page .contact-modal .email-template-card,
.contact-page .contact-modal .interest-strip {
  box-shadow: 0 18px 48px rgba(16, 32, 68, 0.08);
}

.contact-page .contact-modal .interest-strip {
  margin-top: 18px;
}

.contact-modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

@media (max-width: 980px) {
  .contact-page .contact-modal .email-instructions-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .contact-modal {
    align-items: end;
    padding: 16px;
  }

  .contact-modal-panel {
    max-height: 90vh;
    padding: 24px 18px;
    border-radius: 24px 24px 0 0;
  }

  .contact-page .contact-modal-head {
    padding-right: 48px;
  }

  .contact-modal-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-modal,
  .contact-modal-panel,
  .contact-modal-close {
    transition: none;
  }
}

/* Contact page SaaS-style final redesign */
.contact-page {
  background:
    radial-gradient(circle at 12% 10%, rgba(23, 139, 255, 0.08), transparent 30%),
    radial-gradient(circle at 88% 4%, rgba(186, 38, 211, 0.08), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #f5f8fd 100%);
}

.contact-page main {
  padding-top: 92px;
}

.contact-page .contact-hero {
  min-height: 380px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: clamp(28px, 5vw, 58px);
  padding: clamp(34px, 5vw, 58px);
  border: 1px solid rgba(23, 139, 255, 0.1);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 255, 0.92)),
    radial-gradient(circle at 82% 28%, rgba(186, 38, 211, 0.1), transparent 28%);
  box-shadow: 0 24px 76px rgba(16, 32, 68, 0.09);
}

.contact-page .contact-hero h1 {
  max-width: 660px;
  font-size: clamp(2.55rem, 4.8vw, 4.8rem);
}

.contact-page .contact-hero-copy p {
  max-width: 720px;
  margin-top: 18px;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.contact-page .contact-hero-copy > span {
  display: inline-flex;
  margin-top: 22px;
  padding: 10px 14px;
  border: 1px solid rgba(23, 139, 255, 0.12);
  border-radius: 999px;
  color: #354366;
  background: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 850;
}

.contact-page .contact-hero-mini {
  display: grid;
  gap: 14px;
  justify-self: stretch;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.contact-page .contact-hero-mini article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 78px;
  padding: 15px;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 44px rgba(16, 32, 68, 0.08);
}

.contact-page .contact-hero-mini article:nth-child(2) {
  transform: translateX(16px);
}

.contact-page .contact-hero-mini article:nth-child(3) {
  transform: translateX(-8px);
}

.contact-page .contact-hero-mini i {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  grid-row: span 2;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #b824d8, #178bff);
}

.contact-page .contact-hero-mini strong {
  color: #101a45;
  font-size: 0.98rem;
}

.contact-page .contact-hero-mini span {
  color: #64708d;
  font-size: 0.84rem;
}

.contact-page .contact-channels,
.contact-page .email-instructions,
.contact-page .contact-support {
  width: min(1220px, calc(100% - 72px));
  margin-left: auto;
  margin-right: auto;
  background: transparent;
}

.contact-page .contact-channels {
  padding-top: 56px;
  padding-bottom: 0;
}

.contact-page .contact-section-head {
  max-width: 760px;
}

.contact-page .contact-section-head h2 {
  margin: 0;
  color: #101a45;
  font-size: clamp(1.85rem, 3.2vw, 3.15rem);
  line-height: 1.08;
}

.contact-page .contact-section-head p {
  margin: 12px 0 0;
  color: #5d6886;
  line-height: 1.65;
}

.contact-page .contact-channel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.contact-page .contact-channel-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 58px rgba(16, 32, 68, 0.09);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.contact-page .contact-channel-card.is-primary::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, #b824d8, #178bff);
}

.contact-page .contact-channel-card > i {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, #b824d8, #178bff);
}

.contact-page .contact-channel-card h3 {
  margin: 22px 0 10px;
  color: #101a45;
  font-size: 1.26rem;
}

.contact-page .contact-channel-card p {
  margin: 0;
  color: #5d6886;
  line-height: 1.58;
}

.contact-page .contact-channel-card strong {
  display: block;
  margin-top: 22px;
  color: #101a45;
  font-size: 1rem;
}

.contact-page .contact-channel-card .button {
  margin-top: auto;
}

.contact-page .email-instructions {
  padding-top: 56px;
  padding-bottom: 0;
}

.contact-page .email-instructions-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 22px;
  margin-top: 26px;
  padding: 24px;
  border: 1px solid rgba(16, 32, 68, 0.09);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 64px rgba(16, 32, 68, 0.09);
}

.contact-page .email-checklist,
.contact-page .email-template-card {
  border: 1px solid rgba(16, 32, 68, 0.08);
  border-radius: 22px;
  background: #ffffff;
}

.contact-page .email-checklist {
  padding: 26px;
}

.contact-page .email-checklist h3,
.contact-page .email-template-card h3,
.contact-page .interest-strip h3 {
  margin: 0;
  color: #101a45;
  font-size: 1.05rem;
}

.contact-page .email-checklist ul {
  display: grid;
  gap: 13px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.contact-page .email-checklist li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 10px;
  align-items: center;
  color: #56627f;
  line-height: 1.4;
}

.contact-page .email-checklist li i {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #b824d8, #178bff);
}

.contact-page .email-template-card {
  padding: 24px;
}

.contact-page .email-template-card pre {
  margin: 16px 0 18px;
  padding: 18px;
  overflow-x: auto;
  border: 1px solid rgba(23, 139, 255, 0.1);
  border-radius: 18px;
  color: #354366;
  background: #f7fbff;
  font: 0.88rem/1.55 ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
  white-space: pre-wrap;
}

.contact-page .copy-template-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #b824d8, #178bff);
  box-shadow: 0 14px 30px rgba(23, 139, 255, 0.2);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.contact-page .copy-feedback {
  display: inline-flex;
  margin-left: 12px;
  color: #165fc7;
  font-size: 0.88rem;
  font-weight: 900;
}

.contact-page .interest-strip {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(16, 32, 68, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
}

.contact-page .interest-options {
  margin: 14px 0 0;
  gap: 9px;
}

.contact-page .interest-options span {
  padding: 8px 11px;
  border-color: rgba(23, 139, 255, 0.14);
  color: #354366;
  background: #ffffff;
  font-size: 0.78rem;
}

.contact-page .contact-support {
  padding-top: 54px;
  padding-bottom: 64px;
}

.contact-page .contact-support-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.contact-page .contact-support-grid article {
  min-height: 210px;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 16px 44px rgba(16, 32, 68, 0.08);
}

.contact-page .contact-support-grid i {
  width: 40px;
  height: 40px;
  border-radius: 13px;
}

.contact-page .contact-support-grid h3 {
  margin-top: 15px;
  font-size: 1rem;
}

.contact-page .contact-support-grid p {
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (hover: hover) and (pointer: fine) {
  .contact-page .contact-channel-card:hover,
  .contact-page .contact-support-grid article:hover,
  .contact-page .email-template-card:hover,
  .contact-page .email-checklist:hover {
    transform: translateY(-4px);
    border-color: rgba(23, 139, 255, 0.22);
    box-shadow: 0 26px 70px rgba(16, 32, 68, 0.13);
  }

  .contact-page .copy-template-button:hover {
    box-shadow: 0 18px 42px rgba(23, 139, 255, 0.26);
  }
}

@media (max-width: 980px) {
  .contact-page .contact-hero,
  .contact-page .contact-channel-grid,
  .contact-page .email-instructions-panel {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-hero-mini article,
  .contact-page .contact-hero-mini article:nth-child(2),
  .contact-page .contact-hero-mini article:nth-child(3) {
    transform: none;
  }

  .contact-page .contact-support-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .contact-page main {
    padding-top: 82px;
  }

  .contact-page .contact-hero,
  .contact-page .contact-channels,
  .contact-page .email-instructions,
  .contact-page .contact-support {
    width: calc(100% - 32px);
  }

  .contact-page .contact-hero {
    min-height: auto;
    padding: 30px 22px;
  }

  .contact-page .contact-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.25rem);
  }

  .contact-page .contact-channel-card {
    min-height: 0;
  }

  .contact-page .email-instructions-panel {
    padding: 16px;
  }

  .contact-page .copy-feedback {
    display: block;
    margin: 10px 0 0;
  }

  .contact-page .contact-support-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact page final lock */
.contact-page {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 38%, #f4f7fb 100%);
  color: #102044;
}

.contact-page main {
  padding-top: 96px;
}

.contact-page .contact-hero,
.contact-page .contact-main,
.contact-page .contact-support,
.contact-page .contact-final-cta {
  width: min(1220px, calc(100% - 72px));
  margin-left: auto;
  margin-right: auto;
}

.contact-page .contact-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: 520px;
  padding: clamp(40px, 6vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(59, 116, 211, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 20%, rgba(186, 38, 211, 0.18), transparent 30%),
    radial-gradient(circle at 16% 86%, rgba(23, 139, 255, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 245, 255, 0.94));
  box-shadow: 0 30px 90px rgba(16, 32, 68, 0.1);
}

.contact-page .contact-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #08133d;
  font-size: clamp(2.35rem, 4.8vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.contact-page .contact-hero-copy p {
  max-width: 680px;
  margin: 24px 0 0;
  color: #4f5f82;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.72;
}

.contact-page .contact-hero-panel {
  justify-self: end;
  width: min(100%, 420px);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(5, 12, 42, 0.96), rgba(10, 38, 89, 0.9)),
    radial-gradient(circle at 82% 18%, rgba(186, 38, 211, 0.32), transparent 34%);
  box-shadow: 0 28px 70px rgba(8, 19, 61, 0.22);
}

.contact-page .contact-main {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.74fr);
  gap: 28px;
  align-items: start;
  margin-top: 56px;
}

.contact-page .contact-form-card,
.contact-page .contact-info-card,
.contact-page .contact-highlight-card,
.contact-page .contact-support-grid article {
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 60px rgba(16, 32, 68, 0.1);
}

.contact-page .contact-form-card {
  padding: clamp(24px, 4vw, 42px);
}

.contact-page .contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

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

.contact-page .contact-field input,
.contact-page .contact-field select,
.contact-page .contact-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(16, 32, 68, 0.14);
  border-radius: 14px;
  outline: none;
  color: #101a45;
  background: #ffffff;
  font: inherit;
}

.contact-page .contact-support {
  max-width: 1220px;
  padding-top: 72px;
  padding-bottom: 72px;
  background: transparent;
}

.contact-page .contact-support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.contact-page .contact-final-cta {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: 72px;
  margin-bottom: 72px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 24px;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 18%, rgba(186, 38, 211, 0.32), transparent 28%),
    linear-gradient(135deg, #050c2a, #0a2b66);
  box-shadow: 0 26px 70px rgba(8, 19, 61, 0.24);
}

.contact-page .contact-final-cta h2,
.contact-page .contact-final-cta p {
  color: #ffffff;
}

@media (max-width: 980px) {
  .contact-page main {
    padding-top: 88px;
  }

  .contact-page .contact-hero,
  .contact-page .contact-main {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-hero,
  .contact-page .contact-main,
  .contact-page .contact-support,
  .contact-page .contact-final-cta {
    width: min(100% - 40px, 1220px);
  }

  .contact-page .contact-hero-panel {
    justify-self: stretch;
    width: 100%;
  }

  .contact-page .contact-support-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .contact-page main {
    padding-top: 82px;
  }

  .contact-page .contact-hero,
  .contact-page .contact-main,
  .contact-page .contact-support,
  .contact-page .contact-final-cta {
    width: calc(100% - 32px);
  }

  .contact-page .contact-hero {
    min-height: auto;
    padding: 30px 22px;
    border-radius: 22px;
  }

  .contact-page .contact-hero h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .contact-page .contact-signal-grid,
  .contact-page .contact-form-grid,
  .contact-page .contact-support-grid {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-final-cta {
    flex-direction: column;
    align-items: stretch;
    margin-top: 56px;
    margin-bottom: 56px;
  }
}

/* Contact page */
.contact-page {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 38%, #f4f7fb 100%);
  color: #102044;
}

.contact-page main {
  padding-top: 96px;
}

.contact-hero,
.contact-main,
.contact-support,
.contact-final-cta {
  width: min(1220px, calc(100% - 72px));
  margin-left: auto;
  margin-right: auto;
}

.contact-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: 520px;
  padding: clamp(40px, 6vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(59, 116, 211, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 20%, rgba(186, 38, 211, 0.18), transparent 30%),
    radial-gradient(circle at 16% 86%, rgba(23, 139, 255, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 245, 255, 0.94));
  box-shadow: 0 30px 90px rgba(16, 32, 68, 0.1);
}

.contact-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background-image:
    linear-gradient(rgba(16, 32, 68, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 32, 68, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(110deg, transparent 0%, #000 58%, transparent 100%);
}

.contact-hero-copy,
.contact-hero-panel {
  position: relative;
  z-index: 1;
}

.contact-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #08133d;
  font-size: clamp(2.35rem, 4.8vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.contact-hero-copy p {
  max-width: 680px;
  margin: 24px 0 0;
  color: #4f5f82;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.72;
}

.contact-hero-panel {
  justify-self: end;
  width: min(100%, 420px);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(5, 12, 42, 0.96), rgba(10, 38, 89, 0.9)),
    radial-gradient(circle at 82% 18%, rgba(186, 38, 211, 0.32), transparent 34%);
  box-shadow: 0 28px 70px rgba(8, 19, 61, 0.22);
}

.contact-panel-header {
  display: grid;
  gap: 10px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.contact-panel-header span {
  color: #7dd3fc;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-panel-header strong {
  color: #ffffff;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.2;
}

.contact-signal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 22px;
}

.contact-signal-grid span {
  min-height: 86px;
  display: grid;
  align-content: end;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  line-height: 1.25;
  background: rgba(255, 255, 255, 0.08);
}

.contact-signal-grid span:nth-child(2),
.contact-signal-grid span:nth-child(3) {
  background: linear-gradient(135deg, rgba(186, 38, 211, 0.22), rgba(23, 139, 255, 0.14));
}

.contact-main {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.74fr);
  gap: 28px;
  align-items: start;
  margin-top: 56px;
}

.contact-form-card,
.contact-info-card,
.contact-highlight-card,
.contact-support-grid article {
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 60px rgba(16, 32, 68, 0.1);
}

.contact-form-card {
  padding: clamp(24px, 4vw, 42px);
}

.contact-card-head h2,
.contact-info-card h2,
.contact-section-head h2,
.contact-final-cta h2 {
  margin: 0;
  color: #101a45;
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.08;
}

.contact-card-head p {
  margin: 12px 0 0;
  color: #5d6886;
  line-height: 1.65;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

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

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

.contact-field label {
  color: #132052;
  font-size: 0.9rem;
  font-weight: 900;
}

.contact-field label span {
  color: #b61aa6;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(16, 32, 68, 0.14);
  border-radius: 14px;
  outline: none;
  color: #101a45;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font: inherit;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease;
}

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

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: rgba(23, 139, 255, 0.72);
  box-shadow: 0 0 0 4px rgba(23, 139, 255, 0.14);
}

.contact-field.is-invalid input,
.contact-field.is-invalid textarea {
  border-color: rgba(186, 38, 211, 0.72);
  box-shadow: 0 0 0 4px rgba(186, 38, 211, 0.12);
}

.field-error {
  min-height: 18px;
  color: #a0198f;
  font-size: 0.78rem;
  font-weight: 800;
}

.contact-submit {
  margin-top: 8px;
}

.form-status {
  display: none;
  margin: 18px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 850;
  line-height: 1.45;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  color: #0f5f3c;
  background: rgba(26, 196, 125, 0.12);
  border: 1px solid rgba(26, 196, 125, 0.2);
}

.form-status.is-error {
  color: #831c73;
  background: rgba(186, 38, 211, 0.1);
  border: 1px solid rgba(186, 38, 211, 0.18);
}

.contact-side {
  display: grid;
  gap: 20px;
}

.contact-info-card,
.contact-highlight-card {
  padding: 28px;
}

.contact-info-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-info-list a,
.contact-info-list div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border-radius: 18px;
  color: #5d6886;
  text-decoration: none;
  background: rgba(244, 247, 251, 0.82);
  transition: transform 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.contact-info-list i,
.contact-support-grid i {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #b824d8, #178bff);
}

.contact-info-list strong {
  display: block;
  margin-bottom: 4px;
  color: #101a45;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.contact-highlight-card {
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 16%, rgba(186, 38, 211, 0.28), transparent 34%),
    linear-gradient(135deg, #071033, #0a2b66);
}

.contact-highlight-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.contact-highlight-card p {
  margin: 12px 0 22px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.62;
}

.contact-support {
  padding-top: 72px;
  padding-bottom: 0;
}

.contact-section-head {
  max-width: 720px;
}

.contact-support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.contact-support-grid article {
  position: relative;
  overflow: hidden;
  padding: 24px;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.contact-support-grid article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, #b824d8, #178bff);
}

.contact-support-grid h3 {
  margin: 18px 0 10px;
  color: #101a45;
  font-size: 1.08rem;
}

.contact-support-grid p {
  margin: 0;
  color: #5d6886;
  font-size: 0.94rem;
  line-height: 1.58;
}

.contact-final-cta {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: 72px;
  margin-bottom: 72px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 24px;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 18%, rgba(186, 38, 211, 0.32), transparent 28%),
    linear-gradient(135deg, #050c2a, #0a2b66);
  box-shadow: 0 26px 70px rgba(8, 19, 61, 0.24);
}

.contact-final-cta h2 {
  color: #ffffff;
}

.contact-final-cta p {
  max-width: 660px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

[data-contact-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 850ms ease, transform 850ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.contact-hero-panel[data-contact-reveal] {
  transform: translateX(28px);
}

.contact-hero-panel[data-contact-reveal].is-visible {
  transform: translateX(0);
}

.contact-support-grid article:nth-child(2) {
  transition-delay: 90ms;
}

.contact-support-grid article:nth-child(3) {
  transition-delay: 180ms;
}

.contact-support-grid article:nth-child(4) {
  transition-delay: 270ms;
}

@media (hover: hover) and (pointer: fine) {
  .contact-info-list a:hover,
  .contact-info-list div:hover {
    transform: translateY(-3px);
    background: rgba(239, 246, 255, 0.98);
    box-shadow: 0 16px 38px rgba(16, 32, 68, 0.1);
  }

  .contact-support-grid article:hover {
    transform: translateY(-5px);
    border-color: rgba(23, 139, 255, 0.26);
    box-shadow: 0 26px 68px rgba(16, 32, 68, 0.14);
  }
}

@media (max-width: 980px) {
  .contact-page main {
    padding-top: 88px;
  }

  .contact-hero,
  .contact-main,
  .contact-final-cta {
    width: min(100% - 40px, 1220px);
  }

  .contact-hero,
  .contact-main {
    grid-template-columns: 1fr;
  }

  .contact-hero-panel {
    justify-self: stretch;
    width: 100%;
  }

  .contact-support {
    width: min(100% - 40px, 1220px);
  }

  .contact-support-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .contact-page main {
    padding-top: 82px;
  }

  .contact-hero,
  .contact-main,
  .contact-support,
  .contact-final-cta {
    width: calc(100% - 32px);
  }

  .contact-hero {
    min-height: auto;
    padding: 30px 22px;
    border-radius: 22px;
  }

  .contact-hero h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .contact-signal-grid,
  .contact-form-grid,
  .contact-support-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-card,
  .contact-info-card,
  .contact-highlight-card,
  .contact-support-grid article {
    border-radius: 20px;
  }

  .contact-info-list a,
  .contact-info-list div {
    grid-template-columns: 40px 1fr;
  }

  .contact-final-cta {
    flex-direction: column;
    align-items: stretch;
    margin-top: 56px;
    margin-bottom: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-contact-reveal],
  .contact-hero-panel[data-contact-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Communication articles from the legacy IDVLabs site */
#comunicacao .content-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

#comunicacao .content-card {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr;
  gap: 0;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(18, 35, 75, 0.1);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(20, 31, 86, 0.06);
  backdrop-filter: none;
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 260ms ease;
}

#comunicacao .content-card > div {
  display: grid;
  grid-template-rows: auto minmax(88px, 1fr) 36px;
  min-height: 168px;
  padding: 16px;
}

#comunicacao .content-card span {
  grid-row: 1;
  align-self: start;
  margin-bottom: 8px;
  padding: 4px 8px;
  font-size: 0.6rem;
}

#comunicacao .content-card h3 {
  grid-row: 2;
  align-self: start;
  margin: 0;
  color: #101a45;
  font-size: clamp(0.92rem, 1vw, 1.05rem);
  line-height: 1.25;
}

#comunicacao .content-card a {
  grid-row: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: end;
  width: max-content;
  min-height: 36px;
  margin-top: 0;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #8138ff 0%, #e21bb7 52%, #178bff 100%);
  box-shadow: 0 12px 26px rgba(129, 56, 255, 0.24);
  font-size: 0.78rem;
  font-weight: 950;
  text-decoration: none;
  transition:
    box-shadow 240ms ease,
    filter 240ms ease,
    transform 240ms ease;
}

#comunicacao .content-card.no-link > div::after {
  grid-row: 3;
  content: "";
  display: block;
  min-height: 36px;
}

#comunicacao .content-card a svg {
  width: 15px;
  height: 15px;
}

#comunicacao .thumb {
  min-height: 0;
  border-radius: 0;
  aspect-ratio: 16 / 9;
}

#comunicacao .article-thumb::before {
  display: none;
}

#comunicacao .article-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 320ms ease;
}

@media (hover: hover) and (pointer: fine) {
  #comunicacao .content-card:hover {
    border-color: rgba(129, 56, 255, 0.2);
    box-shadow: 0 20px 46px rgba(16, 26, 69, 0.1);
    transform: translateY(-3px);
  }

  #comunicacao .content-card:hover .article-thumb img {
    transform: scale(1.045);
  }

  #comunicacao .content-card a:hover {
    box-shadow: 0 16px 34px rgba(129, 56, 255, 0.32);
    filter: saturate(1.1) brightness(1.04);
    transform: translateY(-2px);
  }
}

@media (max-width: 1100px) {
  #comunicacao .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  #comunicacao .content-grid {
    grid-template-columns: 1fr;
  }

  #comunicacao .content-card > div {
    grid-template-rows: auto auto auto;
    min-height: 0;
    padding: 18px;
  }

  #comunicacao .content-card.no-link > div::after {
    display: none;
  }
}

/* Footer logo transparent lock */
.footer .footer-brand .logo,
.footer .footer-brand .logo img {
  background: transparent;
}

.footer .footer-brand .logo {
  padding: 0;
  border: 0;
  box-shadow: none;
}

.footer .footer-brand .logo img {
  height: auto;
  object-fit: contain;
}

/* Header logo matches footer logo asset and proportions */
header.topbar .logo,
header.topbar .reference-logo {
  width: 142px;
  min-width: 142px;
  background: transparent;
}

header.topbar .logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
}

/* Web Summit event final alignment */
.event-banner {
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr) auto !important;
  grid-template-areas:
    "logo copy action"
    "meta meta action" !important;
  row-gap: 24px !important;
  align-items: center !important;
}

.event-logo {
  grid-area: logo;
}

.event-banner p {
  grid-area: copy;
}

.event-banner .button {
  grid-area: action;
}

.event-meta {
  grid-area: meta;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 18px 42px !important;
  min-width: 0;
}

.event-meta span {
  min-width: 0;
}

@media (max-width: 980px) {
  .event-banner {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "logo"
      "meta"
      "copy"
      "action" !important;
    padding-bottom: 38px !important;
  }

  .event-banner .button {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .event-banner {
    padding: 28px 24px !important;
  }

  .event-meta {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
}

/* Web Summit event final alignment */
.event-banner {
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr) auto;
  grid-template-areas:
    "logo copy action"
    "meta meta action";
  row-gap: 24px;
  align-items: center;
}

.event-logo {
  grid-area: logo;
}

.event-banner p {
  grid-area: copy;
}

.event-banner .button {
  grid-area: action;
}

.event-meta {
  grid-area: meta;
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 42px;
  min-width: 0;
}

.event-meta span {
  min-width: 0;
}

@media (max-width: 980px) {
  .event-banner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "meta"
      "copy"
      "action";
    padding-bottom: 38px;
  }

  .event-banner .button {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .event-banner {
    padding: 28px 24px;
  }

  .event-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Animated metrics bar */
.metric-shell[data-metrics] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 600ms ease,
    transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.metric-shell[data-metrics].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.metric-shell[data-metrics] .metric-bar {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 118px;
  overflow: hidden;
  border: 1px solid rgba(16, 32, 68, 0.09);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 58px rgba(15, 25, 70, 0.14);
}

.metric-shell[data-metrics] .metric-bar article {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-width: 0;
  padding: 28px 22px;
  border-right: 0;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 520ms ease,
    transform 520ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 250ms ease,
    box-shadow 250ms ease;
  transition-delay: var(--metric-delay, 0ms), var(--metric-delay, 0ms), 0ms, 0ms;
}

.metric-shell[data-metrics] .metric-bar article > div {
  width: 100%;
  min-width: 0;
}

.metric-shell[data-metrics].is-visible .metric-bar article {
  opacity: 1;
  transform: translateY(0);
}

.metric-shell[data-metrics] .metric-bar article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 24px;
  right: 0;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(16, 32, 68, 0.13),
    transparent
  );
  pointer-events: none;
}

.metric-shell[data-metrics] .metric-bar article > i,
.metric-shell[data-metrics] .metric-bar article > svg {
  flex: 0 0 auto;
  transform: scale(0.9);
  transition:
    transform 250ms ease,
    filter 250ms ease,
    box-shadow 250ms ease;
}

.metric-shell[data-metrics].is-visible .metric-bar article > i,
.metric-shell[data-metrics].is-visible .metric-bar article > svg {
  transform: scale(1);
}

.metric-shell[data-metrics] .metric-bar strong {
  display: block;
  color: #b11c8d;
  background: linear-gradient(135deg, #8138ff 0%, #e21bb7 58%, #178bff 100%);
  background-clip: text;
  font-size: clamp(2.15rem, 3.4vw, 3.25rem);
  font-weight: 950;
  line-height: 0.95;
  letter-spacing: 0;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition:
    filter 250ms ease,
    transform 250ms ease;
}

.metric-shell[data-metrics] .metric-bar span {
  display: block;
  max-width: 15ch;
  margin: 12px auto 0;
  color: #102044;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {
  .metric-shell[data-metrics].is-visible .metric-bar article:hover {
    background: linear-gradient(135deg, rgba(23, 139, 255, 0.08), rgba(177, 28, 141, 0.07));
    box-shadow: 0 18px 42px rgba(16, 26, 69, 0.12);
    transform: translateY(-3px);
    transition-delay: 0ms;
  }

  .metric-shell[data-metrics].is-visible .metric-bar article:hover > i,
  .metric-shell[data-metrics].is-visible .metric-bar article:hover > svg {
    filter: brightness(1.07);
    box-shadow: 0 12px 24px rgba(23, 139, 255, 0.22);
    transform: scale(1.06);
  }

  .metric-shell[data-metrics].is-visible .metric-bar article:hover strong {
    filter: saturate(1.12) brightness(1.03);
    transform: scale(1.04);
  }
}

@media (max-width: 980px) {
  .metric-shell[data-metrics] .metric-bar {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .metric-shell[data-metrics] .metric-bar article:not(:last-child)::after {
    display: none;
  }
}

@media (max-width: 720px) {
  .metric-shell[data-metrics] .metric-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metric-shell[data-metrics] .metric-bar article {
    padding: 24px 14px;
  }

  .metric-shell[data-metrics] .metric-bar article:last-child {
    grid-column: 1 / -1;
  }

  .metric-shell[data-metrics] .metric-bar strong {
    font-size: clamp(2rem, 11vw, 2.65rem);
  }

  .metric-shell[data-metrics] .metric-bar span {
    max-width: 18ch;
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-video {
    animation: none;
  }

  .metric-shell[data-metrics],
  .metric-shell[data-metrics] .metric-bar article,
  .metric-shell[data-metrics] .metric-bar article > i,
  .metric-shell[data-metrics] .metric-bar article > svg,
  .metric-shell[data-metrics] .metric-bar strong {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Web Summit event final alignment */
.event-banner {
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr) auto;
  grid-template-areas:
    "logo copy action"
    "meta meta action";
  row-gap: 24px;
  align-items: center;
}

.event-logo {
  grid-area: logo;
}

.event-banner p {
  grid-area: copy;
}

.event-banner .button {
  grid-area: action;
}

.event-meta {
  grid-area: meta;
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 42px;
  min-width: 0;
}

.event-meta span {
  min-width: 0;
}

@media (max-width: 980px) {
  .event-banner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "meta"
      "copy"
      "action";
    padding-bottom: 38px;
  }

  .event-banner .button {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .event-banner {
    padding: 28px 24px;
  }

  .event-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Web Summit event alignment */
.event-banner {
  grid-template-columns: minmax(260px, 0.72fr) minmax(320px, 1fr) auto;
  grid-template-areas:
    "logo copy action"
    "meta meta action";
  row-gap: 24px;
  align-items: center;
}

.event-logo {
  grid-area: logo;
}

.event-banner p {
  grid-area: copy;
}

.event-banner .button {
  grid-area: action;
}

.event-meta {
  grid-area: meta;
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 42px;
  min-width: 0;
}

.event-meta span {
  min-width: 0;
}

@media (max-width: 980px) {
  .event-banner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logo"
      "meta"
      "copy"
      "action";
    padding-bottom: 38px;
  }

  .event-banner .button {
    justify-self: start;
  }
}

@media (max-width: 720px) {
  .event-banner {
    padding: 28px 24px;
  }

  .event-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Official footer logo */
.footer-brand .logo {
  width: 156px;
  min-width: 0;
}

.footer-brand .logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

@media (max-width: 720px) {
  .footer-brand .logo {
    width: 148px;
  }
}

/* Home pillars section */
.pillars {
  width: min(1220px, calc(100% - 72px));
  max-width: 1220px;
  margin: 0 auto;
  padding: 72px 0 58px;
  color: #102044;
  background: transparent;
}

.pillars .section-head {
  margin-bottom: 30px;
}

.pillars .section-head.two-columns {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.74fr);
  align-items: end;
  gap: 54px;
}

.pillars .kicker {
  color: #165fc7;
}

.pillars h2 {
  color: #08184a;
  font-size: clamp(2.25rem, 4vw, 3.8rem);
}

.pillars .head-side {
  justify-items: end;
}

.pillars .head-side p {
  max-width: 480px;
  margin: 0;
  color: #5d6886;
  font-size: 1rem;
  line-height: 1.55;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.pillar-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 30px;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(23, 139, 255, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.95));
  box-shadow: 0 22px 58px rgba(16, 26, 69, 0.1);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.pillar-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #8138ff, #178bff);
}

.pillar-card:nth-child(2)::before {
  background: linear-gradient(90deg, #e21bb7, #8138ff);
}

.pillar-card:nth-child(3)::before {
  background: linear-gradient(90deg, #27d7ff, #178bff);
}

.pillar-card:nth-child(4)::before {
  background: linear-gradient(90deg, #15c47e, #27d7ff);
}

.pillar-card:hover {
  transform: translateY(-5px);
  border-color: rgba(23, 139, 255, 0.28);
  box-shadow: 0 30px 76px rgba(16, 26, 69, 0.15);
}

.pillar-card > i,
.pillar-card > svg {
  width: 50px;
  height: 50px;
  margin-bottom: 26px;
  padding: 12px;
  flex: 0 0 auto;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #8138ff, #178bff);
  box-shadow: 0 14px 30px rgba(23, 139, 255, 0.22);
}

.pillar-card:nth-child(2) > i,
.pillar-card:nth-child(2) > svg {
  background: linear-gradient(135deg, #e21bb7, #8138ff);
  box-shadow: 0 14px 30px rgba(226, 27, 183, 0.18);
}

.pillar-card:nth-child(3) > i,
.pillar-card:nth-child(3) > svg {
  background: linear-gradient(135deg, #27d7ff, #178bff);
}

.pillar-card:nth-child(4) > i,
.pillar-card:nth-child(4) > svg {
  background: linear-gradient(135deg, #15c47e, #27d7ff);
}

.pillar-card h3 {
  margin: 0 0 14px;
  color: #101a45;
  font-size: 1.16rem;
  line-height: 1.22;
}

.pillar-card p {
  margin: 0;
  color: #5d6886;
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (max-width: 1100px) {
  .pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pillar-card {
    min-height: 280px;
  }
}

@media (max-width: 720px) {
  .pillars {
    width: calc(100% - 32px);
    padding: 56px 0 42px;
  }

  .pillars .section-head.two-columns,
  .pillar-grid {
    grid-template-columns: 1fr;
  }

  .pillars .section-head.two-columns {
    gap: 18px;
  }

  .pillars .head-side {
    justify-items: start;
  }

  .pillars .head-side p {
    max-width: none;
  }

  .pillar-card {
    min-height: auto;
    padding: 26px;
  }
}

/* Official footer logo */
.footer-brand .logo {
  width: 156px;
  min-width: 0;
}

.footer-brand .logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

@media (max-width: 720px) {
  .footer-brand .logo {
    width: 148px;
  }
}

/* Final home course layout */
.why-program {
  display: block;
  width: min(1220px, calc(100% - 72px));
  max-width: 1220px;
  margin: 0 auto;
  padding: 72px 0;
  background: transparent;
}

.featured-program {
  width: 100%;
  min-height: 560px;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.8fr);
  gap: 54px;
  border-radius: 18px;
}

.featured-content {
  max-width: 660px;
  padding: 64px;
}

.featured-content h2 {
  font-size: clamp(2.35rem, 4vw, 4rem);
}

.course-poster {
  margin: 0 56px 0 0;
}

.course-poster img {
  width: min(500px, 100%);
  height: auto;
}

@media (max-width: 980px) {
  .why-program {
    width: min(100% - 40px, 1220px);
    padding: 56px 0;
  }

  .featured-program {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .course-poster {
    margin: 0 32px 36px;
  }

  .course-poster img {
    width: min(520px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .why-program {
    width: calc(100% - 32px);
    padding: 48px 0;
  }

  .featured-content {
    padding: 32px 24px;
  }

  .course-poster {
    margin: 0 24px 28px;
  }
}

/* Final services impact polish */
.services-page .impact-section {
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 26px;
  align-items: stretch;
  margin: 62px auto 78px;
  padding: 28px;
  border: 1px solid rgba(23, 139, 255, 0.18);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(23, 139, 255, 0.13), transparent 30%),
    linear-gradient(315deg, rgba(226, 27, 183, 0.14), transparent 34%),
    #ffffff;
  box-shadow: 0 30px 86px rgba(16, 26, 69, 0.12);
}

.services-page .impact-copy,
.services-page .impact-section > div:first-child {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 36px;
  border-radius: 24px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(39, 215, 255, 0.22), transparent 35%),
    linear-gradient(315deg, rgba(226, 27, 183, 0.24), transparent 38%),
    linear-gradient(145deg, #061037 0%, #082374 58%, #5b1680 100%);
  box-shadow: 0 26px 66px rgba(6, 16, 55, 0.26);
  overflow: hidden;
}

.services-page .impact-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.55), transparent 72%);
  pointer-events: none;
}

.services-page .impact-copy > * {
  position: relative;
  z-index: 1;
}

.services-page .impact-copy h2,
.services-page .impact-copy .kicker {
  color: #ffffff;
}

.services-page .impact-lead {
  max-width: 520px;
  margin: 18px 0 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.55;
}

.services-page .impact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.services-page .impact-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 900;
}

.services-page .impact-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.services-page .impact-list article {
  --impact-a: #8138ff;
  --impact-b: #178bff;
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 10px 14px;
  min-height: 148px;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--impact-a) 18%, rgba(16, 32, 68, 0.1));
  border-radius: 20px;
  color: #102044;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--impact-a) 12%, #ffffff 88%), #ffffff 56%),
    #ffffff;
  box-shadow: 0 20px 50px rgba(16, 26, 69, 0.09);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.services-page .impact-list article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--impact-a), var(--impact-b));
}

.services-page .impact-list article:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--impact-a) 34%, rgba(16, 32, 68, 0.1));
  box-shadow: 0 28px 70px rgba(16, 26, 69, 0.14);
}

.services-page .impact-list article:nth-child(2) {
  --impact-a: #178bff;
  --impact-b: #27d7ff;
}

.services-page .impact-list article:nth-child(3) {
  --impact-a: #15c47e;
  --impact-b: #27d7ff;
}

.services-page .impact-list article:nth-child(4) {
  --impact-a: #e21bb7;
  --impact-b: #8138ff;
}

.services-page .impact-list article:nth-child(5) {
  --impact-a: #f59e0b;
  --impact-b: #e21bb7;
}

.services-page .impact-list article:nth-child(6) {
  --impact-a: #27d7ff;
  --impact-b: #178bff;
}

.services-page .impact-list article > svg {
  grid-row: span 2;
  width: 50px;
  height: 50px;
  padding: 12px;
  border-radius: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--impact-a), var(--impact-b));
  box-shadow: 0 16px 32px color-mix(in srgb, var(--impact-a) 22%, transparent);
}

.services-page .impact-list strong {
  align-self: end;
  color: #08184a;
  font-size: 1rem;
  line-height: 1.18;
}

.services-page .impact-list small {
  color: #5d6886;
  font-size: 0.86rem;
  line-height: 1.42;
}

@media (max-width: 980px) {
  .services-page .impact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .services-page .impact-section {
    width: calc(100% - 32px);
    padding: 18px;
    border-radius: 24px;
  }

  .services-page .impact-copy,
  .services-page .impact-section > div:first-child {
    padding: 28px 22px;
  }

  .services-page .impact-list {
    grid-template-columns: 1fr;
  }

  .services-page .impact-list article {
    min-height: auto;
  }
}

/* Final services impact polish */
.services-page .impact-section {
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 26px;
  align-items: stretch;
  margin: 62px auto 78px;
  padding: 28px;
  border: 1px solid rgba(23, 139, 255, 0.18);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(23, 139, 255, 0.13), transparent 30%),
    linear-gradient(315deg, rgba(226, 27, 183, 0.14), transparent 34%),
    #ffffff;
  box-shadow: 0 30px 86px rgba(16, 26, 69, 0.12);
}

.services-page .impact-copy,
.services-page .impact-section > div:first-child {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 36px;
  border-radius: 24px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(39, 215, 255, 0.22), transparent 35%),
    linear-gradient(315deg, rgba(226, 27, 183, 0.24), transparent 38%),
    linear-gradient(145deg, #061037 0%, #082374 58%, #5b1680 100%);
  box-shadow: 0 26px 66px rgba(6, 16, 55, 0.26);
  overflow: hidden;
}

.services-page .impact-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.55), transparent 72%);
  pointer-events: none;
}

.services-page .impact-copy > * {
  position: relative;
  z-index: 1;
}

.services-page .impact-copy h2,
.services-page .impact-copy .kicker {
  color: #ffffff;
}

.services-page .impact-lead {
  max-width: 520px;
  margin: 18px 0 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.55;
}

.services-page .impact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.services-page .impact-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 900;
}

.services-page .impact-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.services-page .impact-list article {
  --impact-a: #8138ff;
  --impact-b: #178bff;
  position: relative;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 10px 14px;
  min-height: 148px;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--impact-a) 18%, rgba(16, 32, 68, 0.1));
  border-radius: 20px;
  color: #102044;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--impact-a) 12%, #ffffff 88%), #ffffff 56%),
    #ffffff;
  box-shadow: 0 20px 50px rgba(16, 26, 69, 0.09);
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.services-page .impact-list article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--impact-a), var(--impact-b));
}

.services-page .impact-list article:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--impact-a) 34%, rgba(16, 32, 68, 0.1));
  box-shadow: 0 28px 70px rgba(16, 26, 69, 0.14);
}

.services-page .impact-list article:nth-child(2) {
  --impact-a: #178bff;
  --impact-b: #27d7ff;
}

.services-page .impact-list article:nth-child(3) {
  --impact-a: #15c47e;
  --impact-b: #27d7ff;
}

.services-page .impact-list article:nth-child(4) {
  --impact-a: #e21bb7;
  --impact-b: #8138ff;
}

.services-page .impact-list article:nth-child(5) {
  --impact-a: #f59e0b;
  --impact-b: #e21bb7;
}

.services-page .impact-list article:nth-child(6) {
  --impact-a: #27d7ff;
  --impact-b: #178bff;
}

.services-page .impact-list article > svg {
  grid-row: span 2;
  width: 50px;
  height: 50px;
  padding: 12px;
  border-radius: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--impact-a), var(--impact-b));
  box-shadow: 0 16px 32px color-mix(in srgb, var(--impact-a) 22%, transparent);
}

.services-page .impact-list strong {
  align-self: end;
  color: #08184a;
  font-size: 1rem;
  line-height: 1.18;
}

.services-page .impact-list small {
  color: #5d6886;
  font-size: 0.86rem;
  line-height: 1.42;
}

@media (max-width: 980px) {
  .services-page .impact-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .services-page .impact-section {
    width: calc(100% - 32px);
    padding: 18px;
    border-radius: 24px;
  }

  .services-page .impact-copy,
  .services-page .impact-section > div:first-child {
    padding: 28px 22px;
  }

  .services-page .impact-list {
    grid-template-columns: 1fr;
  }

  .services-page .impact-list article {
    min-height: auto;
  }
}

/* Final services heading alignment */
.services-page .services-main .section-head.two-columns {
  display: block;
  width: 100%;
  max-width: none;
  margin-bottom: 38px;
}

.services-page .services-main .head-side {
  width: 100%;
  max-width: none;
  margin-top: 16px;
  justify-items: start;
}

.services-page .services-main .head-side p {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* Services heading alignment */
.services-page .services-main .section-head.two-columns {
  display: block;
  width: 100%;
  max-width: none;
  margin-bottom: 38px;
}

.services-page .services-main .head-side {
  width: 100%;
  max-width: none;
  margin-top: 16px;
  justify-items: start;
}

.services-page .services-main .head-side p {
  width: 100%;
  max-width: none;
  margin: 0;
}

/* Services color boost */
body.services-page {
  color: #102044;
  background:
    radial-gradient(circle at 6% 10%, rgba(39, 215, 255, 0.28), transparent 24%),
    radial-gradient(circle at 94% 7%, rgba(226, 27, 183, 0.26), transparent 25%),
    radial-gradient(circle at 50% 44%, rgba(129, 56, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #f5f9ff 0%, #ffffff 42%, #eef5ff 72%, #fff7fd 100%);
}

.services-page .services-hero {
  position: relative;
  isolation: isolate;
  min-height: 640px;
  margin-top: 22px;
  padding: 74px 54px 68px;
  border: 1px solid rgba(23, 139, 255, 0.16);
  border-radius: 30px;
  background:
    radial-gradient(circle at 84% 18%, rgba(39, 215, 255, 0.26), transparent 29%),
    radial-gradient(circle at 63% 85%, rgba(226, 27, 183, 0.22), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(240, 248, 255, 0.94) 46%, rgba(246, 237, 255, 0.9) 100%);
  box-shadow: 0 34px 96px rgba(16, 26, 69, 0.14);
  overflow: hidden;
}

.services-page .services-hero::before {
  inset: 0;
  height: auto;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(23, 139, 255, 0.18), transparent 34%),
    linear-gradient(300deg, rgba(226, 27, 183, 0.18), transparent 36%);
}

.services-page .services-hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  z-index: -1;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: conic-gradient(from 180deg, rgba(23, 139, 255, 0.24), rgba(226, 27, 183, 0.22), rgba(39, 215, 255, 0.2), rgba(23, 139, 255, 0.24));
  filter: blur(4px);
}

.services-page .services-hero-copy h1 {
  background: linear-gradient(105deg, #071038 0%, #071038 38%, #126ee8 58%, #b01891 78%, #071038 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.services-page .services-hero-copy p {
  color: #455370;
}

.services-page .services-hero-copy .kicker {
  background: linear-gradient(90deg, #b01891, #8138ff 44%, #178bff);
}

.services-page .light-ghost {
  border-color: rgba(129, 56, 255, 0.28);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(129, 56, 255, 0.12);
}

.services-page .service-orbit {
  background:
    radial-gradient(circle at 76% 18%, rgba(39, 215, 255, 0.54), transparent 24%),
    radial-gradient(circle at 20% 74%, rgba(226, 27, 183, 0.54), transparent 28%),
    conic-gradient(from 145deg, #071038, #123f96, #8138ff, #b01891, #061037);
  box-shadow: 0 34px 90px rgba(23, 139, 255, 0.22), 0 18px 58px rgba(176, 24, 145, 0.18);
}

.services-page .visual-card {
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.08));
}

.services-page .visual-card.primary svg {
  background: linear-gradient(135deg, #8138ff, #178bff);
}

.services-page .visual-card.secondary svg {
  background: linear-gradient(135deg, #e21bb7, #8138ff);
}

.services-page .visual-card.tertiary svg {
  background: linear-gradient(135deg, #27d7ff, #15c47e);
}

.services-page .services-main {
  background:
    radial-gradient(circle at 10% 8%, rgba(226, 27, 183, 0.16), transparent 24%),
    radial-gradient(circle at 88% 18%, rgba(23, 139, 255, 0.18), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #f1f7ff 52%, #fff7fd 100%);
}

.services-page .services-main .section-head.two-columns {
  display: block;
  width: 100%;
  max-width: none;
  margin-bottom: 38px;
}

.services-page .services-main .head-side {
  width: 100%;
  max-width: none;
  margin-top: 16px;
}

.services-page .services-main .head-side p {
  margin: 0;
}

.services-page .section-head h2 {
  color: #08184a;
}

.services-page .service-card {
  --accent-a: #8138ff;
  --accent-b: #178bff;
  border-color: rgba(23, 139, 255, 0.16);
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--accent-a) 17%, transparent), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94));
  box-shadow: 0 24px 64px rgba(16, 26, 69, 0.11);
}

.services-page .service-card:nth-child(2) {
  --accent-a: #e21bb7;
  --accent-b: #8138ff;
}

.services-page .service-card:nth-child(3) {
  --accent-a: #27d7ff;
  --accent-b: #178bff;
}

.services-page .service-card:nth-child(4) {
  --accent-a: #15c47e;
  --accent-b: #27d7ff;
}

.services-page .service-card:nth-child(5) {
  --accent-a: #f59e0b;
  --accent-b: #e21bb7;
}

.services-page .service-card::before {
  height: 8px;
  background: linear-gradient(90deg, var(--accent-a), var(--accent-b));
}

.services-page .service-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-a) 14%, transparent);
  pointer-events: none;
}

.services-page .service-card > * {
  position: relative;
  z-index: 1;
}

.services-page .service-card > svg {
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  box-shadow: 0 14px 30px color-mix(in srgb, var(--accent-a) 24%, transparent);
}

.services-page .service-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--accent-a) 36%, rgba(23, 139, 255, 0.18));
  box-shadow: 0 34px 84px rgba(16, 26, 69, 0.16);
}

.services-page .service-text strong,
.services-page .service-card a {
  color: color-mix(in srgb, var(--accent-a) 76%, #0b4c9c 24%);
}

.services-page .work-method {
  background:
    radial-gradient(circle at 14% 20%, rgba(39, 215, 255, 0.22), transparent 27%),
    radial-gradient(circle at 84% 8%, rgba(226, 27, 183, 0.18), transparent 26%),
    linear-gradient(135deg, #eef8ff 0%, #ffffff 48%, #f8f1ff 100%);
}

.services-page .method-steps article {
  border-color: rgba(129, 56, 255, 0.13);
  background:
    radial-gradient(circle at 100% 100%, rgba(23, 139, 255, 0.14), transparent 35%),
    rgba(255, 255, 255, 0.9);
}

.services-page .method-steps article:nth-child(2) {
  background:
    radial-gradient(circle at 100% 100%, rgba(226, 27, 183, 0.15), transparent 35%),
    rgba(255, 255, 255, 0.9);
}

.services-page .method-steps article:nth-child(3) {
  background:
    radial-gradient(circle at 100% 100%, rgba(21, 196, 126, 0.16), transparent 35%),
    rgba(255, 255, 255, 0.9);
}

.services-page .method-steps article:nth-child(4) {
  background:
    radial-gradient(circle at 100% 100%, rgba(245, 158, 11, 0.18), transparent 35%),
    rgba(255, 255, 255, 0.9);
}

.services-page .method-steps span {
  box-shadow: 0 12px 28px rgba(23, 139, 255, 0.18);
}

.services-page .method-steps article:nth-child(2) span {
  background: linear-gradient(135deg, #e21bb7, #8138ff);
}

.services-page .method-steps article:nth-child(3) span {
  background: linear-gradient(135deg, #15c47e, #27d7ff);
}

.services-page .method-steps article:nth-child(4) span {
  background: linear-gradient(135deg, #f59e0b, #e21bb7);
}

.services-page .impact-section {
  margin: 62px auto 74px;
  padding: 54px;
  border: 1px solid rgba(23, 139, 255, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 14%, rgba(23, 139, 255, 0.2), transparent 28%),
    radial-gradient(circle at 92% 80%, rgba(226, 27, 183, 0.2), transparent 26%),
    linear-gradient(135deg, #f7fbff 0%, #ffffff 45%, #f7efff 100%);
  box-shadow: 0 30px 82px rgba(16, 26, 69, 0.11);
}

.services-page .impact-list span {
  border-color: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 46px rgba(16, 26, 69, 0.09);
}

.services-page .impact-list span svg {
  color: #ffffff;
  padding: 3px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8138ff, #178bff);
}

.services-page .impact-list span:nth-child(2) svg {
  background: linear-gradient(135deg, #178bff, #27d7ff);
}

.services-page .impact-list span:nth-child(3) svg {
  background: linear-gradient(135deg, #15c47e, #27d7ff);
}

.services-page .impact-list span:nth-child(4) svg {
  background: linear-gradient(135deg, #e21bb7, #8138ff);
}

.services-page .impact-list span:nth-child(5) svg {
  background: linear-gradient(135deg, #f59e0b, #e21bb7);
}

.services-page .impact-list span:nth-child(6) svg {
  background: linear-gradient(135deg, #27d7ff, #178bff);
}

.services-page .services-final-cta {
  background:
    radial-gradient(circle at 18% 0%, rgba(39, 215, 255, 0.42), transparent 32%),
    radial-gradient(circle at 83% 20%, rgba(226, 27, 183, 0.38), transparent 34%),
    linear-gradient(110deg, #061037 0%, #082374 54%, #5b1680 100%);
}

@media (max-width: 720px) {
  .services-page .services-hero,
  .services-page .impact-section {
    width: calc(100% - 32px);
    padding: 44px 22px;
    border-radius: 22px;
  }

  .services-page .services-visual {
    min-height: 360px;
  }
}

/* Services page */
.services-page {
  color: #102044;
  background:
    radial-gradient(circle at 92% 0%, rgba(226, 27, 183, 0.22), transparent 26%),
    radial-gradient(circle at 10% 12%, rgba(23, 139, 255, 0.2), transparent 28%),
    radial-gradient(circle at 78% 52%, rgba(39, 215, 255, 0.14), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 36%, #eef4fb 100%);
}

.services-page main {
  padding-top: 86px;
}

.services-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.78fr);
  gap: 56px;
  align-items: center;
  width: min(1220px, calc(100% - 72px));
  min-height: 650px;
  margin: 0 auto;
  padding: 86px 0 76px;
}

.services-hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 84px;
  height: 560px;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(23, 139, 255, 0.1), transparent 32%),
    linear-gradient(300deg, rgba(226, 27, 183, 0.1), transparent 34%);
  pointer-events: none;
}

.services-hero-copy h1 {
  max-width: 820px;
  margin: 0;
  color: #101a45;
  font-size: clamp(3rem, 5.25vw, 5.55rem);
  line-height: 0.96;
}

.services-hero-copy p {
  max-width: 720px;
  margin: 24px 0 0;
  color: #5d6886;
  font-size: 1.1rem;
}

.services-hero-copy .kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--pink), var(--blue));
  box-shadow: 0 14px 30px rgba(23, 139, 255, 0.18);
}

.services-visual {
  position: relative;
  min-height: 430px;
}

.service-orbit {
  position: absolute;
  inset: 24px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 70% 24%, rgba(129, 56, 255, 0.28), transparent 28%),
    radial-gradient(circle at 26% 70%, rgba(23, 139, 255, 0.3), transparent 34%),
    linear-gradient(135deg, #08123d, #12347b 48%, #6d1e88);
  box-shadow: 0 34px 90px rgba(16, 26, 69, 0.22);
}

.service-orbit::before,
.service-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.service-orbit::before {
  inset: 52px;
}

.service-orbit::after {
  inset: 104px;
}

.visual-card {
  position: absolute;
  z-index: 1;
  display: grid;
  gap: 6px;
  width: 235px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.visual-card.primary {
  top: 46px;
  left: 0;
}

.visual-card.secondary {
  top: 168px;
  right: 0;
}

.visual-card.tertiary {
  left: 58px;
  bottom: 34px;
}

.visual-card svg {
  width: 38px;
  height: 38px;
  margin-bottom: 8px;
  padding: 8px;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--purple), var(--blue));
}

.visual-card strong {
  font-size: 1.1rem;
}

.visual-card span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.services-main {
  width: 100%;
  max-width: none;
  padding: 82px max(20px, calc((100vw - 1220px) / 2));
  background:
    radial-gradient(circle at 8% 10%, rgba(226, 27, 183, 0.08), transparent 24%),
    radial-gradient(circle at 92% 18%, rgba(23, 139, 255, 0.09), transparent 24%),
    #ffffff;
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  padding: 30px;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94));
  box-shadow: 0 22px 60px rgba(16, 26, 69, 0.1);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--purple), var(--blue));
}

.service-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--pink), var(--purple));
}

.service-card:nth-child(3)::before {
  background: linear-gradient(90deg, #27d7ff, #178bff);
}

.service-card:nth-child(4)::before {
  background: linear-gradient(90deg, #15c47e, #27d7ff);
}

.service-card:nth-child(5)::before {
  background: linear-gradient(90deg, #f59e0b, var(--pink));
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 139, 255, 0.28);
  box-shadow: 0 30px 76px rgba(16, 26, 69, 0.15);
}

.service-card.wide {
  grid-column: 1 / -1;
  min-height: 330px;
}

.service-card > svg {
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  padding: 10px;
  border-radius: 13px;
  color: #ffffff;
  background: linear-gradient(135deg, #8138ff, #178bff);
}

.service-card:nth-child(2) > svg {
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

.service-card:nth-child(3) > svg {
  background: linear-gradient(135deg, #27d7ff, #178bff);
}

.service-card:nth-child(4) > svg {
  background: linear-gradient(135deg, #15c47e, #27d7ff);
}

.service-card:nth-child(5) > svg {
  background: linear-gradient(135deg, #f59e0b, var(--pink));
}

.service-card h3 {
  margin-bottom: 20px;
  color: #101a45;
  font-size: 1.55rem;
}

.service-text {
  margin-bottom: 18px;
}

.service-text strong {
  display: block;
  margin-bottom: 6px;
  color: #165fc7;
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.service-text p {
  margin: 0;
  color: #5d6886;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: #165fc7;
  font-weight: 1000;
}

.service-card a svg {
  width: 16px;
  height: 16px;
}

.work-method {
  width: 100%;
  max-width: none;
  padding: 82px max(20px, calc((100vw - 1220px) / 2));
  background:
    radial-gradient(circle at 12% 20%, rgba(23, 139, 255, 0.12), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(226, 27, 183, 0.1), transparent 28%),
    linear-gradient(180deg, #eef6ff, #ffffff);
}

.method-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.method-steps article {
  position: relative;
  min-height: 220px;
  padding: 26px;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 52px rgba(16, 26, 69, 0.08);
  overflow: hidden;
}

.method-steps article::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -32px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: rgba(23, 139, 255, 0.1);
}

.method-steps article:nth-child(2)::after {
  background: rgba(226, 27, 183, 0.1);
}

.method-steps article:nth-child(3)::after {
  background: rgba(21, 196, 126, 0.12);
}

.method-steps article:nth-child(4)::after {
  background: rgba(245, 158, 11, 0.14);
}

.method-steps span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  font-weight: 1000;
}

.method-steps h3,
.impact-section h2 {
  color: #101a45;
}

.method-steps p {
  color: #5d6886;
}

.impact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  gap: 46px;
  align-items: center;
  width: min(1220px, calc(100% - 72px));
  padding: 82px 0;
}

.impact-section > div:first-child {
  padding: 34px;
  border-radius: 22px;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 0%, rgba(226, 27, 183, 0.38), transparent 34%),
    linear-gradient(135deg, #071038, #12347b 58%, #6d1e88);
  box-shadow: 0 28px 76px rgba(16, 26, 69, 0.2);
}

.impact-section > div:first-child h2,
.impact-section > div:first-child .kicker {
  color: #ffffff;
}

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

.impact-list span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 16px 18px;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 14px;
  color: #102044;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(16, 26, 69, 0.08);
  font-weight: 900;
}

.impact-list span:nth-child(1) {
  border-color: rgba(226, 27, 183, 0.18);
  background: linear-gradient(135deg, #ffffff, #fff2fb);
}

.impact-list span:nth-child(2) {
  border-color: rgba(23, 139, 255, 0.18);
  background: linear-gradient(135deg, #ffffff, #eef7ff);
}

.impact-list span:nth-child(3) {
  border-color: rgba(21, 196, 126, 0.2);
  background: linear-gradient(135deg, #ffffff, #effcf7);
}

.impact-list span:nth-child(4) {
  border-color: rgba(129, 56, 255, 0.18);
  background: linear-gradient(135deg, #ffffff, #f5f0ff);
}

.impact-list span:nth-child(5) {
  border-color: rgba(245, 158, 11, 0.2);
  background: linear-gradient(135deg, #ffffff, #fff8eb);
}

.impact-list span:nth-child(6) {
  border-color: rgba(39, 215, 255, 0.2);
  background: linear-gradient(135deg, #ffffff, #ecfbff);
}

.impact-list svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: #178bff;
}

.services-final-cta {
  background:
    radial-gradient(circle at 22% 10%, rgba(23, 139, 255, 0.36), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(226, 27, 183, 0.24), transparent 34%),
    linear-gradient(90deg, #071038, #081b57);
}

.services-final-cta h2 {
  color: #ffffff;
}

.services-final-cta p {
  color: rgba(255, 255, 255, 0.76);
}

@media (max-width: 980px) {
  .services-hero,
  .impact-section {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .method-steps,
  .impact-list {
    grid-template-columns: 1fr;
  }

  .service-card.wide {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .services-page main {
    padding-top: 82px;
  }

  .services-hero,
  .impact-section {
    width: calc(100% - 32px);
  }

  .services-hero {
    padding: 58px 0 54px;
  }

  .services-hero-copy h1 {
    font-size: clamp(2.35rem, 10vw, 3.45rem);
  }

  .services-visual {
    min-height: 360px;
  }

  .visual-card {
    width: 210px;
  }

  .visual-card.secondary {
    right: 0;
  }

  .visual-card.tertiary {
    left: 18px;
  }

  .service-card {
    min-height: auto;
    padding: 24px;
  }
}

/* Services hero premium refresh */
.services-page .services-hero {
  position: relative;
  isolation: isolate;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.84fr);
  gap: clamp(34px, 5vw, 64px);
  min-height: auto;
  margin: 28px auto 0;
  padding: clamp(48px, 6vw, 70px) clamp(28px, 4.5vw, 56px);
  border: 1px solid rgba(23, 139, 255, 0.14);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(243, 249, 255, 0.96) 48%, rgba(252, 246, 255, 0.94) 100%);
  box-shadow: 0 30px 86px rgba(16, 26, 69, 0.12);
  overflow: hidden;
}

.services-page .services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(23, 139, 255, 0.13), transparent 36%),
    linear-gradient(300deg, rgba(226, 27, 183, 0.11), transparent 38%);
  pointer-events: none;
}

.services-page .services-hero::after {
  content: "";
  position: absolute;
  right: -18%;
  top: -22%;
  z-index: -1;
  width: 54%;
  height: 62%;
  border-radius: 42% 0 0 58%;
  background: linear-gradient(135deg, rgba(23, 139, 255, 0.12), rgba(226, 27, 183, 0.1));
  transform: rotate(-8deg);
}

.services-page .services-hero-copy {
  position: relative;
  z-index: 1;
}

.services-page .services-hero-copy h1 {
  max-width: 680px;
  margin: 0;
  background: none;
  color: #101a45;
  font-size: clamp(2.65rem, 4.45vw, 4.55rem);
  line-height: 1.02;
}

.services-page .services-hero-copy h1 .title-gradient {
  background: linear-gradient(105deg, #126ee8 0%, #8138ff 45%, #b01891 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.services-page .services-hero-copy h1 .title-keep {
  display: inline-block;
  white-space: nowrap;
}

.services-page .services-hero-copy p {
  max-width: 660px;
  margin: 20px 0 0;
  color: #465472;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.68;
}

.services-page .services-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 640px;
  margin-top: 24px;
}

.services-page .services-hero-chips span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(23, 139, 255, 0.16);
  border-radius: 999px;
  color: #152554;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 26px rgba(16, 26, 69, 0.06);
  font-size: 0.86rem;
  font-weight: 850;
  transition:
    border-color 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease;
}

.services-page .services-hero-chips span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #e21bb7, #178bff);
}

.services-page .services-hero .hero-actions {
  margin-top: 28px;
}

.services-page .services-hero .button {
  min-height: 46px;
  padding: 0 18px;
}

.services-page .services-visual {
  position: relative;
  min-height: 0;
}

.services-page .services-visual-panel {
  position: relative;
  display: grid;
  gap: 20px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(145deg, #061037 0%, #0a2367 55%, #541475 100%);
  background-size: 42px 42px, 42px 42px, auto;
  box-shadow: 0 30px 80px rgba(6, 16, 55, 0.26);
  overflow: hidden;
}

.services-page .services-visual-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(39, 215, 255, 0.16), transparent 44%, rgba(226, 27, 183, 0.13));
  pointer-events: none;
}

.services-page .visual-panel-head,
.services-page .visual-card-grid {
  position: relative;
  z-index: 1;
}

.services-page .visual-panel-head {
  display: grid;
  gap: 5px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.services-page .visual-panel-head span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.services-page .visual-panel-head strong {
  color: #ffffff;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.12;
}

.services-page .visual-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.services-page .visual-card,
.services-page .visual-card.primary,
.services-page .visual-card.secondary,
.services-page .visual-card.tertiary,
.services-page .visual-card.quaternary {
  position: relative;
  inset: auto;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  display: grid;
  gap: 7px;
  width: auto;
  min-height: 154px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.085);
  box-shadow: none;
  backdrop-filter: blur(10px);
  transition:
    border-color 260ms ease,
    background 260ms ease,
    transform 260ms ease;
}

.services-page .visual-card svg,
.services-page .visual-card.primary svg,
.services-page .visual-card.secondary svg,
.services-page .visual-card.tertiary svg,
.services-page .visual-card.quaternary svg {
  width: 34px;
  height: 34px;
  margin: 0 0 4px;
  padding: 8px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #8138ff, #178bff);
}

.services-page .visual-card.secondary svg {
  background: linear-gradient(135deg, #e21bb7, #8138ff);
}

.services-page .visual-card.tertiary svg {
  background: linear-gradient(135deg, #178bff, #27d7ff);
}

.services-page .visual-card.quaternary svg {
  background: linear-gradient(135deg, #15c47e, #178bff);
}

.services-page .visual-card strong {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.16;
}

.services-page .visual-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  line-height: 1.35;
}

.services-page .services-hero-copy h1,
.services-page .services-hero-copy p,
.services-page .services-hero-chips span,
.services-page .services-hero .hero-actions,
.services-page .services-visual {
  animation: servicesHeroEnter 840ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.services-page .services-hero-copy p {
  animation-delay: 90ms;
}

.services-page .services-hero-chips span:nth-child(1) {
  animation-delay: 170ms;
}

.services-page .services-hero-chips span:nth-child(2) {
  animation-delay: 240ms;
}

.services-page .services-hero-chips span:nth-child(3) {
  animation-delay: 310ms;
}

.services-page .services-hero-chips span:nth-child(4) {
  animation-delay: 380ms;
}

.services-page .services-hero .hero-actions {
  animation-delay: 460ms;
}

.services-page .services-visual {
  animation-delay: 260ms;
}

@keyframes servicesHeroEnter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (hover: hover) and (pointer: fine) {
  .services-page .services-hero-chips span:hover,
  .services-page .visual-card:hover {
    transform: translateY(-3px);
  }

  .services-page .services-hero-chips span:hover {
    border-color: rgba(129, 56, 255, 0.3);
    box-shadow: 0 16px 34px rgba(16, 26, 69, 0.1);
  }

  .services-page .visual-card:hover {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 980px) {
  .services-page .services-hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .services-page .services-visual {
    width: min(620px, 100%);
  }
}

@media (max-width: 720px) {
  .services-page .services-hero {
    width: calc(100% - 32px);
    margin-top: 18px;
    padding: 42px 20px;
    border-radius: 24px;
  }

  .services-page .services-hero-copy h1 {
    font-size: clamp(2.25rem, 9.4vw, 3.2rem);
  }

  .services-page .services-hero-chips {
    gap: 8px;
  }

  .services-page .services-hero-chips span {
    min-height: 34px;
    font-size: 0.78rem;
  }

  .services-page .visual-card-grid {
    grid-template-columns: 1fr;
  }

  .services-page .visual-card,
  .services-page .visual-card.primary,
  .services-page .visual-card.secondary,
  .services-page .visual-card.tertiary,
  .services-page .visual-card.quaternary {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-page .services-hero-copy h1,
  .services-page .services-hero-copy p,
  .services-page .services-hero-chips span,
  .services-page .services-hero .hero-actions,
  .services-page .services-visual {
    animation: none;
  }
}

/* Final header normalization */
header.topbar,
header.topbar.scrolled,
header.topbar.open,
.about-reference header.topbar,
.about-reference header.topbar.scrolled,
.about-reference header.topbar.open {
  color: #101a45;
  width: min(1220px, calc(100% - 72px));
  min-height: 72px;
  margin-top: 10px;
  padding: 0 18px;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(16, 26, 69, 0.08);
  backdrop-filter: none;
}

header.topbar .logo:not(.reference-logo) {
  width: 142px;
  min-width: 142px;
}

header.topbar .main-nav a {
  color: #101a45;
  opacity: 0.86;
}

header.topbar .main-nav a:hover {
  color: #165fc7;
  opacity: 1;
}

header.topbar .menu-button {
  color: #101a45;
  border-color: rgba(16, 26, 69, 0.18);
  background: rgba(255, 255, 255, 0.78);
}

@media (max-width: 720px) {
  header.topbar,
  header.topbar.scrolled,
  header.topbar.open,
  .about-reference header.topbar,
  .about-reference header.topbar.scrolled,
  .about-reference header.topbar.open {
    width: calc(100% - 32px);
  }
}

body.about-reference {
  background:
    radial-gradient(circle at 92% 0%, rgba(185, 28, 140, 0.12), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #eef4fb 100%);
}

.about-reference .topbar:not(.scrolled):not(.open) {
  color: #101a45;
  width: min(1220px, calc(100% - 72px));
  min-height: 72px;
  margin-top: 10px;
  padding: 0 18px;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(16, 26, 69, 0.08);
  backdrop-filter: none;
}

.about-reference .topbar:not(.scrolled):not(.open) .menu-button {
  color: #101a45;
  border-color: rgba(16, 26, 69, 0.18);
  background: rgba(255, 255, 255, 0.76);
}

.about-reference .topbar:not(.scrolled):not(.open) .header-cta {
  box-shadow: 0 12px 28px rgba(23, 139, 255, 0.18);
}

.about-final-cta {
  background:
    radial-gradient(circle at 22% 10%, rgba(23, 139, 255, 0.36), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(226, 27, 183, 0.24), transparent 34%),
    linear-gradient(90deg, #071038, #081b57);
}

.about-final-cta h2 {
  color: #ffffff;
}

.about-final-cta p {
  color: rgba(255, 255, 255, 0.76);
}

.section.about-final-cta {
  background:
    radial-gradient(circle at 22% 10%, rgba(23, 139, 255, 0.36), transparent 32%),
    radial-gradient(circle at 82% 18%, rgba(226, 27, 183, 0.24), transparent 34%),
    linear-gradient(90deg, #071038, #081b57);
}

/* Institutional page based on the legacy reference */
.reference-logo {
  width: 148px;
  min-width: 148px;
}

.about-reference {
  color: #142044;
  background:
    radial-gradient(circle at 92% 0%, rgba(185, 28, 140, 0.12), transparent 26%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 42%, #eef4fb 100%);
}

.about-reference main {
  padding-top: 108px;
}

.institutional-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
  gap: 54px;
  align-items: center;
  width: min(1220px, calc(100% - 72px));
  min-height: 610px;
  margin: 0 auto;
  padding: 88px 0 70px;
}

.institutional-copy h1 {
  max-width: 820px;
  margin: 0;
  color: #101a45;
  font-size: clamp(3rem, 5.4vw, 5.6rem);
  line-height: 0.96;
}

.institutional-copy p {
  max-width: 690px;
  margin: 24px 0 0;
  color: #5d6886;
  font-size: 1.1rem;
}

.light-ghost {
  color: #101a45;
  border-color: rgba(16, 32, 68, 0.18);
  background: rgba(255, 255, 255, 0.76);
}

.institutional-image {
  position: relative;
  margin: 0;
}

.institutional-image::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(185, 28, 140, 0.16), rgba(23, 139, 255, 0.14));
}

.institutional-image img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(16, 26, 69, 0.18);
}

.institutional-origin {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.45fr);
  gap: 48px;
  align-items: center;
  width: 100%;
  max-width: none;
  padding: 82px max(20px, calc((100vw - 1220px) / 2));
  background: #ffffff;
}

.about-reference .institutional-origin {
  padding-bottom: 48px;
}

.origin-text p:not(.kicker) {
  color: #5d6886;
  font-size: 1.02rem;
}

.davinci-card {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 32px;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #eef5fb);
  box-shadow: 0 22px 60px rgba(16, 26, 69, 0.1);
  text-align: center;
}

.davinci-card img {
  width: 128px;
  height: auto;
}

.davinci-card span {
  color: #165fc7;
  font-size: 0.78rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.davinci-card strong {
  color: #101a45;
  font-size: 1.35rem;
}

.davinci-card p {
  margin: 0;
  color: #5d6886;
}

.institutional-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: min(1220px, calc(100% - 72px));
  margin: -34px auto 0;
  position: relative;
  z-index: 2;
}

.institutional-numbers article {
  padding: 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, #b91c8c, #2563eb);
  box-shadow: 0 20px 55px rgba(37, 99, 235, 0.18);
  color: #ffffff;
  text-align: center;
}

.institutional-numbers strong {
  display: block;
  font-size: 2.7rem;
  line-height: 1;
}

.institutional-numbers span {
  display: block;
  margin-top: 8px;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.mission-grid,
.values-reference,
.timeline-reference {
  color: #142044;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-top: 78px;
}

.mission-grid article,
.values-reference .value-grid article,
.reference-timeline article {
  border: 1px solid rgba(16, 32, 68, 0.1);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 60px rgba(16, 26, 69, 0.08);
}

.mission-grid article {
  padding: 30px;
  border-radius: 16px;
}

.mission-grid svg,
.values-reference .value-grid svg {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  padding: 10px;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #b91c8c, #2563eb);
}

.mission-grid h3,
.values-reference h2,
.values-reference h3,
.timeline-reference h2,
.timeline-reference h3,
.institutional-origin h2 {
  color: #101a45;
}

.mission-grid p,
.values-reference p,
.timeline-reference p {
  color: #5d6886;
}

.mission-section {
  position: relative;
  width: 100%;
  max-width: none;
  overflow: hidden;
  padding: 46px max(20px, calc((100vw - 1220px) / 2)) 66px;
  color: #142044;
  background:
    radial-gradient(circle at 92% 24%, rgba(23, 139, 255, 0.07), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.mission-section::before {
  content: "";
  position: absolute;
  top: 42px;
  left: max(20px, calc((100vw - 1220px) / 2));
  width: 72px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b91c8c 0%, #8138ff 48%, #178bff 100%);
}

.mission-section-head {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-bottom: 32px;
  padding-top: 28px;
}

.mission-section-head h2 {
  max-width: 680px;
  margin: 0 0 12px;
  color: #101a45;
  font-size: clamp(2rem, 3.35vw, 3.05rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.mission-section-head p {
  max-width: 670px;
  margin: 0;
  color: #5d6886;
  font-size: clamp(0.96rem, 1.12vw, 1.04rem);
  line-height: 1.62;
}

.mission-section .mission-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding-top: 0;
}

.mission-section .mission-grid article {
  position: relative;
  min-width: 0;
  min-height: 235px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 0%, rgba(23, 139, 255, 0.07), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94));
  box-shadow:
    0 16px 42px rgba(16, 26, 69, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  transition:
    border-color 280ms ease,
    box-shadow 280ms ease,
    transform 280ms ease;
}

.mission-section .mission-grid article::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #b91c8c 0%, #8138ff 48%, #178bff 100%);
  opacity: 0.85;
}

.mission-section .mission-grid article::after {
  content: "";
  position: absolute;
  right: -46px;
  bottom: -54px;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(185, 28, 140, 0.1), rgba(23, 139, 255, 0.08));
  pointer-events: none;
}

.mission-section .mission-grid svg {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  padding: 10px;
  border-radius: 13px;
  color: #ffffff;
  background: linear-gradient(135deg, #b91c8c 0%, #8138ff 48%, #178bff 100%);
  box-shadow: 0 12px 26px rgba(129, 56, 255, 0.18);
}

.mission-section .mission-grid h3 {
  margin: 0 0 10px;
  color: #101a45;
  font-size: 1.16rem;
  font-weight: 950;
  line-height: 1.28;
}

.mission-section .mission-grid p {
  margin: 0;
  color: #5d6886;
  font-size: 0.95rem;
  line-height: 1.62;
}

@media (hover: hover) and (pointer: fine) {
  .mission-section .mission-grid article:hover {
    border-color: rgba(129, 56, 255, 0.24);
    box-shadow:
      0 24px 56px rgba(16, 26, 69, 0.1),
      0 1px 0 rgba(255, 255, 255, 0.94) inset;
    transform: translateY(-4px);
  }
}

.mission-section.is-animated .mission-section-head,
.mission-section.is-animated .mission-grid article {
  opacity: 0;
  transform: translateY(22px);
}

.mission-section.is-animated .mission-section-head {
  transition:
    opacity 900ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mission-section.is-animated .mission-grid article {
  transition:
    opacity 880ms ease,
    transform 880ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 280ms ease,
    box-shadow 280ms ease;
}

.mission-section.is-animated .mission-grid article:nth-child(2) {
  transition-delay: 120ms, 120ms, 0ms, 0ms;
}

.mission-section.is-animated .mission-grid article:nth-child(3) {
  transition-delay: 240ms, 240ms, 0ms, 0ms;
}

.mission-section.is-animated .mission-section-head.is-visible,
.mission-section.is-animated .mission-grid article.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .mission-section.is-animated .mission-section-head,
  .mission-section.is-animated .mission-grid article {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.values-reference {
  width: 100%;
  max-width: none;
  padding: 82px max(20px, calc((100vw - 1220px) / 2));
  background: linear-gradient(180deg, #f8fbff, #eef4fb);
}

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

.values-reference .value-grid article {
  border-radius: 16px;
}

.timeline-reference {
  width: 100%;
  max-width: none;
  padding: 82px max(20px, calc((100vw - 1220px) / 2));
  background: #ffffff;
}

.reference-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.reference-timeline article {
  position: relative;
  padding: 28px 28px 28px 88px;
  border-radius: 16px;
}

.reference-timeline span {
  position: absolute;
  top: 28px;
  left: 28px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #b91c8c, #2563eb);
  font-weight: 1000;
}

.reference-timeline strong {
  display: block;
  margin-bottom: 8px;
  color: #165fc7;
}

@media (max-width: 980px) {
  .institutional-hero,
  .institutional-origin,
  .values-reference .value-grid,
  .reference-timeline {
    grid-template-columns: 1fr;
  }

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

  .mission-section {
    padding-top: 42px;
    padding-bottom: 58px;
  }

  .mission-section .mission-grid article {
    min-height: 220px;
  }

  .institutional-numbers {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .reference-logo {
    width: 128px;
    min-width: 128px;
  }

  .institutional-hero,
  .institutional-numbers {
    width: calc(100% - 32px);
  }

  .institutional-hero {
    padding: 62px 0 48px;
  }

  .institutional-copy h1 {
    font-size: clamp(2.35rem, 10vw, 3.5rem);
  }

  .mission-section {
    padding: 38px 16px 50px;
  }

  .mission-section::before {
    top: 34px;
    left: 16px;
    width: 62px;
    height: 3px;
  }

  .mission-section-head {
    margin-bottom: 24px;
    padding-top: 24px;
  }

  .mission-section-head h2 {
    font-size: clamp(1.85rem, 8.4vw, 2.42rem);
  }

  .mission-section-head p {
    font-size: 0.94rem;
    line-height: 1.58;
  }

  .mission-section .mission-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .mission-section .mission-grid article {
    min-height: 0;
    padding: 22px;
    border-radius: 16px;
  }

  .mission-section .mission-grid svg {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
  }

  .institutional-numbers {
    grid-template-columns: 1fr;
  }

  .reference-timeline article {
    padding: 78px 24px 24px;
  }
}

/* Balanced light/dark rhythm */
body {
  background:
    linear-gradient(180deg, #030821 0 760px, #f4f7fb 760px 100%);
}

.section,
.trusted,
.content,
.event-section,
.why-program,
.about-story,
.values-section,
.purpose-grid,
.about-stats {
  color: #102044;
}

.metric-bar,
.solution-card,
.content-card,
.about-stats article,
.story-card,
.purpose-grid article,
.value-grid article {
  border-color: rgba(16, 32, 68, 0.1);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 60px rgba(15, 25, 70, 0.11);
  backdrop-filter: blur(10px);
}

.section h2,
.section h3,
.metric-bar strong,
.trusted h2,
.solution-card h3,
.why-list h3,
.content-card h3 {
  color: #101a45;
}

.metric-bar span,
.head-side,
.head-side p,
.solution-card p,
.why-list p,
.content-card div,
.story-copy p:not(.kicker),
.story-card p,
.purpose-grid p,
.value-grid p,
.about-stats span {
  color: #5d6886;
}

.kicker,
.head-side a,
.solution-card a,
.outline-link,
.content-card a {
  color: #165fc7;
}

.solutions,
.content,
.trusted,
.values-section,
.people-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.solution-card,
.content-card,
.value-grid article,
.purpose-grid article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94));
}

.why-program {
  width: 100%;
  max-width: none;
  padding: 72px max(20px, calc((100vw - 1220px) / 2)) 72px;
  background:
    radial-gradient(circle at 18% 20%, rgba(23, 139, 255, 0.1), transparent 26%),
    linear-gradient(180deg, #ffffff, #edf3fb);
}

.trusted {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100vw - 1220px) / 2));
  padding-right: max(20px, calc((100vw - 1220px) / 2));
  background: #f4f7fb;
}

.content {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100vw - 1220px) / 2));
  padding-right: max(20px, calc((100vw - 1220px) / 2));
  background: #f4f7fb;
}

.event-section,
.final-cta,
.featured-program {
  color: #ffffff;
}

.event-section {
  padding-top: 54px;
  padding-bottom: 54px;
}

.final-cta {
  margin-top: 28px;
  margin-bottom: 48px;
}

.client-carousel::before {
  background: linear-gradient(90deg, #f4f7fb, rgba(244, 247, 251, 0));
}

.client-carousel::after {
  background: linear-gradient(270deg, #f4f7fb, rgba(244, 247, 251, 0));
}

.client-image {
  filter: drop-shadow(0 10px 18px rgba(16, 26, 69, 0.12));
}

.client-wordmark small {
  color: #1f72c9;
}

.client-wordmark strong,
.client-wordmark em {
  color: var(--brand);
}

.footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: max(20px, calc((100vw - 1220px) / 2));
  padding-right: max(20px, calc((100vw - 1220px) / 2));
  background: #ffffff;
  color: #102044;
}

.footer-brand p,
.footer-brand small,
.footer-columns a {
  color: #5d6886;
}

.footer-columns h3 {
  color: #165fc7;
}

.about-page {
  background:
    linear-gradient(180deg, #030821 0 620px, #f4f7fb 620px 100%);
}

.about-hero h1,
.about-hero p {
  color: #f7faff;
}

.about-story,
.values-section,
.about-stats,
.purpose-grid {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100vw - 1220px) / 2));
  padding-right: max(20px, calc((100vw - 1220px) / 2));
}

.about-story,
.values-section {
  background: #f4f7fb;
}

.purpose-grid {
  background: #ffffff;
}

.about-stats {
  background: linear-gradient(180deg, transparent 0, transparent 48px, #f4f7fb 48px);
}

.about-hero-card {
  background:
    radial-gradient(circle at 70% 20%, rgba(226, 27, 183, 0.22), transparent 35%),
    radial-gradient(circle at 20% 80%, rgba(23, 139, 255, 0.24), transparent 38%),
    rgba(255, 255, 255, 0.06);
}

.about-hero-card strong,
.about-hero-card p {
  color: #f7faff;
}

.story-card h3,
.purpose-grid h3,
.value-grid h3 {
  color: #101a45;
}

.story-card p,
.purpose-grid p,
.value-grid p {
  color: #5d6886;
}

/* Quem somos */
.about-page main {
  padding-top: 90px;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  gap: 44px;
  align-items: center;
  width: min(1220px, calc(100% - 72px));
  margin: 0 auto;
  padding: 80px 0 58px;
}

.about-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #f7faff;
  font-size: clamp(2.8rem, 5vw, 5.25rem);
  line-height: 0.98;
}

.about-hero p {
  max-width: 720px;
  margin: 24px 0 0;
  color: #b8c4e6;
  font-size: 1.08rem;
}

.about-hero-card,
.story-card,
.purpose-grid article,
.value-grid article,
.patron-card,
.people-grid article {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.about-hero-card {
  min-height: 320px;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 34px;
  background:
    radial-gradient(circle at 70% 20%, rgba(226, 27, 183, 0.22), transparent 35%),
    radial-gradient(circle at 20% 80%, rgba(23, 139, 255, 0.24), transparent 38%),
    rgba(255, 255, 255, 0.055);
}

.about-hero-card span {
  color: #8fd8ff;
  font-weight: 1000;
  text-transform: uppercase;
}

.about-hero-card strong {
  color: #f7faff;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 0.95;
}

.about-hero-card p {
  margin: 0;
}

.about-hero-card svg {
  width: 34px;
  height: 34px;
  color: var(--pink);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 0;
}

.about-stats article {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.about-stats strong {
  display: block;
  color: #f7faff;
  font-size: 1.8rem;
  line-height: 1;
}

.about-stats span {
  display: block;
  margin-top: 10px;
  color: #b8c4e6;
  font-weight: 800;
}

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 36px;
  align-items: center;
}

.story-copy p:not(.kicker) {
  max-width: 720px;
  color: #b8c4e6;
  font-size: 1.02rem;
}

.story-card {
  padding: 34px;
}

.story-card svg,
.purpose-grid svg,
.value-grid svg,
.patron-card > svg {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  padding: 10px;
  border-radius: 12px;
  color: #f5fbff;
  background: linear-gradient(135deg, rgba(129, 56, 255, 0.92), rgba(23, 139, 255, 0.92));
}

.story-card p,
.purpose-grid p,
.value-grid p,
.patron-card p,
.people-grid li {
  color: #b8c4e6;
}

.purpose-grid,
.value-grid,
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.purpose-grid article,
.value-grid article,
.people-grid article {
  padding: 28px;
}

.patron-section {
  padding-top: 24px;
}

.patron-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  align-items: center;
  padding: 42px;
  background:
    radial-gradient(circle at 85% 22%, rgba(226, 27, 183, 0.18), transparent 34%),
    rgba(255, 255, 255, 0.055);
}

.patron-card p {
  max-width: 820px;
}

.patron-card > svg {
  width: 82px;
  height: 82px;
  margin: 0;
  padding: 18px;
}

.people-grid ul {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.people-grid li {
  position: relative;
  padding-left: 22px;
  font-weight: 700;
}

.people-grid li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--pink), var(--blue));
}

@media (max-width: 980px) {
  .about-hero,
  .about-story,
  .patron-card {
    grid-template-columns: 1fr;
  }

  .about-stats,
  .purpose-grid,
  .value-grid,
  .people-grid {
    grid-template-columns: 1fr;
  }

  .about-hero {
    padding-top: 54px;
  }
}

@media (max-width: 720px) {
  .about-page main {
    padding-top: 76px;
  }

  .about-hero {
    width: calc(100% - 32px);
    padding: 44px 0 34px;
  }

  .about-hero h1 {
    font-size: clamp(2.35rem, 10vw, 3.4rem);
  }

  .about-hero-card,
  .story-card,
  .purpose-grid article,
  .value-grid article,
  .people-grid article,
  .patron-card {
    padding: 24px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

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

button,
input,
textarea {
  font: inherit;
}

svg {
  display: block;
}

.topbar {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: min(1220px, calc(100% - 72px));
  min-height: 64px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  transition: background 160ms ease, box-shadow 160ms ease, width 160ms ease, padding 160ms ease;
}

.topbar.scrolled,
.topbar.open {
  width: min(1220px, calc(100% - 40px));
  margin-top: 10px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(4, 10, 35, 0.9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.logo {
  display: inline-flex;
  align-items: center;
  width: 126px;
  min-width: 126px;
}

.logo img {
  display: block;
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
  font-size: 0.82rem;
  font-weight: 700;
}

.main-nav a {
  opacity: 0.84;
}

.main-nav a:hover {
  opacity: 1;
  color: var(--cyan);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(90deg, var(--purple), var(--blue));
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(23, 139, 255, 0.26);
}

.header-cta svg,
.lang svg,
.button svg,
.news-pill svg,
.head-side svg,
.solution-card a svg,
.outline-link svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
}

.lang a {
  opacity: 0.72;
}

.lang .active {
  color: var(--white);
  opacity: 1;
  border-bottom: 2px solid var(--blue);
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 42%, rgba(23, 139, 255, 0.18), transparent 30%),
    radial-gradient(circle at 72% 72%, rgba(226, 27, 183, 0.14), transparent 26%),
    linear-gradient(135deg, #030821 0%, #071038 48%, #030821 100%);
}

.home-hero-video,
.hero-bg {
  position: absolute;
}

.home-hero-video {
  top: 52%;
  right: auto;
  bottom: auto;
  left: 38%;
  z-index: 0;
  width: min(68vw, 860px);
  height: min(76%, 500px);
  object-fit: cover;
  object-position: 48% center;
  border-radius: 30px;
  background: var(--navy-950);
  box-shadow:
    0 28px 90px rgba(3, 8, 33, 0.72),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  filter: brightness(0.74) saturate(0.94) contrast(1.08);
  opacity: 0.74;
  transform: translate(-10%, -50%) scale(0.92);
  transform-origin: center;
}

.hero-bg {
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(3, 8, 33, 0.99) 0%,
    rgba(3, 8, 33, 0.96) 36%,
    rgba(3, 8, 33, 0.8) 58%,
    rgba(3, 8, 33, 0.64) 100%
  );
  pointer-events: none;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 78% 42%, rgba(23, 139, 255, 0.12), transparent 28%),
    radial-gradient(circle at 70% 68%, rgba(226, 27, 183, 0.1), transparent 24%),
    linear-gradient(180deg, rgba(3, 8, 33, 0.08) 0%, rgba(3, 8, 33, 0.76) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(320px, 0.68fr);
  align-items: center;
  gap: 24px;
  width: min(1220px, calc(100% - 72px));
  min-height: 620px;
  margin: 0 auto;
  padding-top: 118px;
  padding-bottom: 82px;
}

.hero-copy {
  max-width: 690px;
}

.news-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  margin-bottom: 34px;
  padding: 0 18px 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(226, 27, 183, 0.22);
  font-size: 0.86rem;
  font-weight: 800;
}

.news-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(90deg, var(--pink), var(--purple));
  font-size: 0.68rem;
  font-weight: 1000;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3rem, 5vw, 4.85rem);
  line-height: 0.94;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

h1 span {
  display: block;
  white-space: normal;
  color: transparent;
  background: linear-gradient(90deg, var(--pink), #8c5cff 45%, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
}

.services-page .services-hero-copy h1 .title-gradient {
  display: inline;
  background: linear-gradient(105deg, #126ee8 0%, #8138ff 45%, #b01891 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.services-page .services-hero-copy h1 .title-keep {
  display: inline-block;
  white-space: nowrap;
  color: #101a45;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.hero-copy p {
  max-width: 575px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 0.94rem;
  font-weight: 900;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.gradient {
  color: var(--white);
  background: linear-gradient(90deg, var(--purple), var(--blue));
  box-shadow: 0 18px 40px rgba(23, 139, 255, 0.28);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.button.light {
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.14);
}

.avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  color: #052661;
  background: linear-gradient(135deg, #52c7ff, #8d68ff);
  font-weight: 1000;
}

.metric-shell {
  position: relative;
  z-index: 5;
  width: min(1220px, calc(100% - 72px));
  margin: -42px auto 0;
}

.metric-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 105px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.metric-bar article {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 34px;
  border-right: 1px solid var(--line);
}

.metric-bar article:last-child {
  border-right: 0;
}

.metric-bar i,
.metric-bar article > svg,
.solution-card > i,
.solution-card > svg,
.why-list i,
.why-list article > svg {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 8px;
  flex: 0 0 auto;
  border-radius: 12px;
  color: var(--purple);
  background: #f2edff;
}

.metric-bar svg,
.solution-card > svg,
.why-list svg {
  width: 26px;
  height: 26px;
}

.metric-bar strong {
  display: block;
  color: #111b50;
  font-size: 1.55rem;
  line-height: 1;
}

.metric-bar span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section {
  width: min(1220px, calc(100% - 72px));
  margin: 0 auto;
  padding: 64px 0;
}

.section-head {
  margin-bottom: 30px;
}

.two-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  align-items: end;
  gap: 40px;
}

.kicker {
  margin: 0 0 10px;
  color: #1c57c7;
  font-size: 0.73rem;
  font-weight: 1000;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  color: #121c4a;
  font-size: clamp(2rem, 3.8vw, 3.32rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: #121c4a;
  font-size: 1.02rem;
  line-height: 1.28;
}

.head-side {
  display: grid;
  gap: 18px;
  justify-items: end;
  color: var(--muted);
  font-size: 0.95rem;
}

.head-side p {
  margin: 0;
  max-width: 420px;
}

.head-side a,
.solution-card a,
.outline-link,
.content-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #163b95;
  font-size: 0.82rem;
  font-weight: 1000;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.solution-card {
  min-height: 244px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(20, 31, 86, 0.06);
}

.solution-card:nth-child(2) > i,
.solution-card:nth-child(2) > svg,
.why-list article:nth-child(2) i,
.why-list article:nth-child(2) > svg {
  color: var(--pink);
  background: #fff0fb;
}

.solution-card:nth-child(3) > i,
.solution-card:nth-child(3) > svg,
.why-list article:nth-child(3) i,
.why-list article:nth-child(3) > svg {
  color: var(--blue);
  background: var(--blue-soft);
}

.solution-card:nth-child(4) > i,
.solution-card:nth-child(4) > svg {
  color: var(--pink);
  background: #fff0fb;
}

.solution-card:nth-child(5) > i,
.solution-card:nth-child(5) > svg,
.why-list article:nth-child(4) i,
.why-list article:nth-child(4) > svg {
  color: #5f6eff;
  background: #f0f2ff;
}

.solution-card h3 {
  margin-top: 22px;
}

.solution-card p {
  flex: 1;
  margin: 14px 0 20px;
  color: var(--muted);
  font-size: 0.88rem;
}

.why-program {
  display: block;
  padding-top: 28px;
}

.why h2 {
  font-size: clamp(1.9rem, 3vw, 2.85rem);
}

.why-list {
  display: grid;
  gap: 21px;
  margin: 32px 0 26px;
}

.why-list article {
  display: flex;
  gap: 16px;
}

.why-list h3 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.why-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.outline-link {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #cdd6ec;
  border-radius: 6px;
  background: var(--white);
}

.featured-program {
  position: relative;
  width: 100%;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.8fr);
  gap: 54px;
  align-items: center;
  overflow: hidden;
  border-radius: 18px;
  color: var(--white);
  background: var(--navy-900);
  box-shadow: var(--shadow);
}

.featured-bg,
.event-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}

.featured-bg {
  background-image:
    radial-gradient(circle at 82% 24%, rgba(111, 161, 91, 0.28), transparent 34%),
    radial-gradient(circle at 16% 18%, rgba(23, 139, 255, 0.22), transparent 30%),
    linear-gradient(90deg, rgba(4, 10, 35, 0.98) 0%, rgba(4, 10, 35, 0.92) 58%, rgba(4, 10, 35, 0.72) 100%);
}

.featured-content {
  position: relative;
  z-index: 1;
  max-width: 660px;
  padding: 64px;
}

.course-poster {
  position: relative;
  z-index: 1;
  margin: 0 56px 0 0;
  align-self: center;
}

.course-poster img {
  display: block;
  width: min(500px, 100%);
  margin-left: auto;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

.featured-content p,
.featured-content span {
  color: rgba(255, 255, 255, 0.78);
}

.featured-content p {
  margin: 0 0 20px;
  font-size: 0.76rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.featured-content h2 {
  color: var(--white);
  font-size: clamp(2.35rem, 4vw, 4rem);
}

.featured-content > span {
  display: block;
  margin-top: 18px;
  font-size: 0.94rem;
}

.featured-content ul {
  display: grid;
  gap: 11px;
  margin: 26px 0 20px;
  padding: 0;
  list-style: none;
}

.featured-content li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
}

.featured-content li svg {
  width: 18px;
  height: 18px;
  color: var(--white);
}

.course-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 28px;
}

.course-partners span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.09);
  font-size: 0.78rem;
  font-weight: 900;
}

.trusted {
  padding-top: 20px;
  padding-bottom: 34px;
}

.trusted h2 {
  margin-top: 0;
  text-align: center;
  text-transform: uppercase;
}

.client-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 28px;
  padding: 16px 0;
}

.client-carousel::before,
.client-carousel::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  width: 120px;
  pointer-events: none;
}

.client-carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--surface), rgba(247, 249, 255, 0));
}

.client-carousel::after {
  right: 0;
  background: linear-gradient(270deg, var(--surface), rgba(247, 249, 255, 0));
}

.client-track {
  display: flex;
  width: max-content;
  gap: 46px;
  animation: none;
}

.client-logo {
  --brand: #10235c;
  --accent: #178bff;
  --mark: "";
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-width: 190px;
  min-height: 70px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--brand);
  background: transparent;
  box-shadow: none;
  text-align: left;
  white-space: nowrap;
}

.client-image {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.client-image.is-favicon {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.client-image.is-favicon + .client-symbol {
  display: none;
}

.client-image + .client-symbol {
  display: none;
}

.client-symbol {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand), var(--accent));
}

.client-symbol::before {
  content: var(--mark);
  color: currentColor;
  font-size: 1.08rem;
  font-weight: 1000;
  line-height: 1;
}

.client-wordmark {
  display: grid;
  align-content: center;
  gap: 0;
}

.client-wordmark strong,
.client-wordmark em,
.client-wordmark small {
  display: block;
  line-height: 1;
  letter-spacing: 0;
}

.client-wordmark strong {
  color: var(--brand);
  font-size: 1.28rem;
  font-style: normal;
  font-weight: 1000;
}

.client-wordmark em {
  color: var(--brand);
  font-size: 1.02rem;
  font-style: normal;
  font-weight: 800;
}

.client-wordmark small {
  margin-bottom: 3px;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.client-fleury { --brand: #e13a32; --accent: #eb6b64; --mark: "F"; }
.client-exata { --brand: #143c8a; --accent: #00a99d; --mark: "E"; }
.client-mozaiko { --brand: #10235c; --accent: #f28c22; --mark: "M"; }
.client-lwsa { --brand: #6f6f77; --accent: #a0a0a8; --mark: "L"; }
.client-sodexo { --brand: #283c92; --accent: #e3347e; --mark: "*"; }
.client-agil { --brand: #17a97c; --accent: #61c89a; --mark: "A"; }
.client-vinci { --brand: #0069b4; --accent: #2a9fea; --mark: "V"; }
.client-fia { --brand: #10235c; --accent: #1d9bd7; --mark: "F"; }
.client-agrex { --brand: #299b46; --accent: #72bf44; --mark: "A"; }
.client-trademaster { --brand: #54565a; --accent: #00bfd6; --mark: "TN"; }
.client-cnh { --brand: #111111; --accent: #be1e2d; --mark: "C"; }
.client-lindt { --brand: #b18a48; --accent: #d5b477; --mark: "L"; }
.client-ggn { --brand: #f48b22; --accent: #cf4b2a; --mark: "G"; }
.client-send { --brand: #222222; --accent: #6d3fb4; --mark: "S"; }
.client-bv { --brand: #4fb2e8; --accent: #204a9a; --mark: "BV"; }
.client-butantan { --brand: #018342; --accent: #33a55d; --mark: "B"; }
.client-gen { --brand: #1688c9; --accent: #0c57a4; --mark: "*"; }
.client-mulheres { --brand: #1487c9; --accent: #ff7a23; --mark: "MB"; }
.client-medmep { --brand: #393939; --accent: #ef7d24; --mark: "+"; }
.client-tmg { --brand: #1566a8; --accent: #21a8e0; --mark: "T"; }
.client-grupo-a { --brand: #17448e; --accent: #7bb342; --mark: "A"; }
.client-martinho { --brand: #0d679a; --accent: #1a9c54; --mark: "SM"; }
.client-taking { --brand: #454f5b; --accent: #f07d22; --mark: "T"; }
.client-agrivalle { --brand: #f26b21; --accent: #ff9f43; --mark: "A"; }
.client-aiknow { --brand: #3d3f42; --accent: #8d949a; --mark: "AI"; }
.client-uniodonto { --brand: #d61a8d; --accent: #92278f; --mark: "U"; }
.client-embrapa { --brand: #0067a9; --accent: #2aa44f; --mark: "E"; }
.client-aqua { --brand: #0b5963; --accent: #0c93a0; --mark: "AQ"; }
.client-icolab { --brand: #8b6c52; --accent: #c7a987; --mark: "iC"; }
.client-demarest { --brand: #39a935; --accent: #0d6f38; --mark: "D"; }
.client-mcio { --brand: #0050a4; --accent: #f05a2a; --mark: "M"; }
.client-craft { --brand: #c51f2c; --accent: #6d7f8f; --mark: "C"; }
.client-eureciclo { --brand: #8ac548; --accent: #5f696d; --mark: "e"; }
.client-veritas { --brand: #c51f2c; --accent: #d45c5c; --mark: "V"; }
.client-pwc { --brand: #111111; --accent: #e76f00; --mark: "p"; }
.client-zapps { --brand: #34a8e8; --accent: #178bff; --mark: "Z"; }
.client-iprocess { --brand: #f89c1c; --accent: #555555; --mark: "i"; }
.client-trisul { --brand: #1d396d; --accent: #f3c421; --mark: "T"; }
.client-pge { --brand: #1d70b8; --accent: #d71920; --mark: "PG"; }
.client-bunge { --brand: #1f5c9f; --accent: #88bce7; --mark: "B"; }
.client-abinc { --brand: #1f3767; --accent: #9ccf2f; --mark: "A"; }
.client-ibmec { --brand: #1f3767; --accent: #f5a800; --mark: "I"; }
.client-puc { --brand: #5a4a36; --accent: #c7a455; --mark: "P"; }

.client-fleury .client-symbol {
  border-radius: 50% 12px 50% 12px;
}

.client-lindt .client-wordmark strong,
.client-craft .client-wordmark strong,
.client-pwc .client-wordmark strong {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 700;
}

.client-sodexo .client-symbol,
.client-gen .client-symbol,
.client-mulheres .client-symbol,
.client-eureciclo .client-symbol,
.client-abinc .client-symbol {
  border-radius: 50%;
}

.client-aqua {
  color: var(--brand);
  background: transparent;
}

.client-aqua .client-wordmark strong,
.client-aqua .client-wordmark small {
  color: var(--brand);
}

.client-aqua .client-symbol {
  background: rgba(255, 255, 255, 0.18);
}

@keyframes clients-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.event-section {
  padding-top: 24px;
}

.event-banner {
  position: relative;
  min-height: 250px;
  display: grid;
  grid-template-columns: 0.8fr 1.1fr auto;
  align-items: center;
  gap: 42px;
  overflow: hidden;
  padding: 38px 44px;
  border-radius: 14px;
  color: var(--white);
  background: var(--navy-900);
  box-shadow: var(--shadow);
}

.event-bg {
  background-image:
    linear-gradient(90deg, rgba(4, 10, 35, 0.96) 0%, rgba(4, 10, 35, 0.74) 45%, rgba(4, 10, 35, 0.18) 100%),
    url("assets/summit-banner.png");
}

.event-logo,
.event-banner p,
.event-meta,
.event-banner .button {
  position: relative;
  z-index: 1;
}

.event-banner .button {
  justify-self: end;
  white-space: nowrap;
  min-width: 0;
  color: var(--white);
  background: linear-gradient(90deg, var(--purple), var(--blue));
  box-shadow: 0 18px 40px rgba(23, 139, 255, 0.28);
}

.event-logo {
  padding-right: 44px;
  border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.event-logo span,
.event-logo em {
  display: block;
  font-style: normal;
  text-transform: uppercase;
}

.event-logo span {
  margin-bottom: 8px;
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.12em;
}

.event-logo strong {
  display: block;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 0.78;
}

.event-logo em {
  margin-top: 12px;
  font-size: 1.2rem;
  letter-spacing: 0.16em;
}

.event-banner p {
  max-width: 390px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.event-meta {
  position: absolute;
  left: 44px;
  bottom: 34px;
  display: flex;
  gap: 42px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
}

.event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.event-meta svg {
  width: 22px;
  height: 22px;
  color: var(--cyan);
}

.content {
  padding-top: 36px;
}

.right-only {
  align-self: center;
}

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

.content-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(20, 31, 86, 0.065);
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 260ms ease;
}

.content-card > div {
  display: grid;
  align-content: start;
  min-height: 190px;
  padding: 22px;
}

.content-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #3155bd;
  background: var(--blue-soft);
  font-size: 0.64rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.content-card h3 {
  margin: 0 0 18px;
  color: #101a45;
  font-size: clamp(1.08rem, 1.45vw, 1.35rem);
  line-height: 1.24;
}

.content-card a {
  align-self: end;
  width: max-content;
}

@media (hover: hover) and (pointer: fine) {
  .content-card:hover {
    border-color: rgba(129, 56, 255, 0.2);
    box-shadow: 0 24px 56px rgba(16, 26, 69, 0.11);
    transform: translateY(-4px);
  }
}

.thumb {
  position: relative;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 16 / 9;
}

.thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 48% 32%, rgba(255, 255, 255, 0.65), transparent 16%),
    linear-gradient(140deg, rgba(226, 27, 183, 0.95), rgba(9, 19, 67, 0.9));
}

.article-thumb::before {
  display: none;
}

.article-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 320ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .content-card:hover .article-thumb img {
    transform: scale(1.045);
  }
}

.thumb.light-blue::before {
  background:
    radial-gradient(circle at 45% 36%, rgba(255, 255, 255, 0.9), transparent 18%),
    linear-gradient(140deg, #e8f2ff, #5f89ff);
}

.thumb.video::before {
  background:
    radial-gradient(circle at 54% 38%, rgba(74, 216, 255, 0.85), transparent 18%),
    linear-gradient(140deg, #071038, #2153ff 48%, #040a23);
}

.thumb.report::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(140deg, #dfe8f7, #0b1745);
  background-size: 18px 18px, 18px 18px, auto;
}

.thumb svg {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 120px;
  padding: 32px 50px;
  border-radius: 12px;
  color: var(--white);
  background:
    radial-gradient(circle at 32% 10%, rgba(23, 139, 255, 0.42), transparent 32%),
    linear-gradient(90deg, #071038, #081b57);
  box-shadow: var(--shadow);
}

.final-cta h2 {
  max-width: 520px;
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.final-cta p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 2fr;
  gap: 44px;
  width: min(1220px, calc(100% - 72px));
  margin: 0 auto;
  padding: 38px 0 50px;
}

.footer .logo {
  width: 142px;
  min-width: 142px;
}

.footer-brand p {
  max-width: 290px;
  margin: 18px 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

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

.footer-columns h3 {
  margin-bottom: 14px;
  color: #163b95;
  font-size: 0.72rem;
  font-weight: 1000;
  text-transform: uppercase;
}

.footer-columns a {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.socials {
  display: flex;
  gap: 10px;
  color: var(--muted);
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  transition: color 220ms ease, transform 220ms ease;
}

.socials a:hover {
  color: #1479ff;
  transform: translateY(-2px);
}

.socials svg {
  width: 16px;
  height: 16px;
}

.whatsapp {
  position: fixed;
  z-index: 20;
  right: 22px;
  bottom: 22px;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.36);
}

@media (max-width: 1120px) {
  .topbar {
    grid-template-columns: auto auto;
    width: min(100% - 36px, 1220px);
  }

  .menu-button {
    display: inline-flex;
    justify-self: end;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .topbar.open .main-nav,
  .topbar.open .header-actions {
    display: grid;
    grid-column: 1 / -1;
    justify-content: stretch;
    justify-items: stretch;
  }

  .topbar.open .main-nav {
    gap: 0;
  }

  .topbar.open .main-nav a {
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .topbar.open .header-actions {
    gap: 12px;
    padding: 12px 0 14px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 620px;
    padding-top: 124px;
    padding-bottom: 86px;
  }

  .home-hero-video {
    top: 50%;
    left: 50%;
    width: min(88vw, 760px);
    height: min(76%, 500px);
    object-position: center center;
    opacity: 0.48;
    filter: brightness(0.58) saturate(0.88) contrast(1.08);
    transform: translate(-50%, -50%) scale(0.9);
  }

  .metric-bar,
  .solution-grid,
  .content-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .event-banner,
  .footer {
    grid-template-columns: 1fr;
  }

  .featured-program {
    grid-template-columns: 1fr;
  }

  .course-poster {
    margin: 0 32px 34px;
  }

  .course-poster img {
    width: min(460px, 100%);
    margin: 0 auto;
  }

  .event-banner {
    padding-bottom: 104px;
  }

  .event-banner .button {
    justify-self: start;
  }

  .event-logo {
    border-right: 0;
  }
}

@media (max-width: 720px) {
  .topbar,
  .hero-inner,
  .metric-shell,
  .section,
  .footer {
    width: calc(100% - 32px);
  }

  .topbar {
    min-height: 58px;
  }

  .hero {
    min-height: 640px;
  }

  .home-hero-video {
    top: 50%;
    right: auto;
    left: 50%;
    width: 118%;
    height: 74%;
    object-position: center center;
    border-radius: 0;
    opacity: 0.32;
    filter: brightness(0.52) saturate(0.86) contrast(1.05);
    transform: translate(-50%, -50%) scale(0.86);
  }

  .hero-bg {
    background: linear-gradient(180deg, rgba(3, 8, 33, 0.28) 0%, rgba(3, 8, 33, 0.9) 100%);
  }

  .hero-bg::before {
    background:
      linear-gradient(180deg, rgba(3, 8, 33, 0.72) 0%, rgba(3, 8, 33, 0.88) 42%, rgba(3, 8, 33, 0.98) 100%),
      linear-gradient(90deg, rgba(3, 8, 33, 0.9), rgba(3, 8, 33, 0.62), rgba(3, 8, 33, 0.9));
  }

  .hero-inner {
    min-height: 640px;
    align-items: end;
    padding: 104px 0 74px;
  }

  .news-pill {
    max-width: 100%;
    margin-bottom: 22px;
    font-size: 0.76rem;
  }

  h1 {
    font-size: clamp(2.55rem, 8.6vw, 3.55rem);
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-copy p {
    font-size: 0.98rem;
  }

  .hero-actions,
  .final-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .metric-shell {
    margin-top: -42px;
  }

  .metric-bar,
  .solution-grid,
  .two-columns,
  .content-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .client-carousel::before,
  .client-carousel::after {
    width: 48px;
  }

  .client-track {
    animation-duration: 54s;
    gap: 30px;
  }

  .client-logo {
    min-width: 168px;
    min-height: 62px;
    padding: 0;
  }

  .client-image,
  .client-image.is-favicon {
    width: 40px;
    height: 40px;
  }

  .client-symbol {
    width: 36px;
    height: 36px;
  }

  .client-wordmark strong {
    font-size: 1.14rem;
  }

  .client-wordmark em {
    font-size: 1rem;
  }

  .client-wordmark small {
    font-size: 0.58rem;
  }

  .metric-bar article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metric-bar article:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 46px 0;
  }

  .head-side {
    justify-items: start;
  }

  .featured-content {
    padding: 32px 24px;
  }

  .course-poster {
    margin: 0 24px 28px;
  }

  .event-banner {
    gap: 22px;
    padding: 28px 24px 112px;
  }

  .event-banner .button {
    justify-self: stretch;
    white-space: normal;
  }

  .event-meta {
    left: 24px;
    right: 24px;
    bottom: 26px;
    flex-direction: column;
    gap: 12px;
  }

  .content-card {
    grid-template-columns: 1fr 110px;
  }

  .final-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 30px 24px;
  }
}

/* Final dark theme overrides */
:root {
  --ink: #e8efff;
  --muted: #b8c4e6;
  --line: rgba(255, 255, 255, 0.12);
  --surface: #061037;
  --blue-soft: rgba(23, 139, 255, 0.14);
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
}

body {
  color: #e8efff;
  background:
    radial-gradient(circle at 18% 8%, rgba(23, 139, 255, 0.16), transparent 28%),
    radial-gradient(circle at 88% 22%, rgba(226, 27, 183, 0.12), transparent 30%),
    linear-gradient(180deg, #030821 0%, #071038 42%, #04091f 100%);
}

.section,
.section-band,
.trusted,
.content,
.event-section,
.solutions,
.why-program {
  color: #e8efff;
  background: transparent;
}

.metric-bar,
.solution-card,
.content-card {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(14px);
}

.metric-bar article {
  border-color: rgba(255, 255, 255, 0.1);
}

.metric-bar strong,
.trusted h2,
.section h2,
.section h3,
.solution-card h3,
.why-list h3,
.content-card h3 {
  color: #f7faff;
}

.metric-bar span,
.section-heading p,
.head-side,
.head-side p,
.solution-card p,
.why-list p,
.program-card p,
.timeline p,
.contact-copy p,
.content-card div,
.footer-links,
.content-card h3 + a,
.footer-brand p,
.footer-brand small,
.footer-columns a,
.featured-content span,
.featured-content li,
.final-cta p {
  color: #b8c4e6;
}

.kicker,
.head-side a,
.solution-card a,
.outline-link,
.content-card a,
.footer-columns h3 {
  color: #79c8ff;
}

.outline-link {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
}

.solution-card > i,
.solution-card > svg,
.why-list i,
.why-list article > svg,
.metric-bar i,
.metric-bar article > svg {
  color: #f5fbff;
  background: linear-gradient(135deg, rgba(129, 56, 255, 0.92), rgba(23, 139, 255, 0.92));
}

.solution-card:nth-child(2) > i,
.solution-card:nth-child(2) > svg,
.solution-card:nth-child(4) > i,
.solution-card:nth-child(4) > svg,
.why-list article:nth-child(2) i,
.why-list article:nth-child(2) > svg {
  color: #fff2fb;
  background: linear-gradient(135deg, rgba(226, 27, 183, 0.92), rgba(129, 56, 255, 0.92));
}

.solution-card:nth-child(3) > i,
.solution-card:nth-child(3) > svg,
.solution-card:nth-child(5) > i,
.solution-card:nth-child(5) > svg,
.why-list article:nth-child(3) i,
.why-list article:nth-child(3) > svg,
.why-list article:nth-child(4) i,
.why-list article:nth-child(4) > svg {
  color: #f5fbff;
  background: linear-gradient(135deg, rgba(39, 215, 255, 0.78), rgba(95, 110, 255, 0.9));
}

.client-carousel::before {
  background: linear-gradient(90deg, #061037, rgba(6, 16, 55, 0));
}

.client-carousel::after {
  background: linear-gradient(270deg, #061037, rgba(6, 16, 55, 0));
}

.client-image {
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.3));
}

.client-image.is-favicon {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
}

.client-wordmark small {
  color: #8fd8ff;
}

.client-wordmark strong,
.client-wordmark em {
  color: color-mix(in srgb, var(--brand) 76%, #ffffff 24%);
}

.featured-program,
.event-banner,
.final-cta {
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.content-card span {
  color: #b8dfff;
  background: rgba(23, 139, 255, 0.14);
}

.thumb.light-blue::before {
  background:
    radial-gradient(circle at 45% 36%, rgba(255, 255, 255, 0.62), transparent 18%),
    linear-gradient(140deg, #12306c, #5f89ff);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .logo {
  filter: none;
}

/* Light/dark mix override */
.services-page .impact-section {
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 26px;
  align-items: stretch;
  margin: 62px auto 78px;
  padding: 28px;
  border: 1px solid rgba(23, 139, 255, 0.18);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(23, 139, 255, 0.13), transparent 30%),
    linear-gradient(315deg, rgba(226, 27, 183, 0.14), transparent 34%),
    #ffffff;
  box-shadow: 0 30px 86px rgba(16, 26, 69, 0.12);
}

.services-page .impact-copy,
.services-page .impact-section > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(39, 215, 255, 0.22), transparent 35%),
    linear-gradient(315deg, rgba(226, 27, 183, 0.24), transparent 38%),
    linear-gradient(145deg, #061037 0%, #082374 58%, #5b1680 100%);
}

.services-page .impact-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.services-page .services-main .section-head.two-columns {
  display: block;
  width: 100%;
  max-width: none;
  margin-bottom: 38px;
}

.services-page .services-main .head-side {
  width: 100%;
  max-width: none;
  margin-top: 16px;
  justify-items: start;
}

.services-page .services-main .head-side p {
  width: 100%;
  max-width: none;
  margin: 0;
}

.services-page .service-pillars {
  padding-top: 76px;
  padding-bottom: 78px;
  background:
    radial-gradient(circle at 8% 8%, rgba(23, 139, 255, 0.1), transparent 24%),
    radial-gradient(circle at 92% 18%, rgba(226, 27, 183, 0.09), transparent 24%),
    #ffffff;
}

.services-page .service-pillars .pillars-head {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
}

.services-page .service-pillars .pillars-head h2 {
  max-width: 620px;
  color: #08184a;
  font-size: clamp(2.25rem, 3.6vw, 3.6rem);
  line-height: 1.04;
}

.services-page .service-pillars .pillars-head .head-side p {
  max-width: 720px;
  color: #53617f;
  font-size: 1.04rem;
  line-height: 1.65;
}

.services-page .service-pillars .pillars-head h2,
.services-page .service-pillars .pillars-head .head-side {
  animation: pillarHeadEnter 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.services-page .service-pillars .pillars-head .head-side {
  animation-delay: 90ms;
}

.services-page .pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.services-page .pillar-card {
  --pillar-a: #8138ff;
  --pillar-b: #178bff;
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 270px;
  padding: 30px;
  border: 1px solid rgba(18, 35, 75, 0.11);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--pillar-a) 12%, transparent), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 251, 255, 0.96));
  box-shadow: 0 22px 58px rgba(16, 26, 69, 0.08);
  overflow: hidden;
  animation: pillarCardEnter 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 260ms ease;
}

.services-page .pillar-card:nth-child(2) {
  --pillar-a: #e21bb7;
  --pillar-b: #8138ff;
  animation-delay: 110ms;
}

.services-page .pillar-card:nth-child(3) {
  --pillar-a: #178bff;
  --pillar-b: #27d7ff;
  animation-delay: 220ms;
}

.services-page .pillar-card:nth-child(4) {
  --pillar-a: #15c47e;
  --pillar-b: #178bff;
  animation-delay: 330ms;
}

.services-page .pillar-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 7px;
  background: linear-gradient(90deg, var(--pillar-a), var(--pillar-b));
}

.services-page .pillar-card > svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pillar-a), var(--pillar-b));
  box-shadow: 0 16px 32px color-mix(in srgb, var(--pillar-a) 22%, transparent);
  transition:
    box-shadow 260ms ease,
    transform 260ms ease;
}

.services-page .pillar-card h3 {
  max-width: 430px;
  margin: 0;
  color: #101a45;
  font-size: clamp(1.22rem, 1.8vw, 1.55rem);
  line-height: 1.16;
}

.services-page .pillar-card p {
  max-width: 560px;
  margin: 0;
  color: #5d6886;
  font-size: 0.98rem;
  line-height: 1.62;
}

@keyframes pillarCardEnter {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pillarHeadEnter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (hover: hover) and (pointer: fine) {
  .services-page .pillar-card:hover {
    border-color: color-mix(in srgb, var(--pillar-a) 34%, rgba(23, 139, 255, 0.16));
    box-shadow: 0 30px 76px rgba(16, 26, 69, 0.13);
    transform: translateY(-5px);
  }

  .services-page .pillar-card:hover > svg {
    box-shadow: 0 20px 42px color-mix(in srgb, var(--pillar-a) 32%, transparent);
    transform: translateY(-2px) scale(1.035);
  }
}

@media (max-width: 720px) {
  .services-page .service-pillars {
    padding-top: 54px;
    padding-bottom: 58px;
  }

  .services-page .pillars-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-page .pillar-card {
    min-height: 0;
    padding: 24px;
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-page .service-pillars .pillars-head h2,
  .services-page .service-pillars .pillars-head .head-side,
  .services-page .pillar-card {
    animation: none;
  }
}

body:not(.services-page):not(.about-reference) .section.final-cta {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 18% 12%, rgba(23, 139, 255, 0.44), transparent 32%),
    radial-gradient(circle at 82% 22%, rgba(226, 27, 183, 0.3), transparent 34%),
    linear-gradient(100deg, #061037 0%, #081b57 58%, #2a0d63 100%);
  box-shadow: 0 28px 80px rgba(6, 16, 55, 0.34);
}

body:not(.services-page):not(.about-reference) .section.final-cta h2 {
  color: #ffffff;
}

body:not(.services-page):not(.about-reference) .section.final-cta p {
  color: rgba(255, 255, 255, 0.78);
}

/* Institutional mission cards final polish */
.about-reference .mission-section {
  padding-top: 42px;
  padding-bottom: 58px;
}

.about-reference .mission-section-head {
  margin-bottom: 28px;
}

.about-reference .mission-section .mission-grid {
  gap: 18px;
}

.about-reference .mission-section .mission-grid article {
  min-height: 220px;
  padding: 24px;
}

.about-reference .mission-section.is-animated .mission-section-head.is-visible,
.about-reference .mission-section.is-animated .mission-grid article.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.about-reference .mission-section .mission-grid svg {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
}

@media (max-width: 980px) {
  .about-reference .mission-section .mission-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .about-reference .mission-section {
    padding: 36px 16px 46px;
  }

  .about-reference .mission-section-head {
    margin-bottom: 22px;
  }

  .about-reference .mission-section .mission-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-reference .mission-section .mission-grid article {
    min-height: 0;
    padding: 21px;
  }
}

body {
  color: #102044;
  background: linear-gradient(180deg, #030821 0 760px, #f4f7fb 760px 100%);
}

.section,
.trusted,
.content,
.event-section,
.why-program,
.about-story,
.values-section,
.purpose-grid,
.about-stats {
  color: #102044;
}

.metric-bar,
.solution-card,
.content-card,
.about-stats article,
.story-card,
.purpose-grid article,
.value-grid article {
  border-color: rgba(16, 32, 68, 0.1);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 60px rgba(15, 25, 70, 0.11);
}

.metric-bar strong,
.section h2,
.section h3,
.trusted h2,
.solution-card h3,
.why-list h3,
.content-card h3,
.story-card h3,
.purpose-grid h3,
.value-grid h3 {
  color: #101a45;
}

.metric-bar span,
.head-side,
.head-side p,
.solution-card p,
.why-list p,
.content-card div,
.story-copy p:not(.kicker),
.story-card p,
.purpose-grid p,
.value-grid p,
.about-stats span,
.footer-brand p,
.footer-brand small,
.footer-columns a {
  color: #5d6886;
}

.kicker,
.head-side a,
.solution-card a,
.outline-link,
.content-card a,
.footer-columns h3 {
  color: #165fc7;
}

.solutions,
.content,
.trusted,
.values-section {
  padding-top: 72px;
  padding-bottom: 72px;
  background: #f4f7fb;
}

.why-program {
  width: 100%;
  max-width: none;
  padding: 72px max(20px, calc((100vw - 1220px) / 2));
  background:
    radial-gradient(circle at 18% 20%, rgba(23, 139, 255, 0.1), transparent 26%),
    linear-gradient(180deg, #ffffff, #edf3fb);
}

.trusted,
.content,
.about-story,
.values-section,
.about-stats,
.purpose-grid {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100vw - 1220px) / 2));
  padding-right: max(20px, calc((100vw - 1220px) / 2));
}

.purpose-grid {
  background: #ffffff;
}

.event-section {
  padding-top: 54px;
  padding-bottom: 54px;
  background: #f4f7fb;
}

.featured-program,
.event-banner,
.final-cta {
  color: #ffffff;
}

.featured-program h2,
.event-banner h2,
.final-cta h2 {
  color: #ffffff;
}

.featured-content span,
.featured-content li,
.event-banner p,
.final-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.client-carousel::before {
  background: linear-gradient(90deg, #f4f7fb, rgba(244, 247, 251, 0));
}

.client-carousel::after {
  background: linear-gradient(270deg, #f4f7fb, rgba(244, 247, 251, 0));
}

.client-wordmark small {
  color: #1f72c9;
}

.client-wordmark strong,
.client-wordmark em {
  color: var(--brand);
}

.client-image {
  filter: drop-shadow(0 10px 18px rgba(16, 26, 69, 0.12));
}

.client-image.is-favicon {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
}

.footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: max(20px, calc((100vw - 1220px) / 2));
  padding-right: max(20px, calc((100vw - 1220px) / 2));
  border-top: 1px solid rgba(16, 32, 68, 0.1);
  color: #102044;
  background: #ffffff;
}

.about-page {
  background: linear-gradient(180deg, #030821 0 620px, #f4f7fb 620px 100%);
}

.about-hero h1,
.about-hero p,
.about-hero-card strong,
.about-hero-card p {
  color: #f7faff;
}

.about-story,
.values-section {
  background: #f4f7fb;
}

.about-stats {
  background: linear-gradient(180deg, transparent 0, transparent 48px, #f4f7fb 48px);
}

/* Course card final lock */
.why-program {
  display: block;
  width: min(1220px, calc(100% - 72px));
  max-width: 1220px;
  margin: 0 auto;
  padding: 72px 0;
  background: transparent;
}

.featured-program {
  width: 100%;
  min-height: 560px;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.8fr);
  gap: 54px;
  border-radius: 18px;
}

.featured-content {
  max-width: 660px;
  padding: 64px;
}

.featured-content h2 {
  font-size: clamp(2.35rem, 4vw, 4rem);
}

.course-poster {
  margin: 0 56px 0 0;
}

.course-poster img {
  width: min(500px, 100%);
  height: auto;
}

@media (max-width: 980px) {
  .why-program {
    width: min(100% - 40px, 1220px);
    padding: 56px 0;
  }

  .featured-program {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .course-poster {
    margin: 0 32px 36px;
  }

  .course-poster img {
    width: min(520px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .why-program {
    width: calc(100% - 32px);
    padding: 48px 0;
  }

  .featured-content {
    padding: 32px 24px;
  }

  .course-poster {
    margin: 0 24px 28px;
  }
}

@media (max-width: 720px) {
  .services-page .impact-section {
    grid-template-columns: 1fr;
  }

  .services-page .impact-list {
    grid-template-columns: 1fr;
  }

  .services-page .impact-list article {
    width: 100%;
    min-width: 0;
  }
}
/* Contact EOF lock */
.contact-page .contact-hero,
.contact-page .contact-main,
.contact-page .contact-support,
.contact-page .contact-final-cta {
  width: min(1220px, calc(100% - 72px));
  margin-left: auto;
  margin-right: auto;
}
.contact-page {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 38%, #f4f7fb 100%);
  color: #102044;
}

.contact-page main {
  padding-top: 96px;
}

.contact-page .contact-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  min-height: 520px;
  padding: clamp(40px, 6vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(59, 116, 211, 0.12);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 20%, rgba(186, 38, 211, 0.18), transparent 30%),
    radial-gradient(circle at 16% 86%, rgba(23, 139, 255, 0.16), transparent 32%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(237, 245, 255, 0.94));
  box-shadow: 0 30px 90px rgba(16, 32, 68, 0.1);
}

.contact-page .contact-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #08133d;
  font-size: clamp(2.35rem, 4.8vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.contact-page .contact-hero-copy p {
  max-width: 680px;
  margin: 24px 0 0;
  color: #4f5f82;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.72;
}

.contact-page .contact-hero-panel {
  justify-self: end;
  width: min(100%, 420px);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(5, 12, 42, 0.96), rgba(10, 38, 89, 0.9)),
    radial-gradient(circle at 82% 18%, rgba(186, 38, 211, 0.32), transparent 34%);
  box-shadow: 0 28px 70px rgba(8, 19, 61, 0.22);
}

.contact-page .contact-main {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.74fr);
  gap: 28px;
  align-items: start;
  margin-top: 56px;
}

.contact-page .contact-form-card,
.contact-page .contact-info-card,
.contact-page .contact-highlight-card,
.contact-page .contact-support-grid article {
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 60px rgba(16, 32, 68, 0.1);
}

.contact-page .contact-form-card {
  padding: clamp(24px, 4vw, 42px);
}

.contact-page .contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

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

.contact-page .contact-field input,
.contact-page .contact-field select,
.contact-page .contact-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(16, 32, 68, 0.14);
  border-radius: 14px;
  outline: none;
  color: #101a45;
  background: #ffffff;
  font: inherit;
}

.contact-page .contact-support {
  max-width: 1220px;
  padding-top: 72px;
  padding-bottom: 72px;
  background: transparent;
}

.contact-page .contact-support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.contact-page .contact-final-cta {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: 72px;
  margin-bottom: 72px;
  padding: clamp(28px, 5vw, 48px);
  border-radius: 24px;
  color: #ffffff;
  background:
    radial-gradient(circle at 82% 18%, rgba(186, 38, 211, 0.32), transparent 28%),
    linear-gradient(135deg, #050c2a, #0a2b66);
  box-shadow: 0 26px 70px rgba(8, 19, 61, 0.24);
}

.contact-page .contact-final-cta h2,
.contact-page .contact-final-cta p {
  color: #ffffff;
}

@media (max-width: 980px) {
  .contact-page main {
    padding-top: 88px;
  }

  .contact-page .contact-hero,
  .contact-page .contact-main {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-hero,
  .contact-page .contact-main,
  .contact-page .contact-support,
  .contact-page .contact-final-cta {
    width: min(100% - 40px, 1220px);
  }

  .contact-page .contact-hero-panel {
    justify-self: stretch;
    width: 100%;
  }

  .contact-page .contact-support-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .contact-page main {
    padding-top: 82px;
  }

  .contact-page .contact-hero,
  .contact-page .contact-main,
  .contact-page .contact-support,
  .contact-page .contact-final-cta {
    width: calc(100% - 32px);
  }

  .contact-page .contact-hero {
    min-height: auto;
    padding: 30px 22px;
    border-radius: 22px;
  }

  .contact-page .contact-hero h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .contact-page .contact-signal-grid,
  .contact-page .contact-form-grid,
  .contact-page .contact-support-grid {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-final-cta {
    flex-direction: column;
    align-items: stretch;
    margin-top: 56px;
    margin-bottom: 56px;
  }
}

/* Contact page premium redesign */
.contact-page {
  background:
    radial-gradient(circle at 12% 8%, rgba(23, 139, 255, 0.08), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(186, 38, 211, 0.08), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 44%, #f5f8fd 100%);
}

.contact-page main {
  padding-top: 94px;
}

.contact-page .contact-hero {
  min-height: 430px;
  padding: clamp(34px, 5vw, 62px);
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.66fr);
  gap: clamp(28px, 5vw, 64px);
  border-color: rgba(23, 139, 255, 0.11);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 255, 0.9)),
    radial-gradient(circle at 78% 28%, rgba(186, 38, 211, 0.12), transparent 30%);
  box-shadow: 0 26px 82px rgba(16, 32, 68, 0.1);
}

.contact-page .contact-hero::after {
  position: absolute;
  inset: auto 0 0 auto;
  width: min(42%, 420px);
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(186, 38, 211, 0.4), rgba(23, 139, 255, 0.55));
}

.contact-page .contact-hero h1 {
  max-width: 640px;
  font-size: clamp(2.45rem, 5vw, 4.65rem);
}

.contact-page .contact-hero-copy p {
  max-width: 700px;
  margin-top: 18px;
  font-size: clamp(1rem, 1.35vw, 1.16rem);
}

.contact-page .contact-hero-panel {
  display: grid;
  gap: 14px;
  justify-self: stretch;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.contact-page .contact-hero-panel article {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 82px;
  padding: 16px;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 18px 48px rgba(16, 32, 68, 0.09);
  backdrop-filter: blur(10px);
}

.contact-page .contact-hero-panel article:nth-child(2) {
  transform: translateX(18px);
}

.contact-page .contact-hero-panel article:nth-child(3) {
  transform: translateX(-10px);
}

.contact-page .contact-hero-panel i {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  grid-row: span 2;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #b824d8, #178bff);
}

.contact-page .contact-hero-panel strong {
  color: #101a45;
  font-size: 1rem;
}

.contact-page .contact-hero-panel span {
  color: #64708d;
  font-size: 0.88rem;
  line-height: 1.35;
}

.contact-page .contact-main.contact-direct {
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1fr);
  gap: 26px;
  margin-top: 48px;
}

.contact-page .contact-contact-card,
.contact-page .contact-instructions-card {
  border-radius: 26px;
  box-shadow: 0 24px 68px rgba(16, 32, 68, 0.1);
}

.contact-page .contact-contact-card {
  padding: clamp(26px, 4vw, 38px);
}

.contact-page .contact-card-head h2,
.contact-page .contact-instructions-card h2 {
  font-size: clamp(1.75rem, 2.65vw, 2.65rem);
}

.contact-page .contact-info-list {
  gap: 0;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid rgba(16, 32, 68, 0.08);
  border-radius: 20px;
  background: #ffffff;
}

.contact-page .contact-info-list a,
.contact-page .contact-info-list div {
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 17px 18px;
  border-radius: 0;
  background: transparent;
  border-bottom: 1px solid rgba(16, 32, 68, 0.08);
  box-shadow: none;
}

.contact-page .contact-info-list a:last-of-type,
.contact-page .contact-info-list div:last-child {
  border-bottom: 0;
}

.contact-page .contact-info-list i {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.contact-page .contact-instructions-card {
  color: #132052;
  background:
    radial-gradient(circle at 88% 12%, rgba(186, 38, 211, 0.12), transparent 30%),
    linear-gradient(135deg, #ffffff, #f1f7ff);
}

.contact-page .contact-instructions-card::before {
  height: 4px;
}

.contact-page .contact-instructions-card h2 {
  color: #101a45;
}

.contact-page .contact-instructions-card > p {
  color: #5d6886;
}

.contact-page .email-guidance {
  border-color: rgba(16, 32, 68, 0.08);
  background: rgba(255, 255, 255, 0.84);
}

.contact-page .email-guidance strong {
  color: #101a45;
}

.contact-page .email-guidance li {
  color: #56627f;
}

.contact-page .email-guidance li::marker {
  color: #b824d8;
  font-weight: 900;
}

.contact-page .interest-group {
  margin-top: 22px;
}

.contact-page .interest-group h3 {
  margin: 0 0 12px;
  color: #101a45;
  font-size: 0.92rem;
  font-weight: 950;
  text-transform: uppercase;
}

.contact-page .interest-options {
  margin: 0 0 24px;
  gap: 8px;
}

.contact-page .interest-options span {
  padding: 7px 10px;
  border-color: rgba(23, 139, 255, 0.13);
  color: #354366;
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
}

.contact-page .contact-email-button {
  min-height: 48px;
  padding-inline: 22px;
}

.contact-page .contact-support {
  padding-top: 54px;
  padding-bottom: 62px;
}

.contact-page .contact-section-head h2 {
  font-size: clamp(1.7rem, 2.7vw, 2.75rem);
}

.contact-page .contact-support-grid {
  gap: 14px;
  margin-top: 24px;
}

.contact-page .contact-support-grid article {
  padding: 20px;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(16, 32, 68, 0.08);
}

.contact-page .contact-support-grid i {
  width: 40px;
  height: 40px;
  border-radius: 13px;
}

.contact-page .contact-support-grid h3 {
  margin-top: 15px;
  font-size: 1rem;
}

.contact-page .contact-support-grid p {
  font-size: 0.9rem;
  line-height: 1.52;
}

@media (hover: hover) and (pointer: fine) {
  .contact-page .contact-hero-panel article:hover,
  .contact-page .contact-info-list a:hover,
  .contact-page .contact-info-list div:hover,
  .contact-page .contact-support-grid article:hover {
    transform: translateY(-4px);
    border-color: rgba(23, 139, 255, 0.2);
    box-shadow: 0 24px 62px rgba(16, 32, 68, 0.13);
  }

  .contact-page .contact-hero-panel article:nth-child(2):hover {
    transform: translate(18px, -4px);
  }

  .contact-page .contact-hero-panel article:nth-child(3):hover {
    transform: translate(-10px, -4px);
  }
}

@media (max-width: 980px) {
  .contact-page .contact-main.contact-direct {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-hero-panel article,
  .contact-page .contact-hero-panel article:nth-child(2),
  .contact-page .contact-hero-panel article:nth-child(3) {
    transform: none;
  }
}

@media (max-width: 720px) {
  .contact-page main {
    padding-top: 82px;
  }

  .contact-page .contact-hero {
    padding: 30px 22px;
  }

  .contact-page .contact-hero h1 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .contact-page .contact-info-list a,
  .contact-page .contact-info-list div {
    padding: 15px;
  }

  .contact-page .contact-email-button {
    width: 100%;
    justify-content: center;
  }
}
/* Fale Conosco wide premium final override */
.contact-page {
  background:
    radial-gradient(circle at 6% 7%, rgba(23, 139, 255, 0.12), transparent 30%),
    radial-gradient(circle at 92% 10%, rgba(186, 38, 211, 0.1), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 44%, #f3f7fc 100%);
}

.contact-page main {
  padding-top: 112px;
}

.contact-page .contact-hero,
.contact-page .contact-channels,
.contact-page .contact-support {
  width: min(1280px, calc(100% - 80px));
  margin-right: auto;
  margin-left: auto;
}

.contact-page .contact-hero {
  position: relative;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.62fr);
  gap: clamp(38px, 5vw, 76px);
  min-height: 560px;
  padding: clamp(48px, 6vw, 82px);
  overflow: hidden;
  border: 1px solid rgba(23, 139, 255, 0.13);
  border-radius: 34px;
  background:
    radial-gradient(circle at 80% 18%, rgba(186, 38, 211, 0.16), transparent 32%),
    radial-gradient(circle at 8% 88%, rgba(23, 139, 255, 0.14), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(237, 246, 255, 0.94));
  box-shadow: 0 34px 100px rgba(16, 32, 68, 0.13);
}

.contact-page .contact-hero::before {
  position: absolute;
  inset: auto -6% -20% auto;
  width: min(44vw, 520px);
  height: min(44vw, 520px);
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 139, 255, 0.12), transparent 68%);
}

.contact-page .contact-hero h1 {
  max-width: 780px;
  color: #08133d;
  font-size: clamp(3.15rem, 6vw, 5.8rem);
  line-height: 0.98;
}

.contact-page .contact-hero-copy p {
  max-width: 790px;
  margin-top: 24px;
  color: #4e5d7d;
  font-size: clamp(1.12rem, 1.55vw, 1.34rem);
  line-height: 1.68;
}

.contact-page .contact-hero-copy > span {
  display: inline-flex;
  max-width: 720px;
  margin-top: 26px;
  padding: 13px 16px;
  border: 1px solid rgba(23, 139, 255, 0.16);
  border-radius: 999px;
  color: #24345f;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 44px rgba(16, 32, 68, 0.08);
  font-size: 1rem;
  font-weight: 850;
}

.contact-page .contact-hero-panel {
  align-self: center;
  justify-self: stretch;
  width: 100%;
  padding: 22px;
  border: 1px solid rgba(16, 32, 68, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 26px 74px rgba(16, 32, 68, 0.12);
  backdrop-filter: blur(14px);
}

.contact-page .contact-hero-panel article,
.contact-page .contact-hero-panel article:nth-child(2),
.contact-page .contact-hero-panel article:nth-child(3) {
  min-height: 96px;
  padding: 20px;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 44px rgba(16, 32, 68, 0.08);
  transform: none;
}

.contact-page .contact-hero-panel i {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.contact-page .contact-channels {
  padding-top: 82px;
  padding-bottom: 0;
}

.contact-page .contact-section-head {
  max-width: 860px;
}

.contact-page .contact-section-head h2 {
  font-size: clamp(2.2rem, 3.4vw, 3.65rem);
  line-height: 1.04;
}

.contact-page .contact-section-head p {
  max-width: 760px;
  margin-top: 14px;
  color: #596684;
  font-size: 1.08rem;
  line-height: 1.68;
}

.contact-page .contact-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 36px;
}

.contact-page .contact-channel-card {
  position: relative;
  min-height: 390px;
  padding: clamp(30px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 10%, rgba(23, 139, 255, 0.08), transparent 30%),
    #ffffff;
  box-shadow: 0 28px 78px rgba(16, 32, 68, 0.12);
}

.contact-page .contact-channel-card.is-primary {
  border-color: rgba(186, 38, 211, 0.2);
  background:
    radial-gradient(circle at 92% 8%, rgba(186, 38, 211, 0.11), transparent 30%),
    radial-gradient(circle at 12% 100%, rgba(23, 139, 255, 0.1), transparent 34%),
    #ffffff;
}

.contact-page .contact-channel-card.is-primary::before {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  content: "";
  background: linear-gradient(90deg, #b824d8, #8138ff, #178bff);
}

.contact-page .contact-channel-card > i {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #b824d8, #178bff);
  box-shadow: 0 18px 44px rgba(23, 139, 255, 0.2);
}

.contact-page .contact-channel-card h3 {
  margin: 0;
  color: #101a45;
  font-size: clamp(1.45rem, 2vw, 1.85rem);
  line-height: 1.14;
}

.contact-page .contact-channel-card p {
  max-width: 560px;
  margin: 16px 0 0;
  color: #5d6886;
  font-size: 1.03rem;
  line-height: 1.62;
}

.contact-page .contact-channel-card strong {
  display: block;
  margin: 24px 0 26px;
  color: #08133d;
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact-page .contact-channel-card .button {
  width: fit-content;
  min-height: 48px;
  margin: 0 10px 10px 0;
  padding-inline: 22px;
}

.contact-page .contact-modal-trigger {
  margin-top: 0;
}

.contact-page .contact-support {
  padding-top: 84px;
  padding-bottom: 84px;
}

.contact-page .contact-support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.contact-page .contact-support-grid article {
  min-height: 250px;
  padding: 28px;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 22px 58px rgba(16, 32, 68, 0.09);
}

.contact-page .contact-support-grid i {
  width: 52px;
  height: 52px;
  border-radius: 17px;
}

.contact-page .contact-support-grid h3 {
  margin-top: 20px;
  color: #101a45;
  font-size: 1.16rem;
  line-height: 1.18;
}

.contact-page .contact-support-grid p {
  color: #5d6886;
  font-size: 0.98rem;
  line-height: 1.58;
}

@media (hover: hover) and (pointer: fine) {
  .contact-page .contact-channel-card:hover,
  .contact-page .contact-support-grid article:hover {
    transform: translateY(-5px);
    border-color: rgba(23, 139, 255, 0.22);
    box-shadow: 0 34px 86px rgba(16, 32, 68, 0.15);
  }

  .contact-page .contact-channel-card:hover > i {
    transform: translateY(-2px) scale(1.035);
  }
}

@media (max-width: 1100px) {
  .contact-page .contact-support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .contact-page main {
    padding-top: 92px;
  }

  .contact-page .contact-hero,
  .contact-page .contact-channels,
  .contact-page .contact-support {
    width: min(100% - 40px, 1280px);
  }

  .contact-page .contact-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact-page .contact-channel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .contact-page main {
    padding-top: 82px;
  }

  .contact-page .contact-hero,
  .contact-page .contact-channels,
  .contact-page .contact-support {
    width: calc(100% - 32px);
  }

  .contact-page .contact-hero {
    padding: 30px 22px;
    border-radius: 24px;
  }

  .contact-page .contact-hero h1 {
    font-size: clamp(2.45rem, 13vw, 3.45rem);
  }

  .contact-page .contact-hero-copy > span {
    align-items: flex-start;
    border-radius: 18px;
    font-size: 0.92rem;
  }

  .contact-page .contact-hero-panel {
    padding: 16px;
    border-radius: 22px;
  }

  .contact-page .contact-hero-panel article {
    min-height: 82px;
    padding: 16px;
  }

  .contact-page .contact-channels {
    padding-top: 58px;
  }

  .contact-page .contact-section-head h2 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .contact-page .contact-channel-card {
    min-height: auto;
    padding: 26px 22px;
    border-radius: 22px;
  }

  .contact-page .contact-channel-card .button {
    width: 100%;
    margin-right: 0;
  }

  .contact-page .contact-support {
    padding-top: 62px;
    padding-bottom: 64px;
  }

  .contact-page .contact-support-grid {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-support-grid article {
    min-height: 0;
    padding: 24px;
  }
}
/* EOF compact Fale Conosco refinement */
.contact-page .contact-intro {
  padding: 46px 0 22px;
}

.contact-page .contact-intro h1 {
  max-width: 900px;
  font-size: clamp(2.45rem, 4.45vw, 4.15rem);
  line-height: 1.04;
}

.contact-page .contact-intro p {
  max-width: 760px;
  margin-top: 18px;
}

.contact-page .contact-channels {
  padding-top: 18px;
}

@media (max-width: 720px) {
  .contact-page .contact-intro {
    padding: 32px 0 18px;
  }
}
/* EOF card-first Fale Conosco lock */
.contact-page main {
  padding-top: 104px;
}

.contact-page .contact-hub,
.contact-page .contact-support {
  width: min(1200px, calc(100% - 72px));
  margin-right: auto;
  margin-left: auto;
}

.contact-page .contact-hub {
  display: block;
  min-height: 0;
  padding: 48px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-page .contact-hub::before,
.contact-page .contact-hub::after {
  display: none;
}

.contact-page .contact-hub-intro {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.contact-page .contact-hub-intro p {
  max-width: 560px;
  margin: 0;
  color: #596684;
  font-size: 1rem;
  line-height: 1.55;
  text-align: right;
}

.contact-page .contact-channel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
  gap: 26px;
  margin-top: 0;
}

.contact-page .contact-channel-card {
  position: relative;
  display: flex;
  min-height: 430px;
  flex-direction: column;
  padding: clamp(30px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 8%, rgba(23, 139, 255, 0.08), transparent 30%),
    linear-gradient(180deg, #ffffff, #f9fbff);
  box-shadow: 0 28px 82px rgba(16, 32, 68, 0.12);
}

.contact-page .contact-channel-card.is-primary {
  border-color: rgba(186, 38, 211, 0.2);
  background:
    radial-gradient(circle at 94% 8%, rgba(186, 38, 211, 0.12), transparent 30%),
    radial-gradient(circle at 0% 100%, rgba(23, 139, 255, 0.1), transparent 32%),
    linear-gradient(180deg, #ffffff, #f9fbff);
}

.contact-page .contact-channel-card.is-primary::before {
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  content: "";
  background: linear-gradient(90deg, #b824d8, #8138ff, #178bff);
}

.contact-page .contact-channel-top {
  display: flex;
  gap: 16px;
  align-items: center;
}

.contact-page .contact-channel-top > i {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #b824d8, #178bff);
  box-shadow: 0 18px 42px rgba(23, 139, 255, 0.2);
}

.contact-page .contact-channel-card:not(.is-primary) .contact-channel-top > i {
  background: linear-gradient(135deg, #178bff, #15c47e);
}

.contact-page .contact-channel-top span {
  display: block;
  margin-bottom: 5px;
  color: #165fc7;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-page .contact-channel-card h3 {
  margin: 0;
  color: #101a45;
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.12;
}

.contact-page .contact-channel-card p {
  max-width: 650px;
  margin: 24px 0 0;
  color: #5d6886;
  font-size: 1.05rem;
  line-height: 1.64;
}

.contact-page .contact-value {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin: 28px 0 26px;
  padding: 13px 16px;
  border: 1px solid rgba(23, 139, 255, 0.14);
  border-radius: 16px;
  color: #08133d;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(16, 32, 68, 0.08);
  font-size: clamp(1.08rem, 1.55vw, 1.3rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact-page .contact-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: auto;
}

.contact-page .contact-card-actions .button {
  min-height: 48px;
  margin: 0;
  padding-inline: 22px;
}

.contact-page .contact-secondary-button {
  color: #101a45;
  border: 1px solid rgba(23, 139, 255, 0.18);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 28px rgba(16, 32, 68, 0.08);
}

.contact-page .contact-support {
  padding-top: 74px;
  padding-bottom: 84px;
}

.contact-page .contact-support-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.contact-page .contact-support-grid article {
  min-height: 224px;
  padding: 24px;
  border-radius: 22px;
}

@media (max-width: 1100px) {
  .contact-page .contact-channel-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .contact-page main {
    padding-top: 82px;
  }

  .contact-page .contact-hub,
  .contact-page .contact-support {
    width: calc(100% - 32px);
  }

  .contact-page .contact-hub {
    padding-top: 34px;
  }

  .contact-page .contact-hub-intro {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
  }

  .contact-page .contact-hub-intro p {
    max-width: none;
    text-align: left;
  }

  .contact-page .contact-channel-card {
    min-height: auto;
    padding: 26px 22px;
    border-radius: 24px;
  }

  .contact-page .contact-channel-top {
    align-items: flex-start;
  }

  .contact-page .contact-channel-top > i {
    width: 52px;
    height: 52px;
    border-radius: 17px;
  }

  .contact-page .contact-card-actions {
    display: grid;
  }

  .contact-page .contact-card-actions .button {
    width: 100%;
  }

  .contact-page .contact-support {
    padding-top: 58px;
    padding-bottom: 64px;
  }

  .contact-page .contact-support-grid {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-support-grid article {
    min-height: 0;
  }
}
/* EOF contact SVG icon lock */
.contact-page .contact-channel-top > svg {
  display: grid;
  width: 62px;
  height: 62px;
  min-width: 62px;
  padding: 15px;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #b824d8, #178bff);
  box-shadow: 0 18px 42px rgba(23, 139, 255, 0.2);
}

.contact-page .contact-channel-card:not(.is-primary) .contact-channel-top > svg {
  background: linear-gradient(135deg, #178bff, #15c47e);
}

.contact-page .contact-support-grid article > svg {
  width: 52px;
  height: 52px;
  padding: 13px;
  border-radius: 17px;
}

@media (hover: hover) and (pointer: fine) {
  .contact-page .contact-channel-card:hover .contact-channel-top > svg {
    transform: translateY(-2px) scale(1.035);
  }
}

@media (max-width: 720px) {
  .contact-page .contact-channel-top > svg {
    width: 52px;
    height: 52px;
    min-width: 52px;
    padding: 13px;
    border-radius: 17px;
  }
}
/* EOF Fale Conosco text-removal spacing lock */
.contact-page .contact-hub {
  padding-top: 34px;
}

.contact-page .contact-channel-grid {
  margin-top: 0;
}

.contact-page .contact-support .contact-section-head {
  max-width: 760px;
}

.contact-page .contact-support-grid {
  margin-top: 26px;
}

@media (max-width: 720px) {
  .contact-page .contact-hub {
    padding-top: 28px;
  }
}

/* EOF Fale Conosco focused contact cards */
.contact-page main {
  background:
    radial-gradient(circle at 16% 12%, rgba(23, 139, 255, 0.08), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(184, 36, 216, 0.08), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 64%);
}

.contact-page .contact-hub {
  padding-top: clamp(54px, 7vw, 92px);
  padding-bottom: clamp(64px, 8vw, 104px);
}

.contact-page .contact-channel-grid {
  gap: clamp(22px, 3vw, 34px);
  align-items: stretch;
}

.contact-page .contact-channel-card {
  display: flex;
  min-height: clamp(390px, 34vw, 456px);
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(16, 32, 68, 0.11);
  background:
    radial-gradient(circle at 92% 8%, rgba(23, 139, 255, 0.13), transparent 31%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), #f8fbff);
  box-shadow: 0 34px 92px rgba(16, 32, 68, 0.15);
}

.contact-page .contact-channel-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  content: "";
  background: linear-gradient(90deg, #178bff, #27d09b);
}

.contact-page .contact-channel-card.is-primary {
  border-color: rgba(184, 36, 216, 0.2);
  background:
    radial-gradient(circle at 94% 10%, rgba(184, 36, 216, 0.16), transparent 32%),
    radial-gradient(circle at 0% 100%, rgba(23, 139, 255, 0.13), transparent 34%),
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.contact-page .contact-channel-card.is-primary::before {
  background: linear-gradient(90deg, #b824d8, #8138ff, #178bff);
}

.contact-page .contact-channel-card h3 {
  font-size: clamp(1.58rem, 2.3vw, 2.1rem);
  letter-spacing: 0;
}

.contact-page .contact-channel-card p {
  margin-top: 22px;
  color: #4f5d7d;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
}

.contact-page .contact-value {
  margin: 30px 0 28px;
  padding: 14px 18px;
  border-color: rgba(23, 139, 255, 0.22);
  color: #07123c;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(184, 36, 216, 0.34), rgba(23, 139, 255, 0.34)) border-box;
  box-shadow: 0 16px 38px rgba(16, 32, 68, 0.1);
  font-weight: 900;
}

.contact-page .contact-card-actions {
  gap: 14px;
  margin-top: auto;
}

.contact-page .contact-card-actions .button {
  min-height: 52px;
  padding-inline: 24px;
  box-shadow: 0 16px 34px rgba(23, 139, 255, 0.18);
}

.contact-page .contact-secondary-button {
  box-shadow: 0 14px 30px rgba(16, 32, 68, 0.09);
}

.contact-page .contact-whatsapp-mark {
  display: grid;
  width: 62px;
  height: 62px;
  min-width: 62px;
  place-items: center;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.25);
}

.contact-page .whatsapp-mark svg {
  display: block;
  width: 38px;
  height: 38px;
  fill: currentColor;
}

.contact-page .whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.34);
}

.contact-page .whatsapp .whatsapp-mark {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #ffffff;
}

.contact-page .whatsapp .whatsapp-mark svg {
  width: 29px;
  height: 29px;
}

@media (hover: hover) and (pointer: fine) {
  .contact-page .contact-channel-card:hover {
    border-color: rgba(23, 139, 255, 0.24);
    box-shadow: 0 38px 98px rgba(16, 32, 68, 0.18);
    transform: translateY(-4px);
  }

  .contact-page .contact-channel-card:hover .contact-whatsapp-mark {
    box-shadow: 0 20px 46px rgba(37, 211, 102, 0.32);
    transform: translateY(-2px) scale(1.035);
  }
}

@media (max-width: 900px) {
  .contact-page .contact-channel-card {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .contact-page .contact-hub {
    padding-top: 36px;
    padding-bottom: 58px;
  }

  .contact-page .contact-channel-card {
    padding: 26px 22px;
    border-radius: 24px;
  }

  .contact-page .contact-channel-top {
    align-items: center;
  }

  .contact-page .contact-whatsapp-mark {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 17px;
  }

  .contact-page .whatsapp-mark svg {
    width: 32px;
    height: 32px;
  }
}

/* EOF premium Fale Conosco composition */
.contact-page main {
  position: relative;
  min-height: 0;
  padding-top: clamp(96px, 10vw, 128px);
  background:
    radial-gradient(circle at 18% 8%, rgba(23, 139, 255, 0.12), transparent 28%),
    radial-gradient(circle at 84% 12%, rgba(184, 36, 216, 0.1), transparent 25%),
    linear-gradient(180deg, #f6f9ff 0%, #ffffff 72%);
}

.contact-page .contact-hub {
  position: relative;
  width: min(1180px, calc(100% - 72px));
  margin: 0 auto clamp(68px, 7vw, 96px);
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(16, 32, 68, 0.08);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.92)),
    radial-gradient(circle at 10% 0%, rgba(23, 139, 255, 0.1), transparent 34%),
    radial-gradient(circle at 96% 20%, rgba(184, 36, 216, 0.1), transparent 30%);
  box-shadow: 0 30px 90px rgba(16, 32, 68, 0.12);
}

.contact-page .contact-hub::before,
.contact-page .contact-hub::after {
  position: absolute;
  display: block;
  content: "";
  pointer-events: none;
  z-index: -1;
}

.contact-page .contact-hub::before {
  width: 340px;
  height: 340px;
  right: -140px;
  top: -130px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(23, 139, 255, 0.16), transparent 66%);
}

.contact-page .contact-hub::after {
  width: 280px;
  height: 280px;
  left: -120px;
  bottom: -140px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(184, 36, 216, 0.14), transparent 67%);
}

.contact-page .contact-channel-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(340px, 0.86fr);
  gap: clamp(20px, 2.4vw, 30px);
  align-items: stretch;
  margin: 0;
}

.contact-page .contact-channel-card {
  display: flex;
  min-height: 438px;
  flex-direction: column;
  padding: clamp(30px, 3.8vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at 96% 8%, rgba(23, 139, 255, 0.11), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), #f9fbff);
  box-shadow: 0 24px 68px rgba(16, 32, 68, 0.11);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.contact-page .contact-channel-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  content: "";
  background: linear-gradient(90deg, #178bff, #27d09b);
}

.contact-page .contact-channel-card.is-primary {
  border-color: rgba(184, 36, 216, 0.18);
  background:
    radial-gradient(circle at 92% 8%, rgba(184, 36, 216, 0.14), transparent 30%),
    radial-gradient(circle at 0% 100%, rgba(23, 139, 255, 0.1), transparent 34%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 28px 78px rgba(16, 32, 68, 0.13);
}

.contact-page .contact-channel-card.is-primary::before {
  background: linear-gradient(90deg, #b824d8, #8138ff, #178bff);
}

.contact-page .contact-channel-card.is-whatsapp {
  background:
    radial-gradient(circle at 98% 4%, rgba(37, 211, 102, 0.11), transparent 30%),
    radial-gradient(circle at 0% 100%, rgba(23, 139, 255, 0.08), transparent 33%),
    linear-gradient(180deg, #ffffff, #f9fbff);
}

.contact-page .contact-channel-top {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-bottom: 24px;
}

.contact-page .contact-channel-top > svg {
  display: grid;
  width: 66px;
  height: 66px;
  min-width: 66px;
  padding: 16px;
  border-radius: 22px;
  color: #ffffff;
  background: linear-gradient(135deg, #b824d8, #178bff);
  box-shadow: 0 18px 44px rgba(23, 139, 255, 0.22);
}

.contact-page .contact-whatsapp-mark {
  width: 66px;
  height: 66px;
  min-width: 66px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 32% 18%, rgba(255, 255, 255, 0.38), transparent 28%),
    linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 18px 44px rgba(37, 211, 102, 0.24);
}

.contact-page .contact-whatsapp-mark svg {
  width: 40px;
  height: 40px;
}

.contact-page .contact-channel-top span:not(.whatsapp-mark) {
  display: block;
  margin-bottom: 5px;
  color: #165fc7;
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.contact-page .contact-channel-card.is-whatsapp .contact-channel-top span:not(.whatsapp-mark) {
  color: #128c7e;
}

.contact-page .contact-channel-card h3 {
  margin: 0;
  color: #091642;
  font-size: clamp(1.58rem, 2.1vw, 2.05rem);
  line-height: 1.1;
}

.contact-page .contact-channel-card p {
  max-width: 620px;
  margin: 0;
  color: #50617f;
  font-size: clamp(1rem, 1.1vw, 1.07rem);
  line-height: 1.62;
}

.contact-page .contact-channel-card.is-whatsapp p {
  max-width: 360px;
}

.contact-page .contact-value {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin: 28px 0 30px;
  padding: 14px 17px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 17px;
  color: #07123c;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(184, 36, 216, 0.38), rgba(23, 139, 255, 0.36)) border-box;
  box-shadow: 0 16px 38px rgba(16, 32, 68, 0.09);
  font-size: clamp(1.04rem, 1.45vw, 1.24rem);
  font-weight: 950;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.contact-page .is-whatsapp .contact-value {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(37, 211, 102, 0.44), rgba(23, 139, 255, 0.28)) border-box;
}

.contact-page .contact-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  align-items: center;
  margin-top: auto;
}

.contact-page .contact-card-actions .button {
  min-height: 52px;
  margin: 0;
  padding-inline: 24px;
  white-space: nowrap;
}

.contact-page .contact-card-actions .button.gradient {
  box-shadow: 0 18px 36px rgba(23, 139, 255, 0.2);
}

.contact-page .contact-secondary-button {
  border: 1px solid rgba(23, 139, 255, 0.18);
  color: #0d1b48;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 30px rgba(16, 32, 68, 0.08);
}

.contact-page .whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.34);
}

.contact-page .whatsapp .whatsapp-mark {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #ffffff;
}

.contact-page .whatsapp .whatsapp-mark svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.contact-page .contact-modal-panel {
  width: min(940px, calc(100% - 40px));
  max-height: calc(100vh - 44px);
  padding: clamp(24px, 3vw, 32px);
  border-radius: 30px;
  overflow: auto;
}

.contact-page .contact-modal-head {
  max-width: 680px;
  margin-bottom: 20px;
  text-align: left;
}

.contact-page .contact-modal-head h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  line-height: 1.08;
}

.contact-page .contact-modal-head p {
  margin-top: 10px;
  color: #5a6684;
  font-size: 0.98rem;
  line-height: 1.55;
}

.contact-page .email-instructions-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(16, 32, 68, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.contact-page .email-checklist,
.contact-page .email-template-card {
  padding: 20px;
  border: 1px solid rgba(16, 32, 68, 0.08);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(16, 32, 68, 0.06);
}

.contact-page .email-checklist h3,
.contact-page .email-template-card h3 {
  margin-bottom: 14px;
  color: #091642;
  font-size: 1.03rem;
}

.contact-page .email-checklist ul {
  display: grid;
  gap: 10px;
}

.contact-page .email-checklist li {
  color: #4f5d7d;
  line-height: 1.42;
}

.contact-page .email-template-card pre {
  max-height: none;
  margin: 0 0 14px;
  padding: 16px;
  border-radius: 16px;
  font-size: 0.86rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.contact-page .contact-modal-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.contact-page .contact-modal-actions .button {
  margin: 0;
}

@media (hover: hover) and (pointer: fine) {
  .contact-page .contact-channel-card:hover {
    border-color: rgba(23, 139, 255, 0.24);
    box-shadow: 0 32px 86px rgba(16, 32, 68, 0.16);
    transform: translateY(-4px);
  }

  .contact-page .contact-channel-card:hover .contact-channel-top > svg,
  .contact-page .contact-channel-card:hover .contact-whatsapp-mark {
    transform: translateY(-2px) scale(1.035);
  }

  .contact-page .contact-channel-card.is-whatsapp:hover {
    border-color: rgba(37, 211, 102, 0.24);
  }
}

@media (max-width: 1060px) {
  .contact-page .contact-channel-grid {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-channel-card {
    min-height: auto;
  }

  .contact-page .contact-channel-card.is-whatsapp p {
    max-width: 620px;
  }
}

@media (max-width: 760px) {
  .contact-page main {
    padding-top: 82px;
  }

  .contact-page .contact-hub {
    width: calc(100% - 28px);
    margin-bottom: 56px;
    padding: 14px;
    border-radius: 28px;
  }

  .contact-page .contact-channel-grid {
    gap: 14px;
  }

  .contact-page .contact-channel-card {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .contact-page .contact-channel-top {
    gap: 14px;
    align-items: center;
    margin-bottom: 20px;
  }

  .contact-page .contact-channel-top > svg,
  .contact-page .contact-whatsapp-mark {
    width: 54px;
    height: 54px;
    min-width: 54px;
    padding: 13px;
    border-radius: 18px;
  }

  .contact-page .contact-whatsapp-mark svg {
    width: 33px;
    height: 33px;
  }

  .contact-page .contact-card-actions {
    display: grid;
  }

  .contact-page .contact-card-actions .button {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .contact-page .contact-modal-panel {
    width: calc(100% - 24px);
    max-height: calc(100vh - 28px);
    padding: 22px 16px;
    border-radius: 24px;
  }

  .contact-page .email-instructions-panel {
    grid-template-columns: 1fr;
    padding: 12px;
    border-radius: 20px;
  }

  .contact-page .email-checklist,
  .contact-page .email-template-card {
    padding: 16px;
    border-radius: 18px;
  }

  .contact-page .contact-modal-actions {
    display: grid;
  }

  .contact-page .contact-modal-actions .button {
    width: 100%;
    justify-content: center;
  }
}

/* EOF Fale Conosco alignment and interaction lock */
.contact-page .contact-channel-card {
  display: flex;
  min-height: 430px;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  transform: translateY(0);
  transition:
    transform 300ms ease,
    box-shadow 300ms ease,
    border-color 300ms ease,
    background 300ms ease;
}

.contact-page .contact-card-content {
  display: grid;
  gap: 0;
}

.contact-page .contact-channel-top {
  margin-bottom: 26px;
}

.contact-page .contact-channel-card p {
  margin: 0;
}

.contact-page .contact-value {
  margin: 26px 0 0;
}

.contact-page .contact-card-actions {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-end;
  margin-top: auto;
}

.contact-page .contact-card-actions .button,
.contact-page .contact-modal-actions .button,
.contact-page .copy-template-button {
  cursor: pointer;
  transition:
    transform 250ms ease,
    box-shadow 250ms ease,
    border-color 250ms ease,
    filter 250ms ease,
    background 250ms ease;
}

.contact-page .button.gradient {
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.2);
}

.contact-page .contact-secondary-button {
  color: #0c1744;
  border-color: rgba(23, 139, 255, 0.18);
  background: rgba(255, 255, 255, 0.92);
}

.contact-page .is-whatsapp .contact-card-actions .button.gradient {
  background: linear-gradient(135deg, #25d366, #178bff);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.2);
}

.contact-page .contact-channel-card.is-whatsapp {
  border-color: rgba(37, 211, 102, 0.15);
}

.contact-page .contact-whatsapp-mark {
  display: grid;
  place-items: center;
}

@media (hover: hover) and (pointer: fine) {
  .contact-page .contact-channel-card:hover {
    border-color: rgba(23, 139, 255, 0.28);
    box-shadow: 0 34px 82px rgba(16, 32, 68, 0.16);
    transform: translateY(-4px);
  }

  .contact-page .contact-channel-card.is-primary:hover {
    border-color: rgba(184, 36, 216, 0.28);
  }

  .contact-page .contact-channel-card.is-whatsapp:hover {
    border-color: rgba(37, 211, 102, 0.3);
  }

  .contact-page .contact-card-actions .button:hover,
  .contact-page .contact-modal-actions .button:hover,
  .contact-page .copy-template-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
  }

  .contact-page .button.gradient:hover {
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.28);
  }

  .contact-page .is-whatsapp .contact-card-actions .button.gradient:hover {
    box-shadow: 0 18px 38px rgba(37, 211, 102, 0.28);
  }

  .contact-page .contact-secondary-button:hover {
    border-color: rgba(129, 56, 255, 0.34);
    background: #ffffff;
    box-shadow: 0 16px 34px rgba(16, 32, 68, 0.12);
  }
}

.contact-page .contact-card-actions .button:active,
.contact-page .contact-modal-actions .button:active,
.contact-page .copy-template-button:active {
  transform: translateY(0);
}

@media (max-width: 760px) {
  .contact-page .contact-channel-card {
    min-height: auto;
    gap: 24px;
  }

  .contact-page .contact-channel-top {
    margin-bottom: 22px;
  }

  .contact-page .contact-value {
    width: 100%;
    justify-content: center;
    margin-top: 24px;
    text-align: center;
  }

  .contact-page .contact-card-actions {
    display: grid;
  }
}

/* EOF Fale Conosco request form */
.contact-page .contact-hub {
  margin-bottom: clamp(34px, 5vw, 54px);
}

.contact-page .contact-request-section {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto clamp(74px, 8vw, 104px);
}

.contact-page .contact-request-head {
  max-width: 760px;
  margin-bottom: clamp(22px, 3vw, 32px);
}

.contact-page .contact-request-head h1 {
  margin: 0;
  color: #07123c;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.03;
  letter-spacing: 0;
}

.contact-page .contact-request-head p {
  max-width: 700px;
  margin: 14px 0 0;
  color: #53617f;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.62;
}

.contact-page .contact-request-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3.2vw, 38px);
  border: 1px solid rgba(16, 32, 68, 0.09);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(184, 36, 216, 0.12), transparent 28%),
    radial-gradient(circle at 0% 100%, rgba(23, 139, 255, 0.1), transparent 30%),
    linear-gradient(180deg, #ffffff, #f9fbff);
  box-shadow: 0 30px 82px rgba(16, 32, 68, 0.12);
}

.contact-page .contact-request-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  content: "";
  background: linear-gradient(90deg, #b824d8, #8138ff, #178bff);
}

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

.contact-page .contact-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.contact-page .contact-field span {
  color: #0a1644;
  font-size: 0.92rem;
  font-weight: 850;
}

.contact-page .contact-field input,
.contact-page .contact-field select,
.contact-page .contact-field textarea {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(16, 32, 68, 0.13);
  border-radius: 16px;
  color: #091642;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(16, 32, 68, 0.045);
  font: inherit;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.contact-page .contact-field textarea {
  min-height: 146px;
  padding-top: 15px;
  resize: vertical;
}

.contact-page .contact-field select {
  cursor: pointer;
}

.contact-page .contact-field input::placeholder,
.contact-page .contact-field textarea::placeholder {
  color: #8a96ad;
}

.contact-page .contact-field input:focus,
.contact-page .contact-field select:focus,
.contact-page .contact-field textarea:focus {
  border-color: #7c3aed;
  outline: none;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12), 0 14px 34px rgba(16, 32, 68, 0.08);
}

.contact-page .contact-field small {
  min-height: 18px;
  color: #c0263f;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.25;
}

.contact-page .contact-field.has-error input,
.contact-page .contact-field.has-error select,
.contact-page .contact-field.has-error textarea {
  border-color: rgba(220, 38, 38, 0.58);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.08);
}

.contact-page .contact-field-message {
  grid-row: span 2;
}

.contact-page .contact-form-footer {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 22px;
  border-top: 1px solid rgba(16, 32, 68, 0.08);
}

.contact-page .contact-form-footer p {
  max-width: 560px;
  margin: 0;
  color: #62708c;
  font-size: 0.95rem;
  line-height: 1.55;
}

.contact-page .contact-submit-button {
  flex: 0 0 auto;
  min-width: 210px;
  min-height: 54px;
  margin: 0;
  border-radius: 14px;
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.22);
}

.contact-page .contact-form-success {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid rgba(39, 208, 155, 0.24);
  border-radius: 18px;
  color: #0f513b;
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.96), rgba(255, 255, 255, 0.96));
  box-shadow: 0 16px 34px rgba(16, 32, 68, 0.06);
}

.contact-page .contact-form-success[hidden] {
  display: none;
}

.contact-page .contact-form-success svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  color: #16a34a;
}

.contact-page .contact-form-success strong {
  display: block;
  margin-bottom: 3px;
  color: #073b2a;
  font-size: 1rem;
}

.contact-page .contact-form-success p {
  margin: 0;
  color: #28634e;
  line-height: 1.45;
}

@media (hover: hover) and (pointer: fine) {
  .contact-page .contact-submit-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 22px 46px rgba(37, 99, 235, 0.3);
  }
}

@media (max-width: 900px) {
  .contact-page .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-page .contact-field-message {
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .contact-page .contact-request-section {
    width: calc(100% - 28px);
    margin-bottom: 68px;
  }

  .contact-page .contact-request-card {
    padding: 24px 16px;
    border-radius: 24px;
  }

  .contact-page .contact-form-footer {
    display: grid;
  }

  .contact-page .contact-submit-button {
    width: 100%;
    min-width: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-page .contact-submit-button,
  .contact-page .contact-field input,
  .contact-page .contact-field select,
  .contact-page .contact-field textarea {
    transition: none !important;
  }
}

/* EOF Fale Conosco form-first layout */
.contact-page main {
  padding-top: clamp(108px, 10vw, 138px);
}

.contact-page .contact-request-section {
  width: min(1120px, calc(100% - 56px));
  margin: 0 auto clamp(38px, 5vw, 58px);
}

.contact-page .contact-request-head {
  max-width: 790px;
  margin-inline: auto;
  text-align: center;
}

.contact-page .contact-request-head h1 {
  font-size: clamp(2.25rem, 4.4vw, 3.75rem);
}

.contact-page .contact-request-head p {
  margin-inline: auto;
}

.contact-page .contact-request-card {
  padding: clamp(26px, 3.8vw, 46px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 100% 0%, rgba(184, 36, 216, 0.14), transparent 28%),
    radial-gradient(circle at 0% 100%, rgba(23, 139, 255, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 34px 96px rgba(16, 32, 68, 0.14);
}

.contact-page .contact-field-interest,
.contact-page .contact-field-message {
  grid-column: 1 / -1;
  grid-row: auto;
}

.contact-page .contact-field textarea {
  min-height: 154px;
}

.contact-page .contact-hub {
  width: min(1120px, calc(100% - 56px));
  margin: 0 auto clamp(70px, 7vw, 98px);
  padding: clamp(16px, 2vw, 24px);
  border-radius: 30px;
  box-shadow: 0 24px 70px rgba(16, 32, 68, 0.1);
}

.contact-page .contact-channel-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}

.contact-page .contact-channel-card {
  min-height: 304px;
  padding: clamp(24px, 3vw, 32px);
  border-radius: 24px;
}

.contact-page .contact-channel-top {
  margin-bottom: 18px;
}

.contact-page .contact-channel-top > svg,
.contact-page .contact-whatsapp-mark {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 19px;
}

.contact-page .contact-whatsapp-mark svg {
  width: 34px;
  height: 34px;
}

.contact-page .contact-channel-card h3 {
  font-size: clamp(1.42rem, 1.8vw, 1.75rem);
}

.contact-page .contact-channel-card p {
  font-size: 0.98rem;
  line-height: 1.55;
}

.contact-page .contact-value {
  margin-top: 20px;
  padding: 12px 14px;
  border-radius: 15px;
  font-size: clamp(0.98rem, 1.25vw, 1.12rem);
}

.contact-page .contact-card-actions .button {
  min-height: 48px;
  padding-inline: 20px;
}

@media (max-width: 900px) {
  .contact-page .contact-channel-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .contact-page main {
    padding-top: 86px;
  }

  .contact-page .contact-request-section,
  .contact-page .contact-hub {
    width: calc(100% - 28px);
  }

  .contact-page .contact-request-head {
    text-align: left;
  }

  .contact-page .contact-request-head p {
    margin-inline: 0;
  }

  .contact-page .contact-request-card {
    padding: 24px 16px;
    border-radius: 24px;
  }

  .contact-page .contact-hub {
    padding: 14px;
    border-radius: 26px;
  }
}

/* EOF compact Fale Conosco first view */
.contact-page main {
  padding-top: clamp(88px, 8vw, 106px);
}

.contact-page .contact-request-section {
  width: min(1080px, calc(100% - 56px));
  margin-bottom: clamp(20px, 3vw, 32px);
}

.contact-page .contact-request-head {
  margin-bottom: 14px;
  text-align: left;
}

.contact-page .contact-request-head h1 {
  font-size: clamp(1.9rem, 3.5vw, 3.05rem);
  line-height: 1.02;
}

.contact-page .contact-request-head p {
  display: none;
}

.contact-page .contact-request-card {
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: 28px;
  box-shadow: 0 24px 68px rgba(16, 32, 68, 0.12);
}

.contact-page .contact-form-note {
  display: inline-flex;
  max-width: 680px;
  margin: 0 0 14px;
  gap: 8px;
  align-items: center;
  color: #5b6885;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.35;
}

.contact-page .contact-form-note svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: #178bff;
}

.contact-page .contact-form-grid {
  gap: 12px 14px;
}

.contact-page .contact-field {
  gap: 6px;
}

.contact-page .contact-field span {
  font-size: 0.86rem;
}

.contact-page .contact-field input,
.contact-page .contact-field select,
.contact-page .contact-field textarea {
  min-height: 46px;
  padding-inline: 14px;
  border-radius: 13px;
}

.contact-page .contact-field textarea {
  min-height: 112px;
  padding-top: 12px;
}

.contact-page .contact-field small {
  min-height: 14px;
  font-size: 0.74rem;
}

.contact-page .contact-field-interest,
.contact-page .contact-field-message {
  grid-column: auto;
}

.contact-page .contact-form-footer {
  justify-content: flex-end;
  margin-top: 8px;
  padding-top: 14px;
}

.contact-page .contact-form-footer p {
  display: none;
}

.contact-page .contact-submit-button {
  min-height: 48px;
  min-width: 190px;
  border-radius: 12px;
}

.contact-page .contact-hub {
  width: min(1080px, calc(100% - 56px));
  margin-bottom: clamp(52px, 6vw, 78px);
  padding: clamp(12px, 1.8vw, 18px);
  border-radius: 26px;
}

.contact-page .contact-channel-grid {
  gap: 14px;
}

.contact-page .contact-channel-card {
  min-height: 224px;
  gap: 14px;
  padding: clamp(18px, 2.2vw, 24px);
  border-radius: 21px;
}

.contact-page .contact-channel-card::before {
  height: 4px;
}

.contact-page .contact-channel-top {
  gap: 13px;
  margin-bottom: 12px;
}

.contact-page .contact-channel-top > svg,
.contact-page .contact-whatsapp-mark {
  width: 48px;
  height: 48px;
  min-width: 48px;
  padding: 12px;
  border-radius: 16px;
}

.contact-page .contact-whatsapp-mark svg {
  width: 29px;
  height: 29px;
}

.contact-page .contact-channel-top span:not(.whatsapp-mark) {
  margin-bottom: 3px;
  font-size: 0.68rem;
}

.contact-page .contact-channel-card h3 {
  font-size: clamp(1.22rem, 1.55vw, 1.48rem);
}

.contact-page .contact-channel-card p {
  font-size: 0.9rem;
  line-height: 1.48;
}

.contact-page .contact-value {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 13px;
  font-size: clamp(0.9rem, 1.05vw, 1rem);
}

.contact-page .contact-card-actions {
  gap: 10px;
}

.contact-page .contact-card-actions .button {
  min-height: 44px;
  padding-inline: 16px;
  border-radius: 11px;
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .contact-page .contact-field-interest,
  .contact-page .contact-field-message {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .contact-page main {
    padding-top: 82px;
  }

  .contact-page .contact-request-section,
  .contact-page .contact-hub {
    width: calc(100% - 28px);
  }

  .contact-page .contact-request-section {
    margin-bottom: 22px;
  }

  .contact-page .contact-request-card {
    padding: 20px 14px;
    border-radius: 22px;
  }

  .contact-page .contact-form-note {
    align-items: flex-start;
    font-size: 0.82rem;
  }

  .contact-page .contact-field textarea {
    min-height: 104px;
  }

  .contact-page .contact-form-footer {
    display: grid;
  }

  .contact-page .contact-hub {
    padding: 12px;
    border-radius: 22px;
  }

  .contact-page .contact-channel-card {
    min-height: auto;
    padding: 18px 16px;
  }
}

/* Eventos page */
.events-page main {
  padding-top: clamp(98px, 10vw, 128px);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(23, 139, 255, 0.1), transparent 26%),
    radial-gradient(circle at 88% 9%, rgba(184, 36, 216, 0.1), transparent 24%),
    linear-gradient(180deg, #f7faff 0%, #ffffff 54%);
}

.events-hero,
.events-section,
.events-final-cta {
  width: min(1180px, calc(100% - 72px));
  margin-right: auto;
  margin-left: auto;
}

.events-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(34px, 5vw, 56px) clamp(26px, 4vw, 42px);
  border: 1px solid rgba(16, 32, 68, 0.08);
  border-radius: 38px;
  background:
    radial-gradient(circle at 94% 12%, rgba(184, 36, 216, 0.13), transparent 28%),
    radial-gradient(circle at 18% 96%, rgba(23, 139, 255, 0.11), transparent 32%),
    rgba(255, 255, 255, 0.86);
  box-shadow: 0 30px 92px rgba(16, 32, 68, 0.12);
  animation: eventsFadeUp 820ms ease both;
}

.events-hero-copy h1 {
  max-width: 760px;
  margin: 0;
  color: #07123c;
  font-size: clamp(2.4rem, 4vw, 4.05rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.events-hero-lead,
.events-hero-note {
  max-width: 690px;
  margin: 20px 0 0;
  color: #52617f;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.6;
}

.events-hero-note {
  max-width: 620px;
  margin-top: 14px;
  color: #304060;
}

.events-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.events-secondary-button {
  border: 1px solid rgba(23, 139, 255, 0.18);
  color: #0d1b48;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(16, 32, 68, 0.08);
}

.events-hero-visual {
  position: relative;
  display: grid;
  gap: 14px;
  padding: clamp(18px, 2.6vw, 26px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 10%, rgba(184, 36, 216, 0.38), transparent 33%),
    radial-gradient(circle at 4% 86%, rgba(23, 139, 255, 0.36), transparent 34%),
    linear-gradient(135deg, #07123c, #0c1f55);
  box-shadow: 0 30px 80px rgba(7, 18, 60, 0.24);
}

.events-hero-visual::before {
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  content: "";
  pointer-events: none;
}

.events-hero-visual article {
  position: relative;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 14px;
  align-items: center;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.events-hero-visual article:nth-child(2) {
  transform: translateX(20px);
}

.events-hero-visual svg {
  width: 50px;
  height: 50px;
  padding: 13px;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #b824d8, #178bff);
}

.events-hero-visual span,
.events-agenda-grid span {
  color: #8ed4ff;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.events-hero-visual strong {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
  line-height: 1.28;
}

.events-section {
  padding: clamp(70px, 8vw, 104px) 0 0;
}

.events-page main > .events-section:last-of-type {
  padding-bottom: clamp(72px, 8vw, 104px);
}

.events-section-head,
.events-section-copy {
  max-width: 760px;
}

.events-section-head {
  margin-bottom: 28px;
}

.events-section h2,
.events-final-cta h2 {
  margin: 0;
  color: #07123c;
  font-size: clamp(2rem, 3.7vw, 3.35rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.events-section p,
.events-final-cta p {
  margin: 14px 0 0;
  color: #566480;
  font-size: 1.02rem;
  line-height: 1.68;
}

.events-experience {
  padding-top: clamp(48px, 5vw, 68px);
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.events-highlight-grid,
.events-format-grid,
.events-agenda-grid,
.events-gallery-grid {
  display: grid;
  gap: 18px;
}

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

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

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

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

.events-highlight-grid article,
.events-format-grid article,
.events-agenda-grid article,
.events-gallery-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 32, 68, 0.09);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 48px rgba(16, 32, 68, 0.09);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.events-highlight-grid article,
.events-format-grid article {
  padding: 26px;
}

.events-highlight-grid article::before,
.events-format-grid article::before,
.events-agenda-grid article::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, #b824d8, #178bff);
}

.events-highlight-grid svg,
.events-format-grid svg {
  width: 52px;
  height: 52px;
  padding: 13px;
  border-radius: 17px;
  color: #ffffff;
  background: linear-gradient(135deg, #b824d8, #178bff);
}

.events-highlight-grid h3,
.events-format-grid h3,
.events-agenda-grid h3,
.events-gallery-grid h3 {
  margin: 18px 0 0;
  color: #08133d;
  font-size: 1.18rem;
  line-height: 1.22;
}

.events-highlight-grid p,
.events-format-grid p,
.events-agenda-grid p {
  margin-top: 12px;
  color: #5a6684;
  font-size: 0.96rem;
  line-height: 1.58;
}

.events-agenda-grid article {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  padding: 26px;
}

.events-agenda-grid span {
  color: #165fc7;
}

.events-agenda-grid dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0 0;
}

.events-agenda-grid dl div {
  padding: 12px;
  border: 1px solid rgba(23, 139, 255, 0.11);
  border-radius: 15px;
  background: #f8fbff;
}

.events-agenda-grid dt {
  color: #74809a;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.events-agenda-grid dd {
  margin: 4px 0 0;
  color: #08133d;
  font-weight: 900;
}

.events-agenda-grid .button {
  width: fit-content;
  margin-top: auto;
}

.events-gallery-grid article {
  padding: 16px;
}

.events-gallery-thumb {
  display: grid;
  min-height: 158px;
  place-items: center;
  border-radius: 20px;
  background:
    radial-gradient(circle at 82% 18%, rgba(184, 36, 216, 0.24), transparent 31%),
    radial-gradient(circle at 18% 85%, rgba(23, 139, 255, 0.24), transparent 33%),
    linear-gradient(135deg, #08133d, #123d86);
}

.events-gallery-thumb svg {
  width: 58px;
  height: 58px;
  color: #ffffff;
}

.events-gallery-grid h3 {
  margin: 16px 4px 4px;
  font-size: 1rem;
}

.events-meeting-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: stretch;
  padding: clamp(28px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid rgba(16, 32, 68, 0.09);
  border-radius: 30px;
  background:
    radial-gradient(circle at 94% 8%, rgba(184, 36, 216, 0.12), transparent 30%),
    radial-gradient(circle at 0% 100%, rgba(23, 139, 255, 0.11), transparent 32%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  box-shadow: 0 24px 72px rgba(16, 32, 68, 0.12);
}

.events-meeting-card::before,
.events-next-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  content: "";
  background: linear-gradient(90deg, #b824d8, #8138ff, #178bff);
}

.events-meeting-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.events-meeting-intro span,
.events-next-card span {
  color: #165fc7;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.events-meeting-intro h3,
.events-next-card h3 {
  margin: 12px 0 0;
  color: #07123c;
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  line-height: 1.04;
}

.events-meeting-intro p,
.events-next-card p {
  margin: 16px 0 0;
  color: #566480;
  font-size: 1rem;
  line-height: 1.66;
}

.events-meeting-parts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.events-meeting-parts article {
  padding: 20px;
  border: 1px solid rgba(16, 32, 68, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 34px rgba(16, 32, 68, 0.08);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.events-meeting-parts svg {
  width: 48px;
  height: 48px;
  padding: 12px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #b824d8, #178bff);
}

.events-meeting-parts article:nth-child(2) svg {
  background: linear-gradient(135deg, #178bff, #27d09b);
}

.events-meeting-parts article:nth-child(3) svg {
  background: linear-gradient(135deg, #8138ff, #178bff);
}

.events-meeting-parts h4 {
  margin: 16px 0 0;
  color: #08133d;
  font-size: 1.02rem;
  line-height: 1.2;
}

.events-meeting-parts p {
  margin: 10px 0 0;
  color: #5a6684;
  font-size: 0.94rem;
  line-height: 1.55;
}

.events-next {
  padding-top: clamp(48px, 6vw, 72px);
}

.events-next-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 3.2vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(16, 32, 68, 0.09);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 20px 56px rgba(16, 32, 68, 0.1);
}

.events-next-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 10px;
  margin: 0;
}

.events-next-card dl div {
  padding: 12px 14px;
  border: 1px solid rgba(23, 139, 255, 0.12);
  border-radius: 16px;
  background: #f8fbff;
}

.events-next-card dt {
  color: #74809a;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.events-next-card dd {
  margin: 4px 0 0;
  color: #08133d;
  font-weight: 900;
}

.events-next-card .button {
  white-space: nowrap;
}

.events-final-cta {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: clamp(70px, 8vw, 104px);
  margin-bottom: clamp(70px, 8vw, 104px);
  padding: clamp(30px, 4vw, 44px);
  border-radius: 28px;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 10%, rgba(184, 36, 216, 0.38), transparent 34%),
    linear-gradient(135deg, #061034, #0d245e);
  box-shadow: 0 28px 78px rgba(7, 18, 60, 0.2);
}

.events-final-cta div {
  max-width: 780px;
}

.events-final-cta h2,
.events-final-cta p {
  color: #ffffff;
}

.events-final-cta p {
  color: rgba(255, 255, 255, 0.78);
}

.events-page .button,
.events-secondary-button {
  transition:
    transform 250ms ease,
    box-shadow 250ms ease,
    border-color 250ms ease,
    filter 250ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .events-page .button:hover,
  .events-secondary-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
  }

  .events-highlight-grid article:hover,
  .events-format-grid article:hover,
  .events-agenda-grid article:hover,
  .events-gallery-grid article:hover,
  .events-meeting-parts article:hover,
  .events-next-card:hover {
    border-color: rgba(23, 139, 255, 0.24);
    box-shadow: 0 26px 62px rgba(16, 32, 68, 0.13);
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .events-hero {
    animation: none;
  }
}

@keyframes eventsFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .events-hero,
  .events-experience {
    grid-template-columns: 1fr;
  }

  .events-hero-visual article:nth-child(2) {
    transform: none;
  }

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

  .events-meeting-card,
  .events-next-card {
    grid-template-columns: 1fr;
  }

  .events-meeting-parts {
    grid-template-columns: 1fr;
  }

  .events-next-card dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 740px) {
  .events-page main {
    padding-top: 84px;
  }

  .events-hero,
  .events-section,
  .events-final-cta {
    width: calc(100% - 28px);
  }

  .events-hero {
    padding: 28px 20px;
    border-radius: 28px;
  }

  .events-hero-copy h1 {
    font-size: clamp(2.05rem, 9vw, 2.5rem);
    line-height: 1.05;
  }

  .events-hero-lead,
  .events-hero-note {
    margin-top: 16px;
    font-size: 0.96rem;
    line-height: 1.52;
  }

  .events-hero-actions {
    margin-top: 20px;
  }

  .events-hero-actions,
  .events-final-cta,
  .events-final-cta .button {
    display: grid;
  }

  .events-hero-actions .button,
  .events-final-cta .button {
    width: 100%;
    justify-content: center;
  }

  .events-hero-visual {
    padding: 14px;
    border-radius: 24px;
  }

  .events-hero-visual article {
    grid-template-columns: 48px 1fr;
    padding: 12px;
  }

  .events-hero-visual svg {
    width: 48px;
    height: 48px;
    padding: 12px;
    border-radius: 16px;
  }

  .events-hero-visual strong {
    font-size: 0.94rem;
  }

  .events-section {
    padding-top: 62px;
  }

  .events-page main > .events-section:last-of-type {
    padding-bottom: 62px;
  }

  .events-highlight-grid,
  .events-format-grid,
  .events-agenda-grid,
  .events-gallery-grid {
    grid-template-columns: 1fr;
  }

  .events-agenda-grid article {
    min-height: 0;
  }

  .events-agenda-grid dl {
    grid-template-columns: 1fr;
  }

  .events-next-card dl {
    grid-template-columns: 1fr;
  }

  .events-agenda-grid .button,
  .events-next-card .button {
    width: 100%;
    justify-content: center;
  }

  .events-final-cta {
    margin-top: 62px;
    margin-bottom: 62px;
    padding: 28px 20px;
    border-radius: 24px;
  }
}

/* Eventos page final ordering */
.events-page main {
  padding-top: clamp(98px, 10vw, 128px);
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 8%, rgba(23, 139, 255, 0.14), transparent 25%),
    radial-gradient(circle at 90% 14%, rgba(184, 36, 216, 0.14), transparent 26%),
    linear-gradient(180deg, #f4f8ff 0%, #ffffff 42%, #f7fbff 100%);
}

.events-page .events-journey-card article,
.events-page .events-why-grid article {
  overflow: hidden;
}

.events-page .events-gallery-grid article.has-image .events-gallery-thumb {
  background-size: cover;
  background-position: center;
}

.events-page .events-gallery-grid article.has-image .events-gallery-thumb svg {
  display: none;
}

.events-page .events-gallery-section {
  position: relative;
}

.events-page .events-gallery-grid {
  grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, 0.85fr));
  align-items: stretch;
}

.events-page .events-gallery-grid article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96)),
    radial-gradient(circle at 92% 12%, rgba(184, 36, 216, 0.08), transparent 32%);
}

.events-page .events-gallery-feature {
  grid-column: span 1;
  grid-row: span 2;
}

.events-page .events-gallery-thumb {
  position: relative;
  min-height: 164px;
}

.events-page .events-gallery-feature .events-gallery-thumb {
  min-height: 430px;
}

.events-page .events-gallery-thumb span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(7, 18, 60, 0.34);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.events-page .events-gallery-section + .events-why {
  padding-top: clamp(34px, 3.5vw, 50px);
}

.events-page .events-why .events-section-head {
  margin-bottom: 24px;
}

.events-page main > .events-why:last-of-type {
  padding-bottom: clamp(52px, 6vw, 76px);
}

/* Eventos hero proportion polish */
.events-page .events-hero {
  width: min(1240px, calc(100% - 56px));
  grid-template-columns: minmax(0, 1.04fr) minmax(460px, 0.96fr);
  gap: clamp(38px, 4.4vw, 64px);
  min-height: clamp(470px, 45vw, 610px);
  padding: clamp(42px, 5vw, 62px) clamp(44px, 5vw, 68px);
  background:
    radial-gradient(circle at 77% 18%, rgba(64, 196, 255, 0.32), transparent 24%),
    radial-gradient(circle at 9% 88%, rgba(235, 31, 180, 0.28), transparent 27%),
    linear-gradient(128deg, #061034 0%, #0b215f 45%, #4c148b 100%);
}

.events-page .events-hero-copy h1 {
  max-width: 760px;
  font-size: clamp(2.7rem, 4.2vw, 4.55rem);
  line-height: 1;
}

.events-page .events-hero-lead,
.events-page .events-hero-note {
  max-width: 780px;
}

.events-page .events-hero-lead {
  margin-top: 24px;
}

.events-page .events-hero-note {
  max-width: 730px;
  margin-top: 14px;
}

.events-page .events-hero-visual {
  width: min(100%, 500px);
  justify-self: end;
  min-height: 330px;
  gap: 16px;
  padding: clamp(22px, 2.4vw, 30px);
}

.events-page .events-hero-visual article {
  grid-template-columns: 56px 1fr;
  padding: 17px 18px;
}

.events-page .events-hero-visual article:nth-of-type(2) {
  transform: translateX(10px);
}

.events-page .events-hero-visual article:nth-of-type(3) {
  transform: translateX(-4px);
}

.events-page .events-hero-visual svg {
  width: 56px;
  height: 56px;
  padding: 14px;
}

@keyframes eventsReveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 740px) {
  .events-page main {
    padding-top: 84px;
  }
}

@media (max-width: 1180px) {
  .events-page .events-hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
    width: min(1180px, calc(100% - 40px));
    gap: 34px;
    padding: 42px 34px;
  }

  .events-page .events-hero-copy h1 {
    font-size: clamp(2.45rem, 4.8vw, 4rem);
  }
}

@media (max-width: 920px) {
  .events-page .events-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .events-page .events-hero-visual {
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  .events-page .events-hero-visual article,
  .events-page .events-hero-visual article:nth-of-type(2),
  .events-page .events-hero-visual article:nth-of-type(3) {
    transform: none;
  }
}

@media (max-width: 740px) {
  .events-page .events-hero {
    width: calc(100% - 28px);
    gap: 22px;
    padding: 26px 18px;
  }

  .events-page .events-hero-copy h1 {
    font-size: clamp(2.18rem, 9.2vw, 2.8rem);
    line-height: 1.04;
  }

  .events-page .events-hero-lead,
  .events-page .events-hero-note {
    margin-top: 12px;
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .events-page .events-hero-visual {
    gap: 10px;
    min-height: 0;
    padding: 12px;
  }

  .events-page .events-hero-visual article {
    grid-template-columns: 44px 1fr;
    gap: 11px;
    padding: 10px;
    border-radius: 18px;
  }

  .events-page .events-hero-visual svg {
    width: 44px;
    height: 44px;
    padding: 11px;
    border-radius: 15px;
  }

  .events-page .events-hero-visual strong {
    font-size: 0.9rem;
  }
}

@media (max-width: 1080px) {
  .events-page .events-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .events-page .events-gallery-feature {
    grid-column: span 2;
    grid-row: auto;
  }

  .events-page .events-gallery-feature .events-gallery-thumb {
    min-height: 300px;
  }
}

@media (max-width: 740px) {
  .events-page .events-gallery-grid {
    grid-template-columns: 1fr;
  }

  .events-page .events-gallery-feature {
    grid-column: auto;
  }

  .events-page .events-gallery-feature .events-gallery-thumb,
  .events-page .events-gallery-thumb {
    min-height: 190px;
  }
}

/* Featured event hero */
.events-page .featured-event-hero {
  width: min(1320px, calc(100% - 56px));
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
  gap: clamp(32px, 5vw, 70px);
  align-items: center;
  min-height: 0;
  padding: clamp(42px, 5.4vw, 72px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(5, 11, 46, 0.98) 0%, rgba(10, 19, 67, 0.96) 52%, rgba(56, 11, 64, 0.92) 100%),
    linear-gradient(90deg, rgba(20, 121, 255, 0.18), rgba(192, 38, 211, 0.16));
  border-color: rgba(255, 255, 255, 0.14);
}

.events-page .featured-event-hero::after {
  display: none;
}

.events-page .featured-event-copy {
  max-width: 760px;
}

.featured-event-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 20px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: #dff3ff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.events-page .featured-event-copy h1 {
  max-width: 720px;
  font-size: clamp(2.7rem, 4.4vw, 5.1rem);
  line-height: 0.98;
}

.featured-event-subtitle {
  max-width: 760px;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.55rem, 2.7vw, 3rem);
  font-weight: 720;
  line-height: 1.05;
}

.featured-event-kicker {
  margin: 18px 0 0;
  color: #8ed4ff;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.featured-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.featured-event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  color: rgba(242, 248, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
  font-weight: 780;
}

.featured-event-meta svg {
  width: 16px;
  height: 16px;
  color: #8ed4ff;
}

.featured-event-bullets {
  display: grid;
  gap: 8px;
  max-width: 650px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.featured-event-bullets li {
  position: relative;
  padding-left: 18px;
  color: rgba(232, 241, 255, 0.86);
  font-size: 0.96rem;
  line-height: 1.5;
}

.featured-event-bullets li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, #178bff, #ff3ebf);
}

.featured-event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.featured-event-actions .events-secondary-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.featured-event-art {
  position: relative;
  z-index: 1;
  margin: 0;
}

.featured-event-art img {
  display: block;
  width: 100%;
  max-height: 560px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.events-page .event-preview-section {
  padding-top: clamp(44px, 5vw, 64px);
}

.event-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.event-preview-grid article {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(16, 32, 68, 0.09);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96)),
    linear-gradient(135deg, rgba(23, 139, 255, 0.08), rgba(184, 36, 216, 0.08));
  box-shadow: 0 18px 46px rgba(16, 32, 68, 0.08);
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.event-preview-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #178bff, #8138ff, #ff3ebf);
}

.event-preview-grid svg {
  width: 54px;
  height: 54px;
  padding: 14px;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, #178bff, #8138ff);
}

.event-preview-grid h3 {
  margin: 18px 0 0;
  color: #07123c;
  font-size: 1.18rem;
  line-height: 1.2;
}

.event-preview-grid p {
  margin: 12px 0 0;
  color: #5a6684;
  font-size: 0.95rem;
  line-height: 1.58;
}

@media (hover: hover) and (pointer: fine) {
  .event-preview-grid article:hover {
    transform: translateY(-4px);
    border-color: rgba(23, 139, 255, 0.24);
    box-shadow: 0 28px 70px rgba(16, 32, 68, 0.13);
  }
}

@media (max-width: 1020px) {
  .events-page .featured-event-hero {
    grid-template-columns: 1fr;
  }

  .featured-event-art {
    max-width: 720px;
  }

  .event-preview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 740px) {
  .events-page .featured-event-hero {
    width: calc(100% - 28px);
    padding: 28px 20px;
    border-radius: 28px;
  }

  .events-page .featured-event-copy h1 {
    font-size: clamp(2.15rem, 10vw, 2.9rem);
  }

  .featured-event-subtitle {
    font-size: clamp(1.28rem, 7vw, 1.8rem);
  }

  .featured-event-meta span {
    width: 100%;
    border-radius: 18px;
  }

  .featured-event-actions,
  .featured-event-actions .button {
    width: 100%;
  }

  .featured-event-actions .button {
    justify-content: center;
  }

  .featured-event-art img {
    max-height: none;
    border-radius: 22px;
  }
}

/* Featured event hero refinement */
.events-page .featured-event-hero {
  width: min(1260px, calc(100% - 56px));
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(30px, 4vw, 54px);
  padding: clamp(34px, 4.4vw, 56px);
  min-height: auto;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(3, 9, 34, 0.98) 0%, rgba(8, 18, 58, 0.97) 48%, rgba(44, 10, 58, 0.94) 100%);
  box-shadow: 0 28px 82px rgba(7, 18, 60, 0.22);
}

.events-page .featured-event-hero::before {
  inset: 18px;
  border-radius: 26px;
  opacity: 0.72;
}

.events-page .featured-event-copy {
  max-width: 710px;
}

.events-page .featured-event-copy h1 {
  max-width: 680px;
  font-size: clamp(2.55rem, 3.9vw, 4.35rem);
  line-height: 0.98;
}

.featured-event-label {
  margin-bottom: 16px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.07);
}

.featured-event-subtitle {
  max-width: 680px;
  margin-top: 8px;
  font-size: clamp(1.35rem, 2.15vw, 2.35rem);
  font-weight: 650;
}

.featured-event-kicker {
  margin-top: 16px;
  font-size: 0.82rem;
}

.featured-event-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  max-width: 690px;
  margin-top: 20px;
}

.featured-event-meta span {
  min-height: 36px;
  padding: 8px 11px;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.25;
}

.events-page .featured-event-copy .events-hero-lead {
  max-width: 680px;
  margin-top: 20px;
  font-size: 0.98rem;
  line-height: 1.58;
}

.featured-event-bullets {
  gap: 6px;
  margin-top: 14px;
}

.featured-event-bullets li {
  font-size: 0.92rem;
  line-height: 1.45;
}

.featured-event-actions {
  margin-top: 22px;
}

.featured-event-actions .button {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
}

.featured-event-art {
  justify-self: end;
  width: 100%;
  max-width: 470px;
}

.featured-event-art img {
  aspect-ratio: 1.02 / 1;
  max-height: 500px;
  object-fit: cover;
  object-position: center top;
  border-radius: 24px;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.3);
}

.events-page .event-preview-section {
  padding-top: clamp(38px, 4vw, 54px);
}

@media (max-width: 1020px) {
  .events-page .featured-event-hero {
    grid-template-columns: 1fr;
  }

  .featured-event-art {
    justify-self: start;
    max-width: 640px;
  }

  .featured-event-art img {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 740px) {
  .events-page .featured-event-hero {
    width: calc(100% - 28px);
    padding: 26px 18px;
    border-radius: 26px;
  }

  .events-page .featured-event-copy h1 {
    font-size: clamp(2.05rem, 9vw, 2.65rem);
  }

  .featured-event-subtitle {
    font-size: clamp(1.18rem, 6.2vw, 1.62rem);
  }

  .featured-event-meta {
    grid-template-columns: 1fr;
  }

  .featured-event-art img {
    aspect-ratio: 4 / 5;
    object-position: center top;
  }
}

/* Featured event red visual system */
.events-page .featured-event-hero {
  width: min(1520px, calc(100% - 28px));
  grid-template-columns: minmax(390px, 0.82fr) minmax(640px, 1.18fr);
  gap: clamp(22px, 3vw, 42px);
  padding: clamp(28px, 3.4vw, 46px);
  background:
    linear-gradient(135deg, rgba(56, 0, 15, 0.96) 0%, rgba(122, 5, 29, 0.96) 46%, rgba(83, 0, 38, 0.94) 100%);
  border-color: rgba(255, 182, 198, 0.2);
  box-shadow: 0 30px 86px rgba(85, 0, 24, 0.28);
}

.events-page .featured-event-hero::before {
  border-color: rgba(255, 226, 232, 0.16);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.055), transparent 44%),
    linear-gradient(90deg, transparent 0%, rgba(255, 62, 116, 0.12) 100%);
}

.events-page .featured-event-hero::after {
  display: block;
  right: -18%;
  bottom: -34%;
  width: 560px;
  height: 560px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 59, 111, 0.22), transparent 66%);
  opacity: 0.95;
}

.featured-event-label {
  color: #ffe6ec;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 225, 232, 0.22);
}

.featured-event-kicker,
.featured-event-meta svg {
  color: #ffd1dc;
}

.featured-event-meta span {
  color: rgba(255, 247, 249, 0.92);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 226, 232, 0.18);
}

.featured-event-bullets li {
  color: rgba(255, 241, 245, 0.88);
}

.featured-event-bullets li::before {
  background: linear-gradient(135deg, #ff315f, #ff94a8);
}

.featured-event-actions .button.gradient {
  background: linear-gradient(135deg, #ff2454, #b90e35 52%, #7c1230);
  box-shadow: 0 18px 44px rgba(185, 14, 53, 0.34);
}

.featured-event-actions .events-secondary-button {
  color: #fff7f9;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 225, 232, 0.24);
}

.featured-event-visual {
  position: relative;
  z-index: 1;
  align-self: center;
  display: grid;
  gap: 10px;
  min-width: 0;
}

.featured-event-date-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 62px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 226, 232, 0.2);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.055)),
    rgba(48, 0, 17, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.featured-event-date-card span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 244, 247, 0.82);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.featured-event-date-card svg {
  width: 18px;
  height: 18px;
  color: #ffd1dc;
}

.featured-event-date-card strong {
  color: #ffffff;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 950;
  letter-spacing: 0.01em;
}

.featured-event-art {
  justify-self: stretch;
  width: 100%;
  max-width: none;
  padding: 6px;
  border: 1px solid rgba(255, 226, 232, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035)),
    rgba(48, 0, 17, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.featured-event-art img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 24px;
  border-color: rgba(255, 226, 232, 0.18);
  box-shadow:
    0 24px 62px rgba(48, 0, 17, 0.34),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.featured-event-side-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(11px, 1.1vw, 14px);
  margin: 0;
}

.featured-event-side-meta span {
  align-items: center;
  min-height: 74px;
  padding: 16px 18px;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.055)),
    rgba(72, 0, 24, 0.26);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 34px rgba(48, 0, 17, 0.16);
  white-space: normal;
}

.featured-event-side-meta svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 0;
  color: #ffd1dc;
}

.featured-event-side-meta b {
  color: #fff8fa;
  font-size: clamp(0.98rem, 1.08vw, 1.08rem);
  font-weight: 900;
  line-height: 1.36;
}

.featured-event-side-meta .featured-event-address {
  grid-column: 1 / -1;
  align-items: flex-start;
  min-height: 82px;
}

.featured-event-side-meta .featured-event-address svg {
  margin-top: 2px;
}

.featured-event-side-meta .featured-event-address b {
  font-size: clamp(0.94rem, 1vw, 1.02rem);
  line-height: 1.42;
}

.events-page .event-preview-section {
  background: linear-gradient(180deg, rgba(255, 247, 249, 0.5), transparent 72%);
}

/* Event page warm visual continuity */
.events-page .event-preview-section,
.events-page .events-experience {
  position: relative;
  overflow: hidden;
  width: min(1320px, calc(100% - 40px));
  border: 1px solid rgba(122, 5, 29, 0.08);
  border-radius: 34px;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 49, 95, 0.1), transparent 34%),
    linear-gradient(135deg, rgba(255, 247, 249, 0.98), rgba(255, 241, 246, 0.9) 52%, rgba(255, 250, 251, 0.98));
  box-shadow: 0 26px 70px rgba(85, 0, 24, 0.07);
}

.events-page .event-preview-section {
  margin-top: clamp(18px, 2.5vw, 30px);
  padding: clamp(54px, 6vw, 78px) clamp(22px, 4vw, 46px) clamp(34px, 4.5vw, 58px);
}

.events-page .event-preview-section::before {
  content: "";
  position: absolute;
  inset: -70px 8% auto;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(185, 14, 53, 0.18), transparent 70%);
  pointer-events: none;
}

.events-page .events-experience {
  margin-top: clamp(22px, 3vw, 38px);
  padding: clamp(52px, 6vw, 78px) clamp(22px, 4vw, 46px);
}

.events-page .event-preview-section .events-section-head,
.events-page .events-experience .events-section-head,
.event-preview-grid,
.events-page .events-experience .events-journey-card {
  position: relative;
  z-index: 1;
}

.events-page .event-preview-section .events-section-head h2,
.events-page .events-experience .events-section-head h2 {
  color: #360014;
}

.events-page .events-experience .events-section-head p {
  color: #735364;
}

.event-preview-grid article,
.events-page .events-experience .events-journey-card article {
  border-color: rgba(122, 5, 29, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 247, 249, 0.96)),
    #ffffff;
  box-shadow: 0 18px 44px rgba(85, 0, 24, 0.08);
}

.event-preview-grid article::before,
.events-page .events-experience .events-journey-card article::before,
.events-page .events-experience .events-journey-card article:nth-of-type(2)::before,
.events-page .events-experience .events-journey-card article:nth-of-type(3)::before {
  background: linear-gradient(90deg, #7c1230, #ff2454, #d9266f);
}

.event-preview-grid svg,
.events-page .events-experience .events-journey-card svg,
.events-page .events-experience .events-journey-card article:nth-of-type(3) svg {
  color: #ffffff;
  background: linear-gradient(135deg, #7c1230, #d41445 52%, #ff5b7f);
  box-shadow: 0 14px 30px rgba(185, 14, 53, 0.2);
}

.event-preview-grid h3,
.events-page .events-experience .events-journey-card h3 {
  color: #2b0010;
}

.event-preview-grid p,
.events-page .events-experience .events-journey-card p {
  color: #6b4d5a;
}

.events-page .events-experience .events-journey-card {
  padding: clamp(18px, 2.4vw, 28px);
  border-color: rgba(122, 5, 29, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 238, 244, 0.76)),
    rgba(255, 247, 249, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 18px 46px rgba(85, 0, 24, 0.06);
}

.events-page .events-experience .events-journey-line {
  background: linear-gradient(90deg, rgba(124, 18, 48, 0.14), rgba(255, 36, 84, 0.42), rgba(124, 18, 48, 0.14));
}

@media (hover: hover) and (pointer: fine) {
  .event-preview-grid article:hover,
  .events-page .events-experience .events-journey-card article:hover {
    border-color: rgba(185, 14, 53, 0.26);
    box-shadow: 0 28px 70px rgba(85, 0, 24, 0.13);
  }
}

@media (max-width: 740px) {
  .events-page .event-preview-section,
  .events-page .events-experience {
    width: calc(100% - 28px);
    padding-right: 18px;
    padding-left: 18px;
    border-radius: 28px;
  }
}

@media (max-width: 1180px) {
  .events-page .featured-event-hero {
    grid-template-columns: 1fr;
    width: min(960px, calc(100% - 32px));
  }

  .featured-event-visual {
    justify-self: center;
    width: 100%;
    max-width: 900px;
  }

  .featured-event-art {
    justify-self: center;
    max-width: 900px;
  }
}

@media (max-width: 740px) {
  .events-page .featured-event-hero {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
  }

  .events-page .featured-event-hero::after {
    width: 360px;
    height: 360px;
  }

  .featured-event-art {
    max-width: none;
    padding: 5px;
    border-radius: 24px;
  }

  .featured-event-date-card {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    min-height: 0;
    padding: 12px 14px;
    border-radius: 18px;
  }

  .featured-event-side-meta {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .featured-event-side-meta span {
    min-height: 58px;
    padding: 14px 15px;
    border-radius: 18px;
  }

  .featured-event-side-meta svg {
    width: 20px;
    height: 20px;
  }

  .featured-event-side-meta b,
  .featured-event-side-meta .featured-event-address b {
    font-size: 0.95rem;
  }

  .featured-event-art img {
    aspect-ratio: auto;
    border-radius: 20px;
  }
}

/* Clientes logo grid polish */
.trusted {
  padding-top: clamp(38px, 5vw, 64px);
  padding-bottom: clamp(44px, 6vw, 76px);
}

.trusted h2 {
  margin-top: 0;
  margin-bottom: 24px;
  text-align: center;
  text-transform: uppercase;
}

.client-carousel {
  position: relative;
  overflow: visible;
  margin-top: 0;
  padding: 0;
}

.client-carousel::before,
.client-carousel::after {
  display: none;
}

.client-track {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
  animation: none;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(16, 32, 68, 0.08);
  border-radius: 18px;
  color: #07123c;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 34px rgba(16, 32, 68, 0.06);
  text-align: center;
  white-space: normal;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.client-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 150px;
  max-height: 64px;
  object-fit: contain;
  padding: 0;
  border-radius: 0;
  background: transparent;
  filter: none;
}

.client-image.is-favicon,
.client-symbol,
.client-wordmark {
  display: none !important;
}

.client-name {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  color: #07123c;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.22;
}

.client-logo.has-logo .client-name {
  display: none;
}

.client-logo.logo-missing .client-name {
  display: flex;
}

@media (hover: hover) and (pointer: fine) {
  .client-logo:hover {
    border-color: rgba(23, 139, 255, 0.18);
    box-shadow: 0 20px 44px rgba(16, 32, 68, 0.1);
    transform: translateY(-3px);
  }
}

@media (max-width: 760px) {
  .client-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .client-logo {
    min-height: 78px;
    padding: 14px;
    border-radius: 16px;
  }

  .client-image {
    max-width: 126px;
    max-height: 52px;
  }

  .client-name {
    font-size: 0.84rem;
  }
}

/* Clientes finite carousel */
.trusted {
  padding-top: clamp(44px, 5vw, 72px);
  padding-bottom: clamp(50px, 6vw, 82px);
}

.client-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.client-section-head h2 {
  margin: 0;
  color: #07123c;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1;
  text-align: left;
  text-transform: none;
}

.client-section-head p {
  max-width: 650px;
  margin: 10px 0 0;
  color: #5d6884;
  font-size: 1rem;
  line-height: 1.65;
}

.client-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.client-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(23, 139, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #7c3aed, #178bff);
  box-shadow: 0 14px 30px rgba(23, 139, 255, 0.2);
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, filter 220ms ease, opacity 220ms ease;
}

.client-control svg {
  width: 19px;
  height: 19px;
}

.client-control:disabled {
  opacity: 0.36;
  cursor: not-allowed;
  filter: grayscale(0.2);
  transform: none;
  box-shadow: none;
}

.client-carousel {
  overflow: visible;
  margin-top: 0;
  padding: 0;
}

.client-carousel::before,
.client-carousel::after {
  display: none !important;
}

.client-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  animation: none !important;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 106px;
  padding: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  color: #07123c;
  text-align: center;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.client-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 150px;
  max-height: 64px;
  object-fit: contain;
  padding: 0;
  border-radius: 0;
  background: transparent;
  filter: none;
  transition: transform 250ms ease;
}

.client-symbol,
.client-wordmark,
.client-image.is-favicon {
  display: none !important;
}

.client-name {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 150px;
  min-height: 40px;
  color: #07123c;
  font-size: 0.9rem;
  font-weight: 850;
  line-height: 1.24;
}

.client-logo.has-logo .client-name {
  display: none;
}

.client-logo.logo-missing .client-name {
  display: flex;
}

.client-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.client-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(7, 18, 60, 0.2);
  cursor: pointer;
  transition: width 220ms ease, background 220ms ease;
}

.client-dots button[aria-current="true"] {
  width: 28px;
  background: linear-gradient(135deg, #c02dd7, #178bff);
}

@media (hover: hover) and (pointer: fine) {
  .client-control:not(:disabled):hover,
  .client-dots button:hover {
    filter: brightness(1.05);
  }

  .client-control:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(23, 139, 255, 0.25);
  }

  .client-logo:hover {
    transform: translateY(-4px);
    border-color: rgba(124, 58, 237, 0.25);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.1);
  }

  .client-logo:hover .client-image {
    transform: scale(1.025);
  }
}

@media (max-width: 980px) {
  .client-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .client-section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .client-section-head h2 {
    font-size: clamp(1.8rem, 8vw, 2.3rem);
  }

  .client-section-head p {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .client-controls {
    align-self: flex-end;
  }

  .client-control {
    width: 42px;
    height: 42px;
  }

  .client-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .client-logo {
    min-height: 88px;
    padding: 14px;
    border-radius: 16px;
  }

  .client-image {
    max-width: 126px;
    max-height: 52px;
  }

  .client-name {
    max-width: 126px;
    font-size: 0.82rem;
  }
}

/* Clientes infinite marquee */
.trusted {
  overflow: hidden;
}

.client-section-head {
  display: block;
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.client-section-head h2 {
  text-align: center;
}

.client-section-head p {
  margin-right: auto;
  margin-left: auto;
}

.client-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 6px 0 12px;
}

.client-carousel::before,
.client-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  z-index: 2;
  display: block !important;
  width: min(90px, 12vw);
  height: 100%;
  pointer-events: none;
}

.client-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #f5f8ff 0%, rgba(245, 248, 255, 0) 100%);
}

.client-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #f5f8ff 0%, rgba(245, 248, 255, 0) 100%);
}

.client-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 18px;
  will-change: transform;
  animation: clientsMarquee 64s linear infinite !important;
}

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

.client-logo {
  flex: 0 0 auto;
  width: 186px;
  min-height: 108px;
  padding: 18px 20px;
  flex-direction: column;
  gap: 8px;
}

.client-image {
  max-width: 146px;
  max-height: 62px;
}

.client-logo.client-labeled.has-logo .client-name,
.client-logo.logo-missing .client-name {
  display: flex;
  min-height: 0;
  max-width: 145px;
  color: #12204a;
  font-size: 0.72rem;
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: 0.01em;
  text-align: center;
}

.client-logo.client-labeled.has-logo .client-image {
  max-width: 104px;
  max-height: 48px;
}

.client-logo.logo-missing {
  min-height: 108px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.client-logo.logo-missing .client-name {
  max-width: 150px;
  padding: 8px 10px;
  border: 1px solid rgba(23, 139, 255, 0.12);
  border-radius: 999px;
  background: rgba(23, 139, 255, 0.06);
}

@keyframes clientsMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .client-track {
    gap: 14px;
    animation-duration: 58s !important;
  }

  .client-logo {
    width: 160px;
    min-height: 102px;
    padding: 16px;
  }

  .client-image {
    max-width: 126px;
    max-height: 54px;
  }
}

@media (max-width: 640px) {
  .client-section-head {
    margin-bottom: 20px;
    text-align: left;
  }

  .client-section-head h2,
  .client-section-head p {
    text-align: left;
  }

  .client-carousel::before,
  .client-carousel::after {
    width: 44px;
  }

  .client-track {
    gap: 12px;
    animation-duration: 54s !important;
  }

  .client-logo {
    width: 138px;
    min-height: 96px;
    padding: 13px;
  }

  .client-image {
    max-width: 112px;
    max-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-track {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    animation: none !important;
    transform: none !important;
  }

  .client-logo[aria-hidden="true"] {
    display: none;
  }
}

.client-aqua {
  background: #0d5360;
  border-color: rgba(13, 83, 96, 0.18);
}

.client-agrivalle,
.client-aqua {
  background: #0d5360;
  border-color: rgba(13, 83, 96, 0.18);
}

.client-aqua .client-name,
.client-agrivalle .client-name {
  color: #ffffff;
}

.client-agrivalle .client-image {
  max-width: 142px;
  max-height: 54px;
}

.client-mozaiko .client-image,
.client-taking .client-image,
.client-aiknow .client-image,
.client-gen .client-image,
.client-icolab .client-image,
.client-abinc .client-image {
  width: auto;
  max-width: 74px;
  max-height: 48px;
}

.client-trademaster .client-image {
  max-width: 94px;
  max-height: 68px;
}

.client-lindt .client-image {
  max-width: 148px;
  max-height: 58px;
}

.client-vinci .client-image {
  max-width: 148px;
  max-height: 70px;
}

.client-trisul .client-image,
.client-pwc .client-image,
.client-cnh .client-image {
  max-width: 152px;
  max-height: 58px;
}

.client-logo.logo-missing {
  display: none !important;
}

/* New institutional positioning updates */
.trusted.trusted-clients {
  padding-top: clamp(42px, 5vw, 74px);
  padding-bottom: clamp(50px, 6vw, 86px);
}

.trusted.trusted-clients .client-carousel {
  min-height: 156px;
  padding: 12px 0 18px;
}

.trusted.trusted-clients .client-track {
  gap: 24px;
  animation-duration: 42s !important;
}

.trusted.trusted-clients .client-logo {
  width: 224px;
  min-height: 132px;
  padding: 22px 26px;
  border-radius: 22px;
}

.trusted.trusted-clients .client-image {
  max-width: 178px;
  max-height: 78px;
}

.trusted.trusted-clients .client-logo.client-labeled.has-logo .client-image {
  max-width: 126px;
  max-height: 58px;
}

.trusted.trusted-clients .client-logo.client-labeled.has-logo .client-name {
  max-width: 168px;
  font-size: 0.78rem;
}

.trusted.trusted-clients .client-mozaiko .client-image,
.trusted.trusted-clients .client-taking .client-image,
.trusted.trusted-clients .client-aiknow .client-image,
.trusted.trusted-clients .client-gen .client-image,
.trusted.trusted-clients .client-icolab .client-image,
.trusted.trusted-clients .client-abinc .client-image {
  max-width: 92px;
  max-height: 58px;
}

.trusted.trusted-clients .client-trademaster .client-image {
  max-width: 116px;
  max-height: 78px;
}

.trusted.trusted-clients .client-lindt .client-image,
.trusted.trusted-clients .client-vinci .client-image,
.trusted.trusted-clients .client-trisul .client-image,
.trusted.trusted-clients .client-pwc .client-image,
.trusted.trusted-clients .client-cnh .client-image {
  max-width: 176px;
  max-height: 78px;
}

.value-real-section {
  position: relative;
  width: 100%;
  max-width: none;
  padding: clamp(58px, 6vw, 86px) max(20px, calc((100vw - 1220px) / 2)) clamp(64px, 7vw, 96px);
  color: #142044;
  background:
    radial-gradient(circle at 8% 16%, rgba(23, 139, 255, 0.07), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.value-real-head {
  max-width: 790px;
  margin-bottom: 28px;
}

.value-real-head h2 {
  max-width: 720px;
  margin-bottom: 12px;
  color: #101a45;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1.06;
}

.value-real-head p {
  max-width: 720px;
  color: #5d6886;
  font-size: clamp(0.98rem, 1.12vw, 1.05rem);
  line-height: 1.62;
}

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

.value-real-grid article {
  position: relative;
  min-height: 230px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 20px;
  background:
    radial-gradient(circle at 100% 0%, rgba(23, 139, 255, 0.08), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 251, 255, 0.96));
  box-shadow: 0 18px 46px rgba(16, 26, 69, 0.075);
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 260ms ease;
}

.value-real-grid article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #b91c8c 0%, #8138ff 48%, #178bff 100%);
}

.value-real-grid svg {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  padding: 10px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #b91c8c, #178bff);
  box-shadow: 0 14px 28px rgba(23, 139, 255, 0.18);
}

.value-real-grid h3 {
  margin: 0 0 10px;
  color: #101a45;
  font-size: clamp(1.08rem, 1.4vw, 1.28rem);
  line-height: 1.18;
}

.value-real-grid p {
  margin: 0;
  color: #5d6886;
  font-size: 0.96rem;
  line-height: 1.58;
}

@media (hover: hover) {
  .value-real-grid article:hover {
    transform: translateY(-5px);
    border-color: rgba(129, 56, 255, 0.24);
    box-shadow: 0 26px 68px rgba(16, 26, 69, 0.11);
  }
}

@media (max-width: 980px) {
  .trusted.trusted-clients .client-track {
    gap: 18px;
  }

  .trusted.trusted-clients .client-logo {
    width: 182px;
    min-height: 116px;
    padding: 18px;
  }

  .trusted.trusted-clients .client-image {
    max-width: 146px;
    max-height: 64px;
  }

  .value-real-grid {
    grid-template-columns: 1fr;
  }

  .value-real-grid article {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .trusted.trusted-clients {
    padding-top: 36px;
    padding-bottom: 52px;
  }

  .trusted.trusted-clients .client-carousel {
    min-height: 120px;
  }

  .trusted.trusted-clients .client-track {
    gap: 14px;
    animation-duration: 38s !important;
  }

  .trusted.trusted-clients .client-logo {
    width: 150px;
    min-height: 100px;
    padding: 14px;
    border-radius: 18px;
  }

  .trusted.trusted-clients .client-image {
    max-width: 122px;
    max-height: 52px;
  }

  .trusted.trusted-clients .client-logo.client-labeled.has-logo .client-name {
    font-size: 0.68rem;
  }

  .value-real-section {
    padding-top: 48px;
    padding-bottom: 58px;
  }

  .value-real-head {
    margin-bottom: 22px;
  }

  .value-real-grid article {
    padding: 22px;
    border-radius: 18px;
  }
}

/* Services infographic: IA as value strategy */
.services-page .ai-value-section {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  padding: clamp(70px, 7vw, 104px) max(20px, calc((100vw - 1220px) / 2));
  background:
    radial-gradient(circle at 12% 20%, rgba(23, 139, 255, 0.13), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(226, 27, 183, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f5f8ff 52%, #ffffff 100%);
}

.services-page .ai-value-section::before {
  content: "";
  position: absolute;
  inset: 18px max(14px, calc((100vw - 1280px) / 2)) auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(129, 56, 255, 0.28), rgba(23, 139, 255, 0.22), transparent);
}

.ai-value-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.ai-value-head {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.ai-value-head h2 {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  color: #08184a;
  font-size: clamp(2rem, 3.3vw, 3.28rem);
  line-height: 1.06;
}

.ai-value-head p {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  color: #53617f;
  font-size: clamp(0.98rem, 1.12vw, 1.08rem);
  line-height: 1.62;
}

.ai-value-figure {
  width: min(100%, 1200px);
  margin: 0 auto;
  padding: clamp(10px, 1.4vw, 16px);
  overflow: hidden;
  border: 1px solid rgba(18, 35, 75, 0.1);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 28px 80px rgba(16, 26, 69, 0.12),
    0 1px 0 rgba(255, 255, 255, 0.92) inset;
}

.ai-value-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: contain;
}

@media (max-width: 820px) {
  .services-page .ai-value-section {
    padding-top: 56px;
    padding-bottom: 62px;
  }

  .ai-value-head {
    margin-bottom: 24px;
    text-align: left;
  }

  .ai-value-head h2,
  .ai-value-head p {
    margin-left: 0;
    text-align: left;
  }

  .ai-value-figure {
    overflow-x: auto;
    padding: 10px;
    border-radius: 22px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ai-value-figure::-webkit-scrollbar {
    display: none;
  }

  .ai-value-figure img {
    min-width: 760px;
    max-width: none;
    border-radius: 16px;
  }
}

@media (max-width: 520px) {
  .ai-value-figure img {
    min-width: 680px;
  }
}

/* Services page strategic redesign */
.services-redesign {
  --service-navy: #07133d;
  --service-blue: #1479ff;
  --service-purple: #7c3aed;
  --service-magenta: #c026d3;
  --service-cyan: #22d3ee;
  --service-green: #10b981;
  --service-soft: #f6f9ff;
  color: var(--service-navy);
  background: #ffffff;
}

.service-strategy-hero,
.service-section {
  width: 100%;
  max-width: none;
  padding-right: max(20px, calc((100vw - 1220px) / 2));
  padding-left: max(20px, calc((100vw - 1220px) / 2));
}

.service-strategy-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: clamp(34px, 6vw, 76px);
  min-height: 720px;
  padding-top: 150px;
  padding-bottom: clamp(76px, 8vw, 118px);
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(20, 121, 255, 0.18), transparent 30%),
    radial-gradient(circle at 78% 18%, rgba(192, 38, 211, 0.16), transparent 30%),
    radial-gradient(circle at 78% 84%, rgba(34, 211, 238, 0.12), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #eef5ff 52%, #ffffff 100%);
}

.service-strategy-hero::before {
  content: "";
  position: absolute;
  inset: 96px max(18px, calc((100vw - 1320px) / 2)) 50px;
  border: 1px solid rgba(20, 121, 255, 0.11);
  border-radius: 34px;
  pointer-events: none;
}

.service-hero-copy,
.service-hero-visual {
  position: relative;
  z-index: 1;
}

.service-hero-copy {
  max-width: 690px;
  animation: serviceFadeUp 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.service-hero-copy h1 {
  max-width: 780px;
  margin: 0;
  color: var(--service-navy);
  font-size: clamp(2.8rem, 5.3vw, 5.35rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.service-hero-copy h1::after {
  content: "";
  display: block;
  width: 118px;
  height: 5px;
  margin-top: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--service-magenta), var(--service-purple), var(--service-blue));
}

.service-hero-lead,
.service-hero-support {
  margin: 0;
  color: #4f5f83;
  line-height: 1.66;
}

.service-hero-lead {
  max-width: 655px;
  margin-top: 28px;
  font-size: clamp(1.02rem, 1.25vw, 1.18rem);
}

.service-hero-support {
  max-width: 590px;
  margin-top: 14px;
  font-size: 0.98rem;
}

.service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.service-secondary-button {
  border-color: rgba(7, 19, 61, 0.14);
  color: var(--service-navy);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(7, 19, 61, 0.08);
}

.service-secondary-button:hover {
  border-color: rgba(124, 58, 237, 0.28);
  background: #ffffff;
}

.service-hero-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  min-height: 430px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(7, 19, 61, 0.96), rgba(16, 35, 92, 0.92)),
    radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.25), transparent 38%);
  box-shadow: 0 34px 90px rgba(7, 19, 61, 0.24);
  overflow: hidden;
  animation: serviceFadeLeft 950ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.service-orbit {
  position: absolute;
  inset: 28px;
  pointer-events: none;
}

.service-orbit span {
  position: absolute;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 50%;
}

.service-orbit span:nth-child(1) {
  inset: 12% 20%;
}

.service-orbit span:nth-child(2) {
  inset: 22% 10%;
  border-color: rgba(192, 38, 211, 0.18);
}

.service-orbit span:nth-child(3) {
  inset: 4% 33% 42% 5%;
  border-color: rgba(20, 121, 255, 0.2);
}

.service-hero-visual article {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 176px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.service-hero-visual article:nth-of-type(1),
.service-hero-visual article:nth-of-type(4) {
  transform: translateY(18px);
}

.service-hero-visual article svg {
  width: 42px;
  height: 42px;
  padding: 9px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--service-magenta), var(--service-blue));
}

.service-hero-visual article strong {
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.15;
}

.service-hero-visual article span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  line-height: 1.42;
}

.service-section {
  padding-top: clamp(72px, 7vw, 104px);
  padding-bottom: clamp(72px, 7vw, 104px);
}

.service-section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.service-section-head.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.service-section-head h2 {
  max-width: 780px;
  margin: 0 0 14px;
  color: var(--service-navy);
  font-size: clamp(2rem, 3.55vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.service-section-head.centered h2,
.service-section-head.centered p {
  margin-right: auto;
  margin-left: auto;
}

.service-section-head p {
  max-width: 760px;
  margin: 0;
  color: #5b6a88;
  font-size: clamp(0.98rem, 1.1vw, 1.06rem);
  line-height: 1.66;
}

.service-what {
  background: #ffffff;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-mini-card,
.pillar-v2-card,
.value-grid article,
.differential-grid article,
.detail-row {
  border: 1px solid rgba(7, 19, 61, 0.1);
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
  box-shadow: 0 20px 54px rgba(7, 19, 61, 0.075);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.service-mini-card {
  position: relative;
  min-height: 245px;
  padding: 25px;
  overflow: hidden;
  border-radius: 22px;
}

.service-mini-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--service-magenta), var(--service-purple), var(--service-blue));
}

.service-mini-card svg,
.value-grid svg {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  padding: 9px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--service-purple), var(--service-blue));
}

.service-mini-card h3,
.value-grid h3,
.differential-grid h3 {
  margin: 0 0 10px;
  color: var(--service-navy);
  font-size: 1.14rem;
  line-height: 1.2;
}

.service-mini-card p,
.value-grid p,
.differential-grid p {
  margin: 0;
  color: #5b6a88;
  font-size: 0.94rem;
  line-height: 1.58;
}

.service-approach {
  background:
    radial-gradient(circle at 14% 20%, rgba(34, 211, 238, 0.1), transparent 28%),
    linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
}

.approach-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.approach-steps::before {
  content: "";
  position: absolute;
  top: 44px;
  right: 8%;
  left: 8%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--service-magenta), var(--service-purple), var(--service-blue), var(--service-cyan));
  opacity: 0.42;
}

.approach-steps article {
  position: relative;
  z-index: 1;
  min-height: 255px;
  padding: 22px 20px;
  border: 1px solid rgba(20, 121, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(7, 19, 61, 0.075);
}

.approach-steps article > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--service-magenta), var(--service-blue));
  font-weight: 950;
}

.approach-steps svg {
  width: 28px;
  height: 28px;
  margin-bottom: 14px;
  color: var(--service-blue);
}

.approach-steps h3 {
  margin: 0 0 9px;
  color: var(--service-navy);
  font-size: 1.05rem;
}

.approach-steps p {
  margin: 0;
  color: #5b6a88;
  font-size: 0.9rem;
  line-height: 1.52;
}

.service-pillars-v2 {
  background: #ffffff;
}

.pillar-v2-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.pillar-v2-card {
  --pillar-a: var(--service-blue);
  --pillar-b: var(--service-purple);
  position: relative;
  min-height: 410px;
  padding: 30px;
  overflow: hidden;
  border-radius: 26px;
}

.pillar-v2-card:nth-child(2) {
  --pillar-a: var(--service-magenta);
  --pillar-b: var(--service-blue);
}

.pillar-v2-card:nth-child(3) {
  --pillar-a: var(--service-cyan);
  --pillar-b: var(--service-blue);
}

.pillar-v2-card:nth-child(4) {
  --pillar-a: var(--service-purple);
  --pillar-b: var(--service-magenta);
}

.pillar-v2-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--pillar-a), var(--pillar-b));
}

.pillar-number {
  position: absolute;
  top: 25px;
  right: 26px;
  color: color-mix(in srgb, var(--pillar-a) 42%, transparent);
  font-size: 2.3rem;
  font-weight: 950;
}

.pillar-v2-card svg {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  padding: 10px;
  border-radius: 15px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pillar-a), var(--pillar-b));
}

.pillar-v2-card h3 {
  max-width: 460px;
  margin: 0 0 12px;
  color: var(--service-navy);
  font-size: clamp(1.24rem, 1.8vw, 1.55rem);
  line-height: 1.15;
}

.pillar-v2-card p {
  max-width: 620px;
  margin: 0 0 18px;
  color: #5b6a88;
  font-size: 0.96rem;
  line-height: 1.58;
}

.pillar-v2-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pillar-v2-card li {
  position: relative;
  padding-left: 20px;
  color: #1c2b55;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.35;
}

.pillar-v2-card li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pillar-a), var(--pillar-b));
}

.service-infographic {
  background:
    radial-gradient(circle at 12% 20%, rgba(20, 121, 255, 0.13), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(192, 38, 211, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f5f8ff 52%, #ffffff 100%);
}

.service-infographic .ai-value-figure {
  width: min(100%, 1200px);
}

.service-infographic .ai-value-figure img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.service-details {
  background: #ffffff;
}

.detail-stack {
  display: grid;
  gap: 18px;
}

.detail-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 28px;
  border-radius: 26px;
}

.detail-row:nth-child(even) {
  background:
    radial-gradient(circle at 92% 10%, rgba(192, 38, 211, 0.08), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.detail-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--service-purple), var(--service-blue));
}

.detail-icon svg {
  width: 30px;
  height: 30px;
}

.detail-row h3 {
  margin: 0 0 10px;
  color: var(--service-navy);
  font-size: clamp(1.22rem, 1.65vw, 1.55rem);
  line-height: 1.18;
}

.detail-row p {
  max-width: 890px;
  margin: 0 0 13px;
  color: #5b6a88;
  line-height: 1.64;
}

.detail-row strong {
  color: #0b56d9;
  font-size: 0.95rem;
}

.service-value {
  background:
    radial-gradient(circle at 8% 8%, rgba(16, 185, 129, 0.1), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

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

.value-grid article {
  min-height: 210px;
  padding: 24px;
  border-radius: 22px;
}

.value-grid article:nth-child(2) svg {
  background: linear-gradient(135deg, var(--service-green), var(--service-cyan));
}

.value-grid article:nth-child(3) svg {
  background: linear-gradient(135deg, var(--service-blue), var(--service-cyan));
}

.value-grid article:nth-child(4) svg {
  background: linear-gradient(135deg, var(--service-magenta), var(--service-purple));
}

.service-differentials {
  padding-bottom: clamp(80px, 8vw, 120px);
  background: #ffffff;
}

.differential-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.differential-grid article {
  min-height: 245px;
  padding: 26px;
  border-radius: 24px;
}

.differential-grid article > strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 70px;
  height: 44px;
  margin-bottom: 20px;
  padding: 0 16px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--service-magenta), var(--service-purple), var(--service-blue));
  font-size: 1.08rem;
  font-weight: 950;
}

@keyframes serviceFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes serviceFadeLeft {
  from {
    opacity: 0;
    transform: translateX(34px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (hover: hover) {
  .service-hero-visual article:hover,
  .service-mini-card:hover,
  .pillar-v2-card:hover,
  .value-grid article:hover,
  .differential-grid article:hover,
  .detail-row:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, 0.24);
    box-shadow: 0 28px 78px rgba(7, 19, 61, 0.12);
  }

  .service-hero-visual article:hover {
    background: rgba(255, 255, 255, 0.13);
  }
}

@media (max-width: 1100px) {
  .service-strategy-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .service-hero-copy {
    max-width: 820px;
  }

  .service-hero-visual {
    max-width: 780px;
  }

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

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

  .approach-steps::before {
    display: none;
  }

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

@media (max-width: 820px) {
  .service-strategy-hero,
  .service-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .service-strategy-hero {
    padding-top: 128px;
    padding-bottom: 62px;
  }

  .service-strategy-hero::before {
    inset: 86px 10px 28px;
    border-radius: 24px;
  }

  .service-hero-copy h1 {
    font-size: clamp(2.35rem, 13vw, 3.55rem);
  }

  .service-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .service-hero-actions .button {
    width: 100%;
  }

  .service-hero-visual {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 20px;
    border-radius: 24px;
  }

  .service-hero-visual article,
  .service-hero-visual article:nth-of-type(1),
  .service-hero-visual article:nth-of-type(4) {
    min-height: 0;
    transform: none;
  }

  .service-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .service-section-head,
  .service-section-head.centered {
    margin-bottom: 24px;
    text-align: left;
  }

  .service-section-head.centered h2,
  .service-section-head.centered p {
    margin-left: 0;
    text-align: left;
  }

  .service-card-grid,
  .pillar-v2-grid,
  .approach-steps,
  .value-grid,
  .differential-grid {
    grid-template-columns: 1fr;
  }

  .service-mini-card,
  .pillar-v2-card,
  .value-grid article,
  .differential-grid article {
    min-height: 0;
    padding: 22px;
  }

  .detail-row {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .service-infographic .ai-value-figure {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .service-infographic .ai-value-figure::-webkit-scrollbar {
    display: none;
  }

  .service-infographic .ai-value-figure img {
    min-width: 760px;
  }
}

@media (max-width: 520px) {
  .service-infographic .ai-value-figure img {
    min-width: 680px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-hero-copy,
  .service-hero-visual {
    animation: none !important;
  }

  .service-hero-visual article,
  .service-mini-card,
  .pillar-v2-card,
  .value-grid article,
  .differential-grid article,
  .detail-row {
    transition: none !important;
  }
}

/* Services page commercial impact pass */
.services-commercial {
  --service-navy: #050b2e;
  --service-ink: #07133d;
  --service-blue: #1479ff;
  --service-purple: #7c3aed;
  --service-magenta: #c026d3;
  --service-cyan: #22d3ee;
  --service-green: #10b981;
  --service-soft: #f5f8ff;
  --service-line: rgba(90, 118, 170, 0.2);
  background:
    radial-gradient(circle at 4% 12%, rgba(20, 121, 255, 0.12), transparent 28%),
    radial-gradient(circle at 92% 42%, rgba(192, 38, 211, 0.1), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 36%, #f6f9ff 100%);
  color: var(--service-ink);
  overflow: hidden;
}

.services-commercial .service-section,
.services-commercial .service-strategy-hero {
  box-sizing: border-box;
  width: 100%;
  max-width: min(1320px, calc(100% - 56px));
  margin-right: auto;
  margin-left: auto;
}

.services-commercial .service-section {
  padding: 86px 0;
}

.services-commercial .service-section-head {
  margin-bottom: 34px;
}

.services-commercial .service-section-head h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.services-commercial .service-section-head p {
  max-width: 680px;
  font-size: 1.02rem;
  line-height: 1.7;
}

.service-hero-dark {
  position: relative;
  min-height: 660px;
  margin-top: 24px;
  padding: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: clamp(40px, 6vw, 86px);
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(34, 211, 238, 0.32), transparent 26%),
    radial-gradient(circle at 83% 21%, rgba(192, 38, 211, 0.35), transparent 28%),
    radial-gradient(circle at 55% 88%, rgba(20, 121, 255, 0.22), transparent 35%),
    linear-gradient(135deg, #030819 0%, #07133d 42%, #1a0b46 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 34px;
  box-shadow: 0 40px 100px rgba(4, 9, 34, 0.28);
  isolation: isolate;
  overflow: hidden;
}

.service-hero-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(circle at 62% 42%, #000 0%, transparent 68%);
  opacity: 0.42;
}

.service-hero-dark::after {
  content: "";
  position: absolute;
  right: -8%;
  top: -18%;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 999px;
  box-shadow:
    inset 0 0 0 70px rgba(20, 121, 255, 0.04),
    inset 0 0 0 138px rgba(192, 38, 211, 0.04);
  opacity: 0.85;
}

.service-hero-dark .service-hero-copy {
  max-width: 690px;
  animation: serviceFadeUp 0.9s ease both;
}

.service-hero-dark h1 {
  max-width: 680px;
  margin: 0;
  color: #fff;
  font-size: clamp(3.2rem, 6.4vw, 6.9rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.service-hero-dark .service-hero-lead {
  max-width: 630px;
  margin-top: 28px;
  color: rgba(238, 245, 255, 0.93);
  font-size: clamp(1.04rem, 1.4vw, 1.28rem);
  line-height: 1.6;
}

.service-hero-dark .service-hero-support {
  max-width: 560px;
  color: rgba(193, 217, 255, 0.82);
  font-size: 0.98rem;
  line-height: 1.65;
}

.service-hero-dark .button.gradient {
  background: linear-gradient(135deg, #7c3aed, #1479ff 55%, #22d3ee);
  box-shadow: 0 18px 45px rgba(20, 121, 255, 0.32);
}

.service-hero-dark .service-secondary-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
}

.service-hero-command {
  position: relative;
  min-height: 500px;
  padding: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    rgba(5, 11, 46, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 34px 80px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  animation: serviceFadeLeft 0.95s ease 0.12s both;
}

.command-glow {
  position: absolute;
  inset: 12%;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(34, 211, 238, 0.28), transparent 55%),
    conic-gradient(from 140deg, rgba(20, 121, 255, 0.4), rgba(192, 38, 211, 0.34), rgba(16, 185, 129, 0.28), rgba(20, 121, 255, 0.4));
  filter: blur(8px);
  opacity: 0.8;
}

.command-core {
  position: relative;
  z-index: 2;
  width: 178px;
  height: 178px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 40px;
  background:
    linear-gradient(135deg, rgba(20, 121, 255, 0.38), rgba(192, 38, 211, 0.26)),
    rgba(3, 8, 25, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 22px 70px rgba(20, 121, 255, 0.3);
}

.command-core span {
  color: #8ee7ff;
  font-weight: 900;
  font-size: 1rem;
}

.command-core strong {
  display: block;
  color: #fff;
  font-size: 2.1rem;
  line-height: 1;
}

.command-flow {
  position: absolute;
  inset: 30px;
}

.command-flow article {
  position: absolute;
  width: 168px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f8fbff;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.11);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
}

.command-flow article svg {
  width: 21px;
  height: 21px;
  color: #22d3ee;
}

.command-flow article:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.command-flow article:nth-child(2) {
  top: 28%;
  right: 0;
}

.command-flow article:nth-child(3) {
  right: 8%;
  bottom: 7%;
}

.command-flow article:nth-child(4) {
  bottom: 7%;
  left: 8%;
}

.command-flow article:nth-child(5) {
  top: 28%;
  left: 0;
}

.command-metrics {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.command-metrics div {
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.command-metrics strong {
  display: block;
  color: #fff;
  font-size: 1.65rem;
  line-height: 1;
}

.command-metrics span {
  display: block;
  margin-top: 5px;
  color: rgba(230, 241, 255, 0.76);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.service-deliverables {
  margin-top: -18px;
}

.services-commercial .service-card-grid.compact {
  gap: 22px;
}

.services-commercial .service-mini-card {
  min-height: 245px;
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(99, 132, 190, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.92)),
    #fff;
  box-shadow: 0 22px 60px rgba(15, 35, 82, 0.09);
}

.services-commercial .service-mini-card::before {
  height: 5px;
  opacity: 1;
}

.services-commercial .service-mini-card svg,
.services-commercial .pillar-v2-card > svg,
.support-visual svg,
.services-commercial .value-grid svg {
  width: 30px;
  height: 30px;
}

.services-commercial .service-mini-card p,
.services-commercial .pillar-v2-card p,
.services-commercial .value-grid p {
  font-size: 0.95rem;
  line-height: 1.55;
}

.accent-blue::before,
.pillar-blue::before {
  background: linear-gradient(90deg, #1479ff, #22d3ee);
}

.accent-magenta::before,
.pillar-magenta::before {
  background: linear-gradient(90deg, #c026d3, #1479ff);
}

.accent-cyan::before,
.pillar-cyan::before {
  background: linear-gradient(90deg, #22d3ee, #10b981);
}

.accent-purple::before,
.pillar-purple::before {
  background: linear-gradient(90deg, #7c3aed, #c026d3);
}

.service-approach-dark {
  position: relative;
  max-width: min(1400px, calc(100% - 56px)) !important;
  margin-right: auto;
  margin-left: auto;
  padding: 90px clamp(24px, 4vw, 58px) !important;
  color: #fff;
  background:
    radial-gradient(circle at 14% 10%, rgba(34, 211, 238, 0.22), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(192, 38, 211, 0.24), transparent 30%),
    linear-gradient(135deg, #040a25, #07133d 52%, #180b3d);
  border-radius: 34px;
  box-shadow: 0 34px 90px rgba(5, 11, 46, 0.24);
  overflow: hidden;
}

.service-approach-dark::before {
  content: "";
  position: absolute;
  inset: auto 7% 132px 7%;
  height: 2px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0), #22d3ee, #c026d3, rgba(20, 121, 255, 0));
  opacity: 0.8;
}

.service-approach-dark .service-section-head h2,
.service-approach-dark .service-section-head p {
  color: #fff;
}

.service-approach-dark .service-section-head p {
  color: rgba(224, 236, 255, 0.8);
}

.service-approach-dark .approach-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.service-approach-dark .approach-steps article {
  padding: 24px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.service-approach-dark .approach-steps h3,
.service-approach-dark .approach-steps p {
  color: #fff;
}

.service-approach-dark .approach-steps p {
  color: rgba(230, 241, 255, 0.74);
}

.services-commercial .pillar-v2-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.services-commercial .pillar-v2-card {
  min-height: 340px;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 88% 10%, rgba(20, 121, 255, 0.12), transparent 26%),
    linear-gradient(180deg, #ffffff, #f7faff);
}

.services-commercial .pillar-number {
  background: linear-gradient(135deg, rgba(20, 121, 255, 0.12), rgba(192, 38, 211, 0.1));
  border: 1px solid rgba(20, 121, 255, 0.18);
  color: #1479ff;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.pillar-tags span {
  padding: 8px 10px;
  color: #0d255d;
  font-size: 0.76rem;
  font-weight: 900;
  border-radius: 999px;
  background: rgba(20, 121, 255, 0.08);
  border: 1px solid rgba(20, 121, 255, 0.12);
}

.services-commercial .service-infographic {
  position: relative;
  max-width: 100% !important;
  margin-right: auto;
  margin-left: auto;
  padding: 92px 0 !important;
  background:
    radial-gradient(circle at 15% 18%, rgba(34, 211, 238, 0.16), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(192, 38, 211, 0.13), transparent 30%),
    linear-gradient(180deg, #eef6ff, #ffffff);
}

.services-commercial .service-infographic .service-section-head {
  max-width: min(1200px, calc(100% - 56px));
  margin-inline: auto;
}

.services-commercial .service-infographic .ai-value-figure {
  max-width: min(1280px, calc(100% - 56px));
  margin: 34px auto 0;
  padding: 12px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(20, 121, 255, 0.16);
  box-shadow: 0 34px 90px rgba(15, 35, 82, 0.16);
}

.services-commercial .service-infographic .ai-value-figure img {
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  border-radius: 22px;
}

.service-support {
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  align-items: start;
  gap: clamp(34px, 5vw, 76px);
}

.support-stack {
  display: grid;
  gap: 18px;
}

.support-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(99, 132, 190, 0.22);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 60px rgba(15, 35, 82, 0.1);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.support-card:hover {
  transform: translateY(-4px);
  border-color: rgba(20, 121, 255, 0.26);
  box-shadow: 0 30px 80px rgba(15, 35, 82, 0.14);
}

.support-visual {
  min-height: 128px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 24px;
  background:
    radial-gradient(circle at 26% 22%, rgba(255, 255, 255, 0.35), transparent 30%),
    linear-gradient(135deg, #1479ff, #7c3aed 55%, #c026d3);
}

.support-card:nth-child(2) .support-visual {
  background:
    radial-gradient(circle at 26% 22%, rgba(255, 255, 255, 0.35), transparent 30%),
    linear-gradient(135deg, #c026d3, #1479ff);
}

.support-card:nth-child(3) .support-visual {
  background:
    radial-gradient(circle at 26% 22%, rgba(255, 255, 255, 0.35), transparent 30%),
    linear-gradient(135deg, #22d3ee, #1479ff 55%, #10b981);
}

.support-card span {
  color: #1479ff;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.support-card h3 {
  margin: 6px 0 8px;
  color: var(--service-ink);
  font-size: 1.35rem;
}

.support-card p {
  margin: 0;
  color: #52617f;
  line-height: 1.55;
}

.support-card strong {
  display: inline-block;
  margin-top: 12px;
  color: #0b1a4f;
}

.service-business-value {
  max-width: min(1400px, calc(100% - 56px)) !important;
  margin-right: auto;
  margin-left: auto;
  padding: 80px clamp(24px, 4vw, 58px) !important;
  border-radius: 34px 34px 0 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(20, 121, 255, 0.12), transparent 25%),
    linear-gradient(180deg, #ffffff, #f4f8ff);
}

.service-business-value .value-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.service-business-value .value-grid article {
  min-height: 205px;
  padding: 22px;
  background: #fff;
}

.service-business-value .value-grid h3 {
  font-size: 1rem;
}

.service-business-value .value-grid p {
  font-size: 0.88rem;
}

@media (max-width: 1180px) {
  .service-hero-dark {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .service-hero-command {
    min-height: 470px;
  }

  .services-commercial .pillar-v2-grid,
  .service-business-value .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-approach-dark .approach-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-support {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .services-commercial .service-section,
  .services-commercial .service-strategy-hero {
    max-width: calc(100% - 28px);
  }

  .service-hero-dark {
    margin-top: 14px;
    padding: 38px 22px;
    border-radius: 24px;
  }

  .service-hero-dark h1 {
    font-size: clamp(2.75rem, 16vw, 4.4rem);
  }

  .service-hero-dark .service-hero-actions {
    align-items: stretch;
  }

  .service-hero-dark .service-hero-actions .button {
    justify-content: center;
    width: 100%;
  }

  .service-hero-command {
    min-height: auto;
    padding: 18px;
  }

  .command-core {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 18px;
  }

  .command-flow,
  .command-metrics {
    position: static;
  }

  .command-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
  }

  .command-flow article {
    position: static;
    width: 100%;
    transform: none !important;
  }

  .command-metrics {
    width: 100%;
    margin-top: 12px;
    grid-template-columns: 1fr;
  }

  .services-commercial .service-section {
    padding: 64px 0;
  }

  .services-commercial .service-section-head h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .service-approach-dark {
    max-width: calc(100% - 28px) !important;
    padding: 58px 20px !important;
    border-radius: 24px;
  }

  .service-approach-dark::before {
    display: none;
  }

  .service-approach-dark .approach-steps,
  .services-commercial .pillar-v2-grid,
  .service-business-value .value-grid {
    grid-template-columns: 1fr;
  }

  .services-commercial .pillar-v2-card {
    min-height: 0;
  }

  .services-commercial .service-infographic .service-section-head,
  .services-commercial .service-infographic .ai-value-figure {
    max-width: calc(100% - 28px);
  }

  .services-commercial .service-infographic .ai-value-figure {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .services-commercial .service-infographic .ai-value-figure::-webkit-scrollbar {
    display: none;
  }

  .services-commercial .service-infographic .ai-value-figure img {
    min-width: 720px;
  }

  .support-card {
    grid-template-columns: 1fr;
  }

  .support-visual {
    min-height: 110px;
  }
}

@media (max-width: 460px) {
  .services-commercial .service-infographic .ai-value-figure img {
    min-width: 640px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-commercial *,
  .services-commercial *::before,
  .services-commercial *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Compact services page pass */
.services-commercial .service-section {
  padding-top: 58px;
  padding-bottom: 58px;
}

.services-commercial .service-section-head {
  margin-bottom: 24px;
}

.services-commercial .service-section-head h2 {
  font-size: clamp(2rem, 3.35vw, 3.35rem);
}

.services-commercial .service-section-head p {
  max-width: 620px;
  font-size: 0.98rem;
  line-height: 1.55;
}

.service-hero-dark {
  min-height: 560px;
  padding: clamp(42px, 5.2vw, 72px);
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.98fr);
}

.service-hero-dark h1 {
  max-width: 620px;
  font-size: clamp(2.9rem, 5.4vw, 5.9rem);
}

.service-hero-dark .service-hero-lead {
  max-width: 560px;
  margin-top: 22px;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
}

.service-hero-dark .service-hero-support {
  max-width: 520px;
  font-size: 0.94rem;
}

.service-hero-image {
  position: relative;
  min-height: 420px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
  animation: serviceFadeLeft 0.95s ease 0.12s both;
}

.service-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 8, 25, 0.5), rgba(3, 8, 25, 0.04) 45%, rgba(3, 8, 25, 0.1)),
    radial-gradient(circle at 72% 22%, rgba(192, 38, 211, 0.18), transparent 32%);
  pointer-events: none;
}

.service-hero-image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  display: block;
  object-fit: cover;
  object-position: 64% center;
}

.hero-float-card {
  position: absolute;
  z-index: 2;
  width: min(230px, 44%);
  padding: 16px 18px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(5, 11, 46, 0.64);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
}

.hero-float-card.top {
  top: 24px;
  left: 24px;
}

.hero-float-card.bottom {
  right: 24px;
  bottom: 24px;
}

.hero-float-card svg {
  width: 24px;
  height: 24px;
  margin-bottom: 10px;
  color: #22d3ee;
}

.hero-float-card strong,
.hero-float-card span {
  display: block;
}

.hero-float-card strong {
  font-size: 1rem;
}

.hero-float-card span {
  margin-top: 3px;
  color: rgba(231, 241, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 700;
}

.services-commercial .service-card-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-commercial .service-mini-card {
  min-height: 205px;
  padding: 24px;
}

.services-commercial .pillar-v2-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.services-commercial .pillar-v2-card {
  min-height: 255px;
  padding: 26px;
}

.services-commercial .pillar-v2-card h3 {
  font-size: 1.32rem;
}

.pillar-tags {
  margin-top: 16px;
}

.services-commercial .service-infographic {
  padding-top: 60px !important;
  padding-bottom: 66px !important;
}

.services-commercial .service-infographic .ai-value-figure {
  margin-top: 24px;
  max-width: min(1160px, calc(100% - 56px));
}

.service-business-value {
  padding-top: 58px !important;
  padding-bottom: 58px !important;
}

.service-business-value .value-grid article {
  min-height: 160px;
  padding: 20px;
}

@media (max-width: 1180px) {
  .services-commercial .service-card-grid.compact,
  .services-commercial .pillar-v2-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-hero-image {
    min-height: 380px;
  }

  .service-hero-image img {
    min-height: 380px;
  }
}

@media (max-width: 760px) {
  .services-commercial .service-section {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .service-hero-dark {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 34px 20px;
  }

  .service-hero-image {
    min-height: 310px;
    border-radius: 22px;
  }

  .service-hero-image img {
    min-height: 310px;
    object-position: 68% center;
  }

  .hero-float-card {
    width: calc(50% - 28px);
    padding: 12px;
  }

  .hero-float-card.top {
    top: 14px;
    left: 14px;
  }

  .hero-float-card.bottom {
    right: 14px;
    bottom: 14px;
  }

  .hero-float-card span {
    display: none;
  }

  .services-commercial .service-card-grid.compact,
  .services-commercial .pillar-v2-grid {
    grid-template-columns: 1fr;
  }

  .services-commercial .service-mini-card,
  .services-commercial .pillar-v2-card {
    min-height: 0;
  }

  .services-commercial .service-infographic {
    padding-top: 46px !important;
    padding-bottom: 50px !important;
  }
}

/* Services hero cleanup */
.service-hero-image.clean {
  min-height: 430px;
  background:
    radial-gradient(circle at 16% 18%, rgba(34, 211, 238, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(20, 121, 255, 0.12), rgba(192, 38, 211, 0.08));
}

.service-hero-image.clean::after {
  background:
    linear-gradient(90deg, rgba(3, 8, 25, 0.18), rgba(3, 8, 25, 0.02) 42%, rgba(3, 8, 25, 0.04)),
    radial-gradient(circle at 24% 28%, rgba(34, 211, 238, 0.2), transparent 30%);
}

.service-hero-image.clean img {
  object-position: 38% center;
  filter: saturate(1.08) contrast(1.04);
}

.services-commercial .service-pillars-v2 {
  position: relative;
  max-width: min(1400px, calc(100% - 56px));
  padding: 72px clamp(24px, 4vw, 58px);
  border: 1px solid rgba(20, 121, 255, 0.13);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 12%, rgba(20, 121, 255, 0.15), transparent 28%),
    radial-gradient(circle at 88% 14%, rgba(192, 38, 211, 0.13), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 247, 255, 0.92));
  box-shadow: 0 30px 90px rgba(15, 35, 82, 0.1);
  overflow: hidden;
}

.services-commercial .service-pillars-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 121, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 121, 255, 0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 28%, #000 0%, transparent 70%);
  pointer-events: none;
}

.services-commercial .service-pillars-v2 .service-section-head,
.services-commercial .service-pillars-v2 .pillar-v2-grid {
  position: relative;
  z-index: 1;
}

.services-commercial .pillar-v2-grid {
  gap: 24px;
}

.services-commercial .pillar-v2-card {
  position: relative;
  min-height: 232px;
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  align-items: start;
  border: 1px solid rgba(20, 121, 255, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.9)),
    #fff;
  box-shadow: 0 22px 60px rgba(15, 35, 82, 0.1);
}

.services-commercial .pillar-v2-card::after {
  content: "";
  position: absolute;
  inset: auto 22px 0 22px;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, #1479ff, #7c3aed, #c026d3);
  opacity: 0.85;
}

.services-commercial .pillar-v2-card > svg {
  grid-row: span 3;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: #fff;
  border-radius: 16px;
  background: linear-gradient(135deg, #1479ff, #7c3aed);
  box-shadow: 0 16px 35px rgba(20, 121, 255, 0.22);
}

.services-commercial .pillar-v2-card .pillar-number {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 7px 10px;
  background: rgba(20, 121, 255, 0.08);
}

.services-commercial .pillar-v2-card h3,
.services-commercial .pillar-v2-card p,
.services-commercial .pillar-v2-card .pillar-tags {
  grid-column: 2;
}

.services-commercial .pillar-v2-card h3 {
  max-width: calc(100% - 46px);
  margin: 2px 0 8px;
}

.services-commercial .pillar-v2-card p {
  margin: 0;
  color: #52617f;
}

.services-commercial .pillar-v2-card:hover {
  transform: translateY(-5px);
  border-color: rgba(124, 58, 237, 0.28);
  box-shadow: 0 30px 80px rgba(15, 35, 82, 0.15);
}

.services-commercial .pillar-magenta > svg {
  background: linear-gradient(135deg, #c026d3, #1479ff);
}

.services-commercial .pillar-cyan > svg {
  background: linear-gradient(135deg, #22d3ee, #1479ff);
}

.services-commercial .pillar-purple > svg {
  background: linear-gradient(135deg, #7c3aed, #c026d3);
}

@media (max-width: 900px) {
  .services-commercial .pillar-v2-card {
    grid-template-columns: 1fr;
  }

  .services-commercial .pillar-v2-card > svg,
  .services-commercial .pillar-v2-card h3,
  .services-commercial .pillar-v2-card p,
  .services-commercial .pillar-v2-card .pillar-tags {
    grid-column: 1;
  }

  .services-commercial .pillar-v2-card h3 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .service-hero-image.clean {
    min-height: 300px;
  }

  .service-hero-image.clean img {
    min-height: 300px;
    object-position: 34% center;
  }

  .services-commercial .service-pillars-v2 {
    max-width: calc(100% - 28px);
    padding: 46px 18px;
    border-radius: 24px;
  }
}

/* Premium services pillars redesign */
.services-commercial .service-pillars-v2 {
  position: relative;
  padding: clamp(58px, 6vw, 88px) clamp(22px, 4vw, 64px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 36px;
  background:
    radial-gradient(circle at 16% 14%, rgba(34, 211, 238, 0.24), transparent 30%),
    radial-gradient(circle at 92% 18%, rgba(192, 38, 211, 0.26), transparent 30%),
    radial-gradient(circle at 54% 100%, rgba(20, 121, 255, 0.22), transparent 36%),
    linear-gradient(135deg, #040a25 0%, #07133d 52%, #16073a 100%);
  box-shadow: 0 34px 110px rgba(5, 11, 46, 0.28);
  isolation: isolate;
}

.services-commercial .service-pillars-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 34%, #000 0%, transparent 72%);
}

.services-commercial .service-pillars-v2::after {
  content: "";
  position: absolute;
  inset: 24px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  pointer-events: none;
}

.services-commercial .service-pillars-v2 .service-section-head {
  max-width: 760px;
}

.services-commercial .service-pillars-v2 .service-section-head h2 {
  color: #ffffff;
}

.services-commercial .service-pillars-v2 .service-section-head p {
  color: rgba(225, 238, 255, 0.76);
}

.services-commercial .service-pillars-v2 .pillar-v2-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.services-commercial .pillar-v2-card {
  position: relative;
  min-height: 246px;
  padding: 28px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 0 18px;
  align-items: start;
  overflow: hidden;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 24px 70px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.services-commercial .pillar-v2-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 18%, var(--pillar-glow, rgba(20, 121, 255, 0.28)), transparent 36%),
    linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.055) 100%);
  opacity: 0.95;
  pointer-events: none;
}

.services-commercial .pillar-v2-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 22px;
  left: 22px;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: var(--pillar-line, linear-gradient(90deg, #1479ff, #22d3ee));
  opacity: 0.92;
}

.services-commercial .pillar-v2-card > * {
  position: relative;
  z-index: 1;
}

.services-commercial .pillar-v2-card > svg {
  grid-row: span 4;
  width: 54px;
  height: 54px;
  padding: 13px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: var(--pillar-line, linear-gradient(135deg, #1479ff, #7c3aed));
  box-shadow: 0 16px 40px rgba(20, 121, 255, 0.24);
}

.services-commercial .pillar-v2-card .pillar-number {
  position: static;
  justify-self: start;
  margin-bottom: 12px;
  padding: 6px 10px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
}

.services-commercial .pillar-v2-card h3,
.services-commercial .pillar-v2-card p,
.services-commercial .pillar-v2-card .pillar-tags,
.services-commercial .pillar-v2-card .pillar-number {
  grid-column: 2;
}

.services-commercial .pillar-v2-card h3 {
  max-width: none;
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(1.18rem, 1.7vw, 1.55rem);
  line-height: 1.12;
}

.services-commercial .pillar-v2-card p {
  max-width: 520px;
  color: rgba(230, 240, 255, 0.78);
  font-size: 0.96rem;
  line-height: 1.58;
}

.services-commercial .pillar-tags {
  margin-top: 18px;
}

.services-commercial .pillar-tags span {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.13);
}

.services-commercial .pillar-v2-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 34px 90px rgba(0, 0, 0, 0.3);
}

.services-commercial .pillar-blue {
  --pillar-glow: rgba(20, 121, 255, 0.28);
  --pillar-line: linear-gradient(135deg, #1479ff, #22d3ee);
}

.services-commercial .pillar-magenta {
  --pillar-glow: rgba(192, 38, 211, 0.26);
  --pillar-line: linear-gradient(135deg, #c026d3, #1479ff);
}

.services-commercial .pillar-cyan {
  --pillar-glow: rgba(34, 211, 238, 0.24);
  --pillar-line: linear-gradient(135deg, #22d3ee, #10b981);
}

.services-commercial .pillar-purple {
  --pillar-glow: rgba(124, 58, 237, 0.28);
  --pillar-line: linear-gradient(135deg, #7c3aed, #c026d3);
}

@media (max-width: 900px) {
  .services-commercial .service-pillars-v2 .pillar-v2-grid {
    grid-template-columns: 1fr;
  }

  .services-commercial .pillar-v2-card {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .services-commercial .service-pillars-v2 {
    padding: 44px 16px;
  }

  .services-commercial .pillar-v2-card {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .services-commercial .pillar-v2-card > svg,
  .services-commercial .pillar-v2-card h3,
  .services-commercial .pillar-v2-card p,
  .services-commercial .pillar-v2-card .pillar-tags,
  .services-commercial .pillar-v2-card .pillar-number {
    grid-column: 1;
  }
}

/* Services hero framework visual */
.services-commercial .service-hero-framework {
  position: relative;
  min-height: 430px;
  padding: clamp(20px, 2.5vw, 30px);
  display: grid;
  grid-template-columns: minmax(128px, 1fr) minmax(148px, 0.88fr) minmax(128px, 1fr);
  grid-template-rows: repeat(3, minmax(96px, auto));
  gap: 14px;
  align-items: center;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 32px;
  background:
    radial-gradient(circle at 16% 16%, rgba(34, 211, 238, 0.24), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(192, 38, 211, 0.28), transparent 32%),
    radial-gradient(circle at 54% 82%, rgba(20, 121, 255, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(5, 11, 46, 0.78), rgba(7, 19, 61, 0.92) 52%, rgba(22, 7, 58, 0.9));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 32px 90px rgba(0, 0, 0, 0.32);
  overflow: hidden;
  isolation: isolate;
  animation: serviceFadeLeft 0.95s ease 0.12s both;
}

.services-commercial .service-hero-framework::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.042) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 48%, #000 0%, transparent 74%);
}

.services-commercial .service-hero-framework::after {
  content: "";
  position: absolute;
  inset: 18%;
  z-index: -1;
  background:
    linear-gradient(90deg, transparent 0 13%, rgba(34, 211, 238, 0.28) 13% 87%, transparent 87%),
    linear-gradient(0deg, transparent 0 14%, rgba(124, 58, 237, 0.25) 14% 86%, transparent 86%);
  border: 1px solid rgba(126, 198, 255, 0.18);
  border-radius: 40px;
  opacity: 0.68;
  pointer-events: none;
}

.framework-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(158, 214, 255, 0.16);
  border-radius: 999px;
  pointer-events: none;
}

.framework-orbit.orbit-one {
  inset: 15%;
}

.framework-orbit.orbit-two {
  inset: 28%;
  border-color: rgba(255, 255, 255, 0.12);
}

.framework-core {
  grid-column: 2;
  grid-row: 2;
  min-height: 160px;
  padding: 22px 18px;
  display: grid;
  place-items: center;
  align-content: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 34px;
  background:
    radial-gradient(circle at 50% 10%, rgba(34, 211, 238, 0.26), transparent 42%),
    linear-gradient(135deg, rgba(20, 121, 255, 0.34), rgba(192, 38, 211, 0.24)),
    rgba(3, 8, 25, 0.7);
  box-shadow:
    0 22px 70px rgba(20, 121, 255, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.framework-core span,
.framework-core small,
.framework-node span,
.framework-metrics span {
  color: rgba(228, 241, 255, 0.78);
}

.framework-core span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.framework-core strong {
  display: block;
  margin: 8px 0 6px;
  color: #ffffff;
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
  line-height: 1;
}

.framework-core small {
  font-size: 0.76rem;
  font-weight: 800;
}

.framework-node,
.framework-metrics {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 18px 45px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(14px);
}

.framework-node {
  min-height: 92px;
  padding: 14px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-radius: 20px;
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.framework-node svg {
  width: 42px;
  height: 42px;
  padding: 10px;
  color: #ffffff;
  border-radius: 15px;
  background: linear-gradient(135deg, #1479ff, #7c3aed 55%, #c026d3);
  box-shadow: 0 14px 32px rgba(20, 121, 255, 0.24);
}

.framework-node strong {
  display: block;
  color: #ffffff;
  font-size: 0.98rem;
  line-height: 1.16;
}

.framework-node span {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}

.node-strategy {
  grid-column: 1;
  grid-row: 1;
}

.node-data {
  grid-column: 3;
  grid-row: 1;
}

.node-governance {
  grid-column: 3;
  grid-row: 2;
}

.node-projects {
  grid-column: 1;
  grid-row: 3;
}

.node-training {
  grid-column: 3;
  grid-row: 3;
}

.framework-metrics {
  grid-column: 2;
  grid-row: 3;
  align-self: center;
  padding: 14px;
  display: grid;
  gap: 10px;
  border-radius: 20px;
}

.framework-metrics div {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

.framework-metrics strong {
  display: block;
  color: #ffffff;
  font-size: 0.92rem;
}

.framework-metrics span {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

@media (hover: hover) {
  .services-commercial .framework-node:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 26px 58px rgba(0, 0, 0, 0.28);
  }
}

@media (max-width: 1180px) {
  .services-commercial .service-hero-framework {
    max-width: 780px;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .services-commercial .service-hero-framework {
    min-height: 0;
    padding: 18px;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
    border-radius: 24px;
  }

  .services-commercial .service-hero-framework::after,
  .framework-orbit {
    display: none;
  }

  .framework-core,
  .framework-node,
  .framework-metrics {
    grid-column: 1;
    grid-row: auto;
  }

  .framework-core {
    min-height: 136px;
    border-radius: 24px;
  }

  .framework-node {
    min-height: 0;
  }
}

/* Premium vertical services journey */
.services-commercial .service-pillars-journey {
  position: relative;
  max-width: min(1320px, calc(100% - 56px));
  padding: clamp(58px, 6vw, 84px) clamp(20px, 4vw, 58px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 36px;
  background:
    radial-gradient(circle at 12% 12%, rgba(34, 211, 238, 0.22), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(192, 38, 211, 0.24), transparent 31%),
    radial-gradient(circle at 50% 90%, rgba(20, 121, 255, 0.2), transparent 35%),
    linear-gradient(135deg, #040a25 0%, #07143d 52%, #150735 100%);
  box-shadow: 0 34px 110px rgba(5, 11, 46, 0.24);
  overflow: hidden;
  isolation: isolate;
}

.services-commercial .service-pillars-journey::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.048) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 50% 42%, #000 0%, transparent 74%);
}

.services-commercial .service-pillars-journey .service-section-head {
  max-width: 800px;
  margin-bottom: clamp(36px, 5vw, 58px);
}

.services-commercial .service-pillars-journey .service-section-head h2 {
  color: #ffffff;
}

.services-commercial .service-pillars-journey .service-section-head p {
  max-width: 720px;
  color: rgba(226, 240, 255, 0.76);
}

.pillar-journey {
  position: relative;
  display: grid;
  gap: 18px;
}

.pillar-journey::before {
  content: "";
  position: absolute;
  top: 38px;
  bottom: 38px;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(34, 211, 238, 0), #22d3ee 10%, #1479ff 42%, #c026d3 76%, rgba(192, 38, 211, 0));
  box-shadow: 0 0 34px rgba(20, 121, 255, 0.34);
}

.pillar-step {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr);
  align-items: center;
  min-height: 218px;
  animation: serviceFadeUp 850ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pillar-step:nth-child(2) {
  animation-delay: 90ms;
}

.pillar-step:nth-child(3) {
  animation-delay: 180ms;
}

.pillar-step:nth-child(4) {
  animation-delay: 270ms;
}

.pillar-marker {
  grid-column: 2;
  justify-self: center;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(20, 121, 255, 0.94), rgba(124, 58, 237, 0.92) 48%, rgba(192, 38, 211, 0.9));
  box-shadow:
    0 18px 48px rgba(20, 121, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
  z-index: 2;
}

.pillar-step-card {
  position: relative;
  width: min(100%, 510px);
  min-height: 190px;
  padding: 24px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 24px 70px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}

.pillar-step-left .pillar-step-card {
  grid-column: 1;
  justify-self: end;
}

.pillar-step-right .pillar-step-card {
  grid-column: 3;
  justify-self: start;
}

.pillar-step-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 12% 15%, rgba(34, 211, 238, 0.2), transparent 34%),
    linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.055) 100%);
  pointer-events: none;
}

.pillar-step-card::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, 0.78));
}

.pillar-step-left .pillar-step-card::after {
  right: -52px;
}

.pillar-step-right .pillar-step-card::after {
  left: -52px;
  transform: rotate(180deg);
}

.pillar-step-card > * {
  position: relative;
  z-index: 1;
}

.pillar-step-card > svg {
  width: 56px;
  height: 56px;
  padding: 13px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: linear-gradient(135deg, #1479ff, #7c3aed 55%, #c026d3);
  box-shadow: 0 16px 40px rgba(20, 121, 255, 0.24);
}

.pillar-step-number {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 5px 9px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.pillar-step-card h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.13;
}

.pillar-step-card p {
  margin: 0;
  color: rgba(229, 240, 255, 0.78);
  font-size: 0.94rem;
  line-height: 1.56;
}

.pillar-step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 15px;
}

.pillar-step-tags span {
  padding: 7px 9px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 850;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

@media (hover: hover) {
  .pillar-step-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      0 34px 90px rgba(0, 0, 0, 0.3);
  }
}

@media (max-width: 980px) {
  .pillar-journey {
    gap: 20px;
  }

  .pillar-journey::before {
    left: 38px;
  }

  .pillar-step {
    grid-template-columns: 76px minmax(0, 1fr);
    min-height: 0;
  }

  .pillar-marker {
    grid-column: 1;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    font-size: 0.98rem;
  }

  .pillar-step-left .pillar-step-card,
  .pillar-step-right .pillar-step-card {
    grid-column: 2;
    justify-self: stretch;
    width: 100%;
  }

  .pillar-step-card::after {
    display: none;
  }
}

@media (max-width: 620px) {
  .services-commercial .service-pillars-journey {
    max-width: calc(100% - 28px);
    padding: 44px 16px;
    border-radius: 26px;
  }

  .pillar-journey::before {
    left: 28px;
  }

  .pillar-step {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .pillar-marker {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    font-size: 0.82rem;
  }

  .pillar-step-card {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px;
    border-radius: 22px;
  }

  .pillar-step-card > svg {
    width: 48px;
    height: 48px;
    padding: 11px;
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pillar-step {
    animation: none !important;
  }
}

/* Compact premium services pillars */
.services-commercial .service-pillars-compact {
  position: relative;
  max-width: min(1240px, calc(100% - 56px));
  padding: clamp(48px, 5vw, 66px) clamp(20px, 4vw, 52px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 18%, rgba(34, 211, 238, 0.2), transparent 30%),
    radial-gradient(circle at 88% 14%, rgba(192, 38, 211, 0.22), transparent 32%),
    linear-gradient(135deg, #040a25 0%, #07143d 54%, #150735 100%);
  box-shadow: 0 32px 96px rgba(5, 11, 46, 0.22);
  overflow: hidden;
  isolation: isolate;
}

.services-commercial .service-pillars-compact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.046) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 50% 35%, #000 0%, transparent 74%);
}

.services-commercial .service-pillars-compact .service-section-head {
  max-width: 760px;
  margin-bottom: clamp(26px, 3.8vw, 38px);
}

.services-commercial .service-pillars-compact .service-section-head h2 {
  color: #ffffff;
}

.services-commercial .service-pillars-compact .service-section-head p {
  max-width: 690px;
  color: rgba(226, 240, 255, 0.76);
}

.pillar-compact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.pillar-compact-card {
  position: relative;
  min-height: 230px;
  padding: 24px;
  display: grid;
  align-content: start;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    0 22px 64px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
  overflow: hidden;
  transition: transform 280ms ease, border-color 280ms ease, box-shadow 280ms ease;
}

.pillar-compact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 16%, var(--pillar-glow, rgba(20, 121, 255, 0.24)), transparent 38%),
    linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.052) 100%);
  pointer-events: none;
}

.pillar-compact-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 24px;
  left: 24px;
  height: 4px;
  border-radius: 0 0 999px 999px;
  background: var(--pillar-line, linear-gradient(90deg, #1479ff, #22d3ee));
  opacity: 0.92;
}

.pillar-compact-card > * {
  position: relative;
  z-index: 1;
}

.pillar-compact-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.pillar-compact-top span {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.pillar-compact-top svg {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  padding: 12px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: var(--pillar-line, linear-gradient(135deg, #1479ff, #7c3aed));
  box-shadow: 0 16px 38px rgba(20, 121, 255, 0.24);
}

.pillar-compact-card h3 {
  max-width: 520px;
  margin: 0 0 10px;
  color: #ffffff;
  font-size: clamp(1.14rem, 1.55vw, 1.42rem);
  line-height: 1.16;
}

.pillar-compact-card p {
  max-width: 560px;
  margin: 0;
  color: rgba(230, 240, 255, 0.78);
  font-size: 0.94rem;
  line-height: 1.5;
}

.pillar-compact-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.pillar-compact-tags span {
  padding: 7px 9px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.72rem;
  font-weight: 850;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
}

.pillar-compact-card.pillar-blue {
  --pillar-glow: rgba(20, 121, 255, 0.24);
  --pillar-line: linear-gradient(135deg, #1479ff, #22d3ee);
}

.pillar-compact-card.pillar-magenta {
  --pillar-glow: rgba(192, 38, 211, 0.22);
  --pillar-line: linear-gradient(135deg, #c026d3, #1479ff);
}

.pillar-compact-card.pillar-cyan {
  --pillar-glow: rgba(34, 211, 238, 0.2);
  --pillar-line: linear-gradient(135deg, #22d3ee, #10b981);
}

.pillar-compact-card.pillar-purple {
  --pillar-glow: rgba(124, 58, 237, 0.24);
  --pillar-line: linear-gradient(135deg, #7c3aed, #c026d3);
}

@media (hover: hover) {
  .pillar-compact-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.2),
      0 32px 84px rgba(0, 0, 0, 0.28);
  }
}

@media (max-width: 880px) {
  .pillar-compact-grid {
    grid-template-columns: 1fr;
  }

  .pillar-compact-card {
    min-height: 0;
  }
}

@media (max-width: 620px) {
  .services-commercial .service-pillars-compact {
    max-width: calc(100% - 28px);
    padding: 42px 16px;
    border-radius: 26px;
  }

  .pillar-compact-grid {
    gap: 14px;
  }

  .pillar-compact-card {
    padding: 20px;
    border-radius: 22px;
  }

  .pillar-compact-top {
    margin-bottom: 14px;
  }

  .pillar-compact-top svg {
    width: 46px;
    height: 46px;
    padding: 11px;
    border-radius: 16px;
  }
}

/* Classic services pillars, based on the previous site model */
.services-commercial .service-pillars-classic {
  position: relative;
  max-width: min(1180px, calc(100% - 56px));
  padding: clamp(46px, 5vw, 66px) clamp(20px, 4vw, 46px);
  border: 1px solid rgba(16, 32, 68, 0.08);
  border-radius: 28px;
  background:
    radial-gradient(circle at 10% 12%, rgba(20, 121, 255, 0.08), transparent 30%),
    radial-gradient(circle at 90% 18%, rgba(176, 24, 145, 0.06), transparent 30%),
    linear-gradient(180deg, #f7f9fd 0%, #eef3f8 100%);
  box-shadow: 0 24px 70px rgba(15, 35, 82, 0.08);
}

.services-commercial .service-pillars-classic .service-section-head {
  max-width: 740px;
  margin-bottom: clamp(30px, 4vw, 44px);
}

.services-commercial .service-pillars-classic .service-section-head h2 {
  color: #101a45;
}

.services-commercial .service-pillars-classic .service-section-head p {
  color: #5d6886;
}

.classic-pillar-timeline {
  position: relative;
  display: grid;
  gap: 22px;
}

.classic-pillar-timeline::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, transparent, #1c2438 10%, #1c2438 90%, transparent);
}

.classic-pillar-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  min-height: 170px;
}

.classic-pillar-row::before,
.classic-pillar-row::after {
  content: "";
  position: absolute;
  top: 50%;
  width: min(110px, 9vw);
  height: 2px;
  background: #1c2438;
  opacity: 0.38;
}

.classic-pillar-row::before {
  right: calc(50% + 36px);
}

.classic-pillar-row::after {
  left: calc(50% + 36px);
}

.classic-pillar-marker {
  grid-column: 2;
  justify-self: center;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  z-index: 2;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 900;
  background: #111827;
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.22);
}

.classic-pillar-text,
.classic-pillar-image {
  position: relative;
  z-index: 1;
}

.classic-pillar-text {
  padding: 22px 24px;
  color: #101a45;
}

.classic-pillar-text.classic-left {
  justify-self: end;
  text-align: right;
}

.classic-pillar-text.classic-right {
  justify-self: start;
  text-align: left;
}

.classic-pillar-text h3 {
  display: inline;
  margin: 0;
  color: #101a45;
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1.16;
  border-bottom: 3px solid #111827;
}

.classic-pillar-text p {
  max-width: 430px;
  margin: 14px 0 0;
  color: #455370;
  font-size: 0.98rem;
  line-height: 1.58;
}

.classic-pillar-text.classic-left p {
  margin-left: auto;
}

.classic-pillar-image {
  width: min(100%, 430px);
  height: 172px;
  border-radius: 3px;
  overflow: hidden;
  background: #dbe4ef;
  box-shadow: 0 18px 42px rgba(15, 35, 82, 0.14);
}

.classic-pillar-image.classic-left {
  justify-self: end;
}

.classic-pillar-image.classic-right {
  justify-self: start;
}

.classic-pillar-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
}

@media (max-width: 900px) {
  .classic-pillar-timeline {
    gap: 18px;
  }

  .classic-pillar-timeline::before {
    left: 25px;
  }

  .classic-pillar-row {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
  }

  .classic-pillar-row::before,
  .classic-pillar-row::after {
    display: none;
  }

  .classic-pillar-marker {
    grid-column: 1;
    grid-row: 1;
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .classic-pillar-text,
  .classic-pillar-image,
  .classic-pillar-text.classic-left,
  .classic-pillar-text.classic-right,
  .classic-pillar-image.classic-left,
  .classic-pillar-image.classic-right {
    grid-column: 2;
    justify-self: stretch;
    text-align: left;
  }

  .classic-pillar-text {
    padding: 4px 0 12px;
  }

  .classic-pillar-text.classic-left p {
    margin-left: 0;
  }

  .classic-pillar-image {
    height: 190px;
    margin-bottom: 10px;
  }

  .classic-pillar-row:has(.classic-pillar-image.classic-left) .classic-pillar-image {
    grid-row: 1;
  }

  .classic-pillar-row:has(.classic-pillar-image.classic-left) .classic-pillar-text {
    grid-row: 2;
  }
}

@media (max-width: 620px) {
  .services-commercial .service-pillars-classic {
    max-width: calc(100% - 28px);
    padding: 38px 16px;
    border-radius: 22px;
  }

  .classic-pillar-text h3 {
    font-size: 1.18rem;
  }

  .classic-pillar-text p {
    font-size: 0.92rem;
  }

  .classic-pillar-image {
    height: 158px;
  }
}

/* Fine tune classic pillars spacing and interactions */
.services-commercial .service-pillars-classic {
  padding-top: clamp(54px, 5.4vw, 74px);
  padding-bottom: clamp(54px, 5.4vw, 76px);
}

.classic-pillar-timeline {
  gap: clamp(42px, 4.6vw, 58px);
}

.classic-pillar-timeline::before {
  width: 3px;
  transform: translateX(-50%) scaleY(0);
  transform-origin: top;
  background:
    linear-gradient(180deg, transparent 0%, #1479ff 10%, #111827 38%, #7c3aed 68%, #c026d3 90%, transparent 100%);
  box-shadow: 0 0 22px rgba(20, 121, 255, 0.18);
  transition: transform 1450ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-pillars-classic.is-visible .classic-pillar-timeline::before {
  transform: translateX(-50%) scaleY(1);
}

.classic-pillar-row {
  gap: clamp(40px, 4.6vw, 58px);
  min-height: 198px;
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 1120ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1120ms cubic-bezier(0.22, 1, 0.36, 1);
}

.classic-pillar-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.classic-pillar-row::before,
.classic-pillar-row::after {
  width: min(132px, 10vw);
  opacity: 0.48;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.18), rgba(20, 121, 255, 0.78), rgba(17, 24, 39, 0.28));
  transition: opacity 260ms ease, transform 260ms ease, background 260ms ease;
}

.classic-pillar-row::before {
  right: calc(50% + 40px);
}

.classic-pillar-row::after {
  left: calc(50% + 40px);
}

.classic-pillar-marker {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 14px 30px rgba(17, 24, 39, 0.26),
    0 0 0 8px rgba(17, 24, 39, 0.04);
  transition: transform 260ms ease, box-shadow 260ms ease, background 260ms ease, border-color 260ms ease;
}

.classic-pillar-text {
  max-width: 500px;
  border-radius: 14px;
  transition: transform 260ms ease, filter 260ms ease;
}

.classic-pillar-text h3 {
  padding-bottom: 2px;
  border-bottom-color: rgba(17, 24, 39, 0.88);
  transition: border-color 260ms ease, color 260ms ease;
}

.classic-pillar-text p {
  max-width: 460px;
  margin-top: 16px;
  line-height: 1.62;
}

.classic-pillar-image {
  height: 184px;
  border: 1px solid rgba(16, 32, 68, 0.1);
  border-radius: 10px;
  box-shadow: 0 20px 46px rgba(15, 35, 82, 0.15);
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease, filter 280ms ease;
}

.classic-pillar-image img {
  transition: transform 420ms ease, filter 280ms ease;
}

@media (hover: hover) {
  .classic-pillar-row:hover::before,
  .classic-pillar-row:hover::after {
    opacity: 0.92;
    background: linear-gradient(90deg, rgba(20, 121, 255, 0.14), #1479ff, #7c3aed);
  }

  .classic-pillar-row:hover .classic-pillar-marker {
    transform: translateY(-3px) scale(1.07);
    background: #0b1224;
    border-color: rgba(20, 121, 255, 0.44);
    box-shadow:
      0 22px 44px rgba(17, 24, 39, 0.34),
      0 0 0 8px rgba(20, 121, 255, 0.08),
      0 0 28px rgba(20, 121, 255, 0.28);
  }

  .classic-pillar-row:hover .classic-pillar-image {
    transform: translateY(-4px);
    border-color: rgba(20, 121, 255, 0.18);
    box-shadow: 0 28px 60px rgba(15, 35, 82, 0.2);
  }

  .classic-pillar-row:hover .classic-pillar-image img {
    transform: scale(1.025);
    filter: saturate(1.08) contrast(1.04);
  }

  .classic-pillar-row:hover .classic-pillar-text {
    transform: translateY(-3px);
  }

  .classic-pillar-row:hover .classic-pillar-text h3 {
    color: #0f2d73;
    border-bottom-color: #1479ff;
  }

  .classic-pillar-image:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 66px rgba(15, 35, 82, 0.23);
  }

  .classic-pillar-image:hover img {
    transform: scale(1.04);
    filter: saturate(1.1) contrast(1.05) brightness(1.03);
  }

  .classic-pillar-text:hover {
    transform: translateY(-3px);
  }

  .classic-pillar-text:hover h3 {
    color: #0f2d73;
    border-bottom-color: #1479ff;
  }
}

@media (max-width: 900px) {
  .classic-pillar-timeline {
    gap: 32px;
  }

  .classic-pillar-row {
    gap: 20px;
  }

  .classic-pillar-marker {
    width: 46px;
    height: 46px;
  }

  .classic-pillar-image {
    height: 198px;
  }
}

@media (max-width: 620px) {
  .services-commercial .service-pillars-classic {
    padding-top: 42px;
    padding-bottom: 44px;
  }

  .classic-pillar-timeline {
    gap: 28px;
  }

  .classic-pillar-image {
    height: 166px;
    border-radius: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-pillars-classic .classic-pillar-timeline::before,
  .classic-pillar-row,
  .classic-pillar-image,
  .classic-pillar-image img,
  .classic-pillar-text,
  .classic-pillar-marker {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Final classic pillars alignment and branded center markers */
.services-commercial .service-pillars-classic {
  overflow: visible;
}

.classic-pillar-timeline {
  gap: clamp(52px, 5vw, 72px);
}

.classic-pillar-timeline::before {
  width: 3px;
  background: linear-gradient(
    180deg,
    rgba(20, 121, 255, 0),
    rgba(20, 121, 255, 0.78) 13%,
    rgba(124, 58, 237, 0.8) 50%,
    rgba(192, 38, 211, 0.66) 87%,
    rgba(192, 38, 211, 0)
  );
  box-shadow: 0 0 24px rgba(20, 121, 255, 0.12);
}

.classic-pillar-row {
  grid-template-columns: minmax(0, 1fr) 92px minmax(0, 1fr);
  gap: clamp(58px, 6.4vw, 86px);
  align-items: center;
  min-height: 212px;
}

.classic-pillar-row::before,
.classic-pillar-row::after {
  display: none;
}

.classic-pillar-text,
.classic-pillar-image {
  align-self: center;
}

.classic-pillar-text {
  max-width: 470px;
  padding-inline: clamp(6px, 1vw, 12px);
}

.classic-pillar-text p {
  max-width: 430px;
}

.classic-pillar-text .pillar-title-nowrap {
  white-space: nowrap;
}

.classic-pillar-row:first-child .classic-pillar-text {
  max-width: 560px;
}

.classic-pillar-row:first-child .classic-pillar-text p {
  max-width: 470px;
}

.classic-pillar-image {
  height: 190px;
}

.classic-pillar-marker {
  position: relative;
  width: 62px;
  height: 62px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background:
    radial-gradient(circle at 24% 16%, rgba(255, 255, 255, 0.38), rgba(255, 255, 255, 0) 30%),
    linear-gradient(135deg, #c026d3 0%, #7c3aed 38%, #1479ff 74%, #22d3ee 100%);
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow:
    0 20px 42px rgba(20, 121, 255, 0.28),
    0 0 0 8px rgba(124, 58, 237, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.32);
  isolation: isolate;
  overflow: visible;
  z-index: 2;
}

.classic-pillar-marker::before,
.classic-pillar-marker::after {
  content: "";
  position: absolute;
  top: 50%;
  display: none;
  width: clamp(34px, 4vw, 58px);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(20, 121, 255, 0.08),
    rgba(20, 121, 255, 0.88) 42%,
    rgba(124, 58, 237, 0.72)
  );
  box-shadow: 0 0 16px rgba(20, 121, 255, 0.16);
  opacity: 0.78;
  pointer-events: none;
  transition: opacity 260ms ease, box-shadow 260ms ease, transform 260ms ease;
  z-index: -1;
}

.classic-pillar-marker::before {
  right: calc(100% + 12px);
  transform: translateY(-50%) rotate(180deg);
}

.classic-pillar-marker::after {
  left: calc(100% + 12px);
  transform: translateY(-50%);
}

.classic-pillar-row:has(.classic-pillar-text.classic-left) .classic-pillar-marker::before {
  display: block;
}

.classic-pillar-row:has(.classic-pillar-text.classic-right) .classic-pillar-marker::after {
  display: block;
}

@media (hover: hover) {
  .classic-pillar-row:hover .classic-pillar-marker {
    transform: translateY(-3px) scale(1.08);
    border-color: rgba(255, 255, 255, 0.95);
    background:
      radial-gradient(circle at 24% 16%, rgba(255, 255, 255, 0.44), rgba(255, 255, 255, 0) 31%),
      linear-gradient(135deg, #ec4899 0%, #8b5cf6 38%, #1479ff 74%, #22d3ee 100%);
    box-shadow:
      0 26px 52px rgba(20, 121, 255, 0.34),
      0 0 0 10px rgba(124, 58, 237, 0.1),
      0 0 30px rgba(34, 211, 238, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.36);
  }

  .classic-pillar-row:hover .classic-pillar-marker::before,
  .classic-pillar-row:hover .classic-pillar-marker::after {
    opacity: 1;
    box-shadow: 0 0 22px rgba(20, 121, 255, 0.24);
  }
}

@media (max-width: 1080px) {
  .classic-pillar-marker::before,
  .classic-pillar-marker::after {
    width: clamp(30px, 3.4vw, 44px);
  }
}

@media (max-width: 900px) {
  .classic-pillar-timeline {
    gap: 34px;
  }

  .classic-pillar-row {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 20px;
    min-height: 0;
  }

  .classic-pillar-text {
    max-width: none;
    padding-inline: 0;
  }

  .classic-pillar-text p {
    max-width: none;
  }

  .classic-pillar-text .pillar-title-nowrap {
    white-space: normal;
  }

  .classic-pillar-marker {
    width: 50px;
    height: 50px;
    border-radius: 999px;
    font-size: 1.08rem;
  }

  .classic-pillar-marker::before,
  .classic-pillar-marker::after {
    display: none;
  }
}

@media (max-width: 620px) {
  .classic-pillar-timeline {
    gap: 30px;
  }

  .classic-pillar-row {
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .classic-pillar-marker::before,
  .classic-pillar-marker::after {
    transition: none !important;
  }
}

/* Services hero with Jornada da IA background */
.services-commercial {
  background:
    linear-gradient(
      180deg,
      #eef4ff 0%,
      #f6f9ff 18%,
      #fbfdff 46%,
      #ffffff 72%,
      #f6f9ff 100%
    );
}

.services-commercial .service-hero-jornada {
  position: relative;
  width: calc(100% - 32px);
  max-width: 1460px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: clamp(34px, 4vw, 54px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  grid-template-columns: none;
  min-height: clamp(540px, 44vw, 620px);
  padding: clamp(52px, 6vw, 78px);
  background:
    url("assets/servicos/hero-servicos-jornada-ia.png") center right / cover no-repeat,
    #030819;
}

.services-commercial .service-hero-jornada::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 1;
  background:
    linear-gradient(
      90deg,
      rgba(3, 8, 25, 0.98) 0%,
      rgba(4, 12, 42, 0.95) 34%,
      rgba(4, 12, 42, 0.7) 54%,
      rgba(4, 12, 42, 0.2) 74%,
      rgba(4, 12, 42, 0.04) 100%
    ),
    linear-gradient(115deg, rgba(124, 58, 237, 0.18), rgba(20, 121, 255, 0.06) 46%, transparent 72%),
    linear-gradient(180deg, rgba(3, 8, 25, 0.16), rgba(3, 8, 25, 0.34));
  background-size: auto;
  mask-image: none;
  pointer-events: none;
}

.services-commercial .service-hero-jornada::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  width: auto;
  height: auto;
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -110px 145px rgba(3, 8, 25, 0.28),
    0 34px 90px rgba(4, 9, 34, 0.28);
  opacity: 1;
  pointer-events: none;
}

.services-commercial .service-hero-jornada + .service-pillars-classic {
  z-index: 1;
  margin-top: 0;
  background:
    linear-gradient(180deg, rgba(246, 249, 255, 0.96) 0%, rgba(250, 252, 255, 0.98) 48%, #ffffff 100%);
  border-color: rgba(94, 134, 205, 0.12);
  box-shadow:
    0 18px 58px rgba(15, 35, 82, 0.07);
}

.services-commercial .service-hero-jornada + .service-pillars-classic > * {
  position: relative;
  z-index: 1;
}

.services-commercial .service-hero-jornada .service-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 610px;
}

.services-commercial .service-hero-jornada h1 {
  max-width: 610px;
  font-size: clamp(2.85rem, 4.35vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.services-commercial .service-hero-jornada .service-hero-lead {
  max-width: 560px;
  margin-top: 24px;
}

.services-commercial .service-hero-jornada .service-hero-support {
  max-width: 540px;
  margin-top: 14px;
}

.services-commercial .service-hero-jornada .service-hero-actions {
  margin-top: 30px;
}

@media (max-width: 900px) {
  .services-commercial .service-hero-jornada {
    width: calc(100% - 28px);
    min-height: clamp(560px, 74vh, 640px);
    padding: 44px 24px;
    margin-bottom: 28px;
    align-items: center;
    background-position: 64% center;
  }

  .services-commercial .service-hero-jornada::before {
    background:
      linear-gradient(
          180deg,
          rgba(3, 8, 25, 0.98) 0%,
          rgba(4, 12, 42, 0.94) 38%,
          rgba(4, 12, 42, 0.68) 68%,
          rgba(4, 12, 42, 0.34) 100%
        ),
      linear-gradient(90deg, rgba(3, 8, 25, 0.92), rgba(3, 8, 25, 0.34));
  }

  .services-commercial .service-hero-jornada h1 {
    font-size: clamp(2.35rem, 8vw, 3.4rem);
  }
}

@media (max-width: 560px) {
  .services-commercial .service-hero-jornada {
    width: calc(100% - 20px);
    min-height: clamp(560px, 76vh, 620px);
    padding: 38px 20px;
    margin-bottom: 24px;
    background-position: 70% center;
  }
}

/* Global page alignment */
:root {
  --site-container-max: 1220px;
  --site-container-gutter: clamp(16px, 3vw, 36px);
  --site-container-width: min(var(--site-container-max), calc(100% - (var(--site-container-gutter) * 2)));
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.hero,
.hero-inner,
body:not(.services-page):not(.events-page):not(.contact-page) main > section:not(.hero),
.about-page main > section,
.services-commercial > .service-section,
.services-commercial > .service-strategy-hero,
.events-page main > .events-hero,
.events-page main > .events-section,
.contact-page main > .contact-request-section,
.contact-page main > .contact-hub,
.contact-page main > .contact-support {
  box-sizing: border-box;
  width: var(--site-container-width) !important;
  max-width: var(--site-container-max) !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

body.about-page.about-reference main > section.timeline-reference[data-timeline]:not(.hero) {
  width: min(1360px, calc(100% - 48px)) !important;
  max-width: 1360px !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.services-commercial > .service-section {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.services-commercial .service-infographic .service-section-head,
.services-commercial .service-infographic .ai-value-figure {
  max-width: 100% !important;
}

@media (max-width: 760px) {
  :root {
    --site-container-gutter: 16px;
  }
}

/* Header active navigation state */
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  transition: color 180ms ease, opacity 180ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 50%;
  bottom: -7px;
  width: 68%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8b3dff, #178bff);
  content: "";
  opacity: 0;
  transform: translateX(50%) scaleX(0.72);
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: translateX(50%) scaleX(1);
}

.main-nav a[aria-current="page"] {
  color: #165fc7;
  opacity: 1;
}

@media (max-width: 1120px) {
  .topbar.open .main-nav a {
    padding: 14px 0 14px 14px;
  }

  .topbar.open .main-nav a::after {
    top: 50%;
    right: auto;
    bottom: auto;
    left: 0;
    width: 3px;
    height: 24px;
    transform: translateY(-50%) scaleY(0.72);
  }

  .topbar.open .main-nav a:hover::after,
  .topbar.open .main-nav a[aria-current="page"]::after {
    transform: translateY(-50%) scaleY(1);
  }
}

/* Services AI value infographic sizing */
.services-commercial .service-infographic {
  padding-top: clamp(42px, 4vw, 56px) !important;
  padding-bottom: clamp(46px, 4.5vw, 60px) !important;
}

.services-commercial .service-infographic .service-section-head {
  max-width: min(760px, calc(100% - 48px)) !important;
  margin-bottom: 22px;
}

.services-commercial .service-infographic .ai-value-figure {
  width: min(100%, 980px);
  max-width: min(980px, calc(100% - 56px)) !important;
  margin: 22px auto 0 !important;
  padding: clamp(8px, 1.2vw, 14px) !important;
  overflow: visible !important;
}

.services-commercial .service-infographic .ai-value-figure img {
  display: block;
  width: min(100%, 920px) !important;
  max-width: 920px !important;
  max-height: 460px !important;
  min-width: 0 !important;
  height: auto !important;
  margin-right: auto;
  margin-left: auto;
  object-fit: contain !important;
}

@media (max-width: 760px) {
  .services-commercial .service-infographic .service-section-head,
  .services-commercial .service-infographic .ai-value-figure {
    max-width: calc(100% - 28px) !important;
  }

  .services-commercial .service-infographic .ai-value-figure {
    padding: 8px !important;
    overflow: visible !important;
  }

  .services-commercial .service-infographic .ai-value-figure img {
    width: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    min-width: 0 !important;
  }
}
