:root {
  --ms-text: #102033;
  --ms-muted: #65748b;
  --ms-surface: #ffffff;
  --ms-border: rgba(16, 32, 51, 0.1);
  --ms-shadow: 0 24px 60px rgba(17, 24, 39, 0.14);
  --ms-radius-xl: 28px;
  --ms-radius-lg: 20px;
  --ms-radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", sans-serif;
  color: var(--ms-text);
  background: #f4f7fb;
}

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

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

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

.ms-container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.ms-topbar {
  color: #fff;
  font-size: 0.92rem;
}

.ms-topbar-inner,
.ms-nav-inner,
.ms-hero-copy,
.ms-footer-inner {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
}

.ms-topbar-inner,
.ms-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ms-topbar-list,
.ms-nav-links,
.ms-socials,
.ms-badges,
.ms-steps,
.ms-grid,
.ms-footer-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.ms-topbar-list span,
.ms-socials a,
.ms-nav-links a,
.ms-badge,
.ms-mini-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ms-socials a {
  width: 38px;
  height: 38px;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.ms-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
}

.ms-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ms-brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  font-weight: 700;
}

.ms-brand-copy strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.ms-brand-copy span {
  display: block;
  margin-top: 4px;
  font-size: 0.92rem;
  color: var(--ms-muted);
}

.ms-nav-links a {
  font-weight: 600;
  position: relative;
  padding-bottom: 6px;
}

.ms-nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.2s ease;
}

.ms-nav-links a:hover::after {
  width: 100%;
}

.ms-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.ms-btn:hover {
  transform: translateY(-1px);
  filter: brightness(0.98);
}

.ms-btn-outline {
  background: transparent;
  border: 2px solid currentColor;
}

.ms-btn-block {
  width: 100%;
}

.ms-hero {
  position: relative;
  overflow: hidden;
}

.ms-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 15, 31, 0.68) 0%, rgba(7, 15, 31, 0.26) 52%, rgba(7, 15, 31, 0.58) 100%);
}

.ms-hero-copy {
  position: relative;
  z-index: 1;
  padding: 88px 0 150px;
}

.ms-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 32px;
  align-items: end;
}

.ms-kicker {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}

.ms-hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.95;
  color: #fff;
}

.ms-hero-copy p {
  max-width: 720px;
  margin: 0 0 24px;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
}

.ms-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.ms-side-card,
.ms-search-card,
.ms-panel,
.ms-step-card,
.ms-offer-card,
.ms-footer-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--ms-radius-xl);
  box-shadow: var(--ms-shadow);
}

.ms-side-card {
  padding: 28px;
}

.ms-side-card h3 {
  margin: 0 0 12px;
  font-size: 1.75rem;
}

.ms-side-card p {
  margin: 0;
  color: var(--ms-muted);
}

.ms-search-wrap {
  margin-top: -78px;
  position: relative;
  z-index: 2;
}

.ms-search-card {
  padding: 24px;
}

.ms-search-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: end;
}

.ms-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.ms-field input,
.ms-field select {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--ms-border);
  background: #fff;
  padding: 15px 16px;
  font: inherit;
}

.ms-field small {
  display: block;
  margin-top: 6px;
  color: var(--ms-muted);
}

.ms-section {
  padding: 88px 0;
}

.ms-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.ms-section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1;
}

.ms-section-head p {
  max-width: 700px;
  margin: 0;
  color: var(--ms-muted);
}

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

.ms-step-card,
.ms-offer-card,
.ms-panel {
  padding: 22px;
}

.ms-step-number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.ms-step-card h3,
.ms-offer-card h3,
.ms-panel h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.ms-step-card p,
.ms-offer-card p,
.ms-panel p,
.ms-panel li,
.ms-footer-card p {
  margin: 0;
  color: var(--ms-muted);
}

.ms-panel ul {
  margin: 14px 0 0;
  padding-left: 18px;
}

.ms-offer-card {
  position: relative;
  overflow: hidden;
}

.ms-offer-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% auto;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  opacity: 0.22;
}

.ms-footer {
  color: #fff;
}

.ms-footer-inner {
  padding: 68px 0 36px;
}

.ms-footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr 1.1fr;
  gap: 26px;
}

.ms-footer h4 {
  margin: 0 0 16px;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ms-footer a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.ms-footer-bottom {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.72);
}

.ms-domain-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.ms-whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.6rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  z-index: 40;
}

.ms-whatsapp-pop {
  position: fixed;
  right: 22px;
  bottom: 98px;
  width: min(320px, calc(100vw - 32px));
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 22px;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.18);
  padding: 18px;
  z-index: 39;
}

.ms-whatsapp-pop.is-hidden {
  display: none;
}

.ms-whatsapp-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 999px;
  background: #eef2f7;
  color: #334155;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.ms-whatsapp-pop h4 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.ms-whatsapp-pop p {
  margin: 0 0 14px;
  color: var(--ms-muted);
  font-size: 0.94rem;
}

.ms-whatsapp-pop .ms-btn {
  width: 100%;
}

@media (max-width: 1080px) {
  .ms-hero-grid,
  .ms-grid,
  .ms-footer-grid,
  .ms-search-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ms-search-grid .ms-btn {
    width: 100%;
  }
}

@media (max-width: 720px) {
  .ms-topbar-inner,
  .ms-nav-inner,
  .ms-hero-copy,
  .ms-footer-inner {
    width: min(100% - 28px, 100%);
  }

  .ms-grid,
  .ms-footer-grid,
  .ms-search-grid,
  .ms-hero-grid {
    grid-template-columns: 1fr;
  }

  .ms-hero-copy {
    padding: 72px 0 128px;
  }

  .ms-search-wrap {
    margin-top: -58px;
  }

  .ms-brand-copy strong {
    font-size: 1.55rem;
  }

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

  .ms-whatsapp-pop {
    right: 14px;
    bottom: 84px;
  }
}
