:root {
  --bg: #f4f7ff;
  --bg-soft: #eef3ff;
  --surface: #ffffff;
  --surface-strong: #f7f9ff;
  --card: rgba(255, 255, 255, 0.92);
  --text: #101828;
  --muted: #475467;
  --primary: #2155d6;
  --primary-dark: #173f9e;
  --secondary: #41a7ef;
  --border: rgba(33, 85, 214, 0.12);
  --shadow: 0 18px 40px rgba(23, 63, 158, 0.10);
  --radius: 20px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(65, 167, 239, 0.16), transparent 30%),
    radial-gradient(circle at top right, rgba(33, 85, 214, 0.14), transparent 34%),
    linear-gradient(180deg, #f5f8ff 0%, #eef3ff 52%, #f8fbff 100%);
  color: var(--text);
  line-height: 1.65;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(33, 85, 214, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 24px;
}

.brand-logo {
  width: 250px;
  max-width: 100%;
  height: auto;
  display: block;
  background: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 0;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary);
}

.nav-cta {
  padding: 10px 16px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, rgba(33, 85, 214, 0.10), rgba(65, 167, 239, 0.14));
  color: var(--primary) !important;
  border: 1px solid rgba(33, 85, 214, 0.16);
}

.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
}

.hero {
  padding: 84px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 32px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  letter-spacing: 0.14em;
  font-weight: 800;
  font-size: 0.8rem;
}

h1,
h2,
h3 {
  line-height: 1.12;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.9rem);
  max-width: 11ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-text,
.section-heading p,
.feature-text,
.contact-box p,
.service-card p,
.step p,
.feature-item p,
.faq-item p {
  color: var(--muted);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(33, 85, 214, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  color: var(--text);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
}

.hero-points li::before {
  content: "\2022";
  color: var(--secondary);
  margin-right: 8px;
}

.hero-card,
.service-card,
.step,
.feature-item,
.faq-item,
.contact-box {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  overflow: hidden;
  padding: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 249, 255, 0.98));
}

.card-glow {
  position: absolute;
  inset: -110px auto auto -100px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(65, 167, 239, 0.20), transparent 68%);
  pointer-events: none;
}

.hero-stat {
  position: relative;
  padding: 18px 0;
  border-bottom: 1px solid rgba(33, 85, 214, 0.08);
}

.hero-stat:last-of-type {
  border-bottom: 0;
}

.hero-stat span,
.hero-badge {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-stat strong {
  display: block;
  margin-top: 6px;
  font-size: 1.08rem;
}

.hero-badge {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(65, 167, 239, 0.10);
}

.section {
  padding: 84px 0;
}

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

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

.service-card,
.feature-item,
.step,
.faq-item {
  padding: 28px;
}

.dark-section {
  background: linear-gradient(180deg, rgba(33, 85, 214, 0.04), rgba(65, 167, 239, 0.05));
}

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

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  margin-bottom: 18px;
  background: rgba(33, 85, 214, 0.10);
  color: var(--primary);
  font-weight: 800;
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.feature-list {
  display: grid;
  gap: 18px;
}

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

.contact-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 36px;
  background: linear-gradient(135deg, rgba(33, 85, 214, 0.08), rgba(65, 167, 239, 0.12));
}

.site-footer {
  padding: 28px 0 42px;
  border-top: 1px solid rgba(33, 85, 214, 0.08);
}

.footer-content {
  display: flex;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.footer-content a {
  color: var(--primary);
}

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

@media (max-width: 1100px) {
  .hero-grid,
  .feature-layout {
    grid-template-columns: 1fr;
  }

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

  .hero-card,
  .contact-box {
    max-width: 100%;
  }

  .contact-box {
    flex-direction: column;
    align-items: flex-start;
  }
}


@media (min-width: 821px) {
  .site-header .container.nav,
  .site-header .nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
  }

  .site-header .brand {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    margin-right: 16px !important;
  }

  .site-header .brand-logo {
    width: 220px !important;
    max-width: 220px !important;
    min-width: 220px !important;
    height: auto !important;
  }

  .site-header .nav-links,
  .site-header nav.nav-links {
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    align-self: center !important;
    gap: 18px !important;
    width: fit-content !important;
    min-width: fit-content !important;
    max-width: none !important;
    margin-left: auto !important;
    white-space: nowrap !important;
  }

  .site-header .nav-links a,
  .site-header nav.nav-links a {
    display: inline-flex !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: fit-content !important;
    white-space: nowrap !important;
    text-wrap: nowrap !important;
    word-break: keep-all !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    line-height: 1.2 !important;
  }

  .site-header .nav-links .nav-cta,
  .site-header nav.nav-links .nav-cta {
    padding: 10px 16px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(33, 85, 214, 0.16) !important;
    background: linear-gradient(135deg, rgba(33, 85, 214, 0.10), rgba(65, 167, 239, 0.14)) !important;
  }
}

