:root {
  --blue-900: #0f1f46;
  --blue-800: #17366f;
  --blue-700: #2457d6;
  --blue-500: #3278ff;
  --purple-700: #7b3ff2;
  --purple-500: #a45bff;
  --cyan-500: #25c2f0;
  --green-500: #28c76f;
  --ink: #172033;
  --muted: #667085;
  --line: #e6eaf2;
  --soft: #f6f8fc;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(23, 32, 51, 0.1);
  --shadow-soft: 0 12px 30px rgba(23, 32, 51, 0.08);
  --gradient: linear-gradient(135deg, var(--blue-500), var(--purple-700));
  --gradient-dark: linear-gradient(135deg, #102c6c 0%, #2457d6 48%, #7b3ff2 100%);
  --radius-card: 8px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--max-width));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.skip-link {
  position: absolute;
  left: 20px;
  top: -60px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: 6px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 14px;
}

.top-bar {
  background: var(--blue-900);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.86rem;
}

.top-bar__content {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.top-bar p {
  margin: 0;
}

.top-bar__links {
  display: flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}

.top-bar__links a,
.top-bar__links i {
  color: var(--white);
}

.top-bar__links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: opacity 0.2s ease;
}

.top-bar__links a:hover {
  opacity: 0.78;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(230, 234, 242, 0.82);
  backdrop-filter: blur(18px);
}

.nav-shell {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-900);
  font-weight: 800;
  line-height: 1.05;
  min-width: max-content;
}

.brand--logo img {
  width: 168px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  color: #34405a;
  font-size: 0.95rem;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 100%;
  height: 2px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  color: var(--white);
  background: var(--gradient);
  box-shadow: 0 16px 34px rgba(50, 120, 255, 0.3);
}

.btn--primary:hover {
  box-shadow: 0 20px 38px rgba(123, 63, 242, 0.34);
}

.btn--ghost {
  color: var(--blue-800);
  background: #eef4ff;
  border-color: #dce7ff;
}

.btn--outline {
  color: var(--blue-800);
  background: var(--white);
  border-color: #cfd8ee;
  box-shadow: var(--shadow-soft);
}

.btn--large {
  min-height: 52px;
  padding-inline: 24px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue-900);
  border-radius: 99px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 84px;
  background:
    linear-gradient(120deg, rgba(50, 120, 255, 0.08), rgba(164, 91, 255, 0.07) 52%, rgba(255, 255, 255, 0) 72%),
    var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  right: -16vw;
  top: 88px;
  width: 50vw;
  height: 220px;
  background: linear-gradient(135deg, rgba(50, 120, 255, 0.14), rgba(123, 63, 242, 0.15));
  transform: skewY(-12deg);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  align-items: center;
  gap: 58px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-700);
  background: #eef4ff;
  border: 1px solid #dfe8ff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.section-kicker--light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.22);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 640px;
  margin-bottom: 22px;
  color: var(--blue-900);
  font-size: 4.2rem;
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  color: var(--blue-900);
  font-size: 3rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  color: var(--blue-900);
  line-height: 1.2;
}

.hero__lead {
  max-width: 620px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.benefits span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  color: #34405a;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.benefits i,
.feature-list i {
  color: var(--green-500);
}

.hero__media {
  position: relative;
  min-height: 500px;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: 44px -14px auto auto;
  width: 78%;
  height: 74%;
  background: var(--gradient-dark);
  border-radius: 24px;
  transform: rotate(-4deg);
  opacity: 0.9;
}

.hero__media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 28px 8px 28px 8px;
  box-shadow: var(--shadow);
}

.hero-stat {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 290px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.hero-stat--top {
  left: -24px;
  top: 42px;
  display: block;
}

.hero-stat--bottom {
  right: -12px;
  bottom: 42px;
}

.hero-stat strong {
  display: block;
  color: var(--blue-900);
  font-size: 0.95rem;
}

.hero-stat span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.hero-stat i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  color: var(--white);
  background: var(--gradient);
  border-radius: 8px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin: 14px 0 0;
}

.solutions-grid,
.segments-grid,
.steps-grid {
  display: grid;
  gap: 20px;
}

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

.solution-card,
.segment-card,
.step-card,
.quote-form,
.contact-cards a {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(23, 32, 51, 0.05);
}

.solution-card {
  position: relative;
  overflow: hidden;
  min-height: 252px;
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.solution-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: var(--gradient);
}

.solution-card:hover,
.segment-card:hover,
.step-card:hover {
  transform: translateY(-6px);
  border-color: #cad7ff;
  box-shadow: var(--shadow-soft);
}

.solution-card > i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--white);
  background: var(--gradient);
  border-radius: 8px;
  font-size: 1.45rem;
}

.solution-card h3,
.segment-card h3,
.step-card h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.solution-card p,
.segment-card p,
.step-card p {
  margin-bottom: 18px;
  color: var(--muted);
}

.solution-card a {
  display: inline-flex;
  align-items: center;
  color: var(--blue-700);
  font-weight: 800;
}

.solution-card a::after {
  content: "\F138";
  margin-left: 7px;
  font-family: "bootstrap-icons";
  transition: transform 0.2s ease;
}

.solution-card a:hover::after {
  transform: translateX(4px);
}

.section--soft {
  background: var(--soft);
}

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

.segment-card {
  min-height: 210px;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.segment-card i {
  display: block;
  margin-bottom: 18px;
  color: var(--purple-700);
  font-size: 2rem;
}

.split-panel {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: stretch;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--blue-900);
}

