/*
Theme Name: SUP Like
Theme URI: https://sup-like.ru/
Author: T2W Migration
Description: Source-faithful hybrid theme for the SUP-like WordPress migration.
Version: 0.1.0
Text Domain: sup-like
*/

:root {
  --sup-red: #9d0808;
  --sup-cream: #ebdeb3;
  --sup-muted: #d9d6bc;
  --sup-corporate: #f0f0f0;
  --sup-booking: #9a1010;
  --sup-white: #ffffff;
  --sup-black: #000000;
  --sup-content: 1160px;
  --sup-narrow: 840px;
  --sup-radius: 0;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--sup-black);
  background: var(--sup-white);
  font-family: "TildaSans", "Arial", sans-serif;
  line-height: 1.45;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  padding: 12px 18px;
  background: var(--sup-white);
  color: var(--sup-red);
  transform: translateY(-120%);
}
.skip-link:focus { transform: none; }
.site-header { background: var(--sup-white); border-bottom: 1px solid #f0f0f0; }
.site-header__inner {
  width: min(calc(100% - 40px), var(--sup-content));
  min-height: 140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-logo { width: 72px; flex: 0 0 auto; }
.site-logo img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; }
.primary-menu { margin-left: auto; }
.primary-menu ul { display: flex; align-items: center; gap: 24px; padding: 0; margin: 0; list-style: none; }
.primary-menu a { color: var(--sup-red); font-size: 14px; text-decoration: none; }
.primary-menu a:hover, .primary-menu a:focus-visible, .primary-menu a[aria-current="page"] { text-decoration: underline; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--sup-red); }
.site-main { min-height: 55vh; }
.site-footer { padding: 36px 20px; color: var(--sup-white); background: var(--sup-red); text-align: center; }
.legal-document { width: min(calc(100% - 40px), var(--sup-narrow)); margin: 0 auto; padding: 72px 0 96px; font-weight: 400; line-height: 1.55; }
.legal-document--consent { width: min(calc(100% - 40px), var(--sup-content)); }
.legal-document h1 { margin: 0 0 36px; color: var(--sup-black); font-size: 22px; line-height: 1.25; }
.legal-document--policy h1 { font-size: 18px; }
.legal-document p { margin: 0 0 24px; }
.legal-document strong, .legal-document b { font-weight: 400; }
body:has(.legal-document) .site-footer { padding: 48px 20px; background: var(--sup-black); }
.not-found { width: min(calc(100% - 40px), var(--sup-narrow)); margin: 0 auto; padding: 96px 0; }
.sup-shell { width: min(calc(100% - 40px), var(--sup-content)); margin: 0 auto; }
.sup-narrow { max-width: var(--sup-narrow); }
.sup-section { padding: 120px 0; }
.sup-section h2, .sup-route-band h2 { margin: 0 0 32px; color: var(--sup-red); font-size: 52px; line-height: 1.02; }
.sup-section--cream { background: var(--sup-cream); }
.sup-section--muted { background: var(--sup-muted); }
.sup-section--red { color: var(--sup-white); background: var(--sup-red); }
.sup-section--red h2 { color: var(--sup-white); }
.sup-hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  color: var(--sup-white);
  background: linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.15)), var(--hero-image) center / cover no-repeat, var(--sup-red);
}
.sup-hero__content { padding: 90px 0; }
.sup-hero h1 { max-width: 920px; margin: 0 0 24px; font-size: 52px; line-height: 1.04; font-weight: 700; }
.sup-hero__lead { max-width: 680px; margin: 0 0 16px; font-size: 24px; }
.sup-hero__note { max-width: 560px; margin: 0 0 28px; font-size: 18px; }
.sup-hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.sup-button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 13px 25px; color: var(--sup-white); background: var(--sup-red); border: 2px solid var(--sup-red); border-radius: 100px; text-decoration: none; font-weight: 700; }
.sup-button:hover, .sup-button:focus-visible { color: var(--sup-red); background: transparent; }
.sup-button--cream { color: var(--sup-red); border-color: var(--sup-cream); background: var(--sup-cream); }
.sup-button--cream:hover, .sup-button--cream:focus-visible { color: var(--sup-white); }
.sup-button--outline { color: var(--sup-white); border-color: var(--sup-white); background: transparent; }
.sup-button--outline:hover, .sup-button--outline:focus-visible { color: var(--sup-black); background: var(--sup-white); }
.sup-split, .sup-text-columns, .sup-contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(34px, 7vw, 92px); align-items: center; }
.sup-split img { width: 100%; max-height: 640px; object-fit: cover; }
.sup-section#about { padding: 195px 0 180px; background: var(--sup-white); }
.sup-section#about p { font-size: 22px; }
#routes { padding: 75px 0 30px; background: var(--sup-muted); }
.sup-section-intro { max-width: 980px; margin: 0 auto 90px; text-align: center; }
.sup-section-intro p { max-width: 560px; margin: 0 auto; font-size: 28px; }
.sup-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 30px; row-gap: 150px; }
.sup-card { display: flex; flex-direction: column; min-width: 0; background: transparent; text-align: center; }
.sup-card picture { display: block; }
.sup-card img { width: 100%; aspect-ratio: 18 / 25; object-fit: cover; }
.sup-card__body { display: flex; flex: 1; flex-direction: column; align-items: center; padding: 28px 10px 0; }
.sup-card h3 { margin: 0 0 24px; color: var(--sup-black); font-size: 22px; line-height: 1.08; }
.sup-card .sup-button { margin-top: auto; }
.sup-card .sup-button { min-height: 44px; padding: 9px 20px; border-radius: 5px; }
.sup-price { color: var(--sup-red); font-size: 28px; font-weight: 700; }
.sup-section--red .sup-price { color: var(--sup-white); }
.sup-checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; padding: 0; list-style: none; }
.sup-checks li::before { content: "✓"; margin-right: 10px; color: var(--sup-red); }
.sup-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sup-gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sup-corporate { min-height: 1630px; padding: 195px 0 180px; background: var(--sup-corporate); text-align: center; }
.sup-corporate > .sup-shell > p { max-width: 760px; margin-right: auto; margin-left: auto; font-size: 22px; }
.sup-corporate .sup-gallery { margin-top: 80px; gap: 30px; }
.sup-booking { min-height: 1440px; padding: 150px 0; color: var(--sup-white); background: var(--sup-booking); }
.sup-booking h2, .sup-booking h3 { color: var(--sup-white); }
.sup-booking__intro { max-width: 820px; margin: 0 auto 90px; text-align: center; }
.sup-warning { color: var(--sup-white); font-size: 24px; font-weight: 700; }
.sup-booking__rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 54px; }
.sup-booking__rules article::before { content: "✓"; display: block; margin-bottom: 18px; color: var(--sup-white); font-size: 36px; }
.sup-booking__rules h3 { font-size: 24px; }
.sup-route-list { background: var(--sup-white); }
.sup-route-band { padding: 120px 0; }
.sup-route-band:nth-child(even) { background: var(--sup-cream); }
.sup-route-detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; align-items: center; }
.sup-route-detail picture, .sup-route-detail img { width: 100%; }
.sup-route-detail img { height: auto; }
.sup-route-copy { white-space: pre-line; }
.sup-route-question { margin-top: 28px; }
.sup-certificate { min-height: 880px; }
.sup-certificate picture, .sup-certificate picture img { width: 100%; }
.sup-faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 70px 80px; }
.sup-faq-grid article::before { content: "✓"; color: var(--sup-red); font-size: 32px; }
.sup-faq-grid h3 { color: var(--sup-red); font-size: 24px; }
.sup-button--question { margin-top: 70px; color: var(--sup-red); border-color: var(--sup-black); background: transparent; }
#faq { min-height: 1440px; padding: 150px 0 90px; }
.sup-schedule__heading { padding: 60px 0; color: var(--sup-white); background: var(--sup-red); text-align: center; }
.sup-schedule__heading h2 { color: var(--sup-white); }
.sup-schedule__days { padding: 90px 0; text-align: center; }
.sup-days { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.sup-days li { flex: 1 1 130px; padding: 22px 16px; border: 1px solid var(--sup-muted); }
.sup-slider { margin-bottom: 32px; }
.sup-slider__slides blockquote { min-height: 210px; margin: 0; padding: 36px; background: var(--sup-white); }
.sup-slider__slides cite { color: var(--sup-red); font-style: normal; font-weight: 700; }
.sup-slider__controls { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 18px; }
.sup-slider__controls button { width: 42px; height: 42px; padding: 0; border: 2px solid var(--sup-red); color: var(--sup-red); background: transparent; cursor: pointer; }
.sup-slider__bullets { display: flex; gap: 8px; }
.sup-slider__bullets button { width: 14px; height: 14px; border-radius: 50%; }
.sup-slider__bullets button[aria-current="true"] { background: var(--sup-red); }
.sup-slider button:focus-visible, .menu-toggle:focus-visible, .primary-menu a:focus-visible { outline: 3px solid var(--sup-red); outline-offset: 4px; }
.sup-contact__links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.sup-contact__links a { font-size: 22px; }
#reviews { padding: 30px 0 60px; background: var(--sup-muted); }
#contacts { min-height: 839px; display: flex; align-items: center; }

@media (max-width: 980px) {
  .site-header__inner { min-height: 66px; }
  .menu-toggle { display: inline-flex; margin-left: auto; padding: 12px; }
  .primary-menu[hidden] { display: none; }
  .primary-menu { position: absolute; z-index: 50; top: 66px; left: 0; width: 100%; padding: 24px; background: var(--sup-white); }
  .primary-menu ul { align-items: flex-start; flex-direction: column; }
  .sup-section h2, .sup-route-band h2 { font-size: 30px; }
  .sup-hero h1 { font-size: 34px; }
  .sup-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 60px; }
  .sup-card img { aspect-ratio: 20 / 9; }
  .sup-route-detail, .sup-split, .sup-text-columns, .sup-contact { grid-template-columns: 1fr; }
  .sup-split > picture, .sup-split > img { order: -1; }
  .sup-corporate, .sup-booking, .sup-certificate, #faq, #contacts { min-height: 0; }
  .sup-corporate { padding: 90px 0; }
  .sup-booking { padding: 90px 0; }
  .sup-booking__rules, .sup-faq-grid { grid-template-columns: 1fr; }
  .sup-route-band { padding: 120px 0; }
  .sup-route-detail { gap: 50px; }
}

