/* ==========================================================================
   KM BURO — visual system referencing vontobel.com:
   warm off-white/cream base, charcoal ink, citrine + coral + sky accents,
   pill buttons, bold sans headings with a black display-serif for the hero,
   cream photo-style cards, black footer.
   ========================================================================== */

/* ---------- Language toggling ---------- */
body.lang-ru .lang-en { display: none !important; }
body.lang-en .lang-ru { display: none !important; }

:root {
  --c-ink: #373a36;       /* primary charcoal — text, dark fills */
  --c-black: #14140f;     /* near-black — footer */
  --c-cream: #f0ede4;     /* warm off-white — card / section bg */
  --c-cream-2: #e8e3d5;   /* slightly deeper cream for alternating bands */
  --c-white: #ffffff;
  --c-citrine: #ffdb33;   /* yellow accent */
  --c-coral: #fb5b80;     /* pink/coral accent */
  --c-coral-deep: #e05172;
  --c-sky: #78d2e5;       /* light blue accent */
  --c-line: rgba(55, 58, 54, 0.14);
  --c-line-soft: rgba(55, 58, 54, 0.08);
  --c-line-on-dark: rgba(255, 255, 255, 0.16);

  --font-serif: "Fraunces", "Times New Roman", serif;
  --font-sans: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 8px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--c-ink);
  background: var(--c-white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
}

section {
  padding: clamp(56px, 8vw, 108px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-coral-deep);
  font-weight: 700;
  margin-bottom: 16px;
}

/* ---------- Section photo columns (photo stretches to match the real content next to it) ---------- */

.intro-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 56px;
  align-items: stretch;
}

.intro-photo,
.formats-photo {
  border-radius: var(--radius);
  overflow: hidden;
}

.intro-photo img,
.formats-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.formats-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: stretch;
}

.formats-content .section-head {
  margin-bottom: 32px;
}

h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.16;
  margin: 0 0 0.5em;
  color: var(--c-ink);
  letter-spacing: -0.01em;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 42px);
  max-width: 720px;
  font-weight: 700;
}

.accent { color: var(--c-coral-deep); }
.on-dark .accent { color: var(--c-coral); }

.section-lede {
  font-size: 17px;
  color: rgba(55,58,54,0.7);
  max-width: 620px;
  margin: 0 0 44px;
  font-weight: 400;
}

.section-head {
  margin-bottom: 44px;
}

.on-dark { background: var(--c-ink); color: rgba(255,255,255,0.85); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--c-white); }
.on-dark .section-lede { color: rgba(255,255,255,0.66); }
.on-dark .eyebrow { color: var(--c-coral); }

/* ---------- Buttons (pill) ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--c-ink);
  color: var(--c-ink);
  font-family: var(--font-sans);
  font-size: 13.5px;
  letter-spacing: 0.01em;
  font-weight: 700;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.btn:hover {
  background: var(--c-ink);
  color: var(--c-white);
}

.btn-solid {
  background: var(--c-ink);
  color: var(--c-white);
  border-color: var(--c-ink);
}

.btn-solid:hover {
  background: var(--c-coral-deep);
  border-color: var(--c-coral-deep);
  color: var(--c-white);
}

.on-dark .btn {
  border-color: var(--c-white);
  color: var(--c-white);
}

.on-dark .btn:hover {
  background: var(--c-white);
  color: var(--c-ink);
}

.on-dark .btn-solid {
  background: var(--c-citrine);
  border-color: var(--c-citrine);
  color: var(--c-ink);
}

.on-dark .btn-solid:hover {
  background: var(--c-coral);
  border-color: var(--c-coral);
  color: var(--c-ink);
}

.arrow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--c-ink);
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.arrow-btn svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-line);
  transition: background 0.2s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.99);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  line-height: 1;
  white-space: nowrap;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: flex;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.lang-switch button {
  background: transparent;
  border: none;
  color: rgba(55,58,54,0.55);
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-switch button.active {
  background: var(--c-ink);
  color: var(--c-white);
}

.header-actions .btn {
  padding: 10px 22px;
  font-size: 12.5px;
}

.nav-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  width: 26px;
  height: 18px;
  position: relative;
  flex-shrink: 0;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--c-ink);
  transition: all 0.25s ease;
}

.nav-toggle span { top: 50%; transform: translateY(-50%); }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 76px 0 0 0;
  background: var(--c-white);
  z-index: 99;
  padding: 28px var(--pad);
  overflow-y: auto;
  text-align: center;
}

.mobile-nav.open {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  width: 100%;
  max-width: 420px;
}

.mobile-nav a {
  display: block;
  width: 100%;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-line);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 21px;
  color: var(--c-ink);
  text-align: center;
}

.mobile-nav .lang-switch {
  margin: 24px auto 0;
}

/* ---------- Hero ---------- */

