@font-face { font-family: "Inter Tight"; src: url("/files/9de9f0b358f828f556c7808ee8c4d5cbc51617fbde8bf9dfe05f9f3d76f6fb88") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/files/6621875e921837c5d708b806ef74c41751c67f96284b14617210ce827c1d4333") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/files/2992617d916a0bb041ded4eb2eebb609a7800b4670b43d8966bda2425b1b43dd") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("/files/0e4feee86d9b7ae11ffb822fabd96d88691557b13f1e3e1d26f91fac9b5acbbb") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("/files/4fdca57def62f7f9e752e8ad3b631f4cf6785a22b8cd7bba13c903fbbdc8fe0d") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
:root {
  --bg: #ffffff;
  --surface: #f4f7f1;
  --fg: #333332;
  --muted: #5f5f5e;
  --accent: #4e6a3e;
  --accent-fg: #ffffff;
  --radius: 20px;
  --font: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-headings: "Playfair Display", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* theme stylesheet */
/* Как grandpilates.ru: Inter Tight для текста, Playfair Display с курсивом для заголовков, тёмный #333332, зелёный #8cb273 и #7b9868, светлый #f4f7f1, тёмно-зелёный подвал #373f30, скругления 20px. */
html { overflow-x: clip; }
body { background: #fff; color: #333332; font: 400 16px/1.55 "Inter Tight", Arial, sans-serif; }
a { color: #4e6a3e; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 400; color: #333332; }
.dev-bar { padding: 6px 16px; background: #373f30; color: #d8dfd2; text-align: center; font: 400 13px/1.4 "Inter Tight", Arial, sans-serif; }
.dev-bar a { color: #c9e0b8; }

/* Шапка: белая, логотип, меню строчными Playfair */
.site-header { background: #fff; border: 0; box-shadow: 0 4px 18px rgba(0,0,0,.05); padding: 10px 20px; }
.site-name span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.site-logo img { width: 157px; height: 32px; object-fit: contain; }
.site-nav a { color: #333332; border: 0; font: 400 17px/1.4 "Playfair Display", Georgia, serif; text-transform: lowercase; }
.site-nav a:hover, .site-nav a[aria-current] { color: #7b9868; border: 0; }
.menu-icon, .menu-icon::before, .menu-icon::after { background: #333332; }

/* Страницы */
.site-main { max-width: 1326px; padding: 40px 20px 70px; }
.site-main h1 { font: 400 52px/1.15 "Playfair Display", Georgia, serif; }
.rich { font-size: 17px; }
.rich h2 { font: 400 34px/1.2 "Playfair Display", Georgia, serif; margin-top: 1.6em; }
.rich h3 { font: italic 400 25px/1.25 "Playfair Display", Georgia, serif; color: #4e6a3e; }
.rich em { color: #5f5f5e; }
.rich img { border-radius: 20px; }
.rich hr { border: 0; border-top: 1px solid #dfe6d9; margin: 2.4em 0 1.4em; }
.button, button.button { background: #8cb273; color: #fff; border-radius: 30px; text-transform: uppercase; font: 500 14px/1 "Inter Tight", Arial, sans-serif; letter-spacing: .02em; }
.button:hover { background: #7b9868; color: #fff; }
.site-footer { background: #373f30; color: #d8dfd2; }
.site-footer, .site-footer * { color: #cfd8c7; }
.site-footer a { color: #fff; }
@media (min-width: 981px) {
  .site-header { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 12px 20px; }
  .site-header-row { flex: 0 0 auto; margin: 0; }
  .site-nav { margin: 0; }
}

/* Главная */
.page-home .site-main { max-width: none; padding: 0; }
.page-home .layout-row { margin-bottom: 0; }
.page-home .site-main section { box-sizing: border-box; }
.gp-bg { position: absolute; inset: 0; margin: 0; }
.gp-bg picture, .gp-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.site-main em, .gp-pr em { font-style: italic; }
.gp-g { color: #8cb273; }
.site-main .gp-g { color: #8cb273; }
.gp-btn { display: inline-block; background: #8cb273; color: #fff; padding: 17px 30px; border-radius: 30px; font: 500 14px/1.2 "Inter Tight", Arial, sans-serif; text-transform: uppercase; text-decoration: none; }
.gp-btn:hover { background: #7b9868; color: #fff; }
.gp-line { color: #333332; font: 500 14px/1.2 "Inter Tight", Arial, sans-serif; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid #8cb273; padding-bottom: 4px; }
.gp-acts { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
.page-home .site-main h2 { font: 400 60px/1.12 "Playfair Display", Georgia, serif; margin: 0 0 50px; }

/* Первый экран */
.gp-hero { position: relative; margin: 10px 10px 0; min-height: 790px; border-radius: 20px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; }
.gp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,22,18,.35), rgba(20,22,18,.6)); }
.gp-hero-in { position: relative; z-index: 1; padding: 0 22px 110px; max-width: 1140px; }
.site-main .gp-hero h1 { color: #fff; font: 400 64px/1.15 "Playfair Display", Georgia, serif; margin: 0 0 40px; }
.gp-hero p { font: 400 21px/1.3 "Inter Tight", Arial, sans-serif; max-width: 620px; margin: 0 0 36px; }
.gp-hero .gp-tel { color: #fff; font: 400 21px/1 "Inter Tight", Arial, sans-serif; text-decoration: none; }

/* Атмосферный зал */
.gp-atm { max-width: 1366px; margin: 0 auto; padding: 90px 20px 100px; }
.site-main .gp-atm h2 { max-width: 860px; font-size: 64px; }
.gp-atm h2 em:first-child { display: block; }
.gp-atm h2 .gp-g { display: block; }
.gp-atm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: end; }
.gp-atm figure { margin: 0 0 30px; border-radius: 20px; overflow: hidden; }
.gp-atm figure img { width: 100%; display: block; object-fit: cover; }
.gp-a1 img { aspect-ratio: 423/370; }
.gp-a2 img { aspect-ratio: 423/290; }
.gp-a3 img { aspect-ratio: 430/594; }
.gp-big { font: 400 22px/1.3 "Playfair Display", Georgia, serif; margin: 0 0 6px; }
.gp-small { color: #6b6b6a; font-size: 16px; margin: 0 0 6px; }

/* 5 принципов */
.gp-pr { background: #f4f7f1; padding: 90px 0 110px; }
.site-main .gp-pr h2 { padding: 0 20px; max-width: 1326px; margin: 0 auto 50px; }
.gp-pr ol { list-style: none; margin: 0; padding: 0; }
.gp-pr li { position: relative; min-height: 640px; border-radius: 30px; overflow: hidden; color: #fff; display: flex; margin-top: -40px; box-shadow: 0 -10px 30px rgba(0,0,0,.08); }
.gp-pr li:first-child { margin-top: 0; }
.gp-pr li:nth-child(even) { transform: rotate(-1.2deg); margin-left: 60px; margin-right: 30px; }
.gp-pr li::after { content: ""; position: absolute; inset: 0; background: rgba(40,40,38,.42); }
.gp-pr-in { position: relative; z-index: 1; padding: 50px 20px 40px; display: flex; flex-direction: column; width: 100%; box-sizing: border-box; }
.site-main .gp-pr h3 { color: #fff; font: italic 400 46px/1.15 "Playfair Display", Georgia, serif; margin: 0 200px 0 0; }
.gp-num { position: absolute; right: 20px; top: 50px; background: #fff; color: #333332; border-radius: 40px; padding: 14px 32px; font: italic 400 22px/1 "Playfair Display", Georgia, serif; }
.gp-num em { color: #8cb273; font-size: 40px; }
.gp-pr p { margin: auto 0 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.6); font: 400 21px/1.4 "Inter Tight", Arial, sans-serif; }

/* Программы */
.gp-progs { background: linear-gradient(110deg, #a6b693 0%, #889a73 45%, #66785a 100%); padding: 90px 20px 100px; color: #fff; }
.gp-progs-head { max-width: 1326px; margin: 0 auto 60px; display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.site-main .gp-progs h2 { color: #fff; margin: 0; }
.gp-white { background: #fff; color: #333332; padding: 26px 46px; border-radius: 40px; text-decoration: none; text-transform: uppercase; font: 500 17px/1 "Inter Tight", Arial, sans-serif; white-space: nowrap; }
.gp-progs ul { list-style: none; margin: 0 auto; padding: 0; max-width: 1326px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.gp-progs li a { display: flex; flex-direction: column; height: 100%; min-height: 290px; box-sizing: border-box; background: #fff; border-radius: 20px; padding: 26px 24px; color: #333332; text-decoration: none; transition: transform .2s; }
.gp-progs li a:hover { transform: translateY(-4px); }
.gp-ic img { width: 150px; height: 130px; object-fit: contain; display: block; margin: 0 auto 30px; }
.gp-pt { font: 400 23px/1.25 "Playfair Display", Georgia, serif; }

/* С какими вопросами */
.gp-iss { max-width: 1366px; margin: 0 auto; padding: 100px 20px 90px; }
.gp-iss ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.gp-iss li { background: #f4f7f1; border-radius: 40px; padding: 16px 26px; font: 400 21px/1.2 "Playfair Display", Georgia, serif; }
.gp-iss li em { color: #7b9868; }

/* Пространство */
.gp-space { max-width: 1366px; margin: 0 auto; padding: 90px 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.gp-space-ph { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.gp-space-ph figure { margin: 0; border-radius: 20px; overflow: hidden; }
.gp-space-ph img { width: 100%; aspect-ratio: 300/390; object-fit: cover; display: block; }
.gp-space-tx { text-align: center; }
.gp-space-tx em { display: block; }
.gp-space-tx p { color: #5f5f5e; }

/* Мини-группы */
.gp-sched { background: #f4f7f1; padding: 90px max(20px, calc(50% - 663px)); display: grid; grid-template-columns: 5fr 6fr; gap: 50px; align-items: center; }
.gp-sched figure { margin: 0; border-radius: 20px; overflow: hidden; }
.gp-sched img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }
.site-main .gp-sched h2 { font-size: 48px; margin-bottom: 30px; }
.gp-sched ul { list-style: none; padding: 0; margin: 0 0 26px; }
.gp-sched li { font: 400 30px/1.6 "Playfair Display", Georgia, serif; }
.gp-sched li b { font-weight: 400; color: #7b9868; display: inline-block; min-width: 70px; font-style: italic; }
.gp-sched p { color: #5f5f5e; }

/* Отзывы */
.gp-rev { max-width: 1366px; margin: 0 auto; padding: 100px 20px 80px; }
.gp-rev ul { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gp-rev li { background: #f4f7f1; border-radius: 20px; padding: 30px 26px; display: flex; flex-direction: column; }
.gp-rev blockquote { margin: 0 0 20px; }
.gp-rev blockquote p { margin: 0; font-size: 16px; line-height: 1.55; }
.gp-src { margin: auto 0 0; color: #7b9868; font: italic 400 17px/1.2 "Playfair Display", Georgia, serif; }

/* Вопросы */
.gp-faq { max-width: 1366px; margin: 0 auto; padding: 60px 20px 100px; }
.gp-faq details { border-bottom: 1px solid #dfe6d9; padding: 26px 0; }
.gp-faq summary { cursor: pointer; font: 400 26px/1.3 "Playfair Display", Georgia, serif; list-style: none; padding-right: 50px; position: relative; }
.gp-faq summary::-webkit-details-marker { display: none; }
.gp-faq summary::after { content: "+"; position: absolute; right: 0; top: -6px; width: 42px; height: 42px; border-radius: 50%; background: #f4f7f1; color: #7b9868; font: 300 30px/42px "Inter Tight", Arial, sans-serif; text-align: center; }
.gp-faq details[open] summary::after { content: "–"; }
.gp-faq details p { color: #5f5f5e; max-width: 900px; margin: 16px 0 0; font-size: 17px; }

/* Контакты */
.gp-ct { background: #373f30; color: #fff; padding: 80px max(20px, calc(50% - 663px)) 40px; }
.gp-ct-in { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.gp-ct a { color: #fff; }
.gp-quote { font: 400 34px/1.3 "Playfair Display", Georgia, serif; color: #c9e0b8; margin: 0 0 34px; }
.gp-phones a { display: block; font: 400 38px/1.5 "Inter Tight", Arial, sans-serif; text-decoration: none; }
.gp-ct-r p { color: #d8dfd2; margin: 0 0 18px; }
.gp-warn { margin: 60px 0 0; text-align: center; font: 600 clamp(14px, 2.2vw, 30px)/1.2 "Inter Tight", Arial, sans-serif; color: rgba(255,255,255,.35); letter-spacing: .02em; }

@media (max-width: 1100px) {
  .gp-progs ul, .gp-rev ul { grid-template-columns: repeat(2, 1fr); }
  .page-home .site-main h2, .site-main .gp-atm h2 { font-size: 46px; }
  .gp-space { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .site-main h1 { font-size: 34px; }
  .page-home .site-main h2, .site-main .gp-atm h2, .site-main .gp-sched h2 { font-size: 32px; margin-bottom: 30px; }
  .rich h2 { font-size: 27px; }
  .gp-hero { min-height: 600px; margin: 6px 6px 0; }
  .gp-hero-in { padding: 0 16px 50px; }
  .site-main .gp-hero h1 { font-size: 36px; margin-bottom: 22px; }
  .gp-hero p { font-size: 17px; }
  .gp-atm, .gp-iss, .gp-rev, .gp-faq { padding: 60px 16px; }
  .gp-atm-grid, .gp-progs ul, .gp-rev ul, .gp-sched, .gp-ct-in { grid-template-columns: 1fr; }
  .gp-a3 img { aspect-ratio: 4/3; }
  .gp-pr { padding: 60px 0; }
  .site-main .gp-pr h2 { padding: 0 16px; }
  .gp-pr li { min-height: 520px; margin-top: -24px; }
  .gp-pr li:nth-child(even) { transform: none; margin: -24px 0 0; }
  .gp-pr-in { padding: 30px 16px; }
  .site-main .gp-pr h3 { font-size: 30px; margin: 70px 0 0; }
  .gp-num { left: 16px; right: auto; top: 26px; padding: 10px 22px; font-size: 18px; }
  .gp-num em { font-size: 28px; }
  .gp-pr p { font-size: 17px; }
  .gp-progs { padding: 60px 16px; }
  .gp-progs-head { flex-direction: column; align-items: flex-start; }
  .gp-white { padding: 20px 34px; font-size: 15px; }
  .gp-progs li a { min-height: 0; flex-direction: row; align-items: center; gap: 16px; padding: 18px; }
  .gp-ic { flex: 0 0 90px; }
  .gp-ic img { width: 90px; height: 80px; margin: 0; }
  .gp-pt { font-size: 20px; }
  .gp-iss li { font-size: 18px; padding: 12px 18px; }
  .gp-space { padding: 60px 16px; }
  .gp-space-ph { gap: 14px; }
  .gp-sched { padding: 60px 16px; gap: 30px; }
  .gp-sched li { font-size: 24px; }
  .gp-faq summary { font-size: 21px; }
  .gp-ct { padding: 60px 16px 30px; }
  .gp-quote { font-size: 26px; }
  .gp-phones a { font-size: 30px; }
  .site-nav a { font-size: 19px; }
}
