/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors — our palette */
  /* 2026-10-06 owner: olive background from the price list (#6D6F4F).
     Lines, borders, icons and accent text are WHITE (owner: black was hard
     to see); filled buttons are black with white text (--accent-fill).
     «--gold» keeps its old name: it is now the white accent. */
  --bg: #3c412d;
  --bg-card: #474c37;
  --bg-card-hover: #50553f;
  --gold: #ffffff;
  --gold-light: #ffffff;
  --gold-dim: rgba(255, 255, 255, 0.12);
  --accent-fill: #111111;
  --on-accent: #ffffff;
  --text: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.82);
  --text-muted: rgba(255, 255, 255, 0.66);
  --border: rgba(255, 255, 255, 0.16);
  --border-hover: rgba(255, 255, 255, 0.32);

  /* Typography — Oswald display + Inter body */
  --font-display: 'Oswald', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* 8pt spacing grid */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-16: 128px;

  /* Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration: 0.3s;
}

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}

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

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

/* Focus states — keyboard-first */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.text-muted {
  color: var(--text-muted);
  font-size: 0.85em;
}

/* ===== Loader ===== */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Top-left label */
.loader-label {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  opacity: 0;
  transform: translateY(-20px);
  animation: loaderSlideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.1s forwards;
}

/* Center rotating words */
.loader-words {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-word {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 2.5rem;
  color: rgba(250, 250, 250, 0.8);
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.loader-word.visible {
  opacity: 1;
  transform: translateY(0);
}

.loader-word.exit {
  opacity: 0;
  transform: translateY(-20px);
}

/* Bottom progress bar */
.loader-bar-track {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(31, 31, 31, 0.5);
}

.loader-bar-fill {
  height: 100%;
  transform-origin: left;
  transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 100%);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.35);
  transition: transform 0.1s linear;
}

@keyframes loaderSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .loader-label {
    top: var(--space-6);
    left: var(--space-6);
    font-size: 13px;
  }

  .loader-word {
    font-size: 4.5rem;
  }

}

@media (min-width: 1024px) {
  .loader-word {
    font-size: 5.5rem;
  }

}

/* ===== Navigation ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(60, 65, 45, 0.95);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease);
}

#navbar.visible {
  transform: translateY(0);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-3);
  height: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand { display: inline-flex; align-items: center; }
.nav-logo {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: var(--space-5);
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color var(--duration) var(--ease);
  padding: var(--space-1) 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--duration) var(--ease);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px var(--space-3);
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: var(--radius-sm);
  transition: all var(--duration) var(--ease);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-cta:hover {
  background: var(--accent-fill);
  color: var(--on-accent);
}

/* Owner 10-10: the header «Записаться» is a solid white pill — the only
   filled thing in the header, so it reads first without blinking or glowing. */
.nav-cta {
  background: #ffffff;
  color: #111111;
  border-color: #ffffff;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
.nav-cta:hover {
  background: #ffffff;
  color: #111111;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

/* ===== Hero ===== */
#hero {
  position: relative;
}

.hero-scroll-container {
  /* Cascade: legacy vh, then lvh (largest viewport, fixed once laid out),
     then JS-locked --hero-vh in px so in-app browser chrome toggles
     (Instagram, Facebook, TikTok) don't re-evaluate height mid-scroll. */
  height: 200vh;
  height: 200lvh;
  height: calc(var(--hero-vh, 100lvh) * 2);
  position: relative;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100lvh;
  height: var(--hero-vh, 100lvh);
  width: 100%;
  overflow: hidden;
}

#hero-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.0) 25%,
    rgba(0, 0, 0, 0.0) 40%,
    rgba(0, 0, 0, 0.6) 65%,
    rgba(0, 0, 0, 0.92) 100%
  );
}

.hero-content {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: opacity 0.1s linear, transform 0.1s linear;
  width: 100%;
  padding: 0 var(--space-3);
}

/* Intro anchored to the bottom */
.hero-intro {
  opacity: 1;
  bottom: var(--space-10);
}

.hero-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: var(--space-2);
  filter: drop-shadow(0 2px 20px rgba(0, 0, 0, 0.8));
  border: 1px solid rgba(0, 0, 0, 0.3);
}

