:root {
  --bg: #ffffff;
  --ink: #111827;
  --muted: #4b5563;
  --soft: #f8fafc;
  --soft-blue: #ecfeff;
  --line: #e5e7eb;
  --cyan: #0891b2;
  --cyan-bright: #22d3ee;
  --blue: #2563eb;
  --slate: #0f172a;
  --green: #22c55e;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font: inherit;
}

.shell {
  width: min(100% - 32px, 1280px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 1px 8px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 6px;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
}

.brand-copy {
  display: grid;
  gap: 0;
}

.brand-copy strong {
  font-size: 1rem;
  font-weight: 700;
}

.brand-copy small {
  color: #6b7280;
  font-size: 0.75rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #374151;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--blue);
}

.mobile-actions {
  display: none;
  align-items: center;
  gap: 8px;
}

.menu-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-content: center;
  gap: 5px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #374151;
  cursor: pointer;
}

.menu-button span {
  width: 22px;
  height: 2px;
  display: block;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

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

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

.whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.whatsapp:hover {
  transform: translateY(-1px);
}

.whatsapp-header {
  padding: 10px 16px;
  background: var(--green);
  color: #fff;
}

.whatsapp-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
}

.whatsapp-primary {
  padding: 12px 24px;
  background: var(--green);
  color: #fff;
}

.whatsapp-primary:hover,
.whatsapp-header:hover,
.whatsapp-icon:hover {
  background: #16a34a;
  box-shadow: 0 12px 28px rgba(34, 197, 94, 0.28);
}

.whatsapp-secondary {
  padding: 10px 22px;
  background: #fff;
  color: #16a34a;
  border: 2px solid #22c55e;
}

.icon {
  line-height: 1;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 46%, #020617 100%);
}

.tech-grid,
.tech-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.07;
  background-image:
    linear-gradient(rgba(34, 211, 238, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 211, 238, 0.45) 1px, transparent 1px);
  background-size: 42px 42px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  align-items: center;
  gap: 48px;
  padding-block: 88px;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 32px;
  color: #cbd5e1;
  font-size: 1.18rem;
}

.hero-media {
  position: relative;
}

.hero-media img,
.image-stack img {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.75), transparent 52%);
  pointer-events: none;
}

.support-card {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 8px;
  background: rgba(30, 41, 59, 0.9);
  backdrop-filter: blur(12px);
}

.support-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid #22d3ee;
  border-radius: 999px;
  background: rgba(34, 211, 238, 0.18);
}

.support-card strong,
.support-card small {
  display: block;
}

.support-card small {
  color: #cbd5e1;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #cffafe;
  color: #0e7490;
  font-weight: 700;
  font-size: 0.9rem;
}

