:root {
  --bg: #f7f4ee;
  --bg-soft: #efeae0;
  --surface: #ffffff;
  --ink: #17140f;
  --ink-2: #57534a;
  --ink-3: #8a857a;
  --line: rgba(23, 20, 15, 0.12);
  --line-soft: rgba(23, 20, 15, 0.07);
  --accent: #175a4c;
  --accent-2: #0f3f35;
  --accent-soft: #e3efe9;
  --amber: #c9892b;
  --amber-soft: #f6e9d2;
  --danger: #b3452e;
  --dark: #14120e;
  --dark-2: #1e1b15;
  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;
  --radius-xl: 40px;
  --shadow-s: 0 6px 24px rgba(23, 20, 15, 0.06);
  --shadow-m: 0 18px 60px rgba(23, 20, 15, 0.1);
  --shadow-l: 0 30px 90px rgba(23, 20, 15, 0.16);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Courier New", monospace;
  --container: 1240px;
  --header-h: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

::selection {
  background: var(--accent);
  color: #fff;
}

img {
  max-width: 100%;
  display: block;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container-x {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.display-1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.display-2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.display-3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  line-height: 1.7;
  color: var(--ink-2);
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
}

.eyebrow--light {
  color: #d9c9a3;
}
.eyebrow--light::before {
  background: #d9c9a3;
}

.serif-i {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}

.mono {
  font-family: var(--font-mono);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s,
    background 0.35s,
    color 0.35s,
    border-color 0.35s;
  white-space: nowrap;
}

.btn i {
  font-size: 0.85em;
  transition: transform 0.35s;
}

.btn:hover i {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--ink);
  color: #f5f1e8;
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-m);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-2);
  transform: translateY(-3px);
  box-shadow: var(--shadow-m);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
}

.btn-light {
  background: #f5f1e8;
  color: var(--ink);
}

.btn-light:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-m);
}

.btn-sm {
  padding: 11px 20px;
  font-size: 0.8rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition:
    gap 0.3s,
    border-color 0.3s;
}

.link-arrow:hover {
  gap: 14px;
  border-color: var(--accent);
}

.topbar {
  background: var(--dark);
  color: #cfc9ba;
  font-size: 0.78rem;
}

.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 38px;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.topbar__item i {
  color: var(--amber);
  font-size: 0.72rem;
}

.topbar__group {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(247, 244, 238, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-soft);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand img {
  height: 46px;
  width: auto;
}

.brand__name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand__name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: inline-flex;
  padding: 10px 14px;
  font-size: 0.86rem;
  font-weight: 550;
  color: var(--ink-2);
  border-radius: 999px;
  transition:
    color 0.25s,
    background 0.25s;
}

.main-nav a:hover {
  color: var(--ink);
  background: rgba(23, 20, 15, 0.06);
}

.header-cta {
  flex-shrink: 0;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-size: 1.1rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}

.burger:hover {
  background: var(--bg-soft);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: var(--bg);
  transform: translateY(-100%);
  transition: transform 0.55s cubic-bezier(0.76, 0, 0.24, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateY(0);
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-menu__nav {
  padding: 24px 20px;
  flex: 1;
}

.mobile-menu__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu__nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  border-bottom: 1px solid var(--line-soft);
  transition:
    color 0.25s,
    padding-left 0.25s;
}

.mobile-menu__nav a:hover {
  color: var(--accent);
  padding-left: 12px;
}

.mobile-menu__nav a i {
  font-size: 0.8rem;
  color: var(--ink-3);
}

.mobile-menu__contacts {
  padding: 20px;
  background: var(--dark);
  color: #cfc9ba;
  font-size: 0.88rem;
  display: grid;
  gap: 10px;
}

.mobile-menu__contacts i {
  color: var(--amber);
  margin-right: 8px;
}

.site-footer {
  background: var(--dark);
  color: #b7b0a0;
  font-size: 0.9rem;
  margin-top: auto;
}

.site-footer a {
  transition: color 0.25s;
}
.site-footer a:hover {
  color: #fff;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 48px;
  padding: 72px 0 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  color: #8f8878;
  max-width: 34ch;
  font-size: 0.88rem;
}

.footer-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #6f6a5c;
  margin-bottom: 20px;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer-menu--cols {
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
}

.footer-contacts {
  display: grid;
  gap: 14px;
}

.footer-contacts__row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.footer-contacts__row i {
  color: var(--amber);
  margin-top: 4px;
  font-size: 0.85rem;
}
.footer-contacts__row a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #cfc9ba;
  font-size: 0.95rem;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s,
    transform 0.3s;
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-4px);
}