.hero-intro h1 {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: 14px;
  line-height: 1;
  color: var(--text);
  text-transform: uppercase;
  text-shadow: 0 0 60px rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 10px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: var(--space-1);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  margin-top: var(--space-3);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Thin gold divider between subtitle and tagline */
.hero-tagline::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto var(--space-2);
  opacity: 0.5;
}

/* Result also anchored to the bottom */
.hero-result {
  opacity: 0;
  bottom: var(--space-10);
}

.hero-result-text {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: var(--space-4);
}

.hero-cta-btn {
  pointer-events: auto;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: var(--space-2) var(--space-6);
  background: var(--accent-fill);
  color: var(--on-accent);
  border-radius: 0;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  transition: all var(--duration) var(--ease);
}

.hero-cta-btn:hover {
  background: var(--text);
  color: #111111;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.scroll-indicator {
  position: absolute;
  bottom: var(--space-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 1;
  transition: opacity var(--duration) var(--ease);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ===== Sections ===== */
.section {
  padding: var(--space-16) 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 6px;
  line-height: 1.1;
  margin-bottom: var(--space-2);
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: var(--space-3) auto 0;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  margin-bottom: var(--space-8);
}

/* Reveal animations */
.section {
  opacity: 0;
  transform: translateY(var(--space-6));
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.section.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-item {
  opacity: 0;
  transform: translateY(var(--space-4));
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== About / Reasons ===== */
.reasons-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-8);
}

.reason-card {
  flex: 0 1 calc(25% - var(--space-2));
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-3);
  text-align: center;
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.reason-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}

.reason-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}

.reason-card:hover::before {
  transform: scaleX(1);
}

.reason-icon {
  color: var(--gold);
  margin-bottom: var(--space-2);
}

.reason-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--space-1);
}

.reason-card p {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Stats / Trust ===== */
.stats-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 720px;
  margin: var(--space-8) auto 0;
}

.stat-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: all var(--duration) var(--ease);
}

.stat-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.stat-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.stat-text h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 4px;
}

.stat-text p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 720px;
  margin: var(--space-8) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--duration) var(--ease);
}

.faq-item[open] {
  border-color: var(--gold);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  list-style: none;
  min-height: 56px;
  transition: color var(--duration) var(--ease);
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  margin-left: var(--space-2);
  transition: transform var(--duration) var(--ease);
}

.faq-item[open] .faq-question::after {
  content: '\2212';
  transform: rotate(180deg);
}

.faq-item[open] .faq-question {
  color: var(--gold);
}

.faq-question:hover {
  color: var(--gold);
}

.faq-answer {
  padding: 0 var(--space-3) var(--space-3);
}

.faq-answer p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: var(--space-2);
}

/* ===== Pricing ===== */
.pricing-table-wrap {
  margin-top: var(--space-8);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
}

.pricing-table thead {
  background: var(--gold);
}

.pricing-table th {
  font-family: var(--font-display);
  padding: var(--space-2) var(--space-3);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--on-accent);
  text-align: left;
  white-space: nowrap;
}

.pricing-table th:first-child {
  border-radius: 7px 0 0 0;
}

.pricing-table th:last-child {
  border-radius: 0 7px 0 0;
}

.pricing-table td {
  padding: var(--space-2) var(--space-3);
  font-size: 0.9rem;
  font-weight: 300;
  border-bottom: 1px solid var(--border);
}

.pricing-table tbody tr {
  background: var(--bg-card);
  transition: background var(--duration) var(--ease);
}

.pricing-table tbody tr:nth-child(even) {
  background: var(--bg);
}

.pricing-table tbody tr:hover {
  background: var(--bg-card-hover);
}

.pricing-table tbody tr:last-child td {
  border-bottom: none;
}

.pricing-table td:not(:first-child) {
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  white-space: nowrap;
  color: var(--text);
}

.pricing-sub-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: var(--space-6);
  margin-bottom: var(--space-2);
}

.pricing-gift {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  padding: var(--space-3);
  background: var(--gold-dim);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
}

.gift-icon {
  flex-shrink: 0;
  color: var(--gold);
}

.gift-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.gift-desc {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-secondary);
}

.gift-note {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===== Guests Carousel ===== */
.guests-carousel {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-8) 0 var(--space-4);
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--bg-card);
}

.guests-carousel::-webkit-scrollbar {
  height: 6px;
}

.guests-carousel::-webkit-scrollbar-track {
  background: var(--bg-card);
  border-radius: 3px;
}