.hero {
  background: var(--c-cream);
  padding-top: 168px;
  padding-bottom: 72px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-tag {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-coral-deep);
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--font-serif);
  color: var(--c-ink);
  font-size: clamp(38px, 5.4vw, 64px);
  font-weight: 700;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
  max-width: 620px;
}

.hero h1 em {
  font-style: normal;
  color: inherit;
}

.hero-sub {
  color: rgba(55,58,54,0.72);
  font-size: 18px;
  max-width: 500px;
  margin: 24px 0 36px;
  font-weight: 400;
}

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

.hero-visual {
  position: relative;
  z-index: 1;
  height: 420px;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.hero-meta {
  grid-column: 1 / -1;
  display: flex;
  gap: 48px;
  margin-top: 64px;
  flex-wrap: wrap;
  border-top: 1px solid var(--c-line);
  padding-top: 32px;
}

.hero-meta div {
  max-width: 220px;
}

.hero-meta .num {
  font-family: var(--font-sans);
  color: var(--c-ink);
  font-weight: 800;
  font-size: 28px;
  display: block;
  margin-bottom: 6px;
}

.hero-meta p {
  margin: 0;
  font-size: 13px;
  color: rgba(55,58,54,0.62);
  line-height: 1.5;
}

/* ---------- Intro ---------- */

.intro {
  background: var(--c-white);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  margin-top: 8px;
}

.intro-body p {
  color: rgba(55,58,54,0.72);
  font-size: 16px;
  margin-bottom: 16px;
}

/* ---------- Values ---------- */

.values {
  background: var(--c-cream);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.value-card {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: 0 1px 6px rgba(55,58,54,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(55,58,54,0.12);
}

.value-card h3 {
  color: var(--c-ink);
  font-size: 19px;
  margin-bottom: 10px;
  font-weight: 700;
}

.value-card p {
  color: rgba(55,58,54,0.66);
  font-size: 14px;
  margin: 0;
}

/* ---------- Process ---------- */

.process {
  background: var(--c-white);
}

.process-list {
  display: flex;
  flex-direction: column;
}

.process-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-top: 1px solid var(--c-line);
  align-items: start;
}

.process-num { padding-top: 3px; }

.process-list .process-item:last-child {
  border-bottom: 1px solid var(--c-line);
}

.process-num {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(55,58,54,0.4);
}

.process-item h3 {
  font-size: 21px;
  margin-bottom: 8px;
  font-weight: 700;
}

.process-item p {
  color: rgba(55,58,54,0.68);
  margin: 0;
  max-width: 600px;
}

/* ---------- Strengths ---------- */

.strengths {
  background: var(--c-cream);
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 40px;
}

.strength-item {
  padding-top: 20px;
  border-top: 3px solid var(--c-coral);
}

.strength-item:nth-child(2) { border-top-color: var(--c-citrine); }
.strength-item:nth-child(3) { border-top-color: var(--c-sky); }
.strength-item:nth-child(4) { border-top-color: var(--c-ink); }
.strength-item:nth-child(5) { border-top-color: var(--c-coral); }

.strength-item h3 {
  color: var(--c-ink);
  font-size: 19px;
  margin-bottom: 8px;
  font-weight: 700;
}

.strength-item p {
  color: rgba(55,58,54,0.66);
  margin: 0;
  font-size: 14px;
}

/* ---------- Formats ---------- */

.formats {
  background: var(--c-white);
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.format-card {
  background: var(--c-cream);
  border-radius: var(--radius);
  padding: 36px 28px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.25s ease, transform 0.25s ease;
}

.format-card:hover {
  background: var(--c-white);
  box-shadow: 0 8px 20px rgba(55,58,54,0.1);
  transform: translateY(-3px);
}

.format-card .fnum {
  font-family: var(--font-sans);
  color: var(--c-coral-deep);
  font-weight: 800;
  font-size: 13px;
}

.format-card h3 {
  font-size: 20px;
  margin: 18px 0 0;
  font-weight: 700;
}

/* ---------- Services ---------- */

.services {
  background: var(--c-cream);
}

.services-intro {
  max-width: 680px;
}

.service-block {
  border-top: 1px solid var(--c-line);
  padding: 44px 0;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

.services-list .service-block:last-child {
  border-bottom: 1px solid var(--c-line);
}

.service-block h3 {
  color: var(--c-ink);
  font-size: 24px;
  margin: 0;
  font-weight: 700;
}

.service-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-coral-deep);
  margin-bottom: 10px;
  display: block;
}

.service-block p {
  color: rgba(55,58,54,0.7);
  margin: 0;
  max-width: 620px;
}

/* ---------- Cases: photo gallery ---------- */

.cases {
  background: var(--c-white);
}

.cases-disclaimer {
  margin: -8px 0 0;
  font-size: 13px;
  color: rgba(55,58,54,0.5);
  max-width: 620px;
  font-style: italic;
  line-height: 1.6;
}

.case-group {
  margin-top: 48px;
}

.case-group:first-of-type {
  margin-top: 8px;
}

.case-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.case-group-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--c-ink);
  margin: 0;
}

