/* Молодо Румяно — сайт */

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

:root {
  --bg: #f5f5f5;
  --white: #fff;
  --ink: #1a1a1a;
  --muted: #7a7a7a;
  --rose: #c09a95;
  --rose-d: #a8847f;
  --border: #e8e8e8;
  --wrap: min(1180px, calc(100% - 40px));
  --serif: "Cormorant Infant", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --header-h: 80px;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

/* —— Шапка —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-h);
}

.site-logo__name {
  display: block;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.site-logo__sub {
  display: block;
  margin-top: 3px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: none;
  gap: 4px;
}

.site-nav a {
  padding: 8px 12px;
  font-size: 14px;
  color: #444;
  border-radius: 6px;
}

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

.site-header__end {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-phone {
  display: none;
  font-size: 15px;
  font-weight: 600;
}

.site-soc {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  color: #666;
  place-content: center;
}

.site-soc:hover { background: var(--rose); color: #fff; border-color: var(--rose); }
.site-soc--wa:hover { background: #25d366; border-color: #25d366; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}

.btn--rose { background: var(--rose); color: #fff; }
.btn--rose:hover { background: var(--rose-d); }
.btn--line { background: #fff; color: #555; border: 1px solid #ccc; }
.btn--line:hover { border-color: var(--rose); color: var(--rose); }
.btn--white { background: #fff; color: var(--rose); }
.btn--block { width: 100%; }

.site-burger {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.site-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: #222;
}

.site-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  padding: 90px 24px 24px;
  background: #fff;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}

.site-drawer.is-open { display: flex; }
.site-drawer a { font-size: 18px; padding: 10px 0; border-bottom: 1px solid #eee; }

/* Типографика секций */
.sec {
  padding: clamp(64px, 10vw, 96px) 0;
}

.sec--white { background: var(--white); }
.sec--gray { background: var(--bg); }

.sec__label {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.sec__title {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.15;
  max-width: 20ch;
}

.sec__title--wide { max-width: none; }

.sec__title em,
.sec__accent { color: var(--rose); font-style: normal; }

.sec__lead {
  margin: 0;
  max-width: 42rem;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.sec__grid {
  display: grid;
  gap: 24px;
}

/* —— ЭКРАН 1: Hero —— */
.hero {
  position: relative;
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  flex-direction: column;
  background: var(--bg);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: var(--bg) url("../assets/images/hero-bg.jpg") no-repeat right center / auto 100%;
  pointer-events: none;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, var(--bg) 44%, rgba(245,245,245,.95) 54%, transparent 78%);
}

.hero__main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding: 40px 0 20px;
}

.hero__copy { max-width: 520px; }

.hero__eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9a9a9a;
}

.hero__title {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
}

.hero__title span {
  display: block;
  font-size: clamp(40px, 5.5vh, 56px);
}

.hero__title .accent { color: var(--rose); }

.hero__sub {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 600;
  color: #4a4a4a;
}

.hero__desc {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero__features {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 24px;
}

.hero__features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  min-width: 120px;
}

.hero__features .ico {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: #aaa;
}

.hero__features b { display: block; font-size: 14px; margin-bottom: 2px; }
.hero__features span { font-size: 13px; color: var(--muted); }

.hero__dock-wrap {
  position: relative;
  z-index: 2;
  padding-bottom: 20px;
}

.hero__dock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
}

.hero__dock li {
  display: flex;
  gap: 12px;
  padding: 16px 18px;
  border-right: 1px solid #f0f0f0;
  font-size: 12px;
  color: var(--muted);
}