.guests-carousel::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

.guest-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  text-align: center;
}

.guest-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all 0.5s var(--ease);
}

.guest-card:hover img {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.guest-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-top: var(--space-1);
  color: var(--text-secondary);
}

/* ===== Gallery (legacy) ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
  margin-top: var(--space-8);
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--border);
  transition: all 0.5s var(--ease);
  position: relative;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 40%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.gallery-item:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.2);
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* ===== Locations ===== */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2);
}

.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-3);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
  transition: all var(--duration) var(--ease);
  position: relative;
  overflow: hidden;
}

.location-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}

.location-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-3px);
}

.location-card:hover::before {
  transform: scaleX(1);
}

.location-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.location-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}


.booking-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 12px var(--space-3);
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 0;
  transition: all var(--duration) var(--ease);
  min-height: 44px;
}

.booking-btn:hover {
  background: var(--accent-fill);
  color: var(--on-accent);
  transform: translateY(-1px);
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  padding: 12px var(--space-3);
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 0;
  transition: all var(--duration) var(--ease);
  min-height: 44px;
}

.whatsapp-btn:hover {
  background: var(--accent-fill);
  color: var(--on-accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* ===== Footer ===== */
#footer {
  padding: var(--space-8) 0;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  text-align: center;
}

.footer-logo-full {
  width: min(260px, 70vw);
  height: auto;
}
.footer-links { display: flex; justify-content: center; gap: var(--space-3); margin-top: var(--space-2); }
.footer-links a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; font-size: 0.95rem; }

.footer-tagline {
  font-family: var(--font-display);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 300;
  margin-top: var(--space-1);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .reason-card {
    flex: 0 1 calc(50% - var(--space-2));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-10) 0;
  }

  .section-title {
    font-size: 2rem;
    letter-spacing: 4px;
  }

  .hero-logo {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-2);
  }

  .hero-intro {
    bottom: var(--space-10);
  }

  .hero-intro h1 {
    font-size: 3.5rem;
    letter-spacing: 10px;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 6px;
    margin-top: 4px;
  }

  .hero-tagline {
    font-size: 0.95rem;
    margin-top: var(--space-2);
    color: rgba(255, 255, 255, 0.7);
  }

  .hero-result {
    bottom: var(--space-6);
  }

  .hero-result-text {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }

  .hero-cta-btn {
    padding: var(--space-2) var(--space-5);
    font-size: 12px;
    min-height: 48px;
  }

  .scroll-indicator {
    bottom: var(--space-2);
  }

  .nav-links {
    display: none;
  }

  .reasons-grid {
    gap: 12px;
  }

  .reason-card {
    flex: 1 1 100%;
    min-width: 0;
    padding: var(--space-3) var(--space-2);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .locations-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }


  /* Pricing: table → stacked cards */
  .pricing-table-wrap {
    border: none;
    border-radius: 0;
    overflow: visible;
  }

  .pricing-table thead {
    display: none;
  }

  .pricing-table,
  .pricing-table tbody {
    display: block;
  }

  .pricing-table tbody tr {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-2) var(--space-2) var(--space-1);
    margin-bottom: 12px;
  }

  .pricing-table tbody tr:nth-child(even) {
    background: var(--bg-card);
  }

  .pricing-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .pricing-table td {
    display: block;
    border-bottom: none;
    padding: 0 var(--space-2);
    text-align: left !important;
  }

  /* First td = service name as card heading */
  .pricing-table td:first-child {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding-bottom: var(--space-1);
    margin-bottom: var(--space-1);
    border-bottom: 1px solid var(--border);
  }

  /* Price cells: inline label + value */
  .pricing-table td:not(:first-child) {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 6px;
    padding-bottom: 6px;
    font-size: 0.9rem;
  }

  .pricing-table td:not(:first-child)::before {
    content: attr(data-label);
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  /* Highlight the "Старший" row */
  .pricing-table td:last-child {
    color: var(--gold);
    font-weight: 500;
  }

  .pricing-gift {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== Online booking (Altegio branch links, right after the hero) ===== */
.quick-book-offer {
  display: table;
  margin: calc(-1 * var(--space-5)) auto var(--space-6);
  padding: 8px var(--space-2);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
}

.quick-book-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-1) var(--space-2);
  max-width: 880px;
  margin: 0 auto;
}

