:root {
  --bg: #f0f4f8;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-strong: #f7fafc;
  --line: rgba(43, 108, 176, 0.12);
  --text: #2d3748;
  --muted: #718096;
  --text-strong: #1a202c;
  --primary: #2b6cb0;
  --primary-soft: #ebf8ff;
  --primary-border: #bee3f8;
  --primary-glow: rgba(43, 108, 176, 0.18);
  --accent: #f6ad55;
  --accent-deep: #dd8a2f;
  --dark: #1f273d;
  --shadow: 0 20px 60px rgba(35, 65, 110, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(99, 179, 237, 0.2), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(246, 173, 85, 0.14), transparent 20%),
    linear-gradient(180deg, #eaf4ff 0%, #f8fbff 45%, #eef6f1 100%);
}

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

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

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(190, 227, 248, 0.95);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.45rem 0.8rem;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(25, 32, 52, 0.98), rgba(31, 39, 61, 0.95));
  box-shadow: 0 18px 34px rgba(13, 20, 38, 0.16);
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 16px rgba(13, 20, 38, 0.35));
}

.brand-copy {
  display: grid;
  min-width: 0;
}

.brand-copy strong {
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 0.95;
  color: #8ec5ff;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 14px rgba(64, 170, 255, 0.15);
}

.brand-copy strong span {
  color: var(--accent);
}

.brand-copy small {
  margin-top: 0.35rem;
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.58rem;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.menu {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.menu a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.menu a:hover {
  color: var(--primary);
}

.menu-cta {
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  background: var(--primary);
  color: white !important;
}

.menu-cta:hover {
  background: #1f4b7a;
}

.menu-cta-pulse,
.demo-pulse {
  animation: demoPulse 1.6s ease-in-out infinite;
}

.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 6px auto;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hero {
  padding: 5.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.section-head h2,
.about-banner h2,
.contact-copy h2 {
  margin: 0;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.hero-copy h1 {
  font-size: clamp(3.4rem, 7vw, 6.3rem);
  max-width: 12ch;
  color: var(--text-strong);
}

.hero-copy h1 span {
  color: var(--primary);
}

.hero-text {
  max-width: 52ch;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-highlight {
  color: #7c3aed;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.85rem 1.35rem;
  border-radius: 18px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #2b6cb0, #3182ce);
  color: white;
  box-shadow: 0 16px 32px rgba(43, 108, 176, 0.24);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--primary-border);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-soft);
}

@keyframes demoPulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.24);
    opacity: 1;
  }

  50% {
    transform: scale(1.04);
    box-shadow: 0 0 0 12px rgba(124, 58, 237, 0);
    opacity: 0.92;
  }
}

.trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  padding: 0;
  margin: 1.8rem 0 0;
  list-style: none;
}

.trust-list li {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--primary-border);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.hero-card,
.hero-panel,
.service-card,
.showcase-card,
.contact-form,
.contact-cards article,
.timeline-item,
.metrics-grid article {
  border: 1px solid rgba(190, 227, 248, 0.95);
  background: var(--surface);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.hero-card {
  border-radius: 28px;
  padding: 1.35rem;
}

.hero-card-main {
  grid-column: span 2;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(31, 75, 122, 0.12), rgba(31, 39, 61, 0.94)),
    linear-gradient(135deg, #8ec5ff, #2b6cb0 55%, #1f4b7a);
  color: white;
}

.hero-card-main p,
.hero-card-main h2 {
  margin: 0;
}

.hero-card-main p {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.82;
}

.hero-card-main h2 {
  margin-top: 0.8rem;
  max-width: 12ch;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
}

.stat-card {
  min-height: 150px;
  display: grid;
  align-content: end;
}

.stat-card strong {
  font-size: 2.5rem;
  letter-spacing: -0.06em;
  color: var(--text-strong);
}

.stat-card span {
  color: var(--muted);
  font-weight: 700;
}

.accent-card {
  background: linear-gradient(180deg, rgba(246, 173, 85, 0.16), rgba(255, 255, 255, 0.78));
}

.hero-panel {
  grid-column: span 2;
  border-radius: 28px;
  padding: 1.2rem;
}

.panel-line {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(43, 108, 176, 0.95), rgba(43, 108, 176, 0.12));
}

.panel-line.short {
  width: 68%;
  margin-top: 0.7rem;
}

.panel-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.panel-badges span {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.metrics {
  padding: 1rem 0 0;
}

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

.metrics-grid article {
  border-radius: 24px;
  padding: 1.3rem;
}

.metrics-grid strong {
  display: block;
  font-size: 1.5rem;
  letter-spacing: -0.05em;
  color: var(--text-strong);
}

.metrics-grid span {
  color: var(--muted);
  display: block;
  margin-top: 0.45rem;
  line-height: 1.6;
}

.section {
  padding: 5.5rem 0;
}

.section-head {
  display: grid;
  gap: 0.9rem;
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-head h2,
.about-banner h2,
.contact-copy h2 {
  font-size: clamp(2.3rem, 5vw, 4rem);
  color: var(--text-strong);
}

.section-head p:last-child,
.contact-copy p:last-of-type,
.about-points p {
  color: var(--muted);
  line-height: 1.8;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 1.45rem;
  min-height: 250px;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -20% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 179, 237, 0.18), transparent 68%);
}

