/* ============================================================
   DESIGN SYSTEM — Strict Elegance
   ============================================================ */

:root {
  --clr-bg:        #0f0f0f;
  --clr-surface:   #1a1a1a;
  --clr-surface-2: #242424;
  --clr-subtle:    #f5f2ee;
  --clr-gold:      #c9a96e;
  --clr-gold-dim:  #a88750;
  --clr-text:      #e8e4de;
  --clr-text-muted:#9a9590;
  --clr-white:     #ffffff;

  --ff-serif:  'Cormorant Garamond', Georgia, serif;
  --ff-sans:   'Montserrat', -apple-system, sans-serif;

  --fw-light:  300;
  --fw-reg:    400;
  --fw-med:    500;
  --fw-semi:   600;

  --radius:    2px;
  --radius-md: 6px;

  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  7rem;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.18s ease;

  --max-w: 1180px;
  --nav-h: 72px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--ff-sans);
  font-weight: var(--fw-light);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection {
  background: var(--clr-gold);
  color: var(--clr-bg);
}

/* ============================================================
   SCROLLBAR
   ============================================================ */

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--clr-surface); }
::-webkit-scrollbar-thumb { background: var(--clr-gold-dim); border-radius: 2px; }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1, h2, h3, h4 {
  font-family: var(--ff-serif);
  font-weight: var(--fw-light);
  line-height: 1.2;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); }

em {
  font-style: italic;
  color: var(--clr-gold);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-xl) 0;
}

.section--dark {
  background: var(--clr-surface);
}

.section--subtle {
  background: var(--clr-subtle);
  color: #1a1a1a;
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.section__label {
  font-family: var(--ff-sans);
  font-size: 0.82rem;
  font-weight: var(--fw-semi);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 0.8rem;
  display: block;
}

.section__label--light {
  color: var(--clr-gold);
}

.section__title {
  color: var(--clr-text);
  margin-bottom: 1rem;
}

.section__title--light {
  color: var(--clr-white);
}

.section--subtle .section__title {
  color: #1a1a1a;
}

.section__desc {
  font-size: 1.08rem;
  color: var(--clr-text-muted);
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.8;
}

.section--dark .section__desc {
  color: #8a8580;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-block;
  font-family: var(--ff-sans);
  font-size: 0.88rem;
  font-weight: var(--fw-semi);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.04);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::after { opacity: 1; }

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--clr-gold);
  color: var(--clr-bg);
  border-color: var(--clr-gold);
}

.btn--primary:hover {
  background: #d4b47a;
  border-color: #d4b47a;
}

.btn--nav {
  background: transparent;
  color: var(--clr-gold);
  border-color: var(--clr-gold);
  padding: 0.6rem 1.4rem;
  font-size: 0.72rem;
}

.btn--nav:hover {
  background: var(--clr-gold);
  color: var(--clr-bg);
}

.btn--hero {
  margin-top: 2.8rem;
  align-self: center;
}

.btn--full {
  width: 100%;
  text-align: center;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-md);
  padding-left: max(var(--space-md), env(safe-area-inset-left));
  padding-right: max(var(--space-md), env(safe-area-inset-right));
  height: var(--nav-h);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(15, 15, 15, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(201, 169, 110, 0.12);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: default;
  user-select: none;
}

.nav__logo-name {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  font-weight: var(--fw-light);
  color: var(--clr-white);
  letter-spacing: 0.04em;
}

.nav__logo-dot {
  color: var(--clr-gold);
  font-size: 1.2rem;
}

.nav__logo-sub {
  font-size: 0.78rem;
  font-weight: var(--fw-light);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

.nav__links {
  display: flex;
  gap: 2.2rem;
}

.nav__link {
  font-size: 0.84rem;
  font-weight: var(--fw-med);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  position: relative;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 100%;
  height: 1px;
  background: var(--clr-gold);
  transition: right var(--transition);
}

.nav__link:hover { color: var(--clr-white); }
.nav__link:hover::after { right: 0; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--clr-text);
  transition: var(--transition);
}