.quick-book-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 60px;
  padding: var(--space-2) var(--space-3);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text);
  transition: all var(--duration) var(--ease);
}

.quick-book-item:hover {
  border-color: var(--gold);
  background: var(--bg-card-hover);
}

.quick-book-pin {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--gold);
}

.quick-book-name {
  flex: 1;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.quick-book-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.quick-book-arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--duration) var(--ease);
}

.quick-book-item:hover .quick-book-arrow {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .quick-book-grid {
    grid-template-columns: 1fr;
  }
  .quick-book-offer {
    margin-top: calc(-1 * var(--space-4));
    margin-bottom: var(--space-4);
    font-size: 11px;
    letter-spacing: 1.5px;
  }
  .quick-book-item {
    padding: var(--space-2);
  }
  .quick-book-name {
    font-size: 0.9rem;
  }
  .quick-book-label {
    display: none;
  }
  .quick-book-arrow {
    width: 20px;
    height: 20px;
  }
}


/* ===== 2026-10-06 update ===== */
/* Hero: the full logo lockup replaces the mark + «AITMEN / BARBERSHOP» text. */
.hero-brand { margin: 0; line-height: 0; }
.hero-logo-full {
  width: min(520px, 82vw);
  height: auto;
  filter: drop-shadow(0 2px 18px rgba(0, 0, 0, 0.6));
}
/* Over the photo the accent must stay light: black would vanish. */
#hero .hero-tagline::before { background: #ffffff; }
#hero .scroll-indicator { color: rgba(255, 255, 255, 0.85); }
.hero-result-text { text-wrap: balance; }

/* Branch cards: ЖК in the address, a phone link. */
.location-phone {
  display: inline-block;
  margin: 0 0 var(--space-2);
  color: var(--text);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
  border-bottom: 1px solid var(--border-hover);
}
.location-phone:hover { border-bottom-color: var(--text); }
.map-all {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: var(--space-4) auto 0;
  max-width: 560px;
  min-height: 64px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-md);
  background: var(--accent-fill);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform var(--duration) var(--ease);
}
.map-all:hover { transform: translateY(-2px); }
.map-all svg { width: 26px; height: 26px; flex-shrink: 0; }

/* Price list: one compact sheet like the printed one. */
.price-sheet {
  max-width: 760px;
  margin: var(--space-6) auto 0;
  padding: var(--space-3);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
}
.price-list { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.price-list th, .price-list td { padding: 5px 0; text-align: left; vertical-align: top; }
.price-list thead th { font-weight: 400; font-size: 0.8rem; color: var(--text-muted); text-align: center; }
.price-list thead .price-cat { padding-bottom: 0; }
.price-list td + td, .price-list th + th { text-align: right; width: 64px; padding-left: 10px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price-list thead th + th { text-align: right; }
.price-list thead .price-cat { text-align: center; }
.price-group th {
  padding-top: 18px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-hover);
}
.price-list tbody tr:not(.price-group) td { border-bottom: 1px solid var(--border); }
.price-hl td { font-weight: 600; }
.price-hl tr:not(.price-group) { background: rgba(255, 255, 255, 0.08); }
.price-note { margin-top: var(--space-2); font-size: 0.85rem; color: var(--text-muted); text-align: center; }
.price-note a { color: var(--text); }
@media (max-width: 640px) {
  .price-sheet { padding: var(--space-2) 12px; }
  .price-list { font-size: 0.82rem; }
  .price-list td + td, .price-list th + th { width: 50px; padding-left: 6px; }
}

/* Partners */
.partners-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-3);
  max-width: 820px;
  margin: var(--space-6) auto 0;
}
.partner {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: var(--space-3) var(--space-2);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: #111111;
  text-align: center;
}
.partner img { max-width: 100%; height: 56px; object-fit: contain; }
.partner span { font-size: 0.85rem; font-weight: 500; }
@media (max-width: 640px) {
  .partners-row { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .partner { padding: var(--space-2) 8px; }
  .partner img { height: 36px; }
  .partner span { font-size: 0.72rem; }
}
.partner-icon { border-radius: 14px; }


/* ===== 2026-10-10 update ===== */
/* Header: Instagram icon beside «Записаться». */
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-ig {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text);
  border: 1px solid var(--border-hover);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}
.nav-ig svg { width: 20px; height: 20px; }
.nav-ig:hover { background: var(--text); color: var(--bg); }

