/* Onest + Golos Text, self-host OFL from Google Fonts / gstatic */

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/onest-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/onest-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/onest-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: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/golos-text-cyrillic-ext.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/golos-text-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/golos-text-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Golos Text";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("../fonts/golos-text-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 {
  --cream: #f4efe6;
  --cream-2: #ebe3d4;
  --stone: #d8cbb8;
  --terracotta: #a63b32;
  --terracotta-deep: #7e2c26;
  --terracotta-soft: #c45c52;
  --ink: #141311;
  --charcoal: #2a2623;
  --muted: #6d675f;
  --line: rgba(42, 38, 35, 0.12);
  --sana-blue: #0e5aa7;
  --font-display: "Onest", system-ui, sans-serif;
  --font-body: "Golos Text", system-ui, sans-serif;
  --pad: clamp(1.2rem, 3.8vw, 2.75rem);
  --max: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -0.011em;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }

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

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip:focus { left: 0.6rem; top: 0.6rem; }

.wrap {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  line-height: 1;
}
.kicker::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  margin: 0;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2.05rem, 3.8vw, 3.35rem);
  line-height: 1.08;
  font-weight: 500;
}
h3 {
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.lead {
  color: var(--muted);
  max-width: 38rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 0.95rem var(--pad);
  color: #f7f2ea;
  transition: background 0.3s var(--ease), color 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.header.is-solid,
.header.is-open {
  color: var(--ink);
  background: var(--cream);
  border-bottom-color: var(--line);
}
.header:not(.is-solid):not(.is-open) .nav-toggle .burger,
.header:not(.is-solid):not(.is-open) .nav-toggle .burger::before,
.header:not(.is-solid):not(.is-open) .nav-toggle .burger::after {
  background: #f7f2ea;
}
.header-inner {
  width: min(var(--max), 100%);
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.logo img { height: 36px; width: auto; }
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav a {
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.nav a:hover { color: var(--terracotta); }
.phone-link {
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  background: var(--terracotta);
  color: #fff;
  padding: 0.9rem 1.4rem;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { background: var(--terracotta-deep); }
.btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid rgba(247, 242, 234, 0.55);
}
.btn-ghost:hover {
  background: #f7f2ea;
  color: var(--ink);
  border-color: #f7f2ea;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav-toggle .burger,
.nav-toggle .burger::before,
.nav-toggle .burger::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.nav-toggle .burger::before,
.nav-toggle .burger::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle .burger::before { top: -7px; }
.nav-toggle .burger::after { top: 7px; }

/* Hero */
.hero {
  position: relative;
  min-height: 100dvh;
  color: #f7f2ea;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 72%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 12, 10, 0.58) 0%, rgba(14, 12, 10, 0.14) 48%, rgba(14, 12, 10, 0.04) 100%),
    linear-gradient(180deg, rgba(14, 12, 10, 0.22) 0%, rgba(14, 12, 10, 0.02) 38%, rgba(14, 12, 10, 0.62) 100%);
}
.hero-copy {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin: 0 0 4.75rem;
  margin-left: max(var(--pad), calc((100% - var(--max)) / 2));
  padding-left: clamp(1rem, 2vw, 1.5rem);
  border-left: 3px solid var(--terracotta);
}
.hero-copy .kicker { color: #f0c9c4; }
.hero h1 {
  display: grid;
  margin: 0.85rem 0 1rem;
  font-size: clamp(2.85rem, 10.8vw, 7.15rem);
  font-weight: 500;
  line-height: 0.86;
  letter-spacing: -0.045em;
  text-wrap: unset;
}
.hero h1 span {
  display: block;
  white-space: nowrap;
}
.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  line-height: 1.5;
  max-width: 28.5rem;
  margin: 0;
  color: rgba(247, 242, 234, 0.88);
  letter-spacing: -0.01em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.85rem;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.25rem;
  margin-top: 2.4rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(247, 242, 234, 0.18);
  max-width: 36rem;
}
.hero-meta b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.hero-meta span {
  color: rgba(247, 242, 234, 0.68);
  font-size: 0.8125rem;
  letter-spacing: 0;
}

/* Sections */
.section { padding: clamp(4.75rem, 9vw, 8.25rem) 0; }
.section-head { margin-bottom: 2.75rem; max-width: 38rem; }
.section-head h2 { margin: 0.55rem 0 0.9rem; }

.facts {
  background: var(--ink);
  color: var(--cream);
  padding: 1.85rem 0;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem 1.5rem;
}
.facts-grid b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.1vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.facts-grid span {
  display: block;
  margin-top: 0.28rem;
  color: var(--stone);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.25rem);
  align-items: center;
}
.about-grid p { color: var(--charcoal); }
.quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.95rem);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: -0.03em;
  margin: 1.15rem 0 1.4rem;
  color: var(--ink);
  max-width: 28rem;
}
.frame { position: relative; }
.frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.frame::after {
  content: "";
  position: absolute;
  inset: 1.15rem -1.15rem -1.15rem 1.15rem;
  border: 1px solid var(--terracotta);
  z-index: -1;
}

.utp {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.utp article {
  background: transparent;
  padding: 1.75rem 1.5rem 1.85rem 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  min-height: 0;
}
.utp article:nth-child(3n-1) { padding-left: 1.5rem; padding-right: 1.5rem; }
.utp article:nth-child(3n) { padding-right: 0; padding-left: 1.5rem; }
.utp h3 { font-size: 1.15rem; margin-bottom: 0.55rem; }
.utp p { margin: 0; color: var(--muted); font-size: 1rem; }

.place-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}
.place-card {
  background: var(--charcoal);
  color: var(--cream);
  padding: 1.75rem 1.7rem;
  margin-top: 1.75rem;
}
.place-card p:first-child {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f0c9c4;
  margin-top: 0;
}
.place-card a { color: #f0c9c4; }
.place-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}
.plan {
  background: #fff;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  min-height: 240px;
}
.plan img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #faf8f4;
  padding: 0.9rem;
}
.plan-body {
  padding: 1.4rem 1.35rem 1.45rem;
  display: flex;
  flex-direction: column;
}
.plan-body h3 { font-size: 1.35rem; }
.plan-body p { color: var(--muted); margin: 0.45rem 0 1.15rem; font-size: 1rem; }
.plan-body .btn { margin-top: auto; align-self: start; }

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 0.75rem;
}
.gallery a {
  overflow: hidden;
  background: var(--charcoal);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.gallery a:hover img { transform: scale(1.03); }
.gallery a:first-child { grid-row: 1 / 3; }

.timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}
.timeline figure { margin: 0; }
.timeline img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.timeline figcaption {
  font-size: 0.8125rem;
  color: var(--muted);
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
}

