/* ==========================================================================
   Ginnery — homepage styles
   Источник: Figma «GinneryGin 2026», фреймы Homepage (Desktop 1512 / Mobile 410)
   Брейкпоинты: ≤1023px — планшет/мобильный (бургер-меню, колонки в столбик)
                ≤599px  — узкие телефоны (мелкие уточнения)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --navy: #15293d;        /* Blue/950 */
  --night: #020c15;
  --blue-100: #e6eff8;    /* Blue/100 */
  --blue-500: #3987be;    /* Blue/500 */
  --blue-700: #225682;
  --bronze: #cf9445;
  --cream: #f2eed6;       /* Beige/100 */
  --brown: #361912;
  --brown-label: #834725;
  --page: #f3f8fc;
  --white: #fff;
  --wsc-orange: #e94d11;

  --font: "Urbanist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1224px;
  --gutter: 24px;
  --radius: 12px;
  --pill: 24px;
  --section-y: 48px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--navy);
  font: 400 16px/24px var(--font);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--blue-500); outline-offset: 3px; }

/* ---------- Icons ---------- */
.icon { width: 20px; height: 20px; fill: currentColor; flex: none; }
.icon--24 { width: 24px; height: 24px; }
.icon--36 { width: 36px; height: 36px; }

/* ---------- Typography ---------- */
.eyebrow { font: 800 20px/24px var(--font); color: var(--bronze); text-align: center; }
.eyebrow--left { text-align: left; }
.h2 { font: 800 44px/48px var(--font); color: var(--navy); text-align: center; }
.h2--left { text-align: left; }
.lead { font: 500 18px/24px var(--font); text-align: center; }

.section { padding-block: var(--section-y); }
.section-head { display: grid; gap: 24px; max-width: 605px; margin-inline: auto; text-align: center; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  height: 40px; padding: 0 16px 0 24px;
  border: 1px solid var(--bronze); border-radius: var(--pill);
  background: var(--bronze); color: var(--white);
  font: 700 14px/24px var(--font); letter-spacing: 0; text-transform: uppercase; text-decoration: none;
  transition: filter .2s;
}
.btn:hover { filter: brightness(.92); }
.btn--sm { height: 32px; padding: 0 16px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--bronze); font: 700 14px/24px var(--font); text-transform: uppercase; text-decoration: none;
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  min-height: 40px; padding: 0 24px 8px; border-radius: var(--pill);
  font: 700 16px/24px var(--font); color: var(--bronze);
}
.pill--glass { background: rgb(2 12 21 / .2); border: 1px solid var(--bronze); }
.pill--solid { background: var(--navy); }

.section-cta { display: flex; justify-content: center; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header { position: absolute; inset: 0 0 auto 0; z-index: 10; }
.site-header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: 144px;
}
.site-nav { display: contents; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav--left { order: 1; }
.logo { order: 2; display: block; color: var(--cream); }
.nav--right { order: 3; justify-content: flex-end; }

.logo__round { width: 128px; height: 128px; fill: currentColor; display: block; }
.logo__text { display: none; width: 128px; height: 48px; fill: currentColor; }

.menu-link {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--cream); font: 700 14px/24px var(--font); text-transform: uppercase; text-decoration: none;
}
.menu-link .icon { color: var(--blue-500); }
.menu-link:hover { color: var(--bronze); }

.burger, .lang-switch { display: none; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; display: flex; align-items: flex-end;
  min-height: 832px; overflow: hidden; background: #010509;
}
.hero::before { /* градиент под шапкой */
  content: ""; position: absolute; inset: 0 0 auto 0; height: 248px; z-index: 1;
  background: linear-gradient(to bottom, var(--navy), rgb(21 41 61 / 0));
  pointer-events: none;
}
.hero__media {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #010509;
}
.hero__inner { position: relative; z-index: 2; padding-bottom: 48px; }
.hero__content { display: flex; flex-direction: column; align-items: center; gap: 48px; text-align: center; }
.hero__text { display: grid; gap: 24px; justify-items: center; }
.hero__kicker { font: 700 40px/44px var(--font); color: var(--bronze); }
.hero__title { font: 800 clamp(42px, 5.3vw, 80px)/1 var(--font); color: var(--cream); }
.hero__lead { font: 800 24px/32px var(--font); color: var(--cream); }