/* Mobile menu */
.nav__mobile {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--clr-bg);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__mobile.open {
  transform: translateX(0);
}

.nav__mobile ul {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.nav__mobile .nav__link {
  font-size: 1rem;
  color: var(--clr-text);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.hero__parallax {
  position: absolute;
  inset: -20%;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0.35) 40%, rgba(10,10,10,0.75) 100%),
    url('/images/massage-korenovsk.webp') center/cover no-repeat;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.25) 0%,
    rgba(10,10,10,0.15) 35%,
    rgba(10,10,10,0.72) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  width: 100%;
  padding: 0 var(--space-md);
  padding-top: var(--nav-h);
  /* flex: 1 — занимает всё свободное пространство, центрирует содержимое */
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero__eyebrow {
  font-size: 0.85rem;
  font-weight: var(--fw-semi);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: 1.4rem;
}

.hero__title {
  color: var(--clr-white);
  margin-bottom: 1.6rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}

.hero__subtitle {
  font-size: 1.2rem;
  font-weight: var(--fw-light);
  color: rgba(232, 228, 222, 0.88);
  letter-spacing: 0.04em;
  line-height: 1.8;
  margin-bottom: 0;
}

.hero__scroll-hint {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 2.5rem;
}

.hero__scroll-hint span {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(201, 169, 110, 0.6);
}

.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--clr-gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================================
   ABOUT
   ============================================================ */

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-lg);
  align-items: start;
}

.about__photo-wrap {
  position: relative;
}

.about__photo-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.about__photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--clr-surface-2);
  border: 1px solid rgba(201, 169, 110, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--clr-text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.about__photo-placeholder svg {
  width: 80px;
  height: 80px;
  opacity: 0.5;
}

.about__diploma-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--clr-gold);
  color: var(--clr-bg);
  padding: 1rem 1.4rem;
  font-size: 0.72rem;
  font-weight: var(--fw-semi);
  letter-spacing: 0.06em;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.about__diploma-icon {
  font-size: 1.2rem;
}

.about__text {
  font-size: 1.08rem;
  color: var(--clr-text-muted);
  margin-bottom: 1.4rem;
  line-height: 1.9;
}

.about__text strong {
  color: var(--clr-text);
  font-weight: var(--fw-med);
}

.about__facts {
  display: flex;
  gap: var(--space-md);
  margin: 2.5rem 0;
  padding: 2rem 0;
  border-top: 1px solid rgba(201, 169, 110, 0.15);
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

.about__fact {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.about__fact-num {
  font-family: var(--ff-serif);
  font-size: 2.6rem;
  font-weight: var(--fw-light);
  color: var(--clr-gold);
  line-height: 1;
}

.about__fact-label {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--clr-text-muted);
  line-height: 1.55;
}

.about__diploma-slot {
  margin-top: 2rem;
  border: 1px dashed rgba(201, 169, 110, 0.3);
  padding: 1.4rem 1.8rem;
  transition: border-color var(--transition);
}

.about__diploma-slot:hover {
  border-color: rgba(201, 169, 110, 0.6);
}

.about__diploma-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  line-height: 1.6;
}

.about__diploma-inner strong {
  color: var(--clr-text);
}

.about__diploma-inner em {
  font-style: normal;
  color: var(--clr-text-muted);
  font-size: 0.78rem;
}

/* ============================================================
   SERVICES
   ============================================================ */

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
}

.service-card {
  background: var(--clr-surface-2);
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: background var(--transition);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--clr-gold);
  transition: width var(--transition);
}