.hero__dock li:last-child { border-right: none; }
.hero__dock .ico { color: #bbb; flex-shrink: 0; }
.hero__dock b { display: block; font-size: 15px; color: var(--ink); margin-top: 2px; }

/* —— О школе —— */
.about-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.about-split__media {
  border-radius: 0 0 0 120px;
  overflow: hidden;
  line-height: 0;
}

.about-split__media img {
  width: 100%;
  height: auto;
  min-height: 360px;
  object-fit: cover;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: -40px;
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  overflow: hidden;
}

.about-stats li {
  padding: 20px;
  text-align: center;
  border-right: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
}

.about-stats li:nth-child(2n) { border-right: none; }
.about-stats li:nth-last-child(-n+2) { border-bottom: none; }

.about-stats strong {
  display: block;
  font-family: var(--serif);
  font-size: 32px;
  color: var(--rose);
}

.about-stats span { font-size: 13px; color: var(--muted); }

.features-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.features-row li {
  padding: 28px 24px;
  border-bottom: 1px solid var(--border);
}

.features-row li:last-child { border-bottom: none; }

.features-row h3 {
  margin: 12px 0 8px;
  font-size: 17px;
}

.features-row p { margin: 0; font-size: 14px; color: var(--muted); }
.features-row .ico { color: var(--rose); }

/* —— Программа 7 дней —— */
.program-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.program-days { position: relative; padding-left: 28px; }

.program-days::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #e0d0cc;
}

.day-item {
  position: relative;
  padding: 16px 0 16px 8px;
  border-bottom: 1px solid var(--border);
}

.day-item::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--rose);
}

.day-item h3 { margin: 0 0 6px; font-size: 17px; }
.day-item p { margin: 0; font-size: 14px; color: var(--muted); }
.day-item .day-tag {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--rose);
}

.program-aside {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.card-person {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

.card-person img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
}

.card-person h3 { margin: 0 0 4px; font-size: 17px; }
.card-person .role { margin: 0 0 8px; font-size: 12px; color: var(--rose); font-weight: 600; }
.card-person p { margin: 0; font-size: 14px; color: var(--muted); }

.card-included {
  padding: 22px;
  background: #fff;
  border-radius: 12px;
  border-top: 3px solid var(--rose);
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}

.card-included h3 {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: 22px;
}

.card-included li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: #555;
}

.card-included .ico { color: var(--rose); flex-shrink: 0; }

/* —— Тарифы —— */
.tariffs-head { margin-bottom: 32px; }

.tariffs-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.tariffs-mini li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  color: #555;
}

.tariffs-mini .ico { color: var(--rose); }

.tariffs-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.price-card {
  padding: 28px 24px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center;
}

.price-card--hit {
  border-color: var(--rose);
  box-shadow: 0 8px 32px rgba(192,154,149,.2);
  position: relative;
}

.price-card__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: var(--rose);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 999px;
}

.price-card h3 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-size: 26px;
}

.price-card .price {
  margin: 0 0 20px;
  font-family: var(--serif);
  font-size: 36px;
  color: var(--rose);
}

.price-card ul {
  text-align: left;
  margin: 0 0 24px;
}

.price-card li {
  display: flex;
  gap: 8px;
  padding: 6px 0;
  font-size: 14px;
  color: #555;
}

.price-card li::before {
  content: "✓";
  color: var(--rose);
  font-weight: 700;
}

.quote-box {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 40px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
}

.quote-box img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

/* —— Как проходит —— */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.step-card {
  padding: 20px;
  background: rgba(255,255,255,.92);
  border-radius: 12px;
  border: 1px solid var(--border);
}

.step-card .num {
  font-size: 12px;
  color: #bbb;
  margin-bottom: 8px;
}

.step-card h3 { margin: 0 0 8px; font-size: 16px; }
.step-card p { margin: 0; font-size: 14px; color: var(--muted); }

.process-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.process-bottom .tile {
  padding: 20px;
  background: #fff;
  border-radius: 12px;
}

.process-bottom .tile--cta {
  background: var(--rose);
  color: #fff;
}

.process-bottom .tile--cta p { color: rgba(255,255,255,.85); }

.sec-process {
  position: relative;
  background: var(--bg) url("../assets/images/work-2-4-1.jpg") no-repeat right center / cover;
}

.sec-process::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245,245,245,.97) 0%, rgba(245,245,245,.85) 55%, transparent 100%);
}

.sec-process .wrap { position: relative; z-index: 1; }

/* —— Результаты —— */
.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.result-card {
  padding: 22px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.result-card .ico { color: var(--rose); margin-bottom: 12px; }
.result-card h3 { margin: 0 0 8px; font-size: 17px; }
.result-card p { margin: 0; font-size: 14px; color: var(--muted); }

.cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.cta-bar__person {
  display: flex;
  gap: 14px;
  align-items: center;
  max-width: 520px;
}

.cta-bar__person img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
}