.footer-bottom {
  padding: 26px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.76rem;
  color: #6f6a5c;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.footer-reg {
  font-size: 0.74rem;
  color: #5d5849;
  line-height: 1.7;
}

.section {
  padding: clamp(64px, 9vw, 130px) 0;
  position: relative;
}

.section--tight {
  padding: clamp(44px, 6vw, 80px) 0;
}

.section--dark {
  background: var(--dark);
  color: #e8e2d4;
}
.section--dark .lead {
  color: #a49d8d;
}
.section--dark .eyebrow {
  color: #d9c9a3;
}
.section--dark .eyebrow::before {
  background: #d9c9a3;
}

.section--soft {
  background: var(--bg-soft);
}

.bg-media {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.bg-media .lead {
  color: rgba(255, 255, 255, 0.82);
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .eyebrow {
  justify-content: center;
}
.section-head--center .eyebrow::before {
  display: none;
}

.section-head .display-2 {
  margin: 16px 0 18px;
}
.section-head .lead {
  margin: 0;
}

.split-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(36px, 5vw, 64px);
}

.split-head .display-2 {
  margin: 16px 0 0;
  max-width: 20ch;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-m);
  padding: 30px;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s,
    border-color 0.4s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-m);
  border-color: var(--line);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.icon-chip {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.15rem;
  margin-bottom: 18px;
}

.icon-chip--amber {
  background: var(--amber-soft);
  color: var(--amber);
}
.icon-chip--dark {
  background: rgba(255, 255, 255, 0.1);
  color: #e8c98a;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--surface);
  transition:
    background 0.25s,
    color 0.25s,
    border-color 0.25s,
    transform 0.25s;
}

.chip:hover {
  transform: translateY(-2px);
}