@media (max-width: 620px) {
  .sup-section { padding: 60px 0; }
  .sup-section h2, .sup-route-band h2 { font-size: 24px; }
  .sup-hero { min-height: 100vh; }
  .sup-hero__content { padding: 60px 0; }
  .sup-hero h1 { font-size: 24px; }
  .sup-hero__lead { font-size: 17px; }
  .sup-hero__note { font-size: 15px; }
  .sup-hero__actions { align-items: flex-start; flex-direction: column; }
  .sup-button { min-height: 44px; padding: 10px 20px; font-size: 14px; }
  .sup-section#about { padding: 30px 0; }
  .sup-section#about p { font-size: 14px; }
  #routes { padding: 30px 0; }
  .sup-section-intro { margin-bottom: 60px; }
  .sup-section-intro p { font-size: 14px; }
  .sup-card-grid { grid-template-columns: 1fr; }
  .sup-card__body { padding-top: 24px; }
  .sup-card h3 { font-size: 20px; }
  .sup-gallery { grid-template-columns: 1fr; }
  .sup-checks { grid-template-columns: 1fr; }
  .sup-corporate { padding: 30px 0; }
  .sup-corporate > .sup-shell > p { font-size: 14px; }
  .sup-corporate .sup-gallery { margin-top: 40px; gap: 14px; }
  .sup-booking { padding: 30px 0; }
  .sup-booking__intro { margin-bottom: 45px; }
  .sup-booking__rules { gap: 38px; }
  .sup-route-band { padding: 30px 0; }
  .sup-route-detail { gap: 30px; }
  .sup-route-copy, .sup-route-question { font-size: 14px; }
  .sup-price { font-size: 22px; }
  .sup-certificate { padding: 60px 0; }
  #faq { padding: 30px 0 90px; }
  .sup-faq-grid { gap: 36px; }
  .sup-faq-grid h3 { font-size: 18px; }
  .sup-schedule__heading { padding: 60px 0; }
  .sup-schedule__days { padding: 90px 0; }
  #reviews { padding: 30px 0 60px; }
  #contacts { padding: 90px 0; }
  .legal-document { padding: 72px 0 80px; font-size: 16px; line-height: 1.45; }
  .legal-document h1, .legal-document--policy h1 { margin-bottom: 30px; font-size: 28px; }
  body:has(.legal-document) .site-footer { padding: 48px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}
