/* Массажный салон «Динамика» — dinamika-ok.ru
   Палитра и типографика из брендовых материалов заказчика.
   Шрифты локальные: ни одного запроса на чужой домен. */

/* --- Шрифты (SIL Open Font License, лежат в assets/fonts/) --- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/cormorant-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/cormorant-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/cormorant-600-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/cormorant-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/jost-300-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(fonts/jost-300-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/jost-400-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/jost-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jost-500-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/jost-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Токены --- */
:root {
  --bg: #241812;
  --bg-alt: #2E2018;
  --bg-deep: #3B2719;
  --caramel: #C68550;
  --gold: #E0A961;
  --cream: #F3E3CB;
  --line: rgba(198, 133, 80, 0.22);
  --line-soft: rgba(198, 133, 80, 0.16);
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --pad: 20px;
}

@media (min-width: 700px) { :root { --pad: 32px; } }
@media (min-width: 1000px) { :root { --pad: 40px; } }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

/* height:auto обязателен: у картинок проставлены width/height, и без него
   браузер берёт высоту из атрибута и сплющивает кадр. */
img { max-width: 100%; height: auto; display: block; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--cream); }

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

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: 1180px; margin: 0 auto; }
.narrow { max-width: 780px; margin: 0 auto; }

section, footer { padding: 56px var(--pad); }
@media (min-width: 700px) { section, footer { padding: 80px var(--pad); } }
@media (min-width: 1000px) { section, footer { padding: 96px var(--pad); } }

section[id] { scroll-margin-top: 112px; }
@media (min-width: 1080px) { section[id] { scroll-margin-top: 76px; } }

.alt { background: var(--bg-alt); }
.bordered { border-top: 1px solid var(--line-soft); }

/* --- Типографика --- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; text-wrap: pretty; }
h1 { font-size: clamp(34px, 7vw, 66px); line-height: 1.05; }
h2 { font-size: clamp(28px, 5vw, 48px); }
h3 { font-size: clamp(21px, 3vw, 25px); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--caramel); flex: 0 0 auto; }
.eyebrow.plain::before { display: none; }

.lead { font-size: clamp(18px, 2.2vw, 21px); line-height: 1.7; color: rgba(243, 227, 203, 0.82); }
.muted { color: rgba(243, 227, 203, 0.68); }
.small { font-size: 15px; line-height: 1.6; color: rgba(243, 227, 203, 0.6); }
.serif-lead { font-family: var(--serif); font-weight: 400; font-size: clamp(21px, 3.2vw, 30px); line-height: 1.45; color: var(--cream); }

/* --- Кнопки --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}
.btn-fill { background: var(--caramel); color: var(--bg); }
.btn-fill:hover { background: var(--gold); color: var(--bg); }
.btn-gold { background: var(--gold); color: var(--bg); }
.btn-gold:hover { background: var(--cream); color: var(--bg); }
.btn-line { border: 1px solid rgba(198, 133, 80, 0.55); color: var(--cream); }
.btn-line:hover { border-color: var(--gold); color: var(--gold); }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.textlink {
  display: inline-block;
  font-size: 15px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(198, 133, 80, 0.5);
  padding-bottom: 4px;
}

/* --- Шапка --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px var(--pad);
  background: rgba(36, 24, 18, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.brand img { width: 38px; height: 30px; object-fit: contain; }
.brand span { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--gold); letter-spacing: 0.05em; }
/* На узком экране меню становится горизонтальной лентой под шапкой:
   бургер потребовал бы JS, а лента прокручивается пальцем и видна сразу. */