.chip--active,
.chip:hover {
  background: var(--ink);
  color: #f5f1e8;
  border-color: var(--ink);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge--accent {
  background: var(--accent-soft);
  color: var(--accent);
}
.badge--amber {
  background: var(--amber-soft);
  color: #8a5a10;
}
.badge--dark {
  background: var(--ink);
  color: #f5f1e8;
}
.badge--line {
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.media-frame {
  border-radius: var(--radius-l);
  overflow: hidden;
  position: relative;
  background: var(--bg-soft);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--arch {
  border-radius: 999px 999px var(--radius-l) var(--radius-l);
}

.media-tag {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(20, 18, 14, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
}

.stat {
  text-align: left;
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.stat__num span {
  color: var(--accent);
}

.section--dark .stat__num {
  color: #f2ecdd;
}
.section--dark .stat__num span {
  color: #e8c98a;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--ink-3);
  margin-top: 10px;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.25s;
}

.faq-item__q:hover {
  color: var(--accent);
}

.faq-item__q .faq-ico {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition:
    transform 0.4s,
    background 0.4s,
    color 0.4s;
}

.faq-item.is-open .faq-ico {
  transform: rotate(45deg);
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-item__a-in {
  padding: 0 4px 26px;
  color: var(--ink-2);
  max-width: 68ch;
}

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

.field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(23, 90, 76, 0.12);
}

.field.is-error input,
.field.is-error select,
.field.is-error textarea {
  border-color: var(--danger);
}

.field__err {
  display: none;
  font-size: 0.78rem;
  color: var(--danger);
}
.field.is-error .field__err {
  display: block;
}

.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--ink-2);
  cursor: pointer;
}

.check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.check a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-loader {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.is-loading .form-loader {
  display: inline-block;
}
.is-loading .btn-label {
  opacity: 0.7;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 140%);
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #f5f1e8;
  padding: 16px 24px;
  border-radius: 14px;
  box-shadow: var(--shadow-l);
  font-size: 0.92rem;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  max-width: calc(100vw - 40px);
}

.toast.is-visible {
  transform: translate(-50%, 0);
}
.toast i {
  color: #7fd1a8;
}
.toast--error i {
  color: #e8927c;
}

.cookie-banner {
  position: fixed;
  bottom: 22px;
  left: 22px;
  z-index: 1500;
  width: min(460px, calc(100vw - 44px));
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  box-shadow: var(--shadow-l);
  padding: 24px;
  display: none;
  animation: cookie-in 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.cookie-banner.is-visible {
  display: block;
}

@keyframes cookie-in {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 10px;
}

.cookie-banner__head i {
  color: var(--amber);
}

.cookie-banner p {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.cookie-banner p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__btns {
  display: flex;
  gap: 10px;
}
.cookie-banner__btns .btn {
  flex: 1;
  padding: 11px 16px;
  font-size: 0.82rem;
}

.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.9s ease,
    visibility 0.9s;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.hero-dots {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.hero-dot {
  width: 38px;
  height: 4px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
}

.hero-dot.is-active {
  background: #fff;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(20, 18, 14, 0.3);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  transition:
    background 0.3s,
    transform 0.3s;
}

.hero-arrow:hover {
  background: var(--accent);
}
.hero-arrow--prev {
  left: 26px;
}
.hero-arrow--next {
  right: 26px;
}

.marquee {
  overflow: hidden;
  position: relative;
}

.marquee__track {
  display: flex;
  gap: 60px;
  width: max-content;
  animation: marquee 32s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.bar {
  height: 6px;
  border-radius: 99px;
  background: var(--line-soft);
  overflow: hidden;
}

.bar__fill {
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), #2b7d68);
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-m);
  border: 1px solid var(--line-soft);
  background: var(--surface);
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.table th {
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 18px 22px;
  background: var(--bg-soft);
  font-weight: 700;
}

.table td {
  padding: 20px 22px;
  border-top: 1px solid var(--line-soft);
  font-size: 0.93rem;
  vertical-align: middle;
}

.table tr:hover td {
  background: rgba(23, 90, 76, 0.04);
}

.price-tag {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  white-space: nowrap;
}

.timeline {
  position: relative;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: var(--line);
}

.timeline__item {
  position: relative;
  padding-bottom: 34px;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

.timeline__year {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.hotspot {
  position: absolute;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font-size: 0.8rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-m);
  transition:
    transform 0.3s,
    background 0.3s;
}

.hotspot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  animation: pulse 2s ease-out infinite;
}

.hotspot:hover {
  transform: scale(1.15);
  background: var(--accent);
  color: #fff;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.compare {
  position: relative;
  border-radius: var(--radius-l);
  overflow: hidden;
  user-select: none;
  touch-action: none;
}

.compare__layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.compare__layer--right {
  clip-path: inset(0 0 0 50%);
}

.compare__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  cursor: ew-resize;
  z-index: 5;
}

.compare__handle::after {
  content: "\f337";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  background: #fff;
  color: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: var(--shadow-m);
}

.compare__tag {
  position: absolute;
  top: 20px;
  padding: 8px 16px;
  border-radius: 99px;
  background: rgba(20, 18, 14, 0.7);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 4;
}

.compare__tag--l {
  left: 20px;
}
.compare__tag--r {
  right: 20px;
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 0.3s;
}

.tab-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.tab-btn.is-active {
  background: var(--ink);
  color: #f5f1e8;
  border-color: var(--ink);
}

.tab-panel {
  display: none;
}
.tab-panel.is-active {
  display: block;
  animation: fade-up 0.5s ease;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.level-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: all 0.3s;
}

.level-pill:hover,
.level-pill.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-4px);
}

.countdown {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.countdown__cell {
  min-width: 104px;
  padding: 22px 16px;
  border-radius: var(--radius-m);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
}

.countdown__num {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.countdown__lab {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8f8878;
  margin-top: 10px;
}

.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gal-item {
  border-radius: var(--radius-m);
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
  cursor: pointer;
  transition:
    transform 0.4s,
    opacity 0.4s;
}

.gal-item:nth-child(5n + 1) {
  grid-row: span 2;
  aspect-ratio: auto;
}

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.gal-item:hover img {
  transform: scale(1.06);
}

.gal-item.is-hidden {
  display: none;
}

.gal-item::after {
  content: attr(data-cat);
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(20, 18, 14, 0.72);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 99px;
  opacity: 0;
  transition: opacity 0.3s;
}

.gal-item:hover::after {
  opacity: 1;
}

.page-hero {
  padding: clamp(70px, 10vw, 130px) 0 clamp(50px, 7vw, 90px);
  position: relative;
  overflow: hidden;
}

.page-hero--media {
  color: #fff;
  padding: clamp(110px, 15vw, 190px) 0 clamp(70px, 9vw, 110px);
}

.page-hero h1 {
  margin: 18px 0 20px;
}

.page-hero .lead {
  max-width: 62ch;
  margin: 0;
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.crumbs a:hover {
  color: var(--accent);
}
.crumbs i {
  font-size: 0.55rem;
}

.page-hero--media .crumbs {
  color: rgba(255, 255, 255, 0.65);
}
.page-hero--media .crumbs a:hover {
  color: #fff;
}

.cta-band {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  padding: clamp(50px, 7vw, 90px) clamp(28px, 5vw, 70px);
  color: #fff;
  background-size: cover;
  background-position: center;
}

.cta-band__in {
  position: relative;
  z-index: 2;
  max-width: 640px;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.14em;
  margin-bottom: 14px;
  display: inline-block;
}

.big-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.big-quote i {
  color: var(--amber);
  margin-right: 12px;
  font-size: 0.7em;
  vertical-align: super;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(15, 13, 10, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1000px, 92vw);
  max-height: 86vh;
  border-radius: var(--radius-m);
  object-fit: contain;
}

.lightbox__close {
  position: absolute;
  top: 26px;
  right: 26px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
}

.deco-ring {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
}

.deco-word {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 15rem);
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px rgba(23, 20, 15, 0.08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

.section--dark .deco-word {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
}

.reveal-line {
  display: block;
  overflow: hidden;
}
.reveal-line > span {
  display: inline-block;
}

.map-frame {
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-m);
}

.map-frame iframe {
  width: 100%;
  height: 460px;
  border: 0;
  display: block;
  filter: grayscale(0.3) contrast(1.05);
}

.prow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.9rem;
}
.prow:last-of-type {
  border-bottom: 0;
}
.prow b {
  font-family: var(--font-display);
  font-size: 1.05rem;
  white-space: nowrap;
}
.prow span {
  color: var(--ink-2);
}

.post-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.post-card .media-frame {
  aspect-ratio: 16/10;
  margin-bottom: 22px;
}
.post-card__meta {
  display: flex;
  gap: 14px;
  font-size: 0.75rem;
  color: var(--ink-3);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.post-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 550;
  line-height: 1.25;
  margin: 0 0 12px;
  transition: color 0.25s;
}
.post-card:hover h3 {
  color: var(--accent);
}
.post-card p {
  font-size: 0.9rem;
  color: var(--ink-2);
  margin: 0 0 18px;
  flex: 1;
}

.article-body {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--ink-2);
}
.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--ink);
  margin: 56px 0 20px;
  letter-spacing: -0.02em;
}
.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  margin: 40px 0 14px;
}
.article-body p {
  margin: 0 0 22px;
}
.article-body ul,
.article-body ol {
  margin: 0 0 24px;
  padding-left: 22px;
  display: grid;
  gap: 10px;
}
.article-body li::marker {
  color: var(--accent);
}
.article-body a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-body a:hover {
  color: var(--accent-2);
}
.article-body blockquote {
  margin: 40px 0;
  padding: 28px 34px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius-m) var(--radius-m) 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink);
}
.article-body img {
  border-radius: var(--radius-l);
  margin: 36px 0;
}