.case-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.case-strip::-webkit-scrollbar {
  height: 6px;
}

.case-strip::-webkit-scrollbar-thumb {
  background: var(--c-line);
  border-radius: 999px;
}

.case-strip .gallery-item {
  flex: 0 0 auto;
  height: 230px;
  width: auto;
  scroll-snap-align: start;
}

.case-strip .gallery-item img {
  height: 100%;
  width: auto;
  max-width: none;
}

.gallery-item {
  display: block;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  background: var(--c-cream);
  -webkit-appearance: none;
  padding: 0;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

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

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,20,15,0) 55%, rgba(20,20,15,0.55) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.gallery-caption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  right: 16px;
  text-align: left;
  color: var(--c-white);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 2;
}

.gallery-item:hover .gallery-caption,
.gallery-item:focus-visible .gallery-caption {
  opacity: 1;
  transform: translateY(0);
}

.cases-more {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: rgba(55,58,54,0.5);
  font-style: italic;
}

/* ---------- Lightbox ---------- */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(20,20,15,0.95);
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 1100px;
  max-height: 88vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.lightbox-caption {
  color: var(--c-white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  margin-top: 18px;
}

.lightbox-counter {
  color: rgba(255,255,255,0.5);
  font-family: var(--font-sans);
  font-size: 12px;
  margin-top: 6px;
  letter-spacing: 0.05em;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--c-white);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  line-height: 1;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255,255,255,0.18);
}

.lightbox-close {
  top: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  font-size: 24px;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 26px;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ---------- Tour management ---------- */

.tour {
  background: var(--c-ink);
  position: relative;
}

.tour-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 200px;
  gap: 40px;
  align-items: stretch;
}

.tour-photo {
  border-radius: var(--radius);
  overflow: hidden;
}

.tour-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tour-for {
  border: 1px solid var(--c-line-on-dark);
  border-radius: var(--radius);
  padding: 32px;
}

.tour-for h4 {
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  margin-bottom: 18px;
  font-weight: 700;
}

.tour-for ul, .tour-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tour-for li {
  color: rgba(255,255,255,0.92);
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line-on-dark);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.005em;
}