@media (max-width: 820px) {
  body {
    padding-bottom: 86px;
  }

  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-header {
    position: sticky;
    top: 0;
  }

  .nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    min-height: 0;
    padding: 10px 0;
  }

  .brand {
    justify-content: flex-start;
    margin-right: 0;
  }

  .brand-logo {
    width: min(160px, 42vw);
    max-width: none;
    min-width: 0;
    margin: 0;
  }

  /* Hamburger toggle */
  .nav-toggle-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
    border-radius: 12px;
    background: rgba(33, 85, 214, 0.06);
    border: 1px solid var(--border);
    -webkit-tap-highlight-color: transparent;
  }

  .hamburger,
  .hamburger::before,
  .hamburger::after {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    position: relative;
  }

  .hamburger::before,
  .hamburger::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
  }

  .hamburger::before {
    top: -6px;
  }

  .hamburger::after {
    top: 6px;
  }

  /* Animate to X when open */
  .nav-toggle:checked ~ .nav-toggle-label .hamburger {
    background: transparent;
  }

  .nav-toggle:checked ~ .nav-toggle-label .hamburger::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-toggle:checked ~ .nav-toggle-label .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
  }

  /* Nav links - hidden by default, shown when toggle checked */
  .nav-links,
  .site-header .nav-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
    width: 100% !important;
    margin-left: 0 !important;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0 !important;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.35s ease;
  }

  .nav-toggle:checked ~ .nav-links,
  .nav-toggle:checked ~ .site-header .nav-links {
    max-height: 400px;
    opacity: 1;
    padding: 12px 0 4px !important;
  }

  .nav-links a,
  .site-header .nav-links a {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 14px 18px !important;
    border-radius: 14px !important;
    border: 1px solid var(--border) !important;
    background: rgba(255, 255, 255, 0.96) !important;
    text-align: left !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
    font-size: 0.95rem;
    color: var(--text) !important;
  }

  .nav-links .nav-cta,
  .site-header .nav-links .nav-cta {
    border: 1px solid rgba(33, 85, 214, 0.16) !important;
    background: linear-gradient(135deg, rgba(33, 85, 214, 0.10), rgba(65, 167, 239, 0.14)) !important;
    color: var(--primary) !important;
    text-align: center !important;
    font-weight: 700;
  }

  .hero {
    padding: 42px 0 30px;
  }

  h1 {
    font-size: clamp(2.1rem, 10vw, 3.4rem);
    max-width: none;
  }

  .section {
    padding: 58px 0;
  }

  .hero-card,
  .service-card,
  .step,
  .feature-item,
  .faq-item,
  .contact-box {
    padding: 22px;
  }

  .hero-actions,
  .contact-actions {
    width: 100%;
    margin-top: 24px;
  }

  .btn {
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
  }

  .floating-whatsapp {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    min-width: 0;
    height: 52px;
  }
}

@media (max-width: 640px) {
  .service-grid,
  .steps,
  .faq-grid,
  .feature-layout {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: min(140px, 40vw);
  }

  .hero-points {
    display: grid;
    gap: 8px;
  }

  .hero-card {
    padding: 20px;
  }

  .hero-stat strong {
    font-size: 1rem;
  }

  .contact-box {
    padding: 22px;
  }
}

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

  .brand-logo {
    width: min(150px, 50vw);
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  .eyebrow {
    letter-spacing: 0.1em;
  }

  .hero-card,
  .service-card,
  .step,
  .feature-item,
  .faq-item,
  .contact-box {
    padding: 18px;
    border-radius: 16px;
  }

  .floating-whatsapp {
    font-size: 0.95rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .nav-links a {
    transition: none;
  }
}