@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
  .header-cta .btn {
    padding: 12px 20px;
    font-size: 0.8rem;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .gal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }
  .topbar__group--left .topbar__item:nth-child(2) {
    display: none;
  }
  .topbar__item {
    font-size: 0.7rem;
  }
  .brand__name {
    font-size: 1rem;
  }
  .brand img {
    height: 38px;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .gal-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .gal-item:nth-child(5n + 1) {
    grid-row: auto;
    aspect-ratio: 1;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 54px 0 36px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-arrow {
    display: none;
  }
  .countdown__cell {
    min-width: calc(50% - 8px);
    flex: 1;
  }
  .compare {
    min-height: 340px;
  }
  .btn {
    padding: 14px 24px;
    width: 100%;
  }
  .btn--inline {
    width: auto;
  }
  .split-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-head {
    margin-bottom: 32px;
  }
  .container-x {
    width: calc(100% - 32px);
  }
  .card {
    padding: 24px;
  }
  .map-frame iframe {
    height: 320px;
  }
  .toast {
    bottom: 16px;
    font-size: 0.84rem;
  }
}

@media (max-width: 480px) {
  .topbar__in {
    justify-content: center;
  }
  .topbar__group--right {
    display: none;
  }
  .hero-dots {
    bottom: 20px;
  }
  .hero-dot {
    width: 26px;
  }
  .countdown {
    gap: 10px;
  }
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.related-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: var(--radius-m);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  transition:
    transform 0.35s,
    box-shadow 0.35s,
    border-color 0.35s;
}
.related-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-m);
  border-color: var(--accent);
}
.related-card .badge {
  align-self: flex-start;
  margin-bottom: 14px;
}
.related-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 8px;
}
.related-card p {
  font-size: 0.88rem;
  color: var(--ink-2);
  margin: 0 0 18px;
  flex-grow: 1;
}
.related-card .link-arrow {
  font-size: 0.8rem;
}