.eyebrow.dark {
  margin-bottom: 24px;
  border: 1px solid rgba(34, 211, 238, 0.32);
  background: rgba(6, 182, 212, 0.2);
  color: #67e8f9;
  backdrop-filter: blur(8px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid #334155;
}

.stats strong,
.trust-grid strong {
  display: block;
  color: #22d3ee;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
}

.stats span,
.trust-grid span {
  color: #94a3b8;
  font-size: 0.9rem;
}

.section {
  padding-block: 88px;
}

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

.advantages {
  background: linear-gradient(135deg, #f8fafc, #ecfeff);
}

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

.image-stack {
  position: relative;
}

.image-stack::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -24px;
  z-index: -1;
  width: 192px;
  height: 192px;
  border-radius: 16px;
  background: linear-gradient(135deg, #06b6d4, #2563eb);
}

h2 {
  margin: 0 0 20px;
  color: #111827;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  color: #111827;
  font-size: 1.15rem;
  line-height: 1.25;
}

p {
  margin: 0;
}

.text-stack {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
  color: #374151;
}

.section-head {
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head p {
  color: #4b5563;
  font-size: 1.12rem;
}

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

.value-grid article {
  display: flex;
  gap: 16px;
}

.mini-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 8px;
  background: #cffafe;
  color: #0891b2;
  font-weight: 700;
}

.value-grid p,
.service-card p,
.advantage-grid p,
.solution-card p {
  color: #4b5563;
  font-size: 0.95rem;
}

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

.service-card,
.advantage-grid article {
  padding: 24px;
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.advantage-grid article {
  padding: 32px;
  border-width: 1px;
  box-shadow: 0 1px 5px rgba(15, 23, 42, 0.04);
}

.service-card:hover,
.advantage-grid article:hover {
  border-color: #06b6d4;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 1.5rem;
}

.service-icon.cyan { background: linear-gradient(135deg, #06b6d4, #2563eb); }
.service-icon.blue { background: linear-gradient(135deg, #3b82f6, #4f46e5); }
.service-icon.slate { background: linear-gradient(135deg, #475569, #0f172a); }
.service-icon.green { background: linear-gradient(135deg, #22c55e, #059669); }
.service-icon.orange { background: linear-gradient(135deg, #f97316, #dc2626); }
.service-icon.purple { background: linear-gradient(135deg, #8b5cf6, #db2777); }

.service-card a {
  display: inline-flex;
  gap: 6px;
  margin-top: 16px;
  color: #0891b2;
  font-weight: 700;
}

.cta-panel {
  position: relative;
  margin-top: 48px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, #1e293b, #020617);
  color: #fff;
  text-align: center;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 840px;
  margin: 0 auto;
  padding: 48px 32px;
}

.cta-content h3 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
}

.cta-content p {
  margin: 0 auto 24px;
  color: #cbd5e1;
  font-size: 1.1rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.carousel {
  position: relative;
}

.carousel-viewport {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 500ms ease;
}

.solution-card {
  position: relative;
  min-width: calc((100% - 72px) / 4);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.solution-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 500ms ease;
}

.solution-card:hover img {
  transform: scale(1.06);
}

.solution-card > span {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.92);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}

.solution-card div {
  padding: 20px;
}

.solution-card a {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  padding: 10px 16px;
  border-radius: 8px;
  background: linear-gradient(90deg, #06b6d4, #2563eb);
  color: #fff;
  font-weight: 700;
}

.carousel-arrow {
  position: absolute;
  top: 45%;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #374151;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  transition: background 180ms ease, color 180ms ease;
}

.carousel-arrow:hover {
  background: #0891b2;
  color: #fff;
}

.carousel-arrow.prev {
  left: -24px;
}

.carousel-arrow.next {
  right: -24px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.carousel-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d1d5db;
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.carousel-dots button.active {
  width: 32px;
  background: #2563eb;
}

.below-cta {
  margin-top: 48px;
  text-align: center;
}

.below-cta p {
  margin-bottom: 16px;
  color: #4b5563;
}

.advantage-grid .mini-icon {
  margin-bottom: 24px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 64px;
  text-align: center;
}

.trust-grid strong {
  color: #0891b2;
}

.trust-grid span {
  color: #4b5563;
}

.footer {
  background: #0f172a;
  color: #cbd5e1;
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.25fr;
  gap: 32px;
  padding-bottom: 48px;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer .brand-copy strong,
.footer h3 {
  color: #fff;
}

.footer .brand-copy small,
.footer p,
.footer a {
  color: #94a3b8;
}

.footer-grid > div:not(:first-child) {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer a:hover {
  color: #fff;
}

.social {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-top: 16px;
  border-radius: 8px;
  background: #1e293b;
}

.social:hover {
  background: #16a34a;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px;
  border-top: 1px solid #1e293b;
  font-size: 0.92rem;
}

.footer-bottom span {
  display: flex;
  gap: 24px;
}

@media (max-width: 1023px) {
  .nav {
    min-height: 64px;
  }

  .nav-links,
  .whatsapp-header {
    display: none;
  }

  .mobile-actions {
    display: flex;
  }

  .nav-links.open {
    position: absolute;
    inset: 64px 0 auto;
    display: grid;
    gap: 14px;
    padding: 20px max(16px, calc((100vw - 1280px) / 2 + 16px));
    border-top: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 18px 28px rgba(15, 23, 42, 0.08);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 72px;
    text-align: center;
  }

  .hero-copy p {
    margin-inline: auto;
  }

  .hero-media {
    display: none;
  }

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

  .image-stack {
    order: 2;
  }

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

  .solution-card {
    min-width: calc((100% - 48px) / 3);
  }

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

@media (max-width: 767px) {
  .section {
    padding-block: 64px;
  }

  .site-header .brand-copy {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

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

  .value-grid,
  .service-grid,
  .advantage-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .image-stack::after {
    display: none;
  }

  .cta-actions,
  .cta-actions .whatsapp,
  .below-cta .whatsapp {
    width: 100%;
  }

  .solution-card {
    min-width: calc((100% - 24px) / 2);
  }

  .carousel-arrow {
    display: none;
  }

  .footer-bottom,
  .footer-bottom span {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .stats,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .solution-card {
    min-width: 83%;
  }

  .cta-content {
    padding: 36px 20px;
  }
}
