:root {
  --bg: #f5f7fb;
  --bg-soft: #ffffff;
  --surface: #ffffff;
  --line: #dde4f1;
  --text: #152033;
  --text-soft: #5f6d86;
  --text-dark: #4b5568;
  --purple: #7b46ff;
  --purple-strong: #5c28db;
  --shadow: 0 24px 70px rgba(20, 32, 51, 0.08);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --container: 1200px;
  --brand-panel:
    radial-gradient(circle at top center, rgba(223, 162, 255, 0.24), transparent 22%),
    radial-gradient(circle at 20% 82%, rgba(205, 58, 186, 0.18), transparent 20%),
    linear-gradient(135deg, #3a0d53 0%, #6b1fa6 48%, #a13ce0 100%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(123, 70, 255, 0.08), transparent 20%),
    linear-gradient(180deg, #f8faff 0%, #f3f6fc 100%);
}

a {
  color: inherit;
}

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

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 250, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(221, 228, 241, 0.8);
}

.topbar {
  border-bottom: 1px solid rgba(221, 228, 241, 0.8);
  background: #fff;
}

.topbar-shell,
.nav-shell,
.topbar-links,
.topbar-contact,
.nav,
.hero-actions,
.footer-grid {
  display: flex;
}

.topbar-shell,
.nav-shell {
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-shell {
  min-height: 42px;
}

.topbar-links,
.topbar-contact {
  align-items: center;
  gap: 18px;
}

.topbar a,
.nav a,
.footer-grid a {
  text-decoration: none;
}

.topbar a {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.nav-shell {
  min-height: 84px;
  padding-inline: 4px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand-logo,
.footer-logo {
  width: 230px;
  mix-blend-mode: multiply;
}

.nav {
  align-items: center;
  gap: 24px;
}

.nav a {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav a:hover,
.topbar a:hover,
.footer-grid a:hover {
  color: var(--purple);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  border: 0;
  background: var(--surface);
}

.menu-toggle span {
  width: 26px;
  height: 2.5px;
  margin: 0 auto;
  border-radius: 999px;
  background: #505a70;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #4d1590 0%, #6b1fa6 52%, #8a33cc 100%);
  box-shadow: 0 16px 34px rgba(77, 21, 144, 0.24);
}

.contact-button {
  min-height: 54px;
  font-size: 1.04rem;
  font-weight: 800;
}

.button-secondary {
  color: #4c5568;
  background: #fff;
  border: 1px solid var(--line);
}

.hero,
.stats,
.solutions,
.public-sector,
.cases,
.logos-strip,
.events-calendar,
.contact {
  padding: 58px 0;
}

.hero {
  padding-top: 62px;
  padding-bottom: 44px;
}

.hero-grid,
.solution-showcase,
.public-grid,
.contact-shell {
  display: grid;
  gap: 24px;
}

.hero-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}

.section-heading {
  display: grid;
  gap: 10px;
  max-width: 780px;
  margin-bottom: 28px;
}

.solutions .section-heading {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.hero-badge,
.section-tag,
.section-heading span,
.hero-feature small,
.case-card small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: #f4dcff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
}

.stats .section-heading span,
.solutions .section-heading span,
.cases .section-heading span,
.events-calendar .section-heading span,
.logos-strip .section-heading span {
  color: var(--text-dark);
  background: rgba(123, 70, 255, 0.08);
}

.hero h1,
.section-heading h2,
.certification-shell h2,
.public-copy h2,
.contact-copy h2 {
  margin: 18px 0 0;
  font-family: "Manrope", sans-serif;
  line-height: 1.04;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.5vw, 4.3rem);
}

.section-heading h2,
.certification-shell h2,
.public-copy h2,
.contact-copy h2 {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.hero-main,
.hero-feature,
.stats-grid article,
.certification-shell,
.solution-spotlight,
.solution-column,
.public-copy,
.case-card,
.contact-card {
  background: var(--brand-panel);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-main,
.certification-shell,
.solution-spotlight,
.public-copy,
.contact-card {
  border-radius: var(--radius-xl);
}

.hero-feature,
.stats-grid article,
.solution-column,
.case-card {
  border-radius: var(--radius-lg);
}

.hero-main {
  padding: 40px;
}

.hero-main h1,
.hero-main p,
.hero-main .hero-badge {
  color: #fff;
}

.hero-main p {
  max-width: 56ch;
  margin: 22px 0 0;
  line-height: 1.7;
  font-size: 1.02rem;
}

.hero-actions {
  gap: 14px;
  margin-top: 28px;
}

.hero-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hero-feature {
  padding: 24px;
}

.hero-feature h2,
.hero-feature p,
.hero-feature a {
  color: #fff;
}

.hero-feature h2 {
  margin: 14px 0 10px;
  font-family: "Manrope", sans-serif;
  font-size: 1.3rem;
  line-height: 1.15;
}

.hero-feature p {
  margin: 0;
  line-height: 1.65;
}

.hero-feature a,
.solution-column a {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
}

.hero-feature.highlight,
.hero-image-card {
  grid-column: span 2;
}

.hero-image-card,
.solution-image-card,
.public-image-card,
.image-tile {
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-image-card img,
.solution-image-card img,
.public-image-card img,
.image-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-card {
  min-height: 250px;
}

.stats .section-heading h2,
.solutions .section-heading h2,
.cases .section-heading h2,
.events-calendar .section-heading h2,
.logos-strip .section-heading h2 {
  color: var(--text-dark);
}

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

.stats-grid article {
  padding: 24px;
  min-height: 168px;
}

.stat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.stat-icon svg {
  width: 26px;
  height: 26px;
}

.stats-grid strong,
.stats-grid span {
  color: #fff;
}

.stats-grid strong {
  display: block;
  font-size: 1.02rem;
}

.stats-grid span {
  display: block;
  margin-top: 8px;
  line-height: 1.7;
}

.certification {
  padding-top: 0;
}

.certification-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
}

.certification-shell .section-tag,
.certification-shell h2,
.certification-shell p {
  color: #fff;
}

.certification-shell p {
  margin: 0;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.solutions {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #eef3fb 100%);
}

.solution-showcase {
  grid-template-columns: 0.95fr 1.05fr;
  align-items: start;
}

.solution-spotlight {
  padding: 28px;
  min-height: 100%;
  display: grid;
  align-content: stretch;
  gap: 24px;
}

.solution-logo-block {
  display: flex;
  justify-content: center;
  padding: 10px 0 4px;
  border-radius: 24px;
  background: transparent;
}

.solution-logo-block img {
  width: 280px;
  mix-blend-mode: screen;
}

.solution-spotlight h3,
.solution-spotlight li,
.solution-spotlight .button {
  color: #fff;
}

.solution-spotlight h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  line-height: 1.18;
}

.solution-spotlight ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  align-content: start;
}

.solution-spotlight li {
  line-height: 1.78;
  font-size: 1.16rem;
}

.solution-stack {
  display: grid;
  gap: 18px;
}

.solution-image-card {
  min-height: 250px;
}

.solution-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 18px;
  align-items: stretch;
}

.solution-column {
  height: 100%;
  padding: 24px;
  min-height: 180px;
}

.solution-column h4,
.solution-column a {
  color: #fff;
}

.solution-column h4,
.contact-card label,
.footer-grid h4 {
  margin: 0 0 14px;
  font-size: 0.96rem;
  font-weight: 800;
}

.solution-column a {
  display: block;
  line-height: 1.65;
  text-decoration: none;
  font-weight: 500;
}

.public-grid,
.contact-shell {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.public-copy {
  padding: 30px;
  display: grid;
  align-content: center;
  gap: 16px;
}

.public-copy .section-tag,
.public-copy h2,
.public-copy p {
  color: #fff;
}

.public-copy p {
  margin: 0;
  line-height: 1.75;
}

.public-image-card {
  min-height: 380px;
  height: 100%;
}

.cases {
  background: linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}

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

.case-card {
  padding: 26px;
}

.case-card h3,
.case-card p,
.case-card small {
  color: #fff;
}

.case-card h3 {
  margin: 10px 0;
  font-family: "Manrope", sans-serif;
  font-size: 1.34rem;
}

.case-card p {
  margin: 0;
  line-height: 1.7;
}

.case-card-image {
  overflow: hidden;
  margin: -6px -6px 18px;
  border-radius: 20px;
}

.case-card-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}

.news-viewport {
  overflow: hidden;
}

.news-track {
  position: relative;
  min-height: 380px;
}

.news-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--brand-panel);
  opacity: 0;
  pointer-events: none;
  transform: translateX(24px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.news-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.news-card-media {
  min-height: 380px;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-copy {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 34px;
}

.news-source {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: #f4dcff;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-card h3,
.news-card p,
.news-link {
  color: #fff;
}

.news-card h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.8rem, 2.8vw, 2.5rem);
  line-height: 1.08;
}

.news-card p {
  margin: 0;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.88);
}

.news-link {
  width: fit-content;
  text-decoration: none;
  font-weight: 700;
}

.news-nav {
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-dark);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.news-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.news-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(91, 105, 133, 0.25);
  cursor: pointer;
}

.news-dot.is-active {
  background: var(--purple-strong);
}

.news-note {
  margin: 18px auto 0;
  max-width: 760px;
  text-align: center;
  color: var(--text-soft);
  line-height: 1.7;
}

.events-calendar {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #eef3fb 100%);
}

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

.event-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.event-date {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 16px 12px;
  border-radius: 20px;
  background: var(--brand-panel);
  text-align: center;
}

.event-date strong,
.event-date span {
  color: #fff;
}

.event-date strong {
  font-family: "Manrope", sans-serif;
  font-size: 1.35rem;
  line-height: 1;
}

.event-date span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-copy h3 {
  margin: 0;
  color: var(--text-dark);
  font-family: "Manrope", sans-serif;
  font-size: 1.25rem;
}

.event-copy p {
  margin: 10px 0 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 14px;
}

.event-meta span {
  color: var(--text-dark);
  font-size: 0.92rem;
}

.event-meta a {
  color: var(--purple-strong);
  font-weight: 700;
  text-decoration: none;
}

.contact-copy .section-tag,
.contact-copy h2,
.contact-copy p {
  color: var(--text-dark);
}

.contact-copy p {
  margin: 18px 0 0;
  line-height: 1.7;
}

.form-submit-frame {
  width: 0;
  height: 0;
  border: 0;
  position: absolute;
  pointer-events: none;
  opacity: 0;
}

.contact-disclaimer {
  font-size: 0.8rem;
  letter-spacing: 0.01em;
}

.contact-card {
  display: grid;
  gap: 14px;
  padding: 26px;
}

.form-row {
  display: grid;
  grid-template-columns: 0.38fr 0.62fr;
  gap: 14px;
}

.contact-card label {
  display: grid;
  gap: 8px;
  color: #fff;
}

.contact-card input,
.contact-card select {
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  color: #4c5568;
  font: inherit;
}

.contact-card input[type="file"] {
  min-height: auto;
  padding: 12px 14px;
}

.contact-card button:disabled {
  opacity: 0.82;
  cursor: wait;
}

.form-feedback {
  min-height: 22px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.form-feedback[data-state="loading"] {
  color: rgba(255, 255, 255, 0.82);
}

.form-feedback[data-state="success"] {
  color: #ffffff;
}

.form-feedback[data-state="error"] {
  color: #ffe2ef;
}

.full-width {
  width: 100%;
}

.site-footer {
  padding: 42px 0;
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 22px;
}

.footer-grid > div {
  display: grid;
  align-content: start;
}

.footer-grid > div:first-child {
  justify-items: center;
  text-align: center;
}

.footer-grid h4 {
  color: var(--text);
}

.footer-grid p,
.footer-grid span,
.footer-grid a {
  color: var(--text-soft);
  line-height: 1.7;
}

.footer-grid a {
  display: block;
  margin-top: 6px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #4d1590 0%, #6b1fa6 52%, #8a33cc 100%);
  box-shadow: 0 18px 30px rgba(77, 21, 144, 0.28);
}

.whatsapp-float svg {
  width: 40px;
  height: 40px;
  display: block;
}

@media (max-width: 1080px) {
  .hero-grid,
  .solution-showcase,
  .public-grid,
  .contact-shell,
  .certification-shell,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 780px) {
  .topbar {
    display: none;
  }

  .nav-shell {
    min-height: 72px;
    padding-inline: 2px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 76px;
    right: 16px;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    min-width: 220px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
  }

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

  .header-cta {
    display: none;
  }

  .hero {
    padding-top: 38px;
  }

  .hero-side,
  .stats-grid,
  .solution-columns,
  .case-grid {
    grid-template-columns: 1fr;
  }

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

  .news-carousel {
    grid-template-columns: 1fr;
  }

  .news-nav {
    display: none;
  }

  .news-card {
    grid-template-columns: 1fr;
  }

  .news-card-media {
    min-height: 220px;
  }

  .news-track {
    min-height: 520px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .hero-main,
  .hero-feature,
  .stats-grid article,
  .certification-shell,
  .solution-spotlight,
  .solution-column,
  .public-copy,
  .case-card,
  .contact-card {
    padding: 20px;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 10vw, 2.7rem);
  }

  .section-heading h2,
  .certification-shell h2,
  .public-copy h2,
  .contact-copy h2 {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }
}