/* Branches: 12 cards, name + phone + button only, tight grid. */
.locations-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-2); }
.location-card { padding: var(--space-3) 20px; gap: 12px; }
.location-card h3 { font-size: 0.95rem; letter-spacing: 0.5px; line-height: 1.25; }
.location-card .location-phone { margin: 0; font-size: 0.9rem; }
.location-card .booking-btn { padding: 11px 14px; min-height: 0; width: 100%; margin-top: auto; }
@media (max-width: 1024px) {
  .locations-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .locations-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .location-card { padding: 18px 12px; gap: 10px; }
  .location-card h3 { font-size: 0.8rem; }
  .location-card .location-phone { font-size: 0.78rem; }
  .location-card .booking-btn { padding: 10px 6px; font-size: 10px; letter-spacing: 1px; }
}

/* Guests: endless strip drifting right (script.js doubles the cards). */
.guests-carousel.is-marquee {
  overflow: hidden;
  scroll-snap-type: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.guests-track {
  display: flex;
  width: max-content;
  animation: guestsDrift var(--marquee-duration, 60s) linear infinite;
}
.guests-carousel.is-marquee .guest-card {
  flex: 0 0 300px;
  margin-right: var(--space-3);
}
.guests-carousel.is-marquee:hover .guests-track { animation-play-state: paused; }
@keyframes guestsDrift {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}
@media (max-width: 768px) {
  .guests-carousel.is-marquee .guest-card { flex-basis: 220px; margin-right: 14px; }
  .guest-name { font-size: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .guests-track { animation: none; }
  .guests-carousel.is-marquee { overflow-x: auto; }
}

/* Price list: «Категория барбера» captions the price columns; every section
   title row carries the 1 / 2 / 3 badges right above its prices. */
.price-list td + td, .price-list th + th,
.price-list thead th + th { text-align: center; }
.price-list thead .price-cat {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0 0 0 10px;
  vertical-align: bottom;
}
.price-list thead + tbody .price-group th { padding-top: 6px; }
.price-group th + th { vertical-align: bottom; padding-bottom: 6px; }
.price-tier {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-hover);
  color: var(--text);
  font-family: var(--font-body, inherit);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
}
@media (max-width: 640px) {
  .price-list thead .price-cat { font-size: 0.62rem; letter-spacing: 1px; padding-left: 6px; }
  .price-tier { width: 22px; height: 22px; font-size: 0.72rem; }
  .price-group th:first-child { letter-spacing: 0.5px; font-size: 0.8rem; }
}

/* Salon photos strip: square cards, same endless drift as the guests. */
.salons-strip.is-marquee .salon-card { flex: 0 0 240px; margin-right: var(--space-3); }
.salon-card img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}
@media (max-width: 768px) {
  .salons-strip.is-marquee .salon-card { flex-basis: 170px; margin-right: 14px; }
}

/* Owner 10-10 (ref alfagentlemen.kz): «Записаться» and «все филиалы» pulse with
   rings that spread out and fade, once a second. */
@keyframes ctaRipple {
  0%   { box-shadow: 0 4px 10px rgba(0,0,0,.25), 0 0 0 0 rgba(255,255,255,.45), 0 0 0 0 rgba(255,255,255,.3); }
  40%  { box-shadow: 0 4px 10px rgba(0,0,0,.25), 0 0 0 6px rgba(255,255,255,.3), 0 0 0 0 rgba(255,255,255,.3); }
  80%  { box-shadow: 0 4px 10px rgba(0,0,0,.25), 0 0 0 12px rgba(255,255,255,0), 0 0 0 10px rgba(255,255,255,.1); }
  100% { box-shadow: 0 4px 10px rgba(0,0,0,.25), 0 0 0 12px rgba(255,255,255,0), 0 0 0 12px rgba(255,255,255,0); }
}
@keyframes ctaRippleWide {
  0%   { box-shadow: 0 0 0 0 rgba(255,255,255,.45), 0 0 0 0 rgba(255,255,255,.3); }
  40%  { box-shadow: 0 0 0 12px rgba(255,255,255,.28), 0 0 0 0 rgba(255,255,255,.3); }
  80%  { box-shadow: 0 0 0 24px rgba(255,255,255,0), 0 0 0 20px rgba(255,255,255,.1); }
  100% { box-shadow: 0 0 0 24px rgba(255,255,255,0), 0 0 0 24px rgba(255,255,255,0); }
}
.nav-cta { animation: ctaRipple 1.2s linear infinite; }
.map-all { animation: ctaRippleWide 1.2s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .nav-cta, .map-all { animation: none; }
}