.hero__mute {
  position: absolute; right: 0; bottom: 48px;
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 48px; background: rgb(2 12 21 / .5); color: var(--cream);
}
.hero__mute:hover { background: rgb(2 12 21 / .75); }

/* ==========================================================================
   PRODUCTS
   ========================================================================== */
.products .container { display: grid; gap: 48px; }

.product-list {
  display: flex; gap: 24px; padding-block: 8px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.product-list::-webkit-scrollbar { display: none; }
.product-card { flex: 0 0 calc((100% - 72px) / 4); scroll-snap-align: start; }
.product-card__link { display: grid; gap: 8px; text-decoration: none; }

.product-card__media { position: relative; display: block; border-radius: var(--radius); overflow: hidden; }
.product-card__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.product-card__badge {
  position: absolute; top: 24px; right: 24px;
  padding: 0 16px 4px; border: 1px solid var(--bronze); border-radius: var(--pill);
  background: var(--white); color: var(--bronze); font: 700 14px/22px var(--font);
}
.product-card__body { display: grid; gap: 8px; text-align: center; color: var(--navy); }
.product-card__title { font: 800 28px/32px var(--font); }
.product-card__sub { font: 700 18px/24px var(--font); }

.dots { display: flex; justify-content: center; gap: 8px; margin-top: -8px; }
.dots__item {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--navy); border: 2px solid var(--page); opacity: .5;
}
.dots__item.is-active { background: var(--bronze); border-color: transparent; opacity: 1; }

/* ==========================================================================
   AWARDS
   ========================================================================== */
.awards { position: relative; padding: 40px var(--gutter) 64px; background: var(--navy); color: var(--cream); }
.awards__col { position: relative; display: grid; gap: 24px; max-width: 809px; margin-inline: auto; }
.awards .h2 { color: var(--cream); }
.awards .lead { color: var(--cream); }

.awards-label {
  display: flex; align-items: center; justify-content: center; gap: 16px; padding-top: 24px;
  font: 700 16px/24px var(--font); color: var(--blue-700); text-align: center;
}
.stars { display: flex; gap: 8px; color: var(--blue-700); opacity: .5; }

/* featured award */
.award-feature {
  display: grid; grid-template-columns: 231px 1fr; align-items: center; gap: 48px; padding: 24px;
  border: 1px solid var(--blue-500); border-radius: var(--radius); background: rgb(34 86 130 / .2);
}
.award-feature__media { position: relative; width: 231px; height: 263px; }
.award-feature__silver { position: absolute; left: 0; top: 18px; width: 173px; height: auto; }
.award-feature__ribbon { position: absolute; left: 139px; top: 0; width: 92px; height: 263px; object-fit: cover; }
.award-feature__body { display: grid; justify-items: start; gap: 24px; }
.award-feature__title { font: 800 36px/40px var(--font); color: var(--bronze); }
.award-feature__text { font: 500 18px/24px var(--font); }
.award-feature__link {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 16px/24px var(--font); color: var(--cream); text-decoration: none;
}
.award-feature__link .icon { color: var(--bronze); }
.award-feature__link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* tabs (CSS-only) */
.award-tabs { position: relative; display: grid; gap: 32px; margin-top: 8px; }
.award-tabs > input { position: absolute; opacity: 0; pointer-events: none; }
.award-tabs__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.award-tab {
  display: grid; justify-items: center; align-content: center; gap: 7px; min-height: 112px; padding: 16px 24px;
  border: 1px solid transparent; border-radius: var(--radius); background: rgb(34 86 130 / .2);
  text-align: center; cursor: pointer; transition: border-color .2s;
}
.award-tab:hover { border-color: rgb(207 148 69 / .5); }
.award-tab__medal { font: 800 14px/18px var(--font); color: var(--bronze); text-transform: uppercase; }
.award-tab__name { font: 800 20px/24px var(--font); }
.award-tab__type { font: 400 16px/24px var(--font); }

