/* =========================================================
   ТЕСТО — разводящая страница
   Минимализм: единый светлый фон, один акцентный цвет,
   геометрический шрифт Geologica, фото 4:3.
   ========================================================= */

:root {
  --bg:         #FDF7E7;
  --surface:    #FFFFFF;
  --ink:        #27307D;
  --ink-soft:   rgba(39, 48, 125, 0.66);
  --line:       rgba(39, 48, 125, 0.12);
  --accent:     #E2725B;

  --font: "Geologica", sans-serif;

  --radius: 18px;
  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- HERO ---------- */




@font-face {
  font-family: 'Geologica';
  src: url('fonts/Geologica-Regular.ttf') format('ttf'),
  url('fonts/Geologica-Regular.woff2') format('woff2'),
  url('fonts/Geologica-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geologica';
  src: url('fonts/Geologica-Medium.ttf') format('ttf'),
  url('fonts/Geologica-Medium.woff2') format('woff2'),
  url('fonts/Geologica-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geologica';
  src: url('fonts/Geologica-SemiBold.ttf') format('ttf'),
  url('fonts/Geologica-SemiBold.woff2') format('woff2'),
  url('fonts/Geologica-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geologica';
  src: url('fonts/Geologica-Bold.ttf') format('ttf'),
  url('fonts/Geologica-Bold.woff2') format('woff2'),
  url('fonts/Geologica-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


.hero {
  background: var(--bg);
  color: var(--ink);
  padding: 88px 24px 64px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.hero__inner {
  max-width: 680px;
  margin: 0 auto;
}

.logo__img {
  height: 140px;
  width: auto;
  display: inline-block;
}

.logo__word {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  display: inline-block;
}

.hero__offer {
  margin: 20px 0 8px;
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.4;
  color: var(--ink);
}

.hero__subline {
  margin: 0;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

/* ---------- LOCATIONS ---------- */

.locations {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tile {
  position: relative;
  display: block;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.tile:hover,
.tile:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px -20px rgba(30,28,24,0.25);
  border-color: rgba(30,28,24,0.18);
}

.tile:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.tile--large {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
}

.tile--large .tile__photo { aspect-ratio: 4 / 3; height: auto; }

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

.tile__photo {
  aspect-ratio: 4 / 3;
  background: var(--line);
  overflow: hidden;
}

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

.tile__ticket {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  justify-content: center;
}

.tile__eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.tile__title {
  font-family: var(--font);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 600;
  margin: 0;
  color: var(--ink);
}

.tile__address {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 4px 0 14px;
}

.tile__cta {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--ink);
}

/* ---------- CONTACTS CTA ---------- */

.contacts-cta {
  display: flex;
  justify-content: center;
  padding: 36px 24px 8px;
}

.btn-contacts {
  display: inline-block;
  background: var(--accent);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 16px 44px;
  border-radius: 999px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-contacts:hover,
.btn-contacts:focus-visible {
  background: var(--ink);
  transform: translateY(-2px);
}

/* ---------- APP / QR ---------- */

.app-block {
  max-width: var(--container);
  margin: 0 auto;
  padding: 56px 24px;
  text-align: center;
}

.app-block__text {
  font-weight: 500;
  font-size: 1.1rem;
  margin: 0 0 26px;
  color: var(--ink);
}

.qr-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.qr-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.qr-card:hover,
.qr-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px -18px rgba(30,28,24,0.25);
  border-color: rgba(30,28,24,0.18);
}

/* ---------- ABOUT ---------- */

.about {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 72px 24px;
}

.about__inner {
  max-width: 760px;
  margin: 0 auto;
}

.about__eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.about__title {
  font-family: var(--font);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.2vw, 2.2rem);
  margin: 8px 0 22px;
  letter-spacing: -0.01em;
}

.about__lead {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-soft);
  font-weight: 400;
}

.about__subhead {
  font-weight: 600;
  font-size: 1.2rem;
  margin: 40px 0 18px;
}

.reasons {
  display: grid;
  gap: 18px;
}

.reason {
  padding: 22px 24px;
  background: var(--bg);
  border-radius: 14px;
}

.reason__mark {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 6px;
}

.reason p {
  margin: 0;
  line-height: 1.6;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 400;
}

.about__closing {
  margin-top: 32px;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
}

/* ---------- FOOTER ---------- */

.site-footer {
  background: var(--bg);
  color: var(--ink-soft);
  text-align: center;
  padding: 32px 24px;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  border-top: 1px solid var(--line);
}

.logo__word--footer {
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 6px;
  font-weight: 700;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 760px) {
  .tile--large { grid-template-columns: 1fr; }
  .tile-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .tile, .btn-contacts, .qr-card { transition: none; }
}