/* ===== 2026-10-13 owner update ===== */
/* Salon strip: the heading is now an amenities sentence, not a title. */
.section-title.salons-lead {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.15rem, 2.6vw, 1.7rem);
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.5px;
  line-height: 1.4;
  margin-bottom: var(--space-5);
}

/* Partner discount under each logo. */
.partner { align-content: start; }
.partner-deal {
  font-size: 0.8rem;
  line-height: 1.4;
  color: #333333;
}
@media (max-width: 640px) {
  .partners-row { grid-template-columns: 1fr; }
  .partner {
    grid-template-columns: 64px 1fr;
    grid-template-areas: "logo name" "logo deal";
    justify-items: start;
    text-align: left;
    column-gap: 14px;
    row-gap: 2px;
    padding: 14px 16px;
  }
  .partner img { grid-area: logo; height: 40px; justify-self: center; align-self: center; }
  .partner span { grid-area: name; font-size: 0.85rem; }
  .partner-deal { grid-area: deal; font-size: 0.78rem; }
}

/* Благотворительная пятница */
.charity-card {
  max-width: 640px;
  margin: 0 auto;
  padding: var(--space-4);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}
.charity-head { display: flex; align-items: center; gap: 12px; margin-bottom: var(--space-2); }
.charity-head h3 { font-size: 1.15rem; font-weight: 600; }
.charity-list { list-style: none; display: grid; gap: 8px; margin-bottom: var(--space-3); }
.charity-list li { position: relative; padding-left: 22px; color: var(--text-secondary); }
.charity-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.charity-note { font-size: 0.85rem; line-height: 1.5; color: var(--text-muted); }
@media (max-width: 640px) {
  .charity-card { padding: var(--space-3) var(--space-2); }
}
@media (max-width: 640px) {
  #charity .section-title { font-size: 1.9rem; letter-spacing: 3px; }
}

/* ===== 2026-10-16 owner: «Записаться» leaves the header and floats bottom-right ===== */
.float-cta {
  position: fixed;
  right: 24px;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 1000;
  min-height: 52px;
  padding: 14px 28px;
  font-size: 13px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
.float-cta.is-shown {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
}
@media (max-width: 768px) {
  .float-cta {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    min-height: 48px;
    padding: 12px 22px;
  }
}

/* ===== 2026-10-16 owner: «Больше, чем стрижка» — what every visit includes ===== */
.section-title.amenities-title span { display: block; color: #d8d3bd; }
.amenities-sub {
  font-family: var(--font-display);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 1rem;
  opacity: 0.85;
  margin: 0 auto var(--space-4);
}
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1320px;
  margin: 0 auto;
}
.amenity-card {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #1c1c18;
}
.amenity-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 30%;
}
.amenity-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(234, 230, 216, 0.97) 0%, rgba(234, 230, 216, 0.92) 34%, rgba(234, 230, 216, 0) 62%);
}
.amenity-body {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 18px;
  width: 58%;
  color: #1a1a16;
}
.amenity-num { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 1px; opacity: 0.6; }
.amenity-icon svg { width: 36px; height: 36px; display: block; }
.amenity-name {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.25rem;
  line-height: 1.15;
  letter-spacing: 0.3px;
}
.amenities-outro {
  font-family: var(--font-display);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 1.15rem;
  line-height: 1.6;
  margin: var(--space-5) auto var(--space-4);
  padding-top: var(--space-3);
  position: relative;
}
.amenities-outro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 56px;
  height: 1px;
  background: currentColor;
  transform: translateX(-50%);
  opacity: 0.7;
}
@media (max-width: 900px) {
  .amenities-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 768px) {
  .amenities-sub { font-size: 0.8rem; letter-spacing: 2px; }
  .amenity-card { border-radius: 12px; aspect-ratio: 1.45; }
  .amenity-body { padding: 11px 11px; width: 66%; }
  .amenity-card::after { background: linear-gradient(90deg, rgba(234, 230, 216, 0.97) 0%, rgba(234, 230, 216, 0.9) 42%, rgba(234, 230, 216, 0) 70%); }
  .amenity-num { font-size: 0.7rem; }
  .amenity-icon svg { width: 24px; height: 24px; }
  .amenity-name { font-size: 0.8rem; }
  .amenities-outro { font-size: 0.85rem; letter-spacing: 2px; }
}