.award-panel { display: none; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.award-panel img {
  width: 100%; height: 488px; object-fit: cover; border: 1px solid var(--bronze); border-radius: var(--radius);
}
.award-panel__body { display: grid; gap: 32px; }
.award-panel__title { font: 800 32px/40px var(--font); color: var(--bronze); }
.award-panel__abv { margin-top: 8px; font: 800 24px/32px var(--font); }

#award-1:checked ~ .award-tabs__panels #award-panel-1,
#award-2:checked ~ .award-tabs__panels #award-panel-2,
#award-3:checked ~ .award-tabs__panels #award-panel-3 { display: grid; }
#award-1:checked ~ .award-tabs__nav label[for="award-1"],
#award-2:checked ~ .award-tabs__nav label[for="award-2"],
#award-3:checked ~ .award-tabs__nav label[for="award-3"] { border-color: var(--bronze); }
#award-1:focus-visible ~ .award-tabs__nav label[for="award-1"],
#award-2:focus-visible ~ .award-tabs__nav label[for="award-2"],
#award-3:focus-visible ~ .award-tabs__nav label[for="award-3"] { outline: 2px solid var(--blue-500); outline-offset: 3px; }

/* WSC link */
.wsc-link {
  display: flex; align-items: center; justify-content: space-between; gap: 29px;
  width: 416px; max-width: 100%; margin: 16px 0 0 auto;
  color: var(--cream); text-decoration: none;
}
.wsc-link__logo { width: 197px; height: 104px; fill: var(--wsc-orange); flex: none; }
.wsc-link__text { display: flex; align-items: center; gap: 8px; max-width: 175px; font: 800 20px/24px var(--font); }
.wsc-link__text .icon { color: var(--bronze); }
.wsc-link:hover .wsc-link__text { text-decoration: underline; text-underline-offset: 4px; }

.awards__medal { position: absolute; left: 80px; bottom: -19px; width: 222px; height: auto; pointer-events: none; }

/* ==========================================================================
   THREE DOORS
   ========================================================================== */
.doors .container { display: grid; gap: 48px; }
.door-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.door-card {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: var(--navy); color: var(--cream);
}
.door-card__img { width: 100%; height: 242px; object-fit: cover; }
.door-card__body { position: relative; display: grid; align-content: start; gap: 16px; flex: 1; padding: 24px; }
.door-card__eyebrow { font: 700 14px/18px var(--font); color: var(--bronze); }
.door-card__title { font: 800 24px/32px var(--font); color: var(--cream); }
.door-card__text { margin-top: -8px; }
.door-card__body .link-arrow { margin-top: auto; padding-top: 8px; }
.door-card__num {
  position: absolute; top: 24px; right: 24px;
  font: 800 56px/48px var(--font); color: var(--blue-700);
}

/* ==========================================================================
   BOOKING
   ========================================================================== */
.booking .container { display: grid; gap: 48px; }
.booking-form {
  width: min(648px, 100%); margin-inline: auto; padding: 40px 32px 32px;
  border-radius: var(--radius); background: var(--cream); color: var(--brown);
}
.booking-form__row { display: flex; align-items: center; gap: 16px; }
.booking-form__row .field { flex: 1 1 110px; }
.booking-form__row .field--date { flex: 1.9 1 160px; }
.booking-form__note { margin-top: 16px; text-align: center; color: var(--brown); }
.booking-form__note a { font-weight: 700; }

/* ---------- Form fields (floating label) ---------- */
.field { position: relative; display: block; }
.field__label {
  position: absolute; left: 17px; top: -8px; z-index: 1; padding: 0 4px;
  background: var(--cream); color: var(--brown-label); font: 700 12px/16px var(--font);
}
.field select, .field input {
  width: 100%; height: 40px; padding: 0 40px 8px 16px;
  border: 1px solid var(--bronze); border-radius: var(--pill);
  background: transparent; color: var(--brown); font: 500 18px/24px var(--font);
  appearance: none; -webkit-appearance: none;
}
.field input { padding-right: 16px; }
.field select { padding-top: 7px; cursor: pointer; }
.field__icon { position: absolute; right: 12px; top: 10px; pointer-events: none; color: var(--brown); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { padding-bottom: 96px; }
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.about__img { width: 100%; aspect-ratio: 593 / 432; object-fit: cover; border-radius: var(--radius); }
.about__body { display: grid; gap: 24px; justify-items: start; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact { padding-block: 48px; background: var(--blue-100); }
.contact__inner { display: grid; gap: 48px; max-width: 1016px; }
.contact__body { display: grid; gap: 32px; }
.contact__venue { text-align: center; font: 800 28px/32px var(--font); color: var(--bronze); }
.contact__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact__list { display: grid; align-content: start; gap: 24px; }
.contact__item { display: flex; gap: 16px; }
.contact__item .icon { color: var(--blue-700); }
.contact__item div { display: grid; gap: 4px; }
.contact__item strong { font: 700 18px/24px var(--font); }
.contact__item strong a { text-decoration: none; }
.contact__item strong a:hover { text-decoration: underline; }
.contact__social { display: flex; gap: 16px; padding-left: 40px; color: #000; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--navy); color: var(--cream); padding-block: 48px; }
.site-footer__inner { display: grid; gap: 48px; }
.site-footer .h2 { color: var(--cream); }

.newsletter { display: grid; justify-items: center; gap: 24px; max-width: 806px; margin-inline: auto; text-align: center; }
.newsletter__logo { width: 80px; height: 80px; fill: var(--cream); }
.newsletter__text { font: 500 18px/24px var(--font); }
.newsletter__form { display: flex; gap: 16px; margin-top: 16px; justify-content: center; }
.newsletter__form .field { width: 283px; }
.newsletter__note { margin-top: -8px; }
.field--dark .field__label { background: var(--navy); color: var(--bronze); }
.field--dark input { color: var(--cream); }
.field--dark input::placeholder { color: var(--cream); opacity: .8; }

.facts { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px 32px; }
.facts__item { display: flex; align-items: center; gap: 8px; }
.facts__item b { color: var(--bronze); }
.facts__item .icon { color: var(--bronze); }

.divider { display: flex; align-items: center; gap: 16px; }
.divider span { flex: 1; height: 1px; background: var(--blue-700); }
.divider__icon { width: 32px; height: 32px; fill: var(--cream); }

.legal { display: flex; justify-content: space-between; gap: 32px; }
.legal a { text-decoration: none; }
.legal a:hover { text-decoration: underline; }

/* ==========================================================================
   ≤1023px — планшет и мобильный
   ========================================================================== */
@media (max-width: 1023px) {
  :root { --section-y: 32px; }

  /* header: 56px, сплошной, бургер + логотип + язык */
  .site-header { position: sticky; top: 0; background: var(--navy); }
  .site-header__inner { grid-template-columns: 40px 1fr auto; height: 56px; column-gap: 0; }
  .burger { order: 1; display: grid; place-items: center; width: 40px; height: 40px; color: var(--cream); cursor: pointer; }
  .logo { order: 2; justify-self: center; }
  .logo__round { display: none; }
  .logo__text { display: block; }
  .lang-switch { order: 3; display: flex; align-items: center; }
  .lang-switch__item {
    display: grid; place-items: center; width: 40px; height: 40px;
    color: var(--cream); font: 700 14px/24px var(--font); text-transform: uppercase; text-decoration: none;
  }
  .lang-switch__item.is-active { font-size: 28px; font-weight: 800; color: var(--bronze); }

  .site-nav {
    display: none; position: absolute; top: 56px; left: 0; right: 0; z-index: 20;
    flex-direction: column; gap: 16px; padding: 16px var(--gutter) 24px;
    background: var(--navy); border-top: 1px solid var(--blue-700);
  }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .nav { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* hero: видео сверху, текст на тёмном блоке ниже */
  .hero { display: block; min-height: 0; background: var(--navy); }
  .hero::before { display: none; }
  .hero__media { position: relative; display: block; height: auto; aspect-ratio: 410 / 224; }
  .hero__inner { position: static; width: 100%; padding: 40px var(--gutter) 40px; }
  .hero__content { gap: 24px; }
  .hero__text { text-align: center; }
  .hero__kicker { font-size: 32px; line-height: 36px; }
  .hero__title { font-size: 42px; line-height: 48px; }
  .hero__lead { font-size: 20px; line-height: 24px; }
  .hero__content .pill { width: 100%; min-height: 34px; padding: 0 24px 8px; gap: 8px; flex-wrap: wrap; }
  .hero__mute { position: absolute; top: calc(100vw * 224 / 410 - 48px); right: var(--gutter); bottom: auto; }

  .h2 { font-size: 36px; line-height: 40px; }
  .section-head { gap: 8px; }
  .products .container, .doors .container, .booking .container { gap: 24px; }

  .product-card { flex: 0 0 min(362px, 100%); }
  .product-card__title { font-size: 24px; }

  .awards { padding: 32px var(--gutter) 40px; }
  .award-feature { grid-template-columns: 1fr; justify-items: center; gap: 24px; text-align: center; }
  .award-feature__body { justify-items: center; }
  .award-tabs__nav { grid-template-columns: 1fr; gap: 16px; }
  .award-tab { min-height: 96px; }
  .award-panel { grid-template-columns: 1fr; gap: 24px; }
  .award-panel img { height: auto; aspect-ratio: 384 / 488; }
  .wsc-link { flex-direction: column; justify-content: center; gap: 16px; width: auto; margin: 16px auto 0; text-align: center; }
  .wsc-link__logo { width: 123px; height: 64px; }
  .wsc-link__text { max-width: none; justify-content: center; }
  .awards__medal { position: static; display: block; width: 147px; margin: 8px auto -8px; }

  .door-list { grid-template-columns: 1fr; gap: 24px; }
  .door-card__img { height: auto; aspect-ratio: 362 / 222; }

  .booking-form { padding: 28px 24px 24px; }
  .booking-form__row { flex-wrap: wrap; gap: 16px; }
  .booking-form__row .field--date { flex: 1 1 100%; }
  .booking-form__row .btn { flex: 1 1 100%; }

  .about { padding-bottom: 24px; }
  .about__grid { grid-template-columns: 1fr; gap: 16px; }

  .contact { padding-block: 32px; }
  .contact__inner { gap: 24px; }
  .contact__venue { font-size: 28px; }
  .contact__cols { grid-template-columns: 1fr; gap: 24px; }
  .contact__social { padding-left: 40px; }

  .site-footer { padding-block: 32px; }
  .site-footer__inner { gap: 32px; }
  .newsletter { gap: 8px; }
  .newsletter__form { flex-direction: column; align-self: stretch; width: 100%; gap: 16px; }
  .newsletter__form .field { width: 100%; }
  .newsletter__form .btn { width: 100%; }
  .facts { justify-content: center; text-align: center; gap: 16px 32px; }
  .legal { flex-direction: column; align-items: center; gap: 16px; text-align: center; }
}

/* ==========================================================================
   ≤599px — узкие телефоны
   ========================================================================== */
@media (max-width: 599px) {
  .h2 { font-size: 32px; line-height: 36px; }
  .hero__title { font-size: 40px; }
  .award-feature__title { font-size: 28px; line-height: 32px; }
  .award-panel__title { font-size: 28px; line-height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