.service-card h3 {
  margin: 0.3rem 0 0.8rem;
  font-size: 1.55rem;
  letter-spacing: -0.05em;
  color: var(--text-strong);
}

.service-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.card-index {
  display: inline-block;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.featured {
  background: linear-gradient(180deg, rgba(99, 179, 237, 0.16), rgba(255, 255, 255, 0.84));
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: 1rem;
  align-items: start;
}

.compact {
  margin-bottom: 0;
}

.timeline {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1rem;
  align-items: start;
  border-radius: 28px;
  padding: 1.2rem;
}

.timeline-item span {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, #1f4b7a, var(--primary));
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
}

.timeline-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.45rem;
  color: var(--text-strong);
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 1rem;
}

.showcase-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(25, 32, 52, 0.08), rgba(25, 32, 52, 0.86)),
    linear-gradient(135deg, #bee3f8, #2b6cb0 55%, #1f4b7a);
  color: white;
}

.showcase-card.tall {
  grid-row: span 2;
}

.showcase-card.dark {
  background:
    linear-gradient(180deg, rgba(25, 32, 52, 0.05), rgba(25, 32, 52, 0.94)),
    linear-gradient(135deg, #2d3748, #1a202c 70%);
}

.showcase-card.striped {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%) -12px 0 / 24px 24px,
    linear-gradient(225deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%) -12px 0 / 24px 24px,
    linear-gradient(315deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%) 0 0 / 24px 24px,
    linear-gradient(45deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%) 0 0 / 24px 24px,
    linear-gradient(180deg, rgba(31, 75, 122, 0.18), rgba(31, 39, 61, 0.86)),
    linear-gradient(135deg, #f6ad55, #2b6cb0);
}

.showcase-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: auto;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.showcase-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.7rem;
  letter-spacing: -0.05em;
}

.showcase-card p {
  margin: 0;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.about-banner {
  padding-top: 1rem;
}

.about-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 2rem;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(235, 248, 255, 0.88), rgba(255, 255, 255, 0.72));
  border: 1px solid rgba(190, 227, 248, 0.95);
}

.about-points {
  display: grid;
  gap: 1rem;
}

.about-points p {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(190, 227, 248, 0.95);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1rem;
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
}

.contact-cards article {
  border-radius: 24px;
  padding: 1.2rem;
}

.contact-cards span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.45rem;
}

.contact-cards strong {
  font-size: 1.2rem;
  letter-spacing: -0.04em;
  color: var(--text-strong);
}

.contact-panel {
  display: grid;
  gap: 1rem;
}

.contact-demo {
  width: 100%;
  min-height: 62px;
  border-radius: 22px;
  font-size: 1.05rem;
}

.contact-panel-card {
  border: 1px solid rgba(190, 227, 248, 0.95);
  background: var(--surface);
  box-shadow: var(--shadow);
  border-radius: 32px;
  padding: 1.4rem;
}

.contact-panel-label {
  margin: 0 0 0.7rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-panel-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.55rem;
  color: var(--text-strong);
  letter-spacing: -0.04em;
}

.contact-panel-card p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.contact-panel-links {
  display: grid;
  gap: 0.85rem;
}

.contact-link-card {
  display: block;
  border: 1px solid rgba(190, 227, 248, 0.95);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  border-radius: 24px;
  padding: 1.15rem 1.2rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-link-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

.contact-link-card span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.contact-link-card strong {
  color: var(--text-strong);
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.footer {
  padding: 1.6rem 0 2.5rem;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(190, 227, 248, 0.95);
  color: var(--muted);
}

.footer-row a {
  font-weight: 800;
  color: var(--text);
}

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  background: #25d366;
  color: white;
  font-weight: 800;
  box-shadow: 0 18px 34px rgba(37, 211, 102, 0.28);
}

.whatsapp-float:hover {
  background: #1fb958;
}

@media (max-width: 980px) {
  .hero-grid,
  .process-grid,
  .contact-grid,
  .about-banner-grid {
    grid-template-columns: 1fr;
  }

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

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

  .showcase-card.tall {
    grid-row: span 1;
  }
}

@media (max-width: 760px) {
  .topbar {
    position: sticky;
  }

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

  .menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.8rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(190, 227, 248, 0.95);
    box-shadow: var(--shadow);
  }

  .menu.open {
    display: flex;
  }

  .menu a {
    padding: 0.8rem 0.85rem;
    border-radius: 14px;
  }

  .menu a:hover {
    background: var(--primary-soft);
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(8px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero {
    padding-top: 4.5rem;
  }

  .hero-copy h1 {
    max-width: 100%;
  }

  .service-grid,
  .metrics-grid,
  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual,
  .footer-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-card-main,
  .hero-panel {
    grid-column: span 1;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-item span {
    width: 60px;
    height: 60px;
  }

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