:root {
  --gold: #e4b062;
  --gold-hover-bg: #fff9f3;
  --cream: #fff9f3;
  --dark: #0f0f0f;
  --text: #000000;
  --muted: #404040;
  --max: 1200px;
  --header-h: 100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.container {
  width: min(var(--max), 92vw);
  margin: 0 auto;
}

.container.narrow {
  width: min(720px, 92vw);
}

/* Header — как на holymatch.ca */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--gold);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--header-h);
  padding: 0 1.5rem;
  position: relative;
}

.logo {
  font-size: clamp(1.35rem, 4vw, 2.125rem);
  font-weight: 700;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.02em;
}

.header-nav {
  position: absolute;
  right: 1.5rem;
  display: flex;
  gap: 1.5rem;
}

.header-nav a {
  font-size: 1.25rem;
  font-weight: 400;
  text-decoration: none;
  color: var(--text);
}

.header-nav a:hover {
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  position: absolute;
  right: 1rem;
  width: 28px;
  height: 20px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background: #000;
  left: 0;
  transition: 0.25s ease;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2),
.menu-toggle span:nth-child(3) { top: 8px; }
.menu-toggle span:nth-child(4) { top: 16px; }

.menu-toggle[aria-expanded="true"] span:nth-child(1),
.menu-toggle[aria-expanded="true"] span:nth-child(4) {
  top: 8px;
  width: 0;
  left: 50%;
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  background: var(--cream);
}

.hero--mobile {
  display: none;
  padding: 2rem 0 3rem;
}

.hero--desktop {
  padding: 3rem 0 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2rem;
}

.hero-copy h1,
.hero--mobile h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.5rem);
  font-weight: 700;
  line-height: 1.35;
}

.hero-desc {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.55;
}

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: var(--gold);
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 60px;
  border: none;
  transition: background 0.2s, color 0.2s;
}

.btn-wa__icon {
  width: 1.35rem;
  height: 1.35rem;
  flex-shrink: 0;
}

.btn-wa:hover {
  background: var(--gold-hover-bg);
  color: var(--gold);
  text-decoration: none;
}

.hero-visual {
  background-image: url("../assets/logo.png");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 70vh;
}

.hero-visual--full {
  width: 100%;
}

.hero-img-mobile {
  margin: 2rem auto 0;
  border-radius: 25px;
  max-width: 680px;
}

/* Quotes */
.quotes {
  padding: 5rem 0 4rem;
  background: #fff;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.quote-card {
  text-align: center;
}

.quote-card blockquote {
  margin: 0 0 2rem;
  font-size: 0.95rem;
  font-style: normal;
  line-height: 1.6;
}

.quote-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
}

.quote-name {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
}

.quote-role {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Compare */
.compare-intro {
  padding: 4rem 0 1rem;
  background: var(--cream);
  text-align: center;
}

.quote-mark {
  width: 37px;
  height: 31px;
  margin: 0 auto 1.5rem;
}

.compare-lead {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.5;
}

.compare-list {
  padding: 0 0 3rem;
  background: var(--cream);
}

.compare-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.compare-emoji {
  font-size: 2.5rem;
  line-height: 1;
  flex-shrink: 0;
}

.compare-slogan {
  margin: 2rem 0 0;
  text-align: center;
  font-size: 1.5rem;
}

/* Steps */
.steps {
  padding: 5rem 0 3rem;
  background: var(--cream);
  text-align: center;
}

.steps h2 {
  margin: 0 0 1rem;
  font-size: 1.75rem;
}

.steps-lead {
  margin: 0 auto 3rem;
  max-width: 32rem;
  font-size: 1.15rem;
  line-height: 1.5;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.step {
  position: relative;
}

.step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: center / contain no-repeat;
  opacity: 0.85;
}

.step-icon--profile {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='32' cy='22' r='12' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M12 56c0-11 9-20 20-20s20 9 20 20' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
}

.step-icon--match {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='28' cy='28' r='14' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M38 38l14 14' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
}

.step-icon--meet {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Ccircle cx='22' cy='26' r='8' fill='none' stroke='%23000' stroke-width='2'/%3E%3Ccircle cx='42' cy='26' r='8' fill='none' stroke='%23000' stroke-width='2'/%3E%3Cpath d='M14 48c4-8 32-8 36 0' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
}

.step-icon--help {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M20 28v-4a12 12 0 1124 0v4M16 28h32v20H16z' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E");
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
}

.step-arrow {
  display: none;
  position: absolute;
  right: -0.75rem;
  top: 1.5rem;
  font-size: 1.5rem;
  color: var(--text);
}

@media (min-width: 900px) {
  .step:not(:last-child) .step-arrow {
    display: block;
  }
}

.steps-tagline {
  margin: 3rem 0 0;
  font-size: 1.35rem;
}

/* Philosophy */
.philosophy {
  padding: 5rem 0;
  background: #fff;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 0;
  align-items: stretch;
}

.philosophy-card {
  background: var(--cream);
  padding: 2.5rem;
  border-radius: 15px;
  align-self: center;
  margin-right: -2rem;
  position: relative;
  z-index: 1;
}

.philosophy-card h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
}

.philosophy-card hr {
  border: none;
  height: 1px;
  background: rgba(0, 0, 0, 0.6);
  margin: 0 0 1.25rem;
}

.philosophy-card p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
}

.philosophy-photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 15px;
}

/* Join */
.join {
  background: var(--dark);
  color: #fff;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(105deg, rgba(15, 15, 15, 0.92) 45%, rgba(15, 15, 15, 0.7) 100%),
    url("../assets/hero.png");
  background-size: cover;
  background-position: center;
}

.join h2 {
  margin: 0 0 1.25rem;
  font-size: 1.75rem;
}

.join p {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}

.btn-join {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.75rem;
  background: var(--gold);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.2s, color 0.2s;
}

.btn-join:hover {
  background: var(--gold-hover-bg);
  color: var(--gold);
  text-decoration: none;
}

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  text-align: center;
  background: #fff;
  font-size: 0.95rem;
}

.footer-contact a {
  font-weight: 600;
  text-decoration: underline;
}

.footer-copy {
  margin: 1.25rem 0 0;
  color: var(--muted);
}

/* Responsive — переключение hero как на Tilda */
@media (max-width: 1199px) {
  .hero--desktop {
    display: none;
  }

  .hero--mobile {
    display: block;
  }

  .hero--mobile h1 {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
    font-weight: 300;
    line-height: 1.1;
    max-width: 30rem;
  }

  .hero--mobile .hero-desc {
    font-size: 1.2rem;
  }
}

@media (max-width: 980px) {
  .header-nav {
    display: none;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--gold);
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    gap: 1rem;
    right: auto;
    left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

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

  .menu-toggle {
    display: block;
  }

  .logo {
    font-size: 1.35rem;
  }

  .quote-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .philosophy-card {
    margin-right: 0;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 72px;
  }

  .header-bar {
    justify-content: flex-start;
    padding-right: 3.5rem;
  }

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

  .step-arrow {
    display: none !important;
  }
}