.service-card:hover { background: #2a2a2a; }
.service-card:hover::before { width: 100%; }

.service-card--wide {
  grid-column: span 1;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card__title {
  font-size: 1.25rem;
  font-family: var(--ff-serif);
  font-weight: var(--fw-light);
  color: var(--clr-white);
  line-height: 1.3;
}

.service-card__dur {
  font-size: 0.8rem;
  font-weight: var(--fw-semi);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-gold);
}

.service-card__desc {
  font-size: 1rem;
  color: var(--clr-text-muted);
  line-height: 1.8;
  flex: 1;
}

.service-card__cta {
  font-size: 0.82rem;
  font-weight: var(--fw-med);
  letter-spacing: 0.1em;
  color: var(--clr-gold-dim);
  transition: color var(--transition-fast), letter-spacing var(--transition);
  display: inline-block;
}

.service-card:hover .service-card__cta {
  color: var(--clr-gold);
  letter-spacing: 0.15em;
}

/* ============================================================
   PRICING
   ============================================================ */

.pricing__table {
  max-width: 720px;
  margin: 0 auto 3rem;
  border: 1px solid rgba(201, 169, 110, 0.12);
}

.pricing__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 1rem;
  padding: 1.1rem 1.8rem;
  align-items: center;
  border-bottom: 1px solid rgba(201, 169, 110, 0.07);
  transition: background var(--transition-fast);
}

.pricing__row:hover {
  background: rgba(201, 169, 110, 0.04);
}

.pricing__row--header {
  background: rgba(201, 169, 110, 0.06);
  font-size: 0.78rem;
  font-weight: var(--fw-semi);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  border-bottom: 1px solid rgba(201, 169, 110, 0.18);
}

.pricing__row--header:hover { background: rgba(201, 169, 110, 0.06); }

.pricing__row--featured {
  background: rgba(201, 169, 110, 0.06);
}

.pricing__row--featured .pricing__price {
  color: var(--clr-gold);
}

.pricing__name {
  font-size: 1.02rem;
  color: var(--clr-text);
}

.pricing__dur {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  white-space: nowrap;
  text-align: right;
}

.pricing__price {
  font-family: var(--ff-serif);
  font-size: 1.3rem;
  color: var(--clr-white);
  white-space: nowrap;
  text-align: right;
  min-width: 100px;
  font-weight: var(--fw-reg);
}

.pricing__price em {
  font-size: 0.9rem;
  font-style: normal;
}

.pricing__note {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.2rem 1.8rem;
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  background: rgba(201, 169, 110, 0.04);
}

.pricing__note strong {
  color: var(--clr-gold);
}

.pricing__cta {
  text-align: center;
}

.pricing__cta p {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  margin-bottom: 1.4rem;
}

/* ============================================================
   TRUST
   ============================================================ */

.trust__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.trust__item {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.trust__icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.4rem;
}

.trust__icon svg {
  width: 100%;
  height: 100%;
}

.trust__item h4 {
  font-family: var(--ff-serif);
  font-size: 1.4rem;
  font-weight: var(--fw-light);
  color: #1a1a1a;
  margin-bottom: 0.7rem;
}

.trust__item p {
  font-size: 1rem;
  color: #444;
  line-height: 1.8;
}

/* Disclaimer */
.disclaimer {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem 0;
}

.disclaimer__line {
  flex: 1;
  height: 2px;
  background: rgba(26,26,26,0.35);
}

.disclaimer__text {
  font-size: 1.08rem;
  font-style: italic;
  font-family: var(--ff-serif);
  color: #333;
  text-align: center;
  line-height: 1.7;
  flex-shrink: 0;
  max-width: 480px;
  font-weight: 400;
}

/* ============================================================
   CONTACTS
   ============================================================ */

.contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-lg);
  align-items: start;
}

.contacts__desc {
  font-size: 1.1rem;
  color: #9a9590;
  margin-top: 1.2rem;
  margin-bottom: 2.5rem;
  line-height: 1.85;
}

.contacts__channels {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contacts__channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border: 1px solid rgba(201, 169, 110, 0.2);
  font-size: 1rem;
  font-weight: var(--fw-med);
  letter-spacing: 0.06em;
  color: var(--clr-text);
  transition: var(--transition);
}

.contacts__channel svg,
.contacts__channel-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  object-fit: contain;
}

