/* ============================================================
   ЛОФТ 4:36 — тема «Navy & Gold Editorial»
   Основано на UI UX Pro Max (v2.15):
   product Hotel/Hospitality → Minimalism & Swiss + warm editorial;
   palette navy + gold; типографика Playfair Display + system sans.
   Подключён после style.css и site.css.
   ============================================================ */

/* Playfair Display — только display-уровень. Self-hosted, кириллица + латиница. */
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/playfair-cyrillic-400.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/playfair-cyrillic-600.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Playfair Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/playfair-cyrillic-400-italic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/playfair-latin-400.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: "Playfair Display";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/playfair-latin-600.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: "Playfair Display";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/playfair-latin-400-italic.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 {
  /* Navy + gold: Hotel/Hospitality profile */
  --bg: #F7F5F0;
  --bg-alt: #EFEAE1;
  --surface: #FFFFFF;
  --ink: #0F1B2D;
  --ink-soft: #243247;
  --muted: #5A6575;
  --line: #DCD4C6;
  --line-soft: #EAE4D9;

  --accent: #A87C3F;
  --accent-hover: #8F6630;
  --accent-deep: #6F4E24;
  --accent-soft: rgba(168, 124, 63, 0.13);
  --accent-ink: #6F4E24;

  --dark: #0B1526;
  --wa: #1F6B57;
  --wa-hover: #175446;

  --serif: "Playfair Display", "Iowan Old Style", Palatino, "Book Antiqua", Georgia, serif;

  --radius: 10px;
  --radius-sm: 4px;
  --shadow: 0 1px 0 rgba(15, 27, 45, 0.03), 0 7px 20px rgba(15, 27, 45, 0.035);
  --shadow-md: 0 12px 32px rgba(15, 27, 45, 0.07);
  --shadow-lg: 0 22px 54px rgba(15, 27, 45, 0.1);
}

body {
  background: var(--bg);
  color: var(--ink);
}

/* ---------- Editorial typography ---------- */
h1,
h2,
.article-header h1,
.privacy-page h1,
.blog-header h1 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
}

h1 strong {
  font-weight: 600;
}

h1 em,
h2 em {
  font-style: italic;
}

h2 {
  line-height: 1.15;
}

#hero h1 {
  font-size: clamp(2.9rem, 7.4vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

@media (max-width: 600px) {
  #hero h1 {
    font-size: clamp(2.5rem, 11.5vw, 3.4rem);
    line-height: 1.04;
  }
}

/* ---------- Hero: navy scrim, gold CTA ---------- */
#hero {
  background: var(--dark);
}

.hero-bg {
  background: var(--dark);
}

#nav:not(.scrolled) {
  background: linear-gradient(180deg, rgba(11, 21, 38, 0.7) 0%, rgba(11, 21, 38, 0) 100%);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 21, 38, 0.68) 0%, rgba(11, 21, 38, 0.3) 55%, rgba(11, 21, 38, 0.06) 100%),
    linear-gradient(to bottom,
      rgba(11, 21, 38, 0.55) 0%,
      rgba(11, 21, 38, 0.2) 30%,
      rgba(11, 21, 38, 0.36) 58%,
      rgba(11, 21, 38, 0.88) 100%);
}

.btn-primary {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 10px 28px rgba(168, 124, 63, 0.24);
}

.btn-primary:hover {
  background: #BE9456;
  box-shadow: 0 16px 36px rgba(168, 124, 63, 0.32);
}

.nav-cta {
  color: var(--dark);
}

/* ---------- Sharper Swiss geometry ---------- */
.btn-primary,
.nav-cta,
.quick-contact-bar .quick-contact-btn,
.pricing-card-cta,
.product-btn,
.btn-wa,
.btn-call,
.article-cta-wa,
.booking-cta-btn,
.hero-actions .btn-primary {
  border-radius: var(--radius-sm);
}

.pricing-badge,
.hero__price-note,
.price-note,
.hero-price .price-note {
  border-radius: 2px;
}

