:root {
  --ink: #13213a;
  --muted: #607086;
  --line: #dce4ef;
  --surface: #ffffff;
  --soft: #f3f7fb;
  --blue: #1f63c7;
  --blue-dark: #0c2f6b;
  --green: #21b35b;
  --orange: #f59f27;
  --shadow: 0 24px 70px rgba(19, 33, 58, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  background: #f8fbff;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(220, 228, 239, 0.85);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 360px;
}

.brand-logo {
  width: 240px;
  height: 126px;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 0 0 1px var(--line);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  color: #34465f;
  font-size: 14px;
  font-weight: 600;
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.header-cta {
  color: #fff;
  background: var(--green);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  gap: clamp(34px, 5vw, 78px);
  align-items: center;
  min-height: calc(100vh - 77px);
  padding: clamp(48px, 7vw, 86px) clamp(20px, 4vw, 64px) 40px;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 830px;
  margin-bottom: 20px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.btn-primary {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 14px 30px rgba(31, 99, 199, 0.24);
}

.btn-whatsapp {
  color: #fff;
  background: var(--green);
}

.btn-ghost {
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
}

.hero-metrics div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 6px;
  font-size: 26px;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.hero-visual {
  min-width: 0;
}

.dashboard-shell {
  border: 1px solid rgba(220, 228, 239, 0.9);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.dashboard-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  background: #f7faff;
}

.dashboard-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b7c3d4;
}

.dashboard-topbar strong {
  margin-left: 10px;
  font-size: 14px;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 16px;
}

.stat-card,
.chart-card,
.activity-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.stat-card {
  padding: 16px;
}

.stat-card span,
.chart-header span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.stat-card strong {
  display: block;
  margin: 8px 0;
  font-size: 22px;
}

.stat-card small {
  font-weight: 700;
}

.accent-blue small {
  color: var(--blue);
}

.accent-green small {
  color: var(--green);
}

.accent-orange small {
  color: var(--orange);
}

.chart-card {
  grid-column: span 2;
  min-height: 210px;
  padding: 18px;
}

.chart-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.chart-header strong {
  color: var(--green);
  font-size: 12px;
}

.bars {
  display: flex;
  align-items: end;
  gap: 12px;
  height: 138px;
  margin-top: 18px;
}

.bars i {
  flex: 1;
  min-width: 18px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, var(--blue), #8bb7ff);
}

.activity-card {
  display: grid;
  gap: 16px;
  align-content: center;
  padding: 16px;
}

.activity-item {
  display: flex;
  gap: 10px;
}

.activity-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.dot {
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 50%;
}

.green {
  background: var(--green);
}

.blue {
  background: var(--blue);
}

.orange {
  background: var(--orange);
}

.section {
  padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 64px);
}

.section-heading {
  max-width: 760px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.9fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: var(--surface);
}

.intro > p,
.whatsapp-copy p,
.contact p,
.support-grid p,
.module-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.services-banner {
  position: relative;
  display: grid;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  max-width: 1180px;
  margin: 0 auto 26px;
  padding: 36px clamp(18px, 5vw, 56px);
  border-radius: 24px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(27, 59, 111, 0.96), rgba(255, 122, 24, 0.92)),
    #1b3b6f;
  box-shadow: 0 24px 56px rgba(27, 59, 111, 0.24);
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.services-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 68px rgba(27, 59, 111, 0.3);
}

.banner-slide {
  grid-area: 1 / 1;
  display: grid;
  gap: 10px;
  justify-items: center;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  pointer-events: none;
}

.banner-slide.is-active {
  opacity: 1;
  transform: translateY(0);
}

.banner-slide span {
  font-size: clamp(1.1rem, 2.5vw, 1.7rem);
  font-weight: 700;
}

.banner-slide strong {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.banner-slide small {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.98rem, 2vw, 1.2rem);
  font-weight: 700;
}

.banner-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.banner-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.48);
}

.banner-dots i.is-active {
  width: 22px;
  border-radius: 999px;
  background: #fff;
}

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

.module-grid article,
.support-grid article {
  min-height: 190px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.module-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--blue);
  font-weight: 800;
}

.whatsapp {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.55fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
  background: #0f1d33;
  color: #fff;
}

.whatsapp .eyebrow {
  color: #6ee7a3;
}

.whatsapp-copy p {
  color: #c6d2e3;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #eef5ff;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
}

.phone-mockup {
  display: grid;
  gap: 12px;
  max-width: 390px;
  margin-inline: auto;
  padding: 18px;
  border: 10px solid #25344a;
  border-radius: 28px;
  background: #e8f2ec;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.phone-top {
  margin: -6px -6px 8px;
  padding: 12px;
  border-radius: 18px 18px 8px 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  background: #128c4a;
}

.message {
  max-width: 82%;
  padding: 11px 12px;
  border-radius: 12px;
  color: #13213a;
  font-size: 14px;
  line-height: 1.45;
}

.inbound {
  background: #fff;
}

.outbound {
  justify-self: end;
  background: #cdf5dc;
}

.phone-input {
  margin-top: 8px;
  padding: 12px;
  border-radius: 999px;
  color: #667588;
  background: #fff;
  font-size: 13px;
}

.support {
  background: #fff;
}

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

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  padding: clamp(56px, 7vw, 90px) clamp(20px, 4vw, 64px);
  background: var(--soft);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #34465f;
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 13px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.contact-form textarea {
  min-height: 108px;
  padding-top: 12px;
  resize: vertical;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  justify-content: center;
  padding: 28px 20px;
  color: #c9d7ea;
  background: #0f1d33;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border: 1px solid rgba(41, 204, 121, 0.42);
  border-radius: 999px;
  color: #dfffee;
  background: rgba(41, 204, 121, 0.12);
  font-size: 0.7rem;
  font-weight: 800;
}

.trust-badge svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  background: var(--green);
  box-shadow: 0 16px 34px rgba(33, 179, 91, 0.38);
}

.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@media (max-width: 1000px) {
  .hero,
  .intro,
  .whatsapp,
  .contact {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  .site-header {
    flex-wrap: wrap;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 190px;
    height: 98px;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav,
  .header-cta {
    display: none;
    width: 100%;
  }

  .site-header.menu-open .main-nav,
  .site-header.menu-open .header-cta {
    display: flex;
  }

  .site-header.menu-open .main-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 8px;
  }

  .header-cta {
    margin-top: 4px;
  }

  .hero {
    min-height: auto;
  }

  .hero-metrics,
  .module-grid,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .chart-card {
    grid-column: auto;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .services-banner {
    min-height: 260px;
    margin-inline: 18px;
  }

  h1 {
    font-size: 38px;
  }
}