.tour-for li:last-child { border-bottom: none; }

.tour-list p.lede {
  color: rgba(255,255,255,0.68);
  margin-bottom: 22px;
}

.tour-list ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
}

.tour-list li {
  color: rgba(255,255,255,0.9);
  font-size: 14.5px;
  font-weight: 600;
  padding-left: 20px;
  position: relative;
}

.tour-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--c-coral);
}

.tour-callout {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--c-line-on-dark);
}

.tour-callout p {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  line-height: 1.65;
  max-width: 780px;
  margin: 0;
}

.emoji-soft {
  opacity: 0.55;
}

/* ---------- Contact ---------- */

.contact {
  background: var(--c-cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
}

.contact-info h2 {
  font-size: clamp(28px, 3.6vw, 40px);
}

.contact-info p {
  color: rgba(55,58,54,0.68);
  max-width: 420px;
}

.contact-points {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14.5px;
  color: rgba(55,58,54,0.72);
  font-weight: 500;
}

.contact-point .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-coral);
  margin-top: 6px;
  flex-shrink: 0;
}

.contact-note {
  margin-top: 36px;
  padding: 24px 26px;
  background: var(--c-white);
  border-left: 3px solid var(--c-coral);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.contact-note p {
  font-size: 14px;
  color: rgba(55,58,54,0.66);
  margin: 0 0 10px;
  line-height: 1.6;
}

.contact-note p:last-child {
  margin-bottom: 0;
}

form#contactForm {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: 0 1px 10px rgba(55,58,54,0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  margin-bottom: 22px;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(55,58,54,0.55);
  margin-bottom: 8px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid rgba(55,58,54,0.2);
  background: transparent;
  padding: 10px 2px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--c-ink);
  outline: none;
  transition: border-color 0.2s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--c-coral-deep);
}

.field textarea {
  resize: vertical;
  min-height: 100px;
}

.captcha-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
}

.captcha-question {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 18px;
  color: var(--c-ink);
  background: var(--c-cream);
  border-radius: var(--radius);
  padding: 10px 18px;
  white-space: nowrap;
  min-width: 110px;
  text-align: center;
}

.captcha-refresh {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--c-coral-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: underline;
  padding: 10px 0;
}

/* honeypot */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 18px;
  font-size: 14px;
  border-radius: var(--radius);
  padding: 12px 16px;
  display: none;
  font-weight: 500;
}

.form-status.show { display: block; }
.form-status.ok { background: rgba(120,210,229,0.25); color: #235a66; }
.form-status.err { background: rgba(251,91,128,0.14); color: #a6274a; }

.submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  flex-wrap: wrap;
  gap: 16px;
}

.privacy-note {
  font-size: 12px;
  color: rgba(55,58,54,0.55);
  max-width: 260px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--c-black);
  padding: 48px 0 32px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--c-white);
  font-size: 18px;
}

.footer-nav {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}

.footer-nav a:hover { color: var(--c-citrine); }

.footer-bottom {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .hero .container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    height: 260px;
    order: -1;
  }

  .intro-grid,
  .tour-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .intro-layout,
  .formats-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .intro-photo,
  .formats-photo {
    height: 220px;
  }

  .tour-photo {
    height: 220px;
    order: -1;
  }

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

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

  .case-strip .gallery-item {
    height: 190px;
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .values-grid,
  .strengths-grid,
  .formats-grid {
    grid-template-columns: 1fr;
  }

  .case-strip .gallery-item {
    height: 150px;
  }

  .case-group-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .lightbox {
    padding: 16px;
  }

  .lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }

  .lightbox-close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
  }

  .process-item {
    grid-template-columns: 40px 1fr;
    gap: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 148px;
  }

  .hero-meta {
    gap: 28px;
  }

  .tour-list ul {
    grid-template-columns: 1fr;
  }

  .captcha-row {
    flex-wrap: wrap;
  }

  .footer-inner,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-actions .btn {
    padding: 9px 16px;
    font-size: 11.5px;
  }
}
