:root {
  --ink: #20241f;
  --muted: #687064;
  --line: #d9dfd2;
  --paper: #fbfaf5;
  --soft: #eef2e8;
  --green: #345846;
  --green-2: #6b8f5f;
  --clay: #b86f4d;
  --cream: #fffdf7;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(42, 55, 44, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 250, 245, .92);
  border-bottom: 1px solid rgba(217, 223, 210, .9);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--cream);
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #485145;
  font-size: 15px;
}

.nav a:hover,
.header-phone:hover,
.footer-inner a:hover {
  color: var(--clay);
}

.header-phone {
  color: var(--green);
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 680px;
  color: var(--cream);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(23, 36, 29, .86) 0%, rgba(23, 36, 29, .66) 45%, rgba(23, 36, 29, .24) 100%),
    url("../images/yoga-hero.jpg") center / cover no-repeat;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(0, 690px) 330px;
  align-items: center;
  gap: 72px;
  padding: 70px 0 86px;
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hero .eyebrow,
.section-dark .section-label {
  color: #f0b38c;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 78px);
  line-height: .98;
  font-weight: 500;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 500;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.lead {
  max-width: 660px;
  color: rgba(255, 253, 247, .86);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.btn-primary {
  background: var(--clay);
  color: var(--cream);
}

.btn-primary:hover {
  background: #a65e3e;
}

.btn-secondary {
  color: var(--cream);
  border-color: rgba(255, 253, 247, .55);
}

.btn-secondary:hover {
  background: rgba(255, 253, 247, .12);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-facts span {
  padding: 8px 13px;
  border: 1px solid rgba(255, 253, 247, .28);
  border-radius: 999px;
  color: rgba(255, 253, 247, .86);
  font-size: 14px;
}

.hero-card {
  align-self: end;
  margin-bottom: 30px;
  padding: 26px;
  border: 1px solid rgba(255, 253, 247, .28);
  border-radius: 8px;
  background: rgba(255, 253, 247, .13);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card b {
  display: block;
  font-size: 24px;
  margin-bottom: 12px;
}

.hero-card p {
  color: rgba(255, 253, 247, .82);
}

.mini-price {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 253, 247, .22);
}

.mini-price span {
  color: rgba(255, 253, 247, .7);
}

.mini-price strong {
  font-size: 22px;
}

.intro,
.section {
  padding: 92px 0;
}

.intro-grid,
.visual-grid,
.schedule-grid,
.process-grid,
.room-grid,
.request-grid,
.legal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  gap: 56px;
  align-items: start;
}

.intro-grid p,
.section-head p,
.visual-copy p,
.schedule-grid p,
.process-grid p,
.room-grid p,
.request-grid p,
.legal-note {
  color: var(--muted);
}

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

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

.class-card {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.class-card span {
  color: var(--clay);
  font-weight: 900;
}

.class-card h3 {
  margin-top: 28px;
}

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

.section-visual,
.section-muted {
  background: var(--soft);
}

.visual-grid,
.room-grid {
  align-items: center;
}

.visual-grid img,
.room-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #4f5a50;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-2);
}

.schedule-list {
  display: grid;
  gap: 12px;
}

.schedule-list div {
  display: grid;
  grid-template-columns: 86px 1fr 1fr;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(52, 88, 70, .16);
  border-radius: 8px;
  background: rgba(255, 253, 247, .75);
}

.schedule-list b {
  color: var(--green);
}

.price-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--cream);
}

.price-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 150px;
  gap: 20px;
  align-items: center;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
}

.price-row:first-child {
  border-top: 0;
}

.price-head {
  color: var(--cream);
  background: var(--green);
  font-weight: 800;
}

.price-row span:nth-child(2) {
  color: var(--muted);
}

.price-row b {
  text-align: right;
}

.section-dark {
  color: var(--cream);
  background: #26362d;
}

.section-dark h2,
.section-dark p {
  color: var(--cream);
}

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

.steps div {
  min-height: 180px;
  padding: 22px;
  border: 1px solid rgba(255, 253, 247, .16);
  border-radius: 8px;
  background: rgba(255, 253, 247, .08);
}

.steps b {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--clay);
}

.steps span {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 800;
}

.steps p {
  margin-bottom: 0;
  color: rgba(255, 253, 247, .76);
}

.section-room {
  background: var(--cream);
}

.request-grid {
  align-items: stretch;
}

.contact-list {
  margin-top: 30px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
}

.contact-list p {
  margin-bottom: 9px;
}

.contact-list p:last-child {
  margin-bottom: 0;
}

.form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.form label {
  display: grid;
  gap: 7px;
  color: #485145;
  font-weight: 700;
}

.form input,
.form select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid #cdd5c6;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.checkbox {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.checkbox input {
  min-height: auto;
  margin-top: 4px;
}

.section-legal {
  padding-top: 40px;
  background: var(--soft);
}

.requisites {
  padding: 26px;
  border: 1px solid rgba(52, 88, 70, .18);
  border-radius: 8px;
  background: var(--cream);
}

.requisites p {
  margin-bottom: 11px;
  color: #485145;
}

.requisites p:last-child {
  margin-bottom: 0;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 253, 247, .72);
  background: #202820;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

@media (max-width: 940px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-grid,
  .intro-grid,
  .visual-grid,
  .schedule-grid,
  .process-grid,
  .room-grid,
  .request-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 28px;
    align-items: end;
  }

  .hero-card {
    align-self: start;
    max-width: 430px;
    margin-bottom: 0;
  }

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

@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .header-phone {
    width: 100%;
  }

  .hero,
  .hero-grid {
    min-height: 760px;
  }

  .hero-grid {
    padding: 46px 0 58px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 31px;
  }

  .lead {
    font-size: 18px;
  }

  .intro,
  .section {
    padding: 64px 0;
  }

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

  .schedule-list div,
  .price-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .price-row b {
    text-align: left;
  }

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