.site-nav {
  order: 3;
  flex: 1 0 100%;
  display: flex;
  gap: 18px;
  margin-top: 10px;
  padding-bottom: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a { color: rgba(243, 227, 203, 0.8); }
.site-nav a:hover { color: var(--gold); }
.site-header { flex-wrap: wrap; }
@media (min-width: 1080px) {
  .site-header { flex-wrap: nowrap; }
  .site-nav {
    order: 0;
    flex: 1 1 auto;
    min-width: 0;
    margin-top: 0;
    overflow: visible;
    flex-wrap: wrap;
    white-space: normal;
    gap: 8px 20px;
    font-size: 13px;
  }
  .site-nav a { color: var(--cream); }
}
.header-cta { margin-left: auto; flex: 0 0 auto; white-space: nowrap; padding: 11px 20px; min-height: 44px; }

/* --- Первый экран --- */
#top { padding-top: 32px; }
@media (min-width: 900px) { #top { padding-top: 44px; } }
.hero { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
}
.hero-text { display: flex; flex-direction: column; gap: 20px; max-width: 620px; }
.hero-sub { font-family: var(--serif); font-size: clamp(20px, 3.4vw, 29px); line-height: 1.3; color: var(--gold); font-weight: 500; margin: 0; }
.hero-name { font-family: var(--serif); font-size: clamp(24px, 3.5vw, 34px); margin: 0; }
.hero-photo { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .hero-photo { max-height: 640px; } }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.facts { display: flex; flex-wrap: wrap; gap: 24px 36px; padding-top: 22px; border-top: 1px solid rgba(198, 133, 80, 0.2); }
.fact { display: flex; flex-direction: column; gap: 2px; }
.fact b { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--gold); line-height: 1.1; }
.fact span { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(243, 227, 203, 0.66); }

/* --- Двухколоночные блоки --- */
.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.split.wide-left { }
@media (min-width: 900px) { .split.wide-left { grid-template-columns: 1.05fr 0.95fr; } }
@media (min-width: 900px) { .split.wide-right { grid-template-columns: 0.9fr 1.1fr; } }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack > .btn { align-self: flex-start; }

.figure img { border-radius: 4px; width: 100%; }
.figure figcaption { margin-top: 10px; font-size: 15px; line-height: 1.55; color: rgba(243, 227, 203, 0.6); }
figure { margin: 0; }

/* --- Прайс --- */
.price { border-top: 1px solid var(--line); }
.price-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 20px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line-soft);
  transition: background 180ms ease;
}
.price-row:hover { background: rgba(198, 133, 80, 0.07); }
.price-name { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 26px); font-weight: 500; color: var(--cream); }
.price-name a { color: var(--cream); border-bottom: 1px solid rgba(198, 133, 80, 0.35); }
.price-name a:hover { color: var(--gold); border-color: var(--gold); }
.price-time { font-size: 15px; letter-spacing: 0.05em; color: rgba(243, 227, 203, 0.6); grid-column: 1; }
.price-sum { font-size: 21px; color: var(--gold); white-space: nowrap; grid-row: 1 / span 2; grid-column: 2; align-self: center; text-align: right; }
@media (min-width: 760px) {
  .price-row { grid-template-columns: 1fr auto 150px; align-items: center; gap: 24px; padding: 20px 4px; }
  .price-time { grid-column: auto; }
  .price-sum { grid-row: auto; grid-column: auto; }
}