.pricing-card,
.audience-card,
.privacy-item,
.space-cell,
.booking-cta,
.booking-note,
.blog-card,
.product-card,
.article-cta,
.location-photo-wrap,
.room-photo,
.gallery-item,
.article-hero {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pricing-card,
.audience-card,
.space-cell,
.privacy-item,
.blog-card {
  border-color: var(--line);
}

.pricing-card--featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.booking-cta {
  box-shadow: var(--shadow-md);
}

/* ---------- Section rhythm and gold labels ---------- */
.section-label,
.pricing-label,
.audience-tag {
  color: var(--accent-ink);
}

.booking-section .section-label {
  color: #D8B67C;
}

.footer-logo,
.footer-tagline,
.footer-contacts a {
  color: var(--ink);
}

/* ---------- Slight editorial accent on cards ---------- */
.pricing-value,
.stat-item .num,
.big-num,
.hero-price strong {
  font-family: var(--serif);
}

.blog-card h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* ---------- Active/current states ---------- */
.nav-links a:hover,
.nav-contact a:hover {
  border-bottom-color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .btn-primary:hover,
  .pricing-card:hover,
  .audience-card:hover {
    transform: none;
  }
}

/* ---------- Navigation: separator only when links exist ---------- */
@media (min-width: 961px) {
  .nav-contact {
    padding-left: 0;
    border-left: 0;
  }

  .nav-links + .nav-contact {
    padding-left: 1rem;
    border-left: 1px solid rgba(11, 21, 38, 0.22);
  }

  #nav:not(.scrolled) .nav-links + .nav-contact {
    border-left-color: rgba(255, 255, 255, 0.24);
  }

  #nav.scrolled .nav-links + .nav-contact {
    border-left-color: var(--line);
  }
}

/* ---------- Playfair weights that actually exist in the subset ---------- */
.stat-item .num,
.big-num {
  font-weight: 400;
}

/* ---------- Legal heading: calmer scale ---------- */
.privacy-page h1 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
}

/* Числовые маркеры — текстовый, а не декоративный контраст */
.privacy-marker,
.comfort-zone-num {
  color: var(--accent-ink);
}

/* Кириллическое длинное слово в заголовке политики не должно расширять viewport */
.privacy-page h1 {
  hyphens: auto;
  overflow-wrap: break-word;
}

@media (max-width: 340px) {
  .privacy-page h1 {
    font-size: 1.7rem;
  }
}

/* ---------- Клуб 4:36: тизер на главной и кросс-ссылка ---------- */
.club-teaser__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 16px;
  align-items: stretch;
}

.club-teaser__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 20px;
  background: var(--dark);
  color: #fff;
}

.club-teaser__main .section-label {
  margin-bottom: 12px;
  color: #D8B67C;
}

.club-teaser__main h2 {
  max-width: 15ch;
  margin-bottom: 12px;
  color: #fff;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.08;
}

.club-teaser__main h2 em {
  color: #D8B67C;
  font-style: italic;
}

.club-teaser__main p {
  max-width: 52ch;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.6;
}

.club-teaser__main .btn-primary {
  margin-top: auto;
  border-radius: var(--radius-sm);
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: none;
}

.club-teaser__stats {
  display: grid;
  align-content: stretch;
  padding: 8px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.club-teaser__stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}

.club-teaser__stat:last-child {
  border-bottom: 0;
}

.club-teaser__stat strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.club-teaser__stat span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: right;
}

.club-crosslink {
  margin-top: 18px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.club-crosslink a {
  color: var(--accent-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 800px) {
  .club-teaser__grid {
    grid-template-columns: 1fr;
  }

  .club-teaser__stats {
    grid-template-columns: 1fr 1fr 1fr;
    padding: 4px 18px;
  }

  .club-teaser__stat {
    display: block;
    padding: 14px 0;
    border-bottom: 0;
    border-right: 1px solid var(--line-soft);
    text-align: center;
  }

  .club-teaser__stat:last-child {
    border-right: 0;
  }

  .club-teaser__stat strong,
  .club-teaser__stat span {
    display: block;
    text-align: center;
  }

  .club-teaser__stat span {
    margin-top: 4px;
  }
}

@media (max-width: 420px) {
  .club-teaser__stats {
    grid-template-columns: 1fr;
  }

  .club-teaser__stat {
    display: flex;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .club-teaser__stat:last-child {
    border-bottom: 0;
  }

  .club-teaser__stat strong,
  .club-teaser__stat span {
    display: inline;
    text-align: left;
  }
}
