﻿:root {
  --ink: #202027;
  --muted: #62636b;
  --line: #ead7ea;
  --paper: #fff7ff;
  --soft: #f7e8f7;
  --primary: #960d96;
  --primary-dark: #710871;
  --primary-soft: #f4dcf4;
  --accent: #d7a21f;
  --accent-dark: #a9790e;
  --teal: #008f8f;
  --teal-dark: #006f6f;
  --plum: #4d0a4d;
  --rose: #b13488;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(74, 8, 74, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  background: var(--paper);
}

a {
  color: inherit;
}

.page {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 247, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand {
  color: var(--primary);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--primary);
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: var(--primary-soft);
  border-color: rgba(150, 13, 150, 0.28);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.nav-toggle {
  flex-direction: column;
  gap: 5px;
}

.nav-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    color 180ms ease,
    background 180ms ease;
}

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

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

.hero {
  min-height: auto;
  display: grid;
  align-items: center;
  padding: 34px 0 40px;
  color: var(--white);
  background:
    linear-gradient(
      110deg,
      rgba(77, 10, 77, 0.94) 0%,
      rgba(150, 13, 150, 0.82) 52%,
      rgba(32, 32, 39, 0.72) 100%
    ),
    url("../images/hero-numerology.jpg") center / cover;
}

.guidance-label {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 28px;
  align-items: stretch;
}

.eyebrow {
  margin: 0 0 10px;
  color: #f3cf93;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  letter-spacing: 0.06em;
}

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

h1 {
  max-width: 900px;
  margin-bottom: 12px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.53rem, 2.89vw, 2.42rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.3;
}

.lead {
  max-width: 720px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.06rem, 2vw, 1.25rem);
}

.hero-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 12px;
  max-width: 700px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.hero-list li,
.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.hero-list li::before,
.check-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(215, 162, 31, 0.18);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 6px;
  background: var(--accent);
  color: var(--plum);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
  transition:
    transform 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: #ffd45a;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
  transform: translateY(-2px);
}

.hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 250, 243, 0.11);
  backdrop-filter: blur(14px);
}

.hero-panel h2 {
  margin-bottom: 10px;
  color: var(--white);
  font-size: clamp(1.55rem, 2.7vw, 2.2rem);
}

.hero-panel p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.84);
}

section {
  padding: 86px 0;
}

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

.section-intro p,
.wide-copy p {
  color: var(--muted);
  font-size: 1.04rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 1fr);
  gap: 46px;
  align-items: start;
}

.info-band {
  background: var(--white);
}

.number-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.number-list li {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-weight: 700;
}

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

.card {
  min-height: 180px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(61, 45, 28, 0.06);
}

.card .icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 800;
}

.card p,
.testimonial p,
.faq p {
  margin-bottom: 0;
  color: var(--muted);
}

.why {
  color: var(--white);
  background: var(--plum);
}

.why .section-intro p {
  color: rgba(255, 255, 255, 0.82);
}

.why-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  gap: 48px;
  align-items: center;
}

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

.why .check-list li::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(215, 162, 31, 0.2);
}

.seo-block {
  background: var(--soft);
}

.keyword-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.keyword-grid span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  font-size: 0.93rem;
}

.testimonials {
  background: var(--white);
}

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

.testimonial {
  padding: 24px;
  border-left: 4px solid var(--rose);
  border-radius: 8px;
  background: var(--paper);
}

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

.faq {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.final-cta {
  padding: 82px 0;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(120deg, rgba(77, 10, 77, 0.96), rgba(150, 13, 150, 0.84)),
    url("../images/cta-background.jpg") center / cover;
}

.final-cta p {
  max-width: 700px;
  margin: 0 auto 26px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.08rem;
}

footer {
  padding: 24px 0;
  color: var(--muted);
  text-align: center;
  background: var(--white);
  border-top: 1px solid var(--line);
}

footer small,
footer p {
  display: block;
  margin: 0;
}

footer p {
  margin-top: 6px;
  font-size: 0.9rem;
}

.blink {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.blink:hover,
.blink:focus-visible {
  text-decoration: underline;
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 25;
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .nav {
    position: relative;
    min-height: 64px;
    gap: 12px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
    padding: 36px 0 44px;
  }

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

  .hero-panel {
    max-width: 620px;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  section {
    padding: 62px 0;
  }

  .hero-list,
  .number-list,
  .services-grid,
  .testimonial-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel,
  .card,
  .testimonial,
  .faq {
    padding: 20px;
  }

  .button {
    width: 100%;
  }

  .nav-links a {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .back-to-top {
    right: 12px;
    bottom: 12px;
    width: 44px;
    height: 44px;
  }
}