/* --- Сетки карточек --- */
.tiles { display: grid; gap: 1px; background: rgba(198, 133, 80, 0.2); border: 1px solid rgba(198, 133, 80, 0.2); }
@media (min-width: 620px) { .tiles.two { grid-template-columns: 1fr 1fr; } }
@media (min-width: 620px) { .tiles.four { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tiles.four { grid-template-columns: repeat(4, 1fr); } }
.tile { background: var(--bg); padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.alt .tile { background: var(--bg-alt); }
.tile-num { font-family: var(--serif); font-size: 38px; color: rgba(198, 133, 80, 0.55); line-height: 1; }
.tile h3 { font-size: 22px; }
.tile-title { font-family: var(--serif); font-size: 21px; color: var(--gold); }
.tile p { font-size: 16px; line-height: 1.65; color: rgba(243, 227, 203, 0.7); }

/* Личный приём и корпоративные выезды — два равных входа с главной. */
.direction-grid, .tariff-grid { display: grid; gap: 20px; margin-top: 32px; }
.direction-card, .tariff-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(22px, 3vw, 36px);
  background: var(--bg);
}
.direction-card { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.direction-card > * { margin: 0; }
.direction-card h3 { font-size: clamp(27px, 3vw, 36px); }
.direction-card .btn { margin-top: auto; }
.direction-card.featured { border-color: var(--caramel); background: var(--bg-deep); }
.direction-price { font-size: 28px; color: var(--gold); line-height: 1.35; }
.direction-price span { display: block; margin-top: 6px; font-size: 16px; color: var(--cream); }
.tariff-card h3 { font-size: 26px; }
.tariff-sum { font-size: clamp(28px, 3vw, 36px); color: var(--gold); margin: 18px 0; line-height: 1.2; }
.tariff-card > p:last-child { color: rgba(243, 227, 203, 0.75); }
.corp-faq { margin-top: 28px; border-top: 1px solid var(--line); }
.corp-faq details { padding: 20px 0; border-bottom: 1px solid var(--line); }
.corp-faq summary { color: var(--gold); cursor: pointer; font-weight: 500; }
.corp-faq details p { margin-top: 14px; }
@media (min-width: 760px) { .direction-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tariff-grid { grid-template-columns: repeat(3, 1fr); } }

/* --- Галерея --- */
/* Все кадры заранее подрезаны под 4:5, поэтому плитке достаточно
   удержать пропорцию — cover тут почти ничего не отрезает. */
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 0; background: var(--line-soft); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* --- Карточки услуг --- */
.cards { display: grid; gap: 20px; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px;
  border: 1px solid var(--line-soft);
  border-radius: 4px;
  transition: border-color 180ms ease;
}
.card:hover { border-color: var(--gold); }
.card h3 { font-size: 23px; }
.card h3 a { color: var(--cream); }
.card:hover h3 a { color: var(--gold); }
.card p { font-size: 16px; color: rgba(243, 227, 203, 0.7); }
.card .price-sum { text-align: left; font-size: 18px; margin-top: auto; padding-top: 8px; }

/* --- Отзыв --- */
blockquote {
  margin: 0;
  padding: 20px 0 20px 22px;
  border-left: 2px solid rgba(198, 133, 80, 0.4);
  font-family: var(--serif);
  font-size: clamp(19px, 2.6vw, 24px);
  line-height: 1.5;
  color: var(--cream);
}
blockquote cite { display: block; margin-top: 10px; font-family: var(--sans); font-size: 14px; font-style: normal; color: rgba(243, 227, 203, 0.6); }

/* --- Список с галочками --- */
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { position: relative; padding-left: 26px; color: rgba(243, 227, 203, 0.8); }
.checks li::before { content: '—'; position: absolute; left: 0; color: var(--caramel); }

/* --- Финальный блок записи --- */
.cta { background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg-deep) 100%); text-align: center; }
.cta .inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.cta img.emblem { width: 78px; height: 60px; object-fit: contain; }
.cta .btns { justify-content: center; }

/* --- Хлебные крошки --- */
.crumbs { padding: 18px var(--pad) 0; font-size: 14px; letter-spacing: 0.05em; color: rgba(243, 227, 203, 0.55); }
.crumbs a { color: rgba(243, 227, 203, 0.72); }
.crumbs a:hover { color: var(--gold); }

/* --- Подвал --- */
.site-footer { border-top: 1px solid var(--line); padding-bottom: 32px; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 40px; } }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .eyebrow { margin-bottom: 2px; }
.footer-brand { font-family: var(--serif); font-size: 25px; font-weight: 600; color: var(--gold); letter-spacing: 0.05em; }
.footer-bottom {
  max-width: 1180px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(243, 227, 203, 0.6);
}

/* --- Служебное --- */
.note { font-size: 16px; line-height: 1.65; color: rgba(243, 227, 203, 0.6); }
.center { text-align: center; }

/* Кадр с наградой существует только в 478px по ширине — растягивать его
   в колонку нельзя, иначе видно интерполяцию. */
.figure-natural img { max-width: 478px; }

/* Фото в двухколоночных блоках: скругление как у figure, без принудительной
   пропорции — кадры уже подрезаны при сборке. */