/* ===== 2026-10-16 owner round 2 ===== */
/* Site green from the «Пятница добрых дел» poster (#3C412D) — set in :root. */
/* «2ГИС: все филиалы» in 2GIS orange, like their «Записаться онлайн». */
.map-all { background: #f48a14; color: #1a1a1a; font-weight: 600; }
/* Salon strip: narrower photos, tighter gaps, so more are on screen at once. */
.salons-strip.is-marquee .salon-card { flex-basis: 190px; margin-right: 10px; }
@media (max-width: 768px) {
  .salons-strip.is-marquee .salon-card { flex-basis: 118px; margin-right: 6px; }
}
/* «Пятница добрых дел»: three categories + the document condition, as on the poster. */
#charity .section-title span { color: #d8d3bd; }
.charity-lead {
  font-family: var(--font-display);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1rem;
  color: var(--text-secondary);
  margin: 0 auto var(--space-4);
  max-width: 760px;
}
.charity-cats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.charity-cat {
  background: #eae6d8;
  color: #1a1a16;
  border-radius: 14px;
  padding: var(--space-3) var(--space-2);
  text-align: center;
}
.charity-icon svg { width: 34px; height: 34px; display: block; margin: 0 auto 12px; }
.charity-cat h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.15;
  margin-bottom: 10px;
}
.charity-cat p { font-size: 0.9rem; line-height: 1.45; color: #3a3a32; }
.charity-condition {
  display: flex;
  gap: 16px;
  align-items: center;
  max-width: 1000px;
  margin: 16px auto 0;
  padding: var(--space-3);
  border-radius: 14px;
  background: #2b3123;
  border: 1px solid var(--border);
}
.charity-condition .charity-icon svg { margin: 0; width: 40px; height: 40px; }
.charity-condition h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  font-size: 1.05rem;
  margin-bottom: 4px;
}
.charity-condition p { font-size: 0.9rem; line-height: 1.45; color: var(--text-secondary); }
@media (max-width: 768px) {
  .charity-cats { grid-template-columns: 1fr; gap: 10px; }
  .charity-cat { padding: var(--space-2); }
  .charity-lead { font-size: 0.85rem; }
  .charity-condition { padding: var(--space-2); align-items: flex-start; }
}

/* ===== 2026-10-17 owner round 3 ===== */
/* Partner cards share the beige of the «Пятница добрых дел» cards. */
.partner { background: #eae6d8; color: #1a1a16; }
.partner-deal { color: #3a3a32; }
/* «Пятница» on line 1, «Добрых дел» on line 2. */
#charity .charity-title span { display: block; }
/* Branch phones: no underline of any kind (iOS data detectors included). */
.location-phone, .location-phone:hover { border-bottom: 0; text-decoration: none; }
a[x-apple-data-detectors] { color: inherit !important; text-decoration: none !important; font: inherit !important; }
/* Floating «Записаться» (ref alfagentlemen.kz «Онлайн-запись»): two calm rings
   spread out from the button and fade. Owner 10-17: the 3-ring 2.4 s version
   looked glitchy/too fast — now 2 rings, 3.2 s, GPU-only (transform + opacity;
   animating `inset` re-laid-out the rings every frame and stuttered on phones). */
.float-cta { animation: none; overflow: visible; }
.float-cta::before,
.float-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid #ffffff;
  pointer-events: none;
  opacity: 0;
  transform: scale(1);
  will-change: transform, opacity;
  animation: floatRing 3.2s cubic-bezier(0.25, 0.6, 0.4, 1) infinite;
}
.float-cta::after { animation-delay: 1.6s; }
.float-cta .cta-ring { display: none; }
@keyframes floatRing {
  0%   { transform: scale(1);    opacity: 0.85; }
  100% { transform: scale(1.45); opacity: 0; }
}
@media (max-width: 768px) {
  @keyframes floatRing {
    0%   { transform: scale(1);    opacity: 0.85; }
    100% { transform: scale(1.35); opacity: 0; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .float-cta::before, .float-cta::after, .float-cta .cta-ring { animation: none; opacity: 0; }
}