.lead-block {
  background: var(--ink);
  color: var(--cream);
}
.lead-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.lead-block .kicker { color: #f0c9c4; }
.lead-block .lead { color: var(--stone); }
.form { display: grid; gap: 0.95rem; }
.form label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.form input,
.form textarea {
  width: 100%;
  border: 1px solid rgba(244, 239, 230, 0.2);
  background: rgba(244, 239, 230, 0.05);
  color: var(--cream);
  padding: 0.95rem 1rem;
  border-radius: 2px;
}
.form input:focus,
.form textarea:focus {
  outline: 2px solid var(--terracotta);
  border-color: transparent;
}
.hp { position: absolute; left: -9999px; }
.form-note { font-size: 0.8125rem; color: var(--stone); margin: 0; line-height: 1.45; }
.form-note a { color: #f0c9c4; }
.form-status { min-height: 1.4rem; font-weight: 600; }
.form-status.is-ok { color: #c8e6c9; }
.form-status.is-err { color: #ffc9c4; }

.footer {
  background: #0e0d0c;
  color: var(--cream-2);
  padding: 3.25rem 0 1.75rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.25rem;
}
.footer a { color: #f0c9c4; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer .logo img { height: 40px; filter: brightness(1.15); }
.fineprint {
  border-top: 1px solid rgba(244, 239, 230, 0.1);
  padding-top: 1.15rem;
  color: #8a837a;
  font-size: 0.75rem;
  line-height: 1.5;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 9, 8, 0.94);
  display: none;
  place-items: center;
  z-index: 80;
  padding: 1.5rem;
}
.lightbox.is-on { display: grid; }
.lightbox img { max-width: min(1100px, 100%); max-height: 90dvh; object-fit: contain; }
.lightbox button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  color: #fff;
  border: 0;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 980px) {
  .facts-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid,
  .place-grid,
  .lead-grid,
  .footer-grid { grid-template-columns: 1fr; }
  .utp { grid-template-columns: 1fr; }
  .utp article,
  .utp article:nth-child(3n-1),
  .utp article:nth-child(3n) {
    padding-left: 0;
    padding-right: 0;
  }
  .plans { grid-template-columns: 1fr; }
  .plan { grid-template-columns: 1fr; }
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 210px 210px 210px;
  }
  .gallery a:first-child { grid-column: 1 / 3; grid-row: auto; }
  .timeline { grid-template-columns: repeat(3, 1fr); }
  .nav-toggle { display: grid; place-items: center; margin-left: auto; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    padding: 0.6rem 1.2rem 1.2rem;
    border-bottom: 1px solid var(--line);
  }
  .header.is-open .nav { display: flex; }
  .nav a,
  .nav .btn { padding: 0.75rem 0; }
  .hero h1 {
    font-size: clamp(2.7rem, 12.5vw, 4.6rem);
    letter-spacing: -0.04em;
  }
}

@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .hero-media img { object-position: 62% 70%; }
  .hero-copy {
    margin-bottom: 3.5rem;
    padding-left: 0.9rem;
  }
  .hero h1 {
    font-size: clamp(2.55rem, 13vw, 3.4rem);
    line-height: 0.9;
    letter-spacing: -0.035em;
    margin: 0.7rem 0 0.85rem;
  }
  .hero h1 span { white-space: nowrap; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .header .btn { display: none; }
  h2 { font-size: clamp(1.85rem, 8.5vw, 2.4rem); line-height: 1.12; }
}

@media (max-width: 380px) {
  .hero h1 {
    font-size: 2.35rem;
    letter-spacing: -0.03em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .gallery img { transition: none; }
}