.contacts__channel:hover {
  border-color: var(--clr-gold);
  background: rgba(201, 169, 110, 0.06);
  color: var(--clr-gold);
}

.contacts__location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--clr-text-muted);
  letter-spacing: 0.06em;
}

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 2.8rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(201, 169, 110, 0.12);
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form__label {
  font-size: 0.78rem;
  font-weight: var(--fw-semi);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

.form__input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201, 169, 110, 0.15);
  color: var(--clr-text);
  font-family: var(--ff-sans);
  font-size: 1rem;
  font-weight: var(--fw-light);
  padding: 0.9rem 1.1rem;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  border-radius: var(--radius);
  appearance: none;
}

.form__input::placeholder { color: #4a4845; }

.form__input:focus {
  border-color: rgba(201, 169, 110, 0.5);
  background: rgba(255,255,255,0.06);
}

.form__select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23c9a96e' stroke-width='1.2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 2.5rem;
}

.form__select option {
  background: #1a1a1a;
  color: var(--clr-text);
}

.form__textarea {
  resize: vertical;
  min-height: 90px;
}

.form__privacy {
  font-size: 0.82rem;
  color: #5a5855;
  text-align: center;
  margin-top: -0.4rem;
}

/* Form success state */
.form__success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem;
  gap: 1rem;
  border: 1px solid rgba(201, 169, 110, 0.2);
  min-height: 320px;
}

.form__success svg {
  width: 60px;
  height: 60px;
}

.form__success h3 {
  font-family: var(--ff-serif);
  font-size: 1.6rem;
  color: var(--clr-white);
}

.form__success p {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--clr-bg);
  border-top: 1px solid rgba(201, 169, 110, 0.1);
  padding: 2rem 0;
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.footer__copy {
  font-size: 0.85rem;
  color: var(--clr-text-muted);
  letter-spacing: 0.06em;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  font-size: 0.88rem;
  color: var(--clr-text-muted);
  letter-spacing: 0.08em;
  transition: color var(--transition-fast);
}

.footer__links a:hover { color: var(--clr-gold); }

.footer__social {
  display: flex;
  align-items: center;
}

.footer__social-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  opacity: 0.55;
  transition: opacity var(--transition-fast);
}

.footer__social:hover .footer__social-icon {
  opacity: 1;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--delay   { transition-delay: 0.15s; }
.reveal--delay-2 { transition-delay: 0.3s; }

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about__grid {
    grid-template-columns: 1fr 1.6fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  :root {
    --space-xl: 4rem;
    --space-lg: 2.5rem;
  }

  .nav__links, .btn--nav { display: none; }
  .nav__burger { display: flex; }

  .hero__title { font-size: 2.1rem; }

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

  .about__photo-col {
    padding-bottom: 2.5rem;
  }

  .about__diploma-badge {
    right: 0;
    bottom: -1rem;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

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

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

  .form {
    padding: 2rem 1.5rem;
  }

  .pricing__row {
    grid-template-columns: 1fr auto;
    padding: 0.9rem 1.2rem;
  }

  .pricing__dur { display: none; }

  .pricing__row--header span:nth-child(2) { display: none; }

  .footer__inner {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  .disclaimer {
    flex-direction: column;
    gap: 1rem;
  }

  .disclaimer__line { width: 80px; height: 2px; flex: initial; }

  .about__facts {
    gap: 1.5rem;
  }

  .contacts__channels {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contacts__channel {
    flex: 1;
    min-width: 140px;
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .hero__title { font-size: 1.85rem; }
  .hero__subtitle { font-size: 1rem; }
  .pricing__table { font-size: 0.85rem; }
  .contacts__channel { min-width: 100%; }
  .hero__scroll-hint { display: none; }
  .form { padding: 1.5rem 1rem; }
  .about__facts { flex-wrap: wrap; }
  .about__fact { min-width: calc(50% - 1rem); }
}

/* Поддержка safe-area для iPhone с чёлкой */
@supports (padding: max(0px)) {
  .hero {
    padding-bottom: env(safe-area-inset-bottom);
  }
}