.cta-bar__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* —— Преподаватель —— */
.teacher-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

.teacher-card {
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.teacher-card h3 {
  margin: 0 0 6px;
  font-family: var(--serif);
  font-size: 28px;
}

.teacher-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}

.teacher-mini li {
  font-size: 13px;
  color: var(--muted);
}

.teacher-mini b { display: block; color: var(--ink); font-size: 14px; margin-bottom: 4px; }

.teacher-photo {
  border-radius: 12px;
  overflow: hidden;
  min-height: 400px;
}

.teacher-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.teacher-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 24px;
}

.teacher-stats li {
  padding: 18px;
  background: rgba(255,255,255,.95);
  border-radius: 10px;
  font-size: 14px;
}

.teacher-stats b { color: var(--rose); }

.sec-teacher {
  position: relative;
  background: var(--bg) url("../assets/images/studio.jpg") no-repeat center / cover;
}

.sec-teacher::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(245,245,245,.88);
}

.sec-teacher .wrap { position: relative; z-index: 1; }

/* —— Отзывы —— */
.reviews-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(300px, 85vw);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}

.review-card {
  scroll-snap-align: start;
  padding: 22px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.review-card__head {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.review-card__head img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.review-card__meta { font-size: 12px; color: var(--muted); }
.review-card__stars { color: #e6b84a; font-size: 14px; margin-bottom: 10px; }
.review-card p { margin: 0; font-size: 14px; color: #555; line-height: 1.55; }

/* —— FAQ —— */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 10px;
  background: #fff;
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--rose); font-size: 20px; }
.faq-item[open] summary::after { content: "−"; }

.faq-item p {
  margin: 0;
  padding: 0 20px 18px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
}

/* —— Контакты —— */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.contact-info li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
}

.contact-info .ico { color: var(--rose); flex-shrink: 0; }

.contact-form {
  padding: 28px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.contact-form textarea { min-height: 100px; resize: vertical; }

.contact-photo {
  border-radius: 12px;
  overflow: hidden;
  min-height: 280px;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  padding: 32px 0;
  background: #2a2a2a;
  color: rgba(255,255,255,.7);
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
}

.site-footer strong { color: #fff; font-family: var(--serif); font-size: 18px; }

/* —— Адаптив —— */
@media (min-width: 768px) {
  .about-split { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: repeat(4, 1fr); }
  .about-stats li { border-bottom: none; }
  .features-row { grid-template-columns: repeat(4, 1fr); }
  .features-row li { border-bottom: none; border-right: 1px solid var(--border); }
  .features-row li:last-child { border-right: none; }
  .program-layout { grid-template-columns: 1.1fr 0.9fr; }
  .tariffs-cards { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(4, 1fr); }
  .process-bottom { grid-template-columns: repeat(4, 1fr); }
  .results-grid { grid-template-columns: repeat(3, 1fr); }
  .teacher-layout { grid-template-columns: 1fr 1fr; }
  .teacher-stats { grid-template-columns: repeat(3, 1fr); }
  .faq-layout { grid-template-columns: 0.9fr 1.1fr; align-items: start; }
  .contact-layout { grid-template-columns: 1fr 1fr 0.9fr; }
}

@media (min-width: 961px) {
  .site-nav { display: flex; }
  .site-phone { display: block; }
  .site-soc { display: grid; }
  .site-header .btn--rose { display: inline-flex; }
  .site-burger { display: none; }
}

@media (max-width: 960px) {
  .site-header .btn--rose { display: none; }
  .hero__dock { grid-template-columns: 1fr 1fr; }
  .hero__dock li:nth-child(2) { border-right: none; }
  .hero__dock li:nth-child(1),
  .hero__dock li:nth-child(2) { border-bottom: 1px solid #f0f0f0; }
  .hero__bg { opacity: .4; background-size: cover; background-position: 70% center; }
  .hero__bg::after {
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 50%, rgba(245,245,245,.95) 100%);
  }
}