.teacher-mini {
  text-align: center;
}
.teacher-mini img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  display: block;
  border: 3px solid var(--surface);
  box-shadow: var(--shadow-s);
}
.teacher-mini h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 4px;
}
.teacher-mini p {
  font-size: 0.78rem;
  color: var(--ink-3);
  margin: 0;
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.visit-card {
  padding: 30px;
  border-radius: var(--radius-m);
  background: var(--surface);
  border: 1px solid var(--line-soft);
}
.visit-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 14px 0 8px;
}
.visit-card p {
  font-size: 0.88rem;
  color: var(--ink-2);
  margin: 0;
}

.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery-strip .media-frame {
  aspect-ratio: 1;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.social-row .chip {
  padding: 14px 24px;
}

.nl-form {
  max-width: 560px;
  margin: 34px auto 0;
}
.nl-form__row {
  display: flex;
  gap: 12px;
}
.nl-form__row input {
  flex: 1;
  padding: 16px 20px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.nl-form__row input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.nl-form__note {
  font-size: 0.76rem;
  color: var(--ink-3);
  text-align: center;
  margin: 16px 0 0;
}
.nl-form__note a {
  color: var(--accent);
}

@media (max-width: 900px) {
  .related-grid,
  .visit-grid {
    grid-template-columns: 1fr;
  }
  .gallery-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .nl-form__row {
    flex-direction: column;
  }
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

@media (max-width: 640px) {
  .header-cta .btn {
    display: none;
  }
}