.split-panel__image img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.split-panel__content {
  position: relative;
  overflow: hidden;
  padding: 62px;
  color: var(--white);
  background: var(--gradient-dark);
}

.split-panel__content::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: 42px;
  width: 260px;
  height: 92px;
  background: rgba(255, 255, 255, 0.12);
  transform: skewX(-22deg);
}

.split-panel__content h2 {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 16px 0 28px;
  color: var(--white);
}

.feature-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.section--timeline {
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9ff 100%);
}

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

.step-card {
  min-height: 255px;
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.step-card span {
  display: block;
  margin-bottom: 24px;
  color: transparent;
  background: var(--gradient);
  background-clip: text;
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(50, 120, 255, 0.1), rgba(164, 91, 255, 0.11)),
    var(--soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: start;
}

.contact-copy,
.quote-form,
.contact-cards {
  min-width: 0;
}

.contact-copy h2 {
  margin: 16px 0 16px;
}

.contact-copy > p {
  max-width: 560px;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-cards {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-cards a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
}

.contact-cards i {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  color: var(--white);
  background: var(--gradient);
  border-radius: 8px;
}

.contact-cards span {
  display: grid;
  min-width: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-cards strong {
  color: var(--blue-900);
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.quote-form {
  padding: 28px;
}

.form-row {
  margin-bottom: 16px;
}

.form-row--hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

.form-row label {
  display: block;
  margin-bottom: 7px;
  color: var(--blue-900);
  font-size: 0.92rem;
  font-weight: 800;
}

.form-row input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: #fbfcff;
  border: 1px solid #d9e1ef;
  border-radius: 8px;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-row input:focus {
  background: var(--white);
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px rgba(50, 120, 255, 0.14);
}

.btn--form {
  width: 100%;
  min-height: 54px;
  margin-top: 4px;
}

.form-feedback {
  min-height: 24px;
  margin: 14px 0 0;
  font-weight: 700;
}

.form-feedback.is-success {
  color: #168f50;
}

.form-feedback.is-error {
  color: #c33535;
}

.site-footer {
  padding: 68px 0 26px;
  color: rgba(255, 255, 255, 0.74);
  background: var(--blue-900);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.55fr 1fr;
  gap: 48px;
}

.brand--footer {
  margin-bottom: 18px;
  color: var(--white);
}

.brand--footer.brand--logo {
  width: max-content;
  max-width: 100%;
}

.brand--footer.brand--logo img {
  width: 190px;
  max-width: min(100%, 190px);
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.74);
}

.site-footer h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 1rem;
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  border-radius: 8px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
}

.footer-bottom a {
  margin: 0;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.35);
  font-size: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 38px rgba(37, 211, 102, 0.42);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

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

@media (max-width: 1120px) {
  .nav-actions {
    display: none;
  }

  .main-nav {
    margin-left: auto;
  }

  .hero__grid,
  .contact-grid {
    gap: 36px;
  }
}

@media (max-width: 980px) {
  html {
    scroll-padding-top: 86px;
  }

  .top-bar {
    display: none;
  }

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

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: calc(100% + 10px);
    display: grid;
    gap: 2px;
    max-height: 0;
    overflow: hidden;
    padding: 0 14px;
    background: var(--white);
    border: 1px solid transparent;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    opacity: 0;
    transition: max-height 0.25s ease, opacity 0.2s ease, padding 0.2s ease, border-color 0.2s ease;
  }

  .main-nav.is-open {
    max-height: 360px;
    padding: 14px;
    border-color: var(--line);
    opacity: 1;
  }

  .main-nav a {
    padding: 12px;
    border-radius: 8px;
  }

  .main-nav a:hover {
    background: #f4f7ff;
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    padding-top: 56px;
  }

  h1 {
    font-size: 3.35rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .hero__grid,
  .split-panel,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero__media {
    min-height: auto;
  }

  .hero__media img {
    height: 430px;
  }

  .hero-stat--top {
    left: 16px;
  }

  .hero-stat--bottom {
    right: 16px;
  }

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

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

  .split-panel__image img {
    min-height: 390px;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .section {
    padding: 68px 0;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand--logo img {
    width: 132px;
    max-height: 42px;
  }

  h1 {
    margin-bottom: 14px;
    font-size: 2rem;
    line-height: 1.04;
  }

  h2 {
    font-size: 2.1rem;
  }

  .hero {
    padding: 26px 0 34px;
  }

  .hero__grid {
    gap: 22px;
  }

  .hero__lead {
    margin-bottom: 14px;
    font-size: 0.94rem;
  }

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

  .benefits {
    gap: 6px;
  }

  .btn {
    width: 100%;
    min-height: 40px;
  }

  .benefits span {
    justify-content: center;
    padding: 7px 10px;
    font-size: 0.82rem;
  }

  .hero__media::before,
  .hero::after,
  .split-panel__content::after {
    display: none;
  }

  .hero__media img {
    height: 160px;
    border-radius: 8px;
  }

  .hero-stat {
    display: none;
  }

  .solutions-grid,
  .segments-grid,
  .steps-grid,
  .feature-list,
  .form-row--split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .solution-card,
  .segment-card,
  .step-card {
    min-height: auto;
  }

  .split-panel__content,
  .quote-form {
    width: 100%;
    max-width: 100%;
    padding: 24px;
  }

  .contact-copy,
  .contact-cards,
  .contact-cards a {
    width: 100%;
    max-width: 100%;
  }

  .split-panel__image img {
    min-height: 300px;
  }

  .footer-bottom {
    display: grid;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