.split > img { border-radius: 4px; }

/* Первый экран: кадр 5:6, обрезка минимальная на любом экране. */
.hero-photo { aspect-ratio: 5 / 6; }

/* --- Отзывы --- */
.reviews { display: grid; gap: 20px; }
@media (min-width: 760px) { .reviews { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .reviews { grid-template-columns: repeat(3, 1fr); } }
.reviews blockquote {
  margin: 0;
  padding: 22px 24px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid rgba(198, 133, 80, 0.45);
  border-radius: 4px;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(243, 227, 203, 0.86);
  break-inside: avoid;
}
.reviews cite {
  display: block;
  margin-top: 14px;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* Корпоративная страница: один специалист, приватный приём, заказ в переписке. */
.corporate {
  --bg: #f8f6f0;
  --bg-alt: #eeeae0;
  --bg-deep: #e5ece7;
  --cream: #263c35;
  --gold: #82542e;
  --caramel: #82542e;
  --line: #cdd3c9;
  --line-soft: #dce0d6;
  color: var(--cream);
}
.corporate .site-header { background: #faf9f5; border-bottom: 1px solid var(--line); row-gap: 0; }
.corporate .site-nav a { color: #334b42; }
.corporate .lead { color: #3f554b; }
.corporate .muted { color: #506359; }
.corporate .small, .corporate .note, .corporate figcaption, .corporate .footer-bottom, .corporate .crumbs { color: #56675e; }
.corporate .crumbs a { color: #52675c; }
.corporate a:hover { color: #254b3f; }
.corporate .btn-fill { background: #2b5146; border-color: #2b5146; color: #fff; }
.corporate .btn-fill:hover { background: #183b30; color: #fff; }
.corporate .btn-line { color: #2b5146; border-color: #92a49b; }
.corporate .btn-line:hover { background: #e5ece7; }
.corporate h1 { font-size: clamp(36px, 4.4vw, 56px); }
.corporate h2 { font-size: clamp(30px, 3.4vw, 44px); }
.corporate h3 { font-size: 26px; }
.corporate section { padding-top: 48px; padding-bottom: 48px; }
.corporate .stack { gap: 16px; }
.corporate .stack p { margin: 0; }
.corp-intro { padding-top: 28px !important; }
.corp-hero { display: grid; gap: 32px; align-items: center; }
.corp-portrait { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.corp-portrait img { width: 100%; }
.corp-portrait figcaption { padding: 16px 22px 6px; font-size: 18px; font-weight: 500; }
.corp-credentials { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 22px 22px; }
.corp-credentials span { font-size: 15px; color: #455e51; }
.corp-credentials span + span::before { content: '·'; padding-right: 6px; }
.corp-summary { padding: 16px 0; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.corp-summary strong { font-size: 38px; color: #2b5146; line-height: 1.15; font-weight: 500; }
.corp-summary span { color: #455e51; font-size: 16px; }
.corp-textlink { font-size: 16px; text-decoration: underline; text-underline-offset: 4px; align-self: center; }
.corp-fit { font-size: 16px; line-height: 1.6; padding: 12px 16px; background: #e5ece7; border-radius: 4px; }
.corp-fit b { font-weight: 500; }
.corp-format, .corp-contact { display: grid; gap: 28px; align-items: start; }
.corp-format-aside { display: grid; gap: 24px; min-width: 0; }
.corp-format-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 35%; border-radius: 8px; }
.corp-requirements { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.corp-requirements h3 { margin-bottom: 18px; }
.corp-requirements ul { margin: 0 0 18px; padding-left: 20px; }
.corp-requirements li + li { margin-top: 10px; }
.corp-copy { max-width: 900px; margin-top: 20px; }
.corp-prices { display: grid; gap: 20px; margin-top: 28px; }
.corp-price { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; }
.corp-price h3 { margin-bottom: 8px; }
.corp-price p { margin: 0; }
.corp-price strong { font-size: 34px; font-weight: 500; line-height: 1.1; color: #2b5146; white-space: nowrap; }
.corp-price > .small { grid-column: 1 / -1; }
.corp-price .btn { justify-self: start; grid-column: 1 / -1; margin-top: 14px; }
.corp-main-offer { border: 2px solid #2b5146; background: #fff; }
.corp-price-note { margin: 20px 0; max-width: 900px; }
.corp-program-details { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; }
.corp-program-details summary { cursor: pointer; font-weight: 500; }
.corp-program-grid { display: grid; gap: 24px; margin-top: 24px; }
.corp-program-grid table { width: 100%; border-collapse: collapse; text-align: left; font-size: 16px; }
.corp-program-grid caption { text-align: left; padding-bottom: 14px; font-weight: 500; }
.corp-program-grid th, .corp-program-grid td { padding: 12px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.corp-program-grid tbody th { white-space: nowrap; font-weight: 500; }
.corp-proof-heading { display: flex; flex-wrap: wrap; gap: 22px 40px; align-items: center; justify-content: space-between; }
.corp-rating { display: flex; align-items: center; gap: 16px; }
.corp-rating strong { font-size: 44px; font-weight: 500; line-height: 1; color: #2b5146; }
.corp-rating span { font-size: 16px; line-height: 1.5; }
.corp-reviews { display: grid; gap: 20px; margin: 28px 0 18px; }
.corp-reviews figure { margin: 0; padding: 20px 0; border-top: 1px solid #bbc7bc; }
.corp-reviews blockquote { margin: 0 0 16px; padding: 0; border: 0; color: #263c35; font-family: var(--serif); font-size: 25px; line-height: 1.4; }
.corp-reviews figcaption { font-size: 16px; }
.corporate .corp-faq { margin-top: 24px; }
.corporate .corp-faq details { padding: 18px 0; }
.corp-contact-options { display: grid; gap: 16px; min-width: 0; }
.corp-contact-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.corp-contact-card h3 { margin-bottom: 16px; }
.corp-email { font-size: clamp(18px, 2vw, 23px); overflow-wrap: anywhere; text-decoration: underline; text-underline-offset: 4px; }
.corp-phone { font-size: 24px; margin: 0 0 16px; }
.corp-contact-card .small { margin-top: 14px; }
.corp-copy-status:empty { display: none; }
@media (min-width: 760px) {
  .corp-prices { grid-template-columns: 1fr 1fr; }
  .corp-reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
}
@media (min-width: 1000px) {
  .corp-hero { grid-template-columns: 1.2fr 0.9fr; gap: 64px; }
  .corp-format, .corp-contact { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .corp-program-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}
@media (max-width: 420px) {
  .corporate .site-header { padding-top: 10px; padding-bottom: 10px; }
  .corporate section { padding-top: 36px; padding-bottom: 36px; }
  .corp-requirements, .corp-price, .corp-contact-card { padding: 20px; }
  .corp-price strong { font-size: 30px; }
  .corp-program-grid table { font-size: 15px; }
}

.corp-supplies { margin: 0; padding-left: 22px; }
.corp-supplies li + li { margin-top: 6px; }

.analytics-settings { background: none; border: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.analytics-consent[hidden] { display: none; }
.analytics-consent { position: fixed; z-index: 100; bottom: 16px; left: 16px; right: 16px; margin: auto; max-width: 960px; padding: 20px 24px; border: 1px solid #82948a; border-radius: 8px; background: #f8f6f0; color: #263c35; box-shadow: 0 4px 24px #0003; font: 16px/1.5 var(--sans); }
.analytics-consent p { margin: 0 0 14px; }
.analytics-consent a { color: #263c35; text-decoration: underline; }
.analytics-consent > div { display: flex; flex-wrap: wrap; gap: 12px; }
.analytics-consent button { padding: 10px 20px; font: inherit; cursor: pointer; border: 1px solid #2b5146; border-radius: 5px; color: #263c35; background: #fff; }
.analytics-consent button:first-child { color: #fff; background: #2b5146; }
@media (max-width: 480px) { .analytics-consent { bottom: 8px; left: 8px; right: 8px; padding: 16px; max-height: 75vh; overflow: auto; font-size: 14px; } }
