:root {
  --sky-bg: #dfe8f4;
  --sky-soft: #edf3fa;
  --sky-pale: #f8fbff;
  --ink: #2d3950;
  --ink-soft: #6c7a90;
  --white: #ffffff;
  --line: rgba(55, 77, 109, 0.12);
  --accent: #1d9ef2;
  --accent-2: #87cffd;
  --deep: #24344f;
  --shadow: 0 30px 70px rgba(76, 94, 122, 0.16);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.7), transparent 24%),
    linear-gradient(180deg, #f3f7fc 0%, var(--sky-bg) 100%);
}

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

button,
input,
select,
textarea {
  font: inherit;
  appearance: none;
}

.cookie-slot:empty {
  display: none;
}

.site-shell {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
  padding: 0 0 42px;
  overflow: hidden;
}

.site-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 42px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.3);
  color: rgba(45, 57, 80, 0.72);
  font-size: 0.84rem;
}

.utility-meta,
.utility-social {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.utility-social span {
  font-weight: 700;
  opacity: 0.8;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 64px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(10px);
}

.site-brand {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--deep);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(47, 45, 68, 0.72);
}

.site-nav a {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
}

.site-header__cta {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.82rem;
}

.site-nav a.is-active,
.site-nav a:hover {
  color: var(--accent);
}

.nav-toggle,
.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
  min-height: 620px;
  padding: 46px 48px 82px;
  border-radius: 0 0 38px 38px;
  background:
    linear-gradient(90deg, rgba(252, 254, 255, 0.95) 0%, rgba(241, 247, 253, 0.9) 46%, rgba(229, 238, 248, 0.74) 100%),
    url("../img/hero-soft-background.png") center/cover no-repeat;
  box-shadow: var(--shadow);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 16%, rgba(255, 255, 255, 0.88), transparent 24%),
    radial-gradient(circle at 78% 18%, rgba(152, 213, 255, 0.14), transparent 20%);
  pointer-events: none;
  z-index: -1;
}

.hero-copy h1,
.section-head h2,
.feature-card h3,
.info-card h3,
.footer-grid h3,
.inner-hero h1 {
  margin: 0;
  letter-spacing: -0.04em;
}

.hero-copy {
  max-width: 480px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  font-size: clamp(3rem, 6vw, 4.8rem);
  line-height: 1.02;
  color: var(--deep);
  font-weight: 300;
}

.hero-copy h1 span {
  color: var(--accent);
  font-weight: 400;
}

.hero-copy p,
.section-head p,
.feature-card p,
.info-card p,
.footer-grid p,
.footer-grid a,
.inner-hero p,
.detail-list li,
.field span,
.checkbox-field span {
  color: var(--ink-soft);
  line-height: 1.72;
}

.hero-copy p {
  max-width: 430px;
  margin: 18px 0 0;
  font-size: 1.02rem;
  color: rgba(58, 73, 98, 0.84);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.button,
.button-outline,
.mobile-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 6px;
  font-weight: 700;
}

.button {
  background: linear-gradient(135deg, var(--accent), #2ea7ff);
  color: var(--white);
}

.button-outline {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(45, 57, 80, 0.14);
  color: var(--deep);
}

.hero-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
  overflow: hidden;
  z-index: 1;
}

.hero-yoga-image {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  transform: translate(-10px, 12px);
  filter: drop-shadow(0 34px 48px rgba(82, 97, 125, 0.16));
}

.hero-note {
  display: grid;
  gap: 8px;
  margin-top: 26px;
  padding-left: 18px;
  border-left: 3px solid rgba(29, 158, 242, 0.28);
}

.hero-note strong {
  color: var(--deep);
  font-size: 0.98rem;
}

.hero-note span {
  color: var(--ink-soft);
  line-height: 1.7;
}

.section {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}

.section-kicker {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(45, 57, 80, 0.56);
}

.section-head h2,
.inner-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.08;
}

.feature-grid,
.info-grid,
.footer-grid,
.contact-grid,
.form-grid,
.inner-card-grid {
  display: grid;
  gap: 18px;
}

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

.feature-card,
.info-card,
.inner-hero {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
  min-width: 0;
}

.feature-card__visual {
  height: 180px;
  margin-bottom: 16px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(248, 252, 255, 0.76), rgba(223, 236, 249, 0.88)),
    url("../img/hero-yoga-posture.png") center/contain no-repeat;
  position: relative;
  overflow: hidden;
}

.feature-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(29, 158, 242, 0.08));
}

.feature-card__visual--one {
  background-position: left center;
}

.feature-card__visual--two {
  background-position: center center;
  background-size: 80%;
}

.feature-card__visual--three {
  background-position: right center;
  background-size: 74%;
}

.info-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.detail-list {
  margin: 0;
  padding-left: 18px;
}

.detail-list li + li {
  margin-top: 8px;
}

.inner-page {
  display: grid;
  gap: 24px;
  margin-top: 26px;
}

.inner-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: 0.92fr 1.08fr;
}

.contact-form {
  display: grid;
  gap: 14px;
}

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

.field {
  display: grid;
  gap: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(45, 57, 80, 0.1);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  outline: 0;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.checkbox-field {
  display: flex;
  align-items: start;
  gap: 10px;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.footer-grid {
  grid-template-columns: 1.2fr repeat(3, minmax(0, 0.8fr));
  padding: 24px;
  margin-top: 30px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
}

.footer-grid a {
  display: block;
}

.footer-grid a + a {
  margin-top: 8px;
}

@media (max-width: 980px) {
  .hero,
  .feature-grid,
  .info-grid,
  .inner-card-grid,
  .contact-grid,
  .footer-grid,
  .form-grid,
  .section-head {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: grid;
    align-items: start;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: calc(100% - 12px);
  }

  .site-utility,
  .site-header,
  .hero,
  .section,
  .section-head,
  .feature-grid,
  .feature-card,
  .info-grid,
  .info-card,
  .footer-grid {
    min-width: 0;
  }

  .utility-meta {
    gap: 10px;
    font-size: 0.72rem;
    flex-wrap: wrap;
  }

  .utility-social {
    gap: 10px;
  }

  .site-nav {
    display: none;
  }

  .site-header__cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--accent);
  }

  .mobile-nav {
    display: none;
    gap: 12px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow);
  }

  .mobile-nav.is-open {
    display: grid;
  }

  .hero {
    padding: 34px 22px 46px;
    min-height: auto;
    border-radius: 0 0 28px 28px;
  }

  .hero-visual {
    order: -1;
  }

  .site-brand {
    font-size: 1.6rem;
  }

  .hero-visual {
    min-height: 340px;
  }

  .hero-yoga-image {
    max-width: 360px;
    transform: translate(0, 8px);
  }

  .hero-copy h1,
  .section-head h2,
  .inner-hero h1 {
    font-size: 1.85rem;
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .section-head {
    width: 100%;
  }

  .section-head > div,
  .section-head h2 {
    max-width: 100%;
  }
}
