:root {
  --font-heading: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: #fbf8ff;
  font-size: 16px;
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 12% 8%, rgba(172, 242, 72, 0.2), transparent 28%), radial-gradient(circle at 85% 15%, rgba(134, 100, 173, 0.25), transparent 26%), linear-gradient(135deg, rgba(63, 40, 91, 0.06), rgba(255, 255, 255, 0.72));
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.18;
  background-image: url("../images/soft-texture.webp");
  background-size: cover;
  pointer-events: none;
}

h1,
h2,
h3,
h4 {
  color: #111827;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  font-size: 35px;
}

h2 {
  font-size: 28px;
}

h3,
h4 {
  font-size: 20px;
}

p,
li,
td,
th,
blockquote {
  font-size: 16px;
}

@media (min-width: 768px) {
  h1 {
    font-size: clamp(52px, 5.4vw, 76px);
  }

  h2 {
    font-size: clamp(34px, 3.8vw, 52px);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(63, 40, 91, 0.1);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  color: #111827;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.brand img {
  width: 42px;
  height: 42px;
}

.desktop-nav {
  display: none !important;
}

.desktop-phone {
  display: none !important;
}

.hamburger-btn {
  display: inline-flex !important;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex !important;
  }

  .desktop-phone {
    display: inline-flex !important;
  }

  .hamburger-btn,
  .mobile-menu {
    display: none !important;
  }
}

.nav-link {
  color: #2f2440;
  font-size: 18px;
  font-weight: 700;
  transition: color 180ms ease, opacity 180ms ease;
}

.nav-link:hover {
  color: #3f285b;
}

.phone-btn,
.primary-btn,
.secondary-btn {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
  white-space: nowrap;
}

.phone-btn,
.primary-btn {
  background: #3f285b;
  color: #ffffff !important;
  box-shadow: 0 16px 34px rgba(63, 40, 91, 0.23);
}

.phone-btn:hover,
.primary-btn:hover {
  background: #2d1b43;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.secondary-btn {
  border: 2px solid rgba(63, 40, 91, 0.18);
  background: #ffffff;
  color: #111827 !important;
}

.secondary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(63, 40, 91, 0.13);
}

.hero-shell {
  overflow: hidden;
  border-radius: 0 0 42px 42px;
  background: linear-gradient(135deg, #f7f0ff 0%, #ffffff 52%, #ecffd4 100%);
}

.hero-card {
  border: 1px solid rgba(63, 40, 91, 0.11);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 28px 80px rgba(63, 40, 91, 0.16);
}

.hero-image-wrap {
  min-height: 320px;
  overflow: hidden;
  border-radius: 34px;
  background: #3f285b;
}

.hero-image-wrap img,
.feature-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 550ms ease, opacity 350ms ease;
}

.hero-image-wrap:hover img,
.feature-image:hover img {
  opacity: 0.96;
  transform: scale(1.045);
}

.stars {
  color: #6f9f13;
  font-size: 24px;
  letter-spacing: 0.12em;
}

.trust-icon-row img {
  width: auto;
  height: 48px;
  max-width: 94px;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(63, 40, 91, 0.13);
  background: #ffffff;
  padding: 8px;
}

.soft-section {
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 20px 70px rgba(63, 40, 91, 0.08);
}

.dark-section {
  border-radius: 38px;
  background: linear-gradient(135deg, #241534, #3f285b 62%, #5d4281);
  color: #ffffff;
}

.dark-section h2,
.dark-section h3,
.dark-section h4,
.dark-section p,
.dark-section li {
  color: #ffffff;
}

.accent-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(172, 242, 72, 0.22);
  color: #111827;
  font-size: 16px;
  font-weight: 800;
  padding: 8px 14px;
}

.service-card,
.review-card,
.reason-card,
.process-card,
.payment-card {
  border: 1px solid rgba(63, 40, 91, 0.1);
  border-radius: 30px;
  background: #ffffff;
  color: #374151;
  box-shadow: 0 18px 44px rgba(63, 40, 91, 0.08);
}

.service-card h3,
.review-card h3,
.reason-card h3,
.process-card h3,
.payment-card h3 {
  color: #111827;
}

.dark-section .reason-card,
.dark-section .reason-card h3,
.dark-section .reason-card p {
  color: #111827;
}

.icon-badge {
  display: inline-flex;
  height: 56px;
  width: 56px;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: #f2ffe2;
  color: #3f285b;
}

.icon-badge svg {
  width: 31px;
  height: 31px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

.feature-text,
.feature-image {
  min-width: 0;
}

.feature-image {
  min-height: 280px;
  overflow: hidden;
  border-radius: 34px;
}

@media (min-width: 900px) {
  .feature-row {
    grid-template-columns: minmax(0, 65%) minmax(260px, 35%);
  }

  .feature-row.reverse {
    grid-template-columns: minmax(260px, 35%) minmax(0, 65%);
  }
}

.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 88%;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.reviews-track > article {
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .reviews-track {
    grid-auto-columns: calc((100% - 36px) / 3);
  }
}

.table-wrap {
  overflow-x: auto;
  border-radius: 24px;
  border: 1px solid rgba(63, 40, 91, 0.12);
}

table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: #ffffff;
}

th,
td {
  border-bottom: 1px solid rgba(63, 40, 91, 0.1);
  padding: 16px;
  text-align: left;
  color: #111827;
}

th {
  background: #f2ffe2;
  font-weight: 900;
}

.footer {
  border-radius: 38px 38px 0 0;
  background: #241534;
  color: #ffffff;
  font-size: 14px;
}

.footer p,
.footer a,
.footer li {
  color: #ffffff;
  font-size: 14px;
}

.mobile-sticky-call {
  display: flex !important;
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 60;
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.mobile-sticky-call.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-sticky-call a {
  display: flex;
  width: 100%;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  background: #241534;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 -10px 24px rgba(36, 21, 52, 0.28);
}

@media (min-width: 768px) {
  .mobile-sticky-call {
    display: none !important;
  }
}

.fade-in {
  animation: fadeIn 550ms ease both;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
