﻿/* =========================================================
   Admiral Hotel Platform — Glass Maritime UI v1
   MODX Revolution / IIS
   ========================================================= */

:root {
  --navy-950: #061625;
  --navy-900: #0a2236;
  --navy-800: #103a57;
  --blue-700: #155f86;
  --blue-600: #1979a8;
  --cyan-400: #53c8d8;
  --gold-500: #c9a96b;
  --gold-400: #dec286;
  --ink: #152533;
  --muted: #61717f;
  --surface: #f3f7fa;
  --white: #fff;
  --line: rgba(15, 48, 70, .12);
  --shadow-sm: 0 8px 24px rgba(6, 28, 45, .08);
  --shadow-md: 0 18px 50px rgba(6, 28, 45, .14);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --container: 1280px;
  --header-height: 82px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(900px 600px at 8% 8%, rgba(83, 200, 216, .13), transparent 62%),
    radial-gradient(800px 520px at 92% 22%, rgba(21, 95, 134, .11), transparent 58%),
    linear-gradient(180deg, #f7fafc 0%, #edf4f7 100%);
  font-family: "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-main { flex: 1 0 auto; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--white);
  background: var(--navy-900);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: var(--header-height);
  color: var(--white);
  background: rgba(6, 22, 37, .91);
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header__inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.site-header .menu-toggle,
.site-header .nav-toggle {
  margin-left: auto;
}

.site-header .header-book,
.site-header .button--header {
  margin-left: 8px;
}

.brand__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 15px 15px 15px 5px;
  color: var(--navy-950);
  background: linear-gradient(145deg, var(--gold-400), #f0dca9);
  box-shadow: 0 10px 26px rgba(201, 169, 107, .22);
  font-size: 25px;
  font-weight: 900;
}

.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-size: 23px; letter-spacing: .02em; text-transform: uppercase; }
.brand__text small { margin-top: 5px; color: rgba(255, 255, 255, .68); font-size: 12px; }

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 7px;
}

.main-nav a {
  padding: 11px 14px;
  border-radius: 12px;
  color: rgba(255, 255, 255, .82);
  font-weight: 650;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, .1);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 13px;
  color: var(--white);
  background: rgba(255, 255, 255, .08);
}

.nav-toggle span {
  width: 21px;
  height: 2px;
  display: block;
  margin: 5px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 19px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.button:hover { transform: translateY(-2px); }

.button--header {
  color: var(--navy-950);
  background: linear-gradient(145deg, var(--gold-400), #f0dca9);
  box-shadow: 0 10px 24px rgba(201, 169, 107, .2);
}

.button--primary {
  color: var(--white);
  background: linear-gradient(145deg, var(--blue-600), var(--navy-800));
  box-shadow: 0 12px 28px rgba(21, 95, 134, .24);
}

.button--primary:hover { box-shadow: 0 17px 34px rgba(21, 95, 134, .32); }

.button--secondary {
  color: var(--white);
  background: var(--navy-800);
  box-shadow: 0 10px 24px rgba(16, 58, 87, .2);
}

.button--glass {
  color: var(--white);
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.button--glass:hover { background: rgba(255, 255, 255, .18); }

.button--light {
  color: var(--navy-900);
  background: var(--white);
  box-shadow: 0 14px 35px rgba(0, 0, 0, .17);
}

.button--large { min-height: 54px; padding: 15px 25px; border-radius: 17px; }

/* Booking bar */
.booking-bar {
  position: relative;
  z-index: 20;
  padding: 16px 0;
  background: rgba(255, 255, 255, .82);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(6, 28, 45, .1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.booking-form {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr .8fr auto;
  align-items: end;
  gap: 10px;
}

.booking-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.booking-field > span {
  padding-left: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.booking-field input,
.booking-field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  color: var(--ink);
  background: rgba(247, 250, 252, .92);
  border: 1px solid rgba(15, 48, 70, .15);
  border-radius: 13px;
  outline: none;
}

.booking-field input:focus,
.booking-field select:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(25, 121, 168, .12);
}

.booking-form .button { min-height: 48px; }

/* Hero */
.hero {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(4, 19, 32, .94) 0%, rgba(7, 35, 56, .81) 47%, rgba(7, 35, 56, .28) 100%),
    url("/assets/admiral/images/common/hero-main.jpg") center / cover no-repeat,
    linear-gradient(135deg, var(--navy-950), var(--blue-700));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -15% -45% 30%;
  height: 70%;
  border-radius: 50%;
  background: rgba(83, 200, 216, .12);
  filter: blur(90px);
}

.hero__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 450px at 78% 30%, rgba(83, 200, 216, .16), transparent 65%),
    linear-gradient(180deg, transparent 55%, rgba(4, 19, 32, .3));
}

.hero__content { position: relative; z-index: 2; padding: 86px 0 80px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-400);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.eyebrow--dark { color: var(--blue-700); }

.hero h1 {
  max-width: 900px;
  margin: 22px 0 20px;
  font-size: clamp(44px, 6.2vw, 82px);
  line-height: .99;
  letter-spacing: -.045em;
}

.hero__lead {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.48;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero__facts {
  max-width: 720px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 62px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero__facts > div { padding: 18px 22px; background: rgba(4, 19, 32, .36); }
.hero__facts strong { display: block; color: var(--gold-400); font-size: 27px; }
.hero__facts span { color: rgba(255, 255, 255, .72); font-size: 13px; }

/* Sections */
.page-section { padding: 92px 0; }
.page-section--hotels { background: rgba(255, 255, 255, .58); }
.page-section--features { position: relative; overflow: hidden; }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin: 10px 0 0;
  color: var(--navy-900);
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.section-heading > p { max-width: 560px; margin: 0; color: var(--muted); line-height: 1.65; }
.section-heading--center { display: block; text-align: center; }
.section-heading--center .eyebrow { justify-content: center; }

/* Hotel cards */
.hotel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }

.hotel-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .78);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.hotel-card:hover { transform: translateY(-5px); background: rgba(255, 255, 255, .92); box-shadow: var(--shadow-md); }

.hotel-card__media {
  position: relative;
  min-height: 310px;
  background-position: center;
  background-size: cover;
}

.hotel-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 22, 37, .04), rgba(6, 22, 37, .56));
}

.hotel-card__media--admiral {
  background-image:
    linear-gradient(135deg, rgba(16, 58, 87, .08), rgba(6, 22, 37, .2)),
    url("/assets/admiral/images/admiral/card.jpg"),
    linear-gradient(135deg, #376f87, #0a2236);
}

.hotel-card__media--center {
  background-image:
    linear-gradient(135deg, rgba(16, 58, 87, .08), rgba(6, 22, 37, .2)),
    url("/assets/admiral/images/admiral-center/card.jpg"),
    linear-gradient(135deg, #497e8c, #103a57);
}

.hotel-card__badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: var(--white);
  background: rgba(6, 22, 37, .55);
  box-shadow: inset 0 1px rgba(255, 255, 255, .14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 800;
}

.hotel-card__body { padding: 25px; }
.hotel-card__heading { display: flex; justify-content: space-between; gap: 20px; }
.hotel-card__heading h3 { margin: 0 0 7px; color: var(--navy-900); font-size: 25px; }
.hotel-card__heading p { margin: 0; color: var(--muted); }

.hotel-card__price { flex: 0 0 auto; text-align: right; }
.hotel-card__price small, .hotel-card__price span { display: block; color: var(--muted); font-size: 11px; }
.hotel-card__price strong { display: block; margin: 2px 0; color: var(--blue-700); font-size: 23px; }

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 7px 11px;
  border: 1px solid rgba(21, 95, 134, .13);
  border-radius: 999px;
  color: var(--navy-800);
  background: rgba(25, 121, 168, .075);
  font-size: 13px;
  font-weight: 700;
}

.hotel-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.text-link { color: var(--blue-700); font-weight: 800; }
.text-link:hover { color: var(--navy-900); }

.price-note { margin: 18px 0 0; color: var(--muted); font-size: 13px; text-align: right; }

/* Advantages */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.advantage-card {
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .7);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform .18s ease, box-shadow .18s ease;
}

.advantage-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.advantage-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue-600), var(--navy-800));
  box-shadow: 0 12px 28px rgba(21, 95, 134, .22);
  font-size: 15px;
  font-weight: 900;
}

.advantage-card h3 { margin: 0 0 10px; color: var(--navy-900); font-size: 19px; }
.advantage-card p { margin: 0; color: var(--muted); line-height: 1.58; }

/* CTA */
.page-section--cta { padding-top: 24px; }

.cta-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 46px 50px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(500px 300px at 90% 10%, rgba(83, 200, 216, .22), transparent 65%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  box-shadow: 0 24px 60px rgba(6, 28, 45, .25);
}

.cta-card h2 { margin: 9px 0 10px; font-size: clamp(31px, 4vw, 48px); letter-spacing: -.03em; }
.cta-card p { margin: 0; color: rgba(255, 255, 255, .72); }

/* Generic inner pages */
.page-section > .container > h1 {
  margin: 0 0 18px;
  color: var(--navy-900);
  font-size: clamp(38px, 5vw, 62px);
  letter-spacing: -.04em;
}

.page-section > .container > p { color: var(--muted); font-size: 18px; line-height: 1.65; }

/* Footer */
.site-footer {
  position: relative;
  margin-top: 80px;
  color: rgba(255, 255, 255, .78);
  background:
    radial-gradient(650px 330px at 15% 0%, rgba(83, 200, 216, .12), transparent 65%),
    var(--navy-950);
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1.2fr;
  gap: 42px;
  padding-top: 58px;
  padding-bottom: 44px;
}

.brand--footer .brand__mark { width: 42px; height: 42px; }
.site-footer__about p { max-width: 350px; margin: 18px 0 0; line-height: 1.6; }
.site-footer__title { margin: 4px 0 16px; color: var(--white); font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.site-footer__links { margin: 0; padding: 0; list-style: none; }
.site-footer__links li + li { margin-top: 10px; }
.site-footer__links a:hover { color: var(--gold-400); }
.site-footer__contacts { font-style: normal; }
.site-footer__contacts p { margin: 0 0 10px; }

.site-footer__bottom {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .58);
  font-size: 13px;
}

.beta-label {
  padding: 6px 10px;
  border: 1px solid rgba(222, 194, 134, .22);
  border-radius: 999px;
  color: var(--gold-400);
  background: rgba(222, 194, 134, .07);
}

/* Responsive */
@media (max-width: 1080px) {
  .booking-form { grid-template-columns: repeat(4, 1fr); }
  .booking-field--hotel { grid-column: span 2; }
  .booking-form .button { grid-column: span 2; }
  .advantage-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  :root { --header-height: 72px; }
  .site-header__inner { gap: 14px; }
  .brand__text small { display: none; }
  .nav-toggle { display: block; }

  .main-nav {
    position: fixed;
    z-index: 99;
    inset: var(--header-height) 0 auto;
    display: none;
    margin: 0;
    padding: 16px 20px 22px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(6, 22, 37, .98);
    border-top: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 24px 40px rgba(0, 0, 0, .28);
  }

  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 16px; }
  .button--header { margin-left: 0; }
  .hero { min-height: 590px; }
  .hotel-grid { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 15px; }
  .cta-card { align-items: flex-start; flex-direction: column; padding: 38px 32px; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .site-header .button--header { display: none; }
  .booking-form { grid-template-columns: repeat(2, 1fr); }
  .booking-field--hotel, .booking-form .button { grid-column: 1 / -1; }
  .hero__content { padding: 62px 0 58px; }
  .hero h1 { font-size: clamp(40px, 13vw, 58px); }
  .hero__facts { grid-template-columns: 1fr; }
  .hero__facts > div { display: flex; align-items: baseline; justify-content: space-between; }
  .page-section { padding: 66px 0; }
  .hotel-card__media { min-height: 235px; }
  .hotel-card__body { padding: 20px; }
  .hotel-card__heading { flex-direction: column; }
  .hotel-card__price { text-align: left; }
  .hotel-card__actions { align-items: stretch; flex-direction: column; }
  .text-link { text-align: center; }
  .advantage-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding: 18px 0; }
}


@media (max-width: 1080px) {
  .contact-help {
    grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr);
  }

  .contact-help__button {
    grid-column: 1 / -1;
    justify-self: start;
  }

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

@media (max-width: 760px) {
  .section--contact-help {
    padding: 38px 0 44px;
  }

  .contact-help {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 24px;
  }

  .contact-help__actions {
    grid-template-columns: 1fr;
  }

  .contact-help__qr {
    align-items: flex-start;
  }

  .contact-help__button {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-top: 42px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .footer-bottom__links {
    justify-content: flex-start;
  }
}

@media (max-width: 430px) {
  .contact-help__qr {
    flex-direction: column;
  }

  .contact-help__qr-code {
    width: 132px;
    height: 132px;
    flex-basis: 132px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* =========================================================
   MODX AdmiralApp compatibility layer
   Keeps the approved Glass Maritime UI v1 while adapting the
   live PHP markup and the newer booking/catalog inner pages.
   ========================================================= */

/* The approved prototype used .container; AdmiralApp also uses .shell. */
.shell {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

body > main,
#main { flex: 1 0 auto; }

/* Live hero markup */
.hero--home {
  background:
    linear-gradient(90deg, rgba(4, 19, 32, .94) 0%, rgba(7, 35, 56, .81) 47%, rgba(7, 35, 56, .28) 100%),
    url("/assets/admiral/media/home/hero.webp") center / cover no-repeat,
    linear-gradient(135deg, var(--navy-950), var(--blue-700));
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 450px at 78% 30%, rgba(83, 200, 216, .16), transparent 65%),
    linear-gradient(180deg, transparent 55%, rgba(4, 19, 32, .3));
}

/* Search bar: prototype names -> AdmiralApp names */
.booking.booking--floating {
  position: relative;
  z-index: 20;
  padding: 16px 0;
  background: rgba(255, 255, 255, .88);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(6, 28, 45, .1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.booking__grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr .8fr auto;
  align-items: end;
  gap: 10px;
}

.field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field > span {
  padding-left: 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  color: var(--ink);
  background: rgba(247, 250, 252, .92);
  border: 1px solid rgba(15, 48, 70, .15);
  border-radius: 13px;
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(25, 121, 168, .12);
}

.booking__submit { min-height: 48px; }

/* Home sections */
.section { padding: 92px 0; }
.section--soft { background: rgba(255, 255, 255, .58); }
.section--ink {
  color: var(--white);
  background:
    radial-gradient(700px 380px at 90% 10%, rgba(83, 200, 216, .14), transparent 65%),
    var(--navy-950);
}

.section-heading--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.hotel-card__visual {
  position: relative;
  min-height: 310px;
  display: block;
  background-position: center;
  background-size: cover;
}

.hotel-card--admiral .hotel-card__visual {
  background-image:
    linear-gradient(135deg, rgba(16, 58, 87, .08), rgba(6, 22, 37, .2)),
    url("/assets/admiral/media/hotels/admiral/facade/web/cover.webp"),
    linear-gradient(135deg, #376f87, #0a2236);
}

.hotel-card--center .hotel-card__visual {
  background-image:
    linear-gradient(135deg, rgba(16, 58, 87, .08), rgba(6, 22, 37, .2)),
    url("/assets/admiral/media/hotels/center/facade/web/cover.webp"),
    linear-gradient(135deg, #497e8c, #103a57);
}

.hotel-card__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 22, 37, .04), rgba(6, 22, 37, .56));
}

.hotel-card__tag {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  color: var(--white);
  background: rgba(6, 22, 37, .55);
  backdrop-filter: blur(12px);
  font-size: 13px;
  font-weight: 800;
}

.hotel-card__place { margin: 0 0 7px; color: var(--muted); }
.hotel-card__body h3 { margin: 0 0 10px; color: var(--navy-900); font-size: 25px; }
.hotel-card__body > p:not(.hotel-card__place) { color: var(--muted); line-height: 1.6; }

.feature-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.feature-row li {
  padding: 7px 11px;
  border: 1px solid rgba(21, 95, 134, .13);
  border-radius: 999px;
  color: var(--navy-800);
  background: rgba(25, 121, 168, .075);
  font-size: 13px;
  font-weight: 700;
}

.hotel-card__footer,
.room-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.hotel-card__footer small,
.room-card__footer small { display: block; color: var(--muted); }
.hotel-card__footer strong,
.room-card__footer strong { display: block; color: var(--blue-700); font-size: 23px; }

.promise-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.promise-grid h2 { margin: 10px 0 0; font-size: clamp(34px, 4vw, 52px); }
.promise-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.promise-list article { padding: 24px; border: 1px solid rgba(255, 255, 255, .11); border-radius: var(--radius-md); background: rgba(255, 255, 255, .06); }
.promise-list article > span { color: var(--gold-400); font-weight: 900; }
.promise-list h3 { margin: 15px 0 9px; }
.promise-list p { margin: 0; color: rgba(255, 255, 255, .67); line-height: 1.55; }

.section--contact-help {
  padding: 54px 0 60px;
}

.contact-help {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(270px, .72fr) auto;
  align-items: center;
  gap: 34px;
  padding: 38px 42px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(520px 320px at 88% 8%, rgba(83, 200, 216, .24), transparent 64%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
  box-shadow: 0 24px 60px rgba(6, 28, 45, .22);
}

.contact-help::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -110px;
  bottom: -150px;
  border-radius: 50%;
  background: rgba(83, 200, 216, .12);
  filter: blur(12px);
  pointer-events: none;
}

.contact-help__copy,
.contact-help__qr,
.contact-help__button {
  position: relative;
  z-index: 1;
}

.contact-help__eyebrow {
  color: var(--gold-400);
  font-size: 14px;
}

.contact-help__copy h2 {
  margin: 12px 0 12px;
  font-size: clamp(34px, 3.6vw, 50px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.contact-help__copy > p:last-of-type {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, .72);
  line-height: 1.65;
}

.contact-help__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.contact-action {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 16px;
  background: rgba(255, 255, 255, .07);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.contact-action:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .11);
}

.contact-action__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--gold-400);
  background: rgba(255, 255, 255, .09);
}

.contact-action__icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-action small,
.contact-action strong {
  display: block;
}

.contact-action small {
  margin-bottom: 3px;
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
}

.contact-action strong {
  overflow-wrap: anywhere;
  font-size: 15px;
}

.contact-help__qr {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  background: rgba(255, 255, 255, .07);
}

.contact-help__qr-code {
  width: 116px;
  height: 116px;
  flex: 0 0 116px;
  display: grid;
  place-items: center;
  padding: 8px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}

.contact-help__qr-code canvas,
.contact-help__qr-code img,
.contact-help__qr-code table {
  width: 100% !important;
  height: 100% !important;
}

.contact-help__qr strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
}

.contact-help__qr p {
  margin: 0;
  color: rgba(255, 255, 255, .66);
  font-size: 13px;
  line-height: 1.5;
}

.contact-help__button {
  min-width: 148px;
  white-space: nowrap;
}

.button--dark {
  color: var(--white);
  background: var(--navy-950);
  border-color: rgba(255,255,255,.18);
}

/* Inner page heroes */
.page-hero {
  padding: 76px 0 58px;
  color: var(--white);
  background:
    radial-gradient(620px 300px at 85% 10%, rgba(83, 200, 216, .18), transparent 65%),
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.page-hero h1 { margin: 12px 0 14px; font-size: clamp(42px, 5vw, 64px); line-height: 1.05; }
.page-hero p:last-child { margin: 0; color: rgba(255,255,255,.72); }
.page-hero--hotel { min-height: 480px; display: flex; align-items: flex-end; background-position: center; background-size: cover; }

/* Rooms catalog */
.room-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.room-card { min-width: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.8); border-radius: var(--radius-lg); background: rgba(255,255,255,.82); box-shadow: var(--shadow-sm); }
.room-card__photo { min-height: 270px; display: flex; align-items: flex-start; padding: 16px; background-position: center; background-size: cover; }
.room-card__hotel { padding: 8px 12px; border-radius: 999px; color: #fff; background: rgba(6,22,37,.72); backdrop-filter: blur(10px); font-size: 12px; font-weight: 800; }
.room-card__body { padding: 24px; }
.room-card__body h3 { margin: 8px 0 12px; color: var(--navy-900); font-size: 26px; }
.room-card__body > p:not(.eyebrow) { min-height: 70px; color: var(--muted); line-height: 1.55; }

.availability { display: inline-flex; margin-bottom: 8px; padding: 6px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.availability--yes { color: #155f4b; background: rgba(45,164,125,.12); }
.availability--no { color: #9c3f39; background: rgba(217,74,61,.12); }
.button--disabled { color: #7e8b94; background: #e7ecef; pointer-events: none; }

/* Hotel, gallery and contact pages */
.hotel-intro { display: grid; grid-template-columns: 1.5fr 1fr; gap: 70px; align-items: center; }
.hotel-intro h2 { margin: 8px 0 18px; font-size: clamp(36px,5vw,62px); line-height: 1.06; }
.facts { display: grid; grid-template-columns: repeat(3,1fr); margin: 0; padding: 0; overflow: hidden; border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-sm); list-style: none; }
.facts li { padding: 22px 12px; text-align: center; border-right: 1px solid var(--line); }
.facts li:last-child { border-right: 0; }
.facts strong,.facts span { display:block; }
.facts strong { color: var(--blue-700); font-size: 19px; }
.facts span { color: var(--muted); font-size: 12px; }
.gallery-section { padding: 0 0 92px; }
.gallery-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.gallery-grid__item { min-height:220px; overflow:hidden; border-radius:var(--radius-md); }
.gallery-grid__item img { width:100%; height:100%; object-fit:cover; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-grid > article { padding: 34px; border: 1px solid rgba(255,255,255,.8); border-radius: var(--radius-lg); background: rgba(255,255,255,.78); box-shadow: var(--shadow-sm); }
.contact-grid h2 { margin: 8px 0 22px; color: var(--navy-900); font-size: clamp(34px,4vw,50px); }
.contact-line { display: block; padding: 16px 0; border-top: 1px solid var(--line); }
.contact-line small,.contact-line strong { display:block; }
.contact-line small { color:var(--muted); }
.contact-line strong { margin-top:4px; color:var(--blue-700); font-size:19px; overflow-wrap:anywhere; }
.contact-addresses div { padding-bottom:14px; }

/* Booking form */
.booking-page { display:grid; grid-template-columns:minmax(0,1fr) 390px; gap:30px; align-items:start; }
.guest-form,.order-card { padding:30px; border-radius:var(--radius-lg); background:rgba(255,255,255,.82); box-shadow:var(--shadow-sm); }
.form-section { display:flex; gap:15px; margin:28px 0 16px; padding-top:22px; border-top:1px solid var(--line); }
.form-section:first-child { margin-top:0; padding-top:0; border-top:0; }
.form-section > span { color:var(--gold-500); font-weight:900; }
.form-section h2 { margin:0 0 4px; color:var(--navy-900); font-size:24px; }
.form-section p { margin:0; color:var(--muted); }
.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.form-grid label,.guest-form > label { display:flex; flex-direction:column; gap:6px; color:var(--muted); font-size:13px; font-weight:700; }
.form-grid input,.form-grid select,.form-grid textarea,.guest-form > label input { width:100%; min-height:46px; padding:11px 13px; color:var(--ink); border:1px solid var(--line); border-radius:12px; background:#f8fafb; }
.form-grid textarea { resize:vertical; }
.form-grid__wide { grid-column:1/-1; }
.tariff-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.tariff-option { display:flex; align-items:center; gap:10px; padding:14px; border:1px solid var(--line); border-radius:12px; background:#f8fafb; }
.tariff-option span,.tariff-option small { display:block; }
.tariff-option small { color:var(--muted); }
.booking-note { color:var(--muted); }
.consent { flex-direction:row !important; align-items:flex-start; margin:18px 0; }
.consent input { width:auto !important; min-height:0 !important; margin-top:3px; }
.order-card { position:sticky; top:calc(var(--header-height) + 18px); }
.order-card > img { width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:14px; }
.order-card dl div,.order-total { display:flex; justify-content:space-between; gap:15px; padding:10px 0; border-bottom:1px solid var(--line); }
.order-card dt { color:var(--muted); }
.order-card dd { margin:0; text-align:right; }
.order-total { margin-top:15px; border-bottom:0; }
.order-total strong { color:var(--blue-700); font-size:25px; }
.hp { position:absolute !important; left:-9999px !important; }

/* Live footer markup */
.site-footer {
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 1.15fr;
  gap: 34px;
  padding-top: 52px;
  padding-bottom: 38px;
}

.footer-grid > div {
  min-width: 0;
}

.footer-about p {
  max-width: 360px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, .66);
  line-height: 1.65;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-column > strong {
  margin-bottom: 5px;
  color: var(--white);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-column a {
  color: rgba(255, 255, 255, .73);
  line-height: 1.45;
  transition: color .18s ease, transform .18s ease;
}

.footer-column a:hover {
  color: var(--gold-400);
  transform: translateX(2px);
}

.footer-addresses a {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-addresses a span {
  color: rgba(255, 255, 255, .9);
  font-weight: 750;
}

.footer-addresses a small,
.footer-developer-link small {
  color: rgba(255, 255, 255, .52);
  font-size: 12px;
}

.footer-developer-link {
  margin-top: 5px;
  padding: 11px 13px;
  border: 1px solid rgba(222, 194, 134, .18);
  border-radius: 13px;
  background: rgba(222, 194, 134, .06);
}

.footer-developer-link small {
  display: block;
  margin-top: 3px;
}

.footer-bottom {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .58);
  font-size: 13px;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px 18px;
}

.footer-bottom a:hover {
  color: var(--gold-400);
}

.privacy-policy {
  max-width: 980px;
}

.privacy-policy h2 {
  margin-top: 36px;
}

.privacy-policy a {
  color: var(--blue-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.privacy-policy li + li {
  margin-top: 8px;
}

/* Messages, success screen and hotel control panel */
.notice { padding:18px 20px; border:1px solid rgba(21,95,134,.16); border-radius:14px; background:rgba(220,243,246,.72); }
.notice--error { color:#8a332f; border-color:rgba(217,74,61,.2); background:rgba(255,232,229,.8); }
.success-card { max-width:760px; margin:auto; padding:42px; text-align:center; border-radius:var(--radius-lg); background:rgba(255,255,255,.84); box-shadow:var(--shadow-md); }
.success-card__icon { width:70px; height:70px; display:grid; place-items:center; margin:0 auto 20px; border-radius:50%; color:#fff; background:linear-gradient(145deg,#2da47d,#155f4b); font-size:34px; }
.success-summary { display:flex; flex-wrap:wrap; justify-content:center; gap:10px 20px; margin:24px 0; padding:18px; border-radius:14px; background:#f2f6f8; }
.success-summary strong { color:var(--blue-700); }

.admin-login { min-height:calc(100vh - var(--header-height)); display:grid; place-items:center; padding:30px; }
.login-card { width:min(440px,100%); display:grid; gap:18px; padding:40px; border-radius:26px; background:#fff; box-shadow:var(--shadow-md); }
.login-card h1 { margin:0; color:var(--navy-900); font-size:40px; }
.login-card label { display:grid; gap:8px; font-weight:800; }
.login-card input,.booking-edit input,.booking-edit select,.booking-edit textarea { width:100%; min-height:44px; padding:10px 12px; border:1px solid var(--line); border-radius:10px; background:#f8fafb; }
.admin-shell { min-height:100vh; display:grid; grid-template-columns:1fr 270px; background:#edf3f6; }
.admin-nav { grid-column:2; grid-row:1; position:sticky; top:0; height:100vh; display:flex; flex-direction:column; gap:40px; padding:28px; color:#fff; background:var(--navy-950); }
.admin-nav nav { display:grid; gap:8px; }
.admin-nav nav a { padding:14px; border-radius:12px; color:rgba(255,255,255,.72); font-weight:800; }
.admin-nav nav a.is-active { color:var(--navy-950); background:var(--gold-400); }
.admin-nav form { margin-top:auto; }
.admin-main { grid-column:1; grid-row:1; min-width:0; padding:34px; }
.admin-title { display:flex; justify-content:space-between; align-items:center; gap:20px; }
.admin-title h1 { margin:0; color:var(--navy-900); font-size:48px; }
.stat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin:28px 0; }
.stat-grid article,.admin-section { background:#fff; box-shadow:0 8px 30px rgba(7,28,43,.07); }
.stat-grid article { padding:22px; border-radius:18px; }
.stat-grid small { display:block; color:var(--muted); }
.stat-grid strong { color:var(--navy-900); font-size:38px; }
.admin-section { margin:28px 0; padding:25px; border-radius:22px; }
.booking-list { display:grid; gap:10px; }
.booking-item { border:1px solid var(--line); border-left:5px solid #75909e; border-radius:14px; }
.booking-item.status-new { border-left-color:#d59a2f; }
.booking-item.status-checked_in { border-left-color:#15946c; }
.booking-item summary { display:grid; grid-template-columns:1.5fr 1fr .7fr .7fr; align-items:center; gap:14px; padding:16px; cursor:pointer; }
.booking-item summary span:first-child { display:flex; flex-direction:column; }
.booking-item summary small { color:var(--muted); }
.booking-item summary em { font-style:normal; font-weight:800; }
.booking-edit { display:grid; grid-template-columns:1.2fr 1fr 1fr 1fr; gap:15px; padding:18px; border-top:1px solid var(--line); background:#f7fafb; }
.booking-edit > div { display:grid; gap:4px; }
.booking-edit label { display:grid; gap:6px; font-size:12px; font-weight:800; }
.booking-edit .wide { grid-column:2/-1; }
.room-table { overflow:auto; }
.room-row { min-width:700px; display:grid; grid-template-columns:.6fr 1.5fr 1fr .8fr; align-items:center; gap:12px; padding:11px; border-bottom:1px solid var(--line); }
.room-row--head { color:var(--muted); font-size:12px; font-weight:800; text-transform:uppercase; }

@media (max-width: 1080px) {
  .booking__grid { grid-template-columns: repeat(4, 1fr); }
  .field--hotel { grid-column: span 2; }
  .booking__submit { grid-column: span 2; }
  .room-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .promise-grid { grid-template-columns:1fr; }
  .booking-page { grid-template-columns:1fr; }
  .order-card { position:static; }
}

@media (max-width: 820px) {
  .section-heading--split { display:block; }
  .section-heading--split > p { margin-top:15px; }
  .promise-list { grid-template-columns:1fr; }
  .hotel-intro,.contact-grid { grid-template-columns:1fr; gap:24px; }
  .footer-grid { grid-template-columns:repeat(2,1fr); }
  .cta-panel { align-items:flex-start; flex-direction:column; padding:38px 32px; }
  .admin-shell { display:block; }
  .admin-nav { position:relative; width:100%; height:auto; }
  .admin-main { padding:20px; }
  .stat-grid { grid-template-columns:repeat(2,1fr); }
  .booking-item summary { grid-template-columns:1fr 1fr; }
  .booking-edit { grid-template-columns:1fr 1fr; }
  .booking-edit .wide { grid-column:1/-1; }
}

@media (max-width: 620px) {
  .shell { width:min(calc(100% - 24px),var(--container)); }
  .booking__grid { grid-template-columns:repeat(2,1fr); }
  .field--hotel,.booking__submit { grid-column:1/-1; }
  .room-grid,.footer-grid,.form-grid,.tariff-list { grid-template-columns:1fr; }
  .form-grid__wide { grid-column:auto; }
  .gallery-grid { grid-template-columns:repeat(2,1fr); }
  .facts { grid-template-columns:1fr; }
  .facts li { border-right:0; border-bottom:1px solid var(--line); }
  .facts li:last-child { border-bottom:0; }
}


/* =========================================================
   Admiral home redesign — phase 1: header + hero slider
   ========================================================= */

/* Убираем белую щель и держим шапку поверх первого экрана. */
html,
body {
  padding: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  margin: 0;
  background:
    linear-gradient(135deg, rgba(5, 28, 48, .92), rgba(8, 55, 86, .88));
  border-bottom: 1px solid rgba(116, 205, 235, .16);
  box-shadow: 0 12px 38px rgba(2, 18, 31, .22);
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
}

.site-header::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(98, 196, 230, .32), transparent);
  pointer-events: none;
}

.site-header__inner {
  min-height: 76px;
}

.main-nav a.is-active {
  color: #fff;
  background: rgba(75, 174, 214, .14);
  box-shadow: inset 0 0 0 1px rgba(117, 210, 240, .12);
}

/* Первый экран стал ниже и собраннее. */
.hero.hero--home {
  min-height: clamp(470px, 62vh, 585px);
  isolation: isolate;
  background: var(--navy-950);
}

.hero-slider,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slider {
  z-index: 0;
  overflow: hidden;
  background: var(--navy-950);
}

.hero-slide {
  opacity: 0;
  transform: scale(1.035);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transition:
    opacity 1.15s ease,
    transform 6s linear;
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero--home .hero__shade {
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(2, 19, 34, .94) 0%,
      rgba(5, 39, 65, .82) 46%,
      rgba(7, 54, 85, .30) 100%),
    linear-gradient(180deg,
      rgba(5, 31, 51, .12) 0%,
      rgba(3, 24, 41, .38) 100%);
}

.hero--home::after {
  z-index: 1;
}

.hero--home .hero__content {
  z-index: 2;
  padding: 58px 0 62px;
}

.hero--home .hero__eyebrow {
  gap: 0;
  font-size: clamp(15px, 1.25vw, 18px);
  letter-spacing: .13em;
  text-shadow: 0 2px 15px rgba(0, 0, 0, .42);
}

.hero--home .hero__eyebrow::before {
  display: none;
}

.hero--home h1 {
  margin-top: 18px;
  margin-bottom: 18px;
  font-size: clamp(48px, 5.4vw, 76px);
  line-height: .98;
  text-shadow: 0 4px 26px rgba(0, 0, 0, .34);
}

.hero--home .hero__lead {
  font-size: clamp(18px, 1.65vw, 22px);
  color: rgba(255, 255, 255, .86);
  text-shadow: 0 2px 14px rgba(0, 0, 0, .34);
}

@media (max-width: 820px) {
  .site-header__inner {
    min-height: 72px;
  }

  .hero.hero--home {
    min-height: 500px;
  }

  .hero--home .hero__content {
    padding: 54px 0 56px;
  }
}

@media (max-width: 620px) {
  .hero.hero--home {
    min-height: 470px;
  }

  .hero--home h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hero--home .hero__eyebrow {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
    transform: none;
  }
}


/* Phase 1.1 — reliable images, tighter hero, hard page reset */
html,
body {
  margin: 0 !important;
  padding: 0 !important;
}

body {
  position: relative;
}

body > .skip-link + .site-header,
.site-header {
  margin-top: 0 !important;
  top: 0 !important;
}

.hero.hero--home {
  min-height: clamp(420px, 55vh, 525px);
}

.hero-slide {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  background: none !important;
}

.hero--home .hero__content {
  padding-top: 46px;
  padding-bottom: 50px;
}

@media (max-width: 820px) {
  .hero.hero--home {
    min-height: 450px;
  }
}

@media (max-width: 620px) {
  .hero.hero--home {
    min-height: 430px;
  }
}


/* =========================================================
   Admiral home redesign — phase 2: booking bar + hotel cards
   ========================================================= */

.home-booking {
  padding: 18px 0 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(247, 251, 253, .95));
  border-bottom: 1px solid rgba(21, 78, 108, .11);
  box-shadow:
    0 18px 42px rgba(5, 34, 55, .10),
    inset 0 1px 0 rgba(255, 255, 255, .9);
}

.home-booking .booking__grid {
  gap: 12px;
}

.home-booking .field {
  gap: 8px;
}

.home-booking .field > span {
  padding-left: 5px;
  color: #526b7d;
  font-size: 13px;
  letter-spacing: .065em;
}

.home-booking .field input,
.home-booking .field select {
  min-height: 56px;
  padding: 13px 16px;
  border: 1px solid rgba(17, 70, 101, .16);
  border-radius: 16px;
  background: rgba(249, 252, 254, .98);
  box-shadow:
    0 7px 18px rgba(7, 43, 67, .055),
    inset 0 1px 0 rgba(255, 255, 255, .95);
  font-size: 15px;
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease,
    background-color .2s ease;
}

.home-booking .field input:hover,
.home-booking .field select:hover {
  border-color: rgba(24, 121, 164, .32);
  background: #fff;
}

.home-booking .field input:focus,
.home-booking .field select:focus {
  border-color: #238bb8;
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(35, 139, 184, .12),
    0 12px 26px rgba(7, 43, 67, .09);
  transform: translateY(-1px);
}

.home-booking input[type="date"] {
  color-scheme: light;
  cursor: pointer;
}

.home-booking input[type="date"]::-webkit-calendar-picker-indicator {
  width: 20px;
  height: 20px;
  padding: 5px;
  border-radius: 8px;
  cursor: pointer;
  opacity: .72;
  transition: opacity .2s ease, background-color .2s ease;
}

.home-booking input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
  background: rgba(35, 139, 184, .11);
}

.home-booking .booking__submit {
  min-height: 56px;
  padding-inline: 24px;
  border-radius: 16px;
  box-shadow: 0 14px 28px rgba(13, 104, 148, .22);
  font-size: 15px;
}

/* Убираем прежний огромный разрыв после формы. */
.section--home-hotels {
  padding-top: 48px;
  padding-bottom: 78px;
}

.section--home-hotels .section-heading {
  margin-bottom: 34px;
}

.section-kicker-link {
  width: fit-content;
  color: var(--blue-700);
  font-size: 15px;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.section-kicker-link::after {
  content: "";
  width: 0;
  height: 2px;
  margin-left: 8px;
  border-radius: 2px;
  background: currentColor;
  transition: width .2s ease;
}

.section-kicker-link:hover {
  color: var(--navy-900);
  transform: translateX(2px);
}

.section-kicker-link:hover::after {
  width: 18px;
}

.section--home-hotels .section-heading h2 {
  margin-top: 13px;
}

/* Используем подготовленные фотографии и лучше кадрируем здания. */
.hotel-card--admiral .hotel-card__visual {
  background-image:
    linear-gradient(135deg, rgba(16, 58, 87, .06), rgba(6, 22, 37, .18)),
    url("/assets/admiral/media/cards/admiral/01.webp"),
    linear-gradient(135deg, #376f87, #0a2236);
  background-position: center 34%;
}

.hotel-card--center .hotel-card__visual {
  background-image:
    linear-gradient(135deg, rgba(16, 58, 87, .06), rgba(6, 22, 37, .18)),
    url("/assets/admiral/media/cards/center/01.webp"),
    linear-gradient(135deg, #497e8c, #103a57);
  background-position: center 38%;
}

.hotel-card__visual {
  min-height: 300px;
  transition: transform .45s ease, filter .45s ease;
}

.hotel-card:hover .hotel-card__visual {
  filter: saturate(1.04) contrast(1.02);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

@media (max-width: 1080px) {
  .home-booking .booking__submit {
    min-height: 54px;
  }
}

@media (max-width: 620px) {
  .home-booking {
    padding: 14px 0 16px;
  }

  .home-booking .field input,
  .home-booking .field select,
  .home-booking .booking__submit {
    min-height: 52px;
  }

  .section--home-hotels {
    padding-top: 38px;
    padding-bottom: 62px;
  }
}

.section-kicker-link {
  font-size: 17px;
  letter-spacing: .1em;
}


/* =========================================================
   Admiral home — phase 3
   Card sliders + custom selects + custom date range picker
   ========================================================= */

/* Карточные слайдеры */
.hotel-card__visual[data-card-slider] {
  background-image: linear-gradient(135deg, #376f87, #0a2236) !important;
  overflow: hidden;
  isolation: isolate;
}

.hotel-card__slides,
.hotel-card__slide {
  position: absolute;
  inset: 0;
}

.hotel-card__slides {
  z-index: 0;
  overflow: hidden;
}

.hotel-card__slide {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .9s ease, transform 7s linear;
  will-change: opacity, transform;
}

.hotel-card--admiral .hotel-card__slide {
  object-position: center 34%;
}

.hotel-card--center .hotel-card__slide {
  object-position: center 38%;
}

.hotel-card__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hotel-card__visual[data-card-slider]::after {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(4, 22, 35, .04), rgba(4, 22, 35, .32));
}

.hotel-card__tag {
  z-index: 3;
}

.hotel-card__dots {
  position: absolute;
  z-index: 3;
  right: 18px;
  bottom: 16px;
  display: flex;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(5, 25, 40, .44);
  backdrop-filter: blur(10px);
}

.hotel-card__dots i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .48);
  transition: width .25s ease, background-color .25s ease;
}

.hotel-card__dots i.is-active {
  width: 22px;
  background: var(--gold-400);
}

/* Настоящие элементы формы остаются рабочими, но визуально скрываются. */
.native-control-hidden,
.home-booking input[type="hidden"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

/* Кастомный select */
.custom-select {
  position: relative;
  width: 100%;
}

.custom-select__trigger,
.custom-date__trigger {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 16px;
  border: 1px solid rgba(17, 70, 101, .16);
  border-radius: 16px;
  color: var(--ink);
  background: rgba(249, 252, 254, .98);
  box-shadow:
    0 7px 18px rgba(7, 43, 67, .055),
    inset 0 1px 0 rgba(255, 255, 255, .95);
  text-align: left;
  font-size: 15px;
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    transform .2s ease,
    background-color .2s ease;
}

.custom-select__trigger:hover,
.custom-date__trigger:hover {
  border-color: rgba(24, 121, 164, .32);
  background: #fff;
}

.custom-select.is-open .custom-select__trigger,
.custom-select__trigger:focus-visible,
.custom-date__trigger.is-active,
.custom-date__trigger:focus-visible {
  border-color: #238bb8;
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(35, 139, 184, .12),
    0 12px 26px rgba(7, 43, 67, .09);
  outline: none;
  transform: translateY(-1px);
}

.custom-select__value,
.custom-date__value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.custom-select__arrow {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-right: 2px solid #416274;
  border-bottom: 2px solid #416274;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}

.custom-select.is-open .custom-select__arrow {
  transform: rotate(225deg) translate(-2px, -2px);
}

.custom-select__menu {
  position: absolute;
  z-index: 260;
  top: calc(100% + 10px);
  left: 0;
  width: max(100%, 280px);
  overflow: hidden;
  padding: 7px;
  border: 1px solid rgba(16, 72, 104, .14);
  border-radius: 17px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 22px 55px rgba(5, 34, 55, .20);
  backdrop-filter: blur(18px);
  animation: adm-pop .18s ease both;
}

.custom-select__option {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border: 0;
  border-radius: 11px;
  color: var(--ink);
  background: transparent;
  text-align: left;
  font-size: 14px;
  transition: color .16s ease, background-color .16s ease, transform .16s ease;
}

.custom-select__option:hover,
.custom-select__option:focus-visible {
  color: var(--navy-900);
  background: rgba(25, 121, 168, .09);
  outline: none;
  transform: translateX(2px);
}

.custom-select__option.is-selected {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--navy-800));
  font-weight: 800;
}

/* Кастомный календарь */
.custom-date__trigger {
  position: relative;
}

.custom-date__trigger:not(.has-value) .custom-date__value {
  color: #657988;
}

.custom-date__icon {
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  border-radius: 9px;
  background:
    linear-gradient(#285b75, #285b75) 7px 9px / 15px 2px no-repeat,
    linear-gradient(#285b75, #285b75) 9px 6px / 2px 5px no-repeat,
    linear-gradient(#285b75, #285b75) 18px 6px / 2px 5px no-repeat,
    linear-gradient(135deg, rgba(35, 139, 184, .13), rgba(21, 95, 134, .07));
}

.date-picker {
  position: absolute;
  z-index: 300;
  top: calc(100% + 10px);
  left: 0;
  width: min(390px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid rgba(16, 72, 104, .14);
  border-radius: 22px;
  color: var(--ink);
  background:
    radial-gradient(310px 170px at 100% 0%, rgba(83, 200, 216, .12), transparent 70%),
    rgba(255, 255, 255, .985);
  box-shadow: 0 28px 75px rgba(5, 34, 55, .24);
  backdrop-filter: blur(20px);
  animation: adm-pop .2s ease both;
}

.field:nth-last-of-type(-n+2) .date-picker {
  right: 0;
  left: auto;
}

.date-picker__top {
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 8px;
}

.date-picker__month {
  color: var(--navy-900);
  text-align: center;
  text-transform: capitalize;
  font-size: 17px;
}

.date-picker__nav {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(21, 95, 134, .12);
  border-radius: 13px;
  color: var(--navy-800);
  background: rgba(25, 121, 168, .065);
  font-size: 28px;
  line-height: 1;
  transition: background-color .16s ease, transform .16s ease;
}

.date-picker__nav:hover {
  background: rgba(25, 121, 168, .13);
  transform: translateY(-1px);
}

.date-picker__mode {
  margin: 12px 0 13px;
  color: var(--blue-700);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.date-picker__weekdays,
.date-picker__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.date-picker__weekdays {
  margin-bottom: 5px;
  color: #78909d;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.date-picker__weekdays span {
  padding: 7px 0;
}

.date-picker__blank,
.date-picker__day {
  aspect-ratio: 1;
}

.date-picker__day {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  transition:
    color .15s ease,
    background-color .15s ease,
    transform .15s ease,
    box-shadow .15s ease;
}

.date-picker__day:hover:not(:disabled) {
  color: var(--navy-900);
  background: rgba(35, 139, 184, .12);
  transform: translateY(-1px);
}

.date-picker__day.is-today {
  box-shadow: inset 0 0 0 1px rgba(35, 139, 184, .38);
}

.date-picker__day.is-range {
  border-radius: 9px;
  background: rgba(35, 139, 184, .10);
}

.date-picker__day.is-checkin,
.date-picker__day.is-checkout {
  color: #fff;
  background: linear-gradient(145deg, var(--blue-600), var(--navy-800));
  box-shadow: 0 8px 18px rgba(21, 95, 134, .24);
}

.date-picker__day.is-disabled {
  color: #bdc8ce;
  cursor: not-allowed;
}

.date-picker__footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(15, 48, 70, .10);
}

.date-picker__today,
.date-picker__close {
  min-height: 39px;
  padding: 9px 13px;
  border: 0;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 800;
}

.date-picker__today {
  color: var(--blue-700);
  background: rgba(25, 121, 168, .08);
}

.date-picker__close {
  color: #fff;
  background: linear-gradient(145deg, var(--blue-600), var(--navy-800));
}

@keyframes adm-pop {
  from {
    opacity: 0;
    transform: translateY(-7px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 820px) {
  .custom-select__menu {
    width: 100%;
  }

  .date-picker {
    width: min(390px, calc(100vw - 24px));
  }
}

@media (max-width: 620px) {
  .custom-select__trigger,
  .custom-date__trigger {
    min-height: 52px;
  }

  .date-picker {
    position: fixed;
    inset: auto 12px 12px;
    width: auto;
    max-height: calc(100vh - 24px);
    overflow: auto;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hotel-card__slide,
  .custom-select__menu,
  .date-picker {
    animation: none;
    transition: none;
  }
}

/* Календарь позиционируется относительно своего поля */
.home-booking .field {
    position: relative;
}

.home-booking .date-picker {
    top: calc(100% + 12px);
    left: 0;
    right: auto;
}

/* Календарь выезда раскрываем вправо от правого края поля */
.home-booking .field:has(
    input[name="checkout"]
) .date-picker {
    left: auto;
    right: 0;
}

/* Нормальная иконка календаря  */
.custom-date__icon {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;

  border: 1px solid rgba(21, 95, 134, .16);
  border-radius: 9px;

  background: rgba(35, 139, 184, .09);
}

.custom-date__icon::before {
  content: "";
  position: absolute;

  left: 7px;
  top: 8px;

  width: 14px;
  height: 13px;

  border: 2px solid #285b75;
  border-radius: 3px;
  box-sizing: border-box;
}

.custom-date__icon::after {
  content: "";
  position: absolute;

  left: 9px;
  top: 6px;

  width: 10px;
  height: 6px;

  border-top: 2px solid #285b75;
  border-bottom: 2px solid #285b75;

  background:
    linear-gradient(
      90deg,
      transparent 0 2px,
      #285b75 2px 4px,
      transparent 4px 6px,
      #285b75 6px 8px,
      transparent 8px
    );
}

/* =========================================================
   Home benefits carousel
   ========================================================= */
.section--benefits {
  padding-top: 72px;
  padding-bottom: 76px;
}

.section--benefits .promise-grid {
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.45fr);
  gap: 54px;
  align-items: center;
}

.promise-copy { min-width: 0; }

.promise-eyebrow {
  gap: 12px;
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: .12em;
}

.promise-eyebrow::before {
  width: 30px;
  height: 3px;
  border-radius: 99px;
}

.promise-copy h2 {
  margin: 18px 0 0;
  font-size: clamp(36px, 3.5vw, 58px);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.promise-copy h2 span {
  display: block;
  white-space: nowrap;
}

.promise-copy__lead {
  max-width: 420px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: 16px;
  line-height: 1.65;
}

.benefits-slider { min-width: 0; }

.benefits-slider__viewport {
  overflow: hidden;
  margin: -8px;
  padding: 8px;
}

.promise-list.benefits-slider__track {
  display: flex;
  gap: 18px;
  margin: 0;
  transition: transform .65s cubic-bezier(.22, .75, .25, 1);
  will-change: transform;
}

.promise-list .benefit-card {
  flex: 0 0 calc((100% - 36px) / 3);
  min-height: 254px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .085), rgba(255, 255, 255, .035));
  box-shadow: inset 0 1px rgba(255, 255, 255, .05);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.promise-list .benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(83, 200, 216, .28);
  background: linear-gradient(145deg, rgba(83, 200, 216, .12), rgba(255, 255, 255, .045));
}

.promise-list .benefit-card > span {
  color: var(--gold-400);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .06em;
}

.promise-list .benefit-card h3 {
  margin: 18px 0 11px;
  color: #fff;
  font-size: 20px;
  line-height: 1.22;
}

.promise-list .benefit-card p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
  line-height: 1.58;
}

.benefits-slider__controls {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.benefits-slider__arrow {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 13px;

  color: #fff;
  background: rgba(255, 255, 255, .06);

  font-size: 22px;
  line-height: 1;
  font-family: Arial, sans-serif;
}
.benefits-slider__arrow {
  text-indent: 0;
}

.benefits-slider__arrow[data-benefits-prev] {
  padding-bottom: 2px;
}

.benefits-slider__arrow[data-benefits-next] {
  padding-bottom: 2px;
}

.benefits-slider__arrow:hover,
.benefits-slider__arrow:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(83, 200, 216, .35);
  background: rgba(83, 200, 216, .14);
}

.benefits-slider__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.benefits-slider__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .28);
  transition: width .25s ease, background .25s ease;
}

.benefits-slider__dot.is-active {
  width: 26px;
  background: var(--gold-400);
}

@media (max-width: 1120px) {
  .section--benefits .promise-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .promise-copy h2 span { white-space: normal; }
  .promise-copy__lead { max-width: 620px; }
  .promise-list .benefit-card { flex-basis: calc((100% - 18px) / 2); }
}

@media (max-width: 700px) {
  .section--benefits {
    padding-top: 56px;
    padding-bottom: 60px;
  }

  .promise-eyebrow { font-size: 13px; }
  .promise-copy h2 { font-size: clamp(34px, 11vw, 46px); }
  .promise-list .benefit-card { flex-basis: 100%; min-height: 230px; }
  .benefits-slider__controls { justify-content: center; }
}

/* Чиним заголовок блока выгод */
.section--benefits .promise-grid {
  grid-template-columns: minmax(360px, .9fr) minmax(0, 1.55fr);
  gap: 42px;
}

.section--benefits .promise-copy {
  min-width: 0;
  max-width: 440px;
}

.section--benefits .promise-copy h2 {
  font-size: clamp(34px, 2.7vw, 48px) !important;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.section--benefits .promise-copy h2 span {
  white-space: nowrap;
}

.section--benefits .promise-copy__lead {
  max-width: 380px;
}

/* Выравниваем левую колонку по верхнему краю карточек */
.section--benefits .promise-copy {
  align-self: start;
  padding-top: 0;
  transform: translateY(-14px);
}


/* =========================================================
   Hotels page — compact comparison + interactive map
   ========================================================= */

.hotels-overview {
  padding-top: 58px;
  padding-bottom: 54px;
}

.hotels-overview__heading {
  margin-bottom: 26px;
}

.hotels-overview__heading .eyebrow {
  font-size: 16px;
  letter-spacing: .12em;
}

.hotels-overview__heading .eyebrow::before {
  width: 30px;
  height: 2px;
  border-radius: 2px;
}

.hotels-overview .hotel-card__visual {
  min-height: 290px;
}

.hotels-overview .hotel-card--admiral .hotel-card__slide {
  object-position: center 36%;
}

.hotels-overview .hotel-card--center .hotel-card__slide {
  object-position: center 40%;
}

.hotels-map-section {
  padding-top: 32px;
  padding-bottom: 54px;
}

.hotels-map-heading {
  margin-bottom: 24px;
}

.hotels-map-heading .eyebrow {
  font-size: 16px;
  letter-spacing: .12em;
}

.hotels-map-heading .eyebrow::before {
  height: 2px;
  border-radius: 2px;
}

.hotels-map {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .88);
  border-radius: 26px;
  background: linear-gradient(135deg, #dcebf2, #eef5f8);
  box-shadow: 0 20px 52px rgba(6, 28, 45, .15);
}

.hotels-map__frame {
  width: 100%;
  height: 360px;
  display: block;
  border: 0;
}

.hotels-map__links {
    position: absolute;
    top: 20px;
    bottom: auto;
    left: 20px;
    display: flex;
    gap: 12px;
    z-index: 5;
}

.hotels-map__links a {
  min-width: 245px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 15px;
  color: #fff;
  background: rgba(6, 22, 37, .84);
  box-shadow: 0 12px 28px rgba(4, 20, 33, .22);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  pointer-events: auto;
  transition: transform .18s ease, background-color .18s ease;
}

.hotels-map__links a:hover {
  transform: translateY(-2px);
  background: rgba(16, 58, 87, .94);
}

.hotels-map__links strong {
  font-size: 15px;
}

.hotels-map__links span {
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
}

@media (max-width: 820px) {
  .hotels-overview {
    padding-top: 46px;
    padding-bottom: 42px;
  }

  .hotels-map-section {
    padding-top: 22px;
  }

  .hotels-map,
  .hotels-map__frame {
    min-height: 430px;
    height: 430px;
  }

  .hotels-map__links {
    right: 16px;
    left: 16px;
    bottom: 16px;
    flex-direction: column;
  }

  .hotels-map__links a {
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 620px) {
  .hotels-overview__heading .eyebrow,
  .hotels-map-heading .eyebrow {
    font-size: 14px;
  }

  .hotels-overview .hotel-card__visual {
    min-height: 235px;
  }

  .hotels-map,
  .hotels-map__frame {
    min-height: 470px;
    height: 470px;
    border-radius: 20px;
  }
}


/* =========================================================
   Hotel detail pages — photo heroes, booking facts, room sliders
   ========================================================= */

.hotel-hero {
  position: relative;
  min-height: clamp(390px, 48vw, 520px);
  overflow: hidden;
  isolation: isolate;
  padding: 0;
  display: flex;
  align-items: flex-end;
  background: var(--navy-950);
}

.hotel-hero__slides,
.hotel-hero__slide,
.hotel-hero__shade {
  position: absolute;
  inset: 0;
}

.hotel-hero__slides {
  z-index: 0;
  overflow: hidden;
}

.hotel-hero__slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 1s ease, transform 7s linear;
}

.hotel-hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hotel-hero__shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3, 20, 34, .92) 0%, rgba(5, 35, 58, .68) 48%, rgba(5, 35, 58, .22) 100%),
    linear-gradient(180deg, rgba(4, 22, 37, .10), rgba(4, 22, 37, .48));
}

.hotel-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 72px;
  padding-bottom: 52px;
}

.hotel-hero__eyebrow {
  font-size: 16px;
  letter-spacing: .14em;
}

.hotel-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(48px, 5.7vw, 76px);
  line-height: 1;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .35);
}

.hotel-hero__address {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  margin-left: -12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  transition: color .18s ease, background .18s ease, transform .18s ease;
}

.hotel-hero__address:hover {
  color: #fff;
  background: rgba(255, 255, 255, .10);
  transform: translateY(-1px);
}

.hotel-hero__dots,
.room-card__dots {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(5, 25, 40, .48);
  backdrop-filter: blur(10px);
}

.hotel-hero__dots {
  width: fit-content;
  margin-top: 22px;
}

.hotel-hero__dots i,
.room-card__dots i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .48);
  transition: width .25s ease, background .25s ease;
}

.hotel-hero__dots i.is-active,
.room-card__dots i.is-active {
  width: 22px;
  background: var(--gold-400);
}

.hotel-intro__eyebrow,
.hotel-rooms-heading__eyebrow {
  font-size: 16px;
  letter-spacing: .12em;
}

.hotel-intro__eyebrow::before,
.hotel-rooms-heading__eyebrow::before {
  height: 2px;
  border-radius: 2px;
}

.hotel-intro__copy > p:last-child {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
}

.facts--booking {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 128px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 22px;
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}

.facts--booking:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.facts--booking > span {
  display: grid;
  place-items: center;
  align-content: center;
  padding: 24px 14px 42px;
  border-right: 1px solid var(--line);
  text-align: center;
}

.facts--booking > span:nth-child(3) {
  border-right: 0;
}

.facts--booking strong {
  color: var(--blue-700);
  font-size: 21px;
}

.facts--booking small {
  color: var(--muted);
  font-size: 12px;
}

.facts--booking em {
  position: absolute;
  right: 16px;
  bottom: 12px;
  color: var(--blue-700);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.gallery-grid__item {
  box-shadow: 0 10px 28px rgba(6, 28, 45, .10);
  transition: transform .22s ease, box-shadow .22s ease;
}

.gallery-grid__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(6, 28, 45, .17);
}

.hotel-rooms-section {
  padding-top: 72px;
}

.hotel-rooms-heading {
  margin-bottom: 30px;
}

.room-card {
  transition: transform .24s ease, box-shadow .24s ease, background .24s ease;
}

.room-card:hover {
  transform: translateY(-7px) scale(1.012);
  background: rgba(255,255,255,.96);
  box-shadow: 0 24px 58px rgba(6, 28, 45, .17);
}

.room-card__photo {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 0;
  background: linear-gradient(135deg, #dcebf2, #0a2236);
}

.room-card__slides,
.room-card__slide {
  position: absolute;
  inset: 0;
}

.room-card__slides {
  z-index: 0;
  overflow: hidden;
}

.room-card__slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .85s ease, transform 7s linear;
}

.room-card__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.room-card__photo::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 25, 40, .08), rgba(5, 25, 40, .32));
}

.room-card__hotel {
  position: absolute;
  z-index: 2;
  top: 16px;
  left: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(6,22,37,.72);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 800;
}

.room-card__dots {
  position: absolute;
  z-index: 2;
  right: 15px;
  bottom: 14px;
}

@media (max-width: 820px) {
  .hotel-hero {
    min-height: 430px;
  }

  .hotel-hero__content {
    padding-top: 56px;
    padding-bottom: 42px;
  }

  .facts--booking {
    min-height: 116px;
  }
}

@media (max-width: 620px) {
  .hotel-hero {
    min-height: 390px;
  }

  .hotel-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .hotel-hero__eyebrow,
  .hotel-intro__eyebrow,
  .hotel-rooms-heading__eyebrow {
    font-size: 14px;
  }

  .facts--booking {
    grid-template-columns: 1fr;
  }

  .facts--booking > span {
    padding: 16px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .facts--booking > span:nth-child(3) {
    padding-bottom: 44px;
    border-bottom: 0;
  }

  .room-card:hover {
    transform: translateY(-4px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hotel-hero__slide,
  .room-card__slide {
    transition: none;
    transform: none;
  }
}

/* =========================================================
   Hotel galleries — proportional masonry collage
   Room cards — clean rectangular photo sliders
   ========================================================= */

/*
 * Общая галерея гостиницы:
 * фотографии сохраняют собственные пропорции и укладываются
 * в аккуратный коллаж без растягивания и обрезки.
 */
.gallery-grid {
  display: block;
  columns: 4;
  column-gap: 12px;
}

.gallery-grid__item {
  width: 100%;
  min-height: 0;
  display: block;
  margin: 0 0 12px;
  overflow: hidden;
  break-inside: avoid;
  border-radius: 16px;
  background: #e8f0f4;
  box-shadow: 0 10px 28px rgba(6, 28, 45, .10);
}

.gallery-grid__item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform .38s ease, filter .38s ease;
}

.gallery-grid__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(6, 28, 45, .16);
}

.gallery-grid__item:hover img {
  transform: scale(1.018);
  filter: brightness(1.035) saturate(1.025);
}

/*
 * В карточке номера показываем обычный прямоугольный слайдер.
 * Важно: старое правило .room-card__photo span больше не должно
 * оформлять контейнер .room-card__slides как огромную капсулу.
 */
.room-card__photo {
  min-height: 270px;
  padding: 0;
  border-radius: 0;
  background: linear-gradient(135deg, #dcebf2, #0a2236);
}

.room-card__slides {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.room-card__slide {
  border-radius: 0;
}

.room-card__photo::after {
  background: linear-gradient(180deg, rgba(5, 25, 40, .04), rgba(5, 25, 40, .22));
}

@media (max-width: 1100px) {
  .gallery-grid {
    columns: 3;
  }
}

@media (max-width: 760px) {
  .gallery-grid {
    columns: 2;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    columns: 1;
  }
}

/* =========================================================
   Rooms + booking pages — phase 5
   Reception hero, shared custom controls, live order summary
   ========================================================= */

.rooms-page-hero {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  padding: 0;
  background: var(--navy-950);
}

.rooms-page-hero__image,
.rooms-page-hero__shade {
  position: absolute;
  inset: 0;
}

.rooms-page-hero__image {
  z-index: 0;
  background: url("/assets/admiral/media/rooms/hero/reception.webp") center 46% / cover no-repeat;
  transform: scale(1.015);
}

.rooms-page-hero__shade {
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(3, 20, 34, .95) 0%,
      rgba(5, 35, 58, .82) 43%,
      rgba(5, 35, 58, .30) 73%,
      rgba(5, 35, 58, .12) 100%),
    linear-gradient(180deg, rgba(4, 22, 37, .08), rgba(4, 22, 37, .38));
}

.rooms-page-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 68px;
  padding-bottom: 68px;
}

.rooms-page-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(48px, 5.4vw, 72px);
  text-shadow: 0 4px 24px rgba(0, 0, 0, .34);
}

.rooms-page-hero p:last-child {
  max-width: 610px;
  color: rgba(255, 255, 255, .84);
  font-size: 18px;
  line-height: 1.55;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .32);
}

.rooms-booking {
  z-index: 35;
}

.rooms-results {
  padding-top: 72px;
}

.rooms-results__heading {
  align-items: flex-start;
}

.rooms-results__heading h2 {
  margin-top: 12px;
}

/* Единый внешний вид кастомных полей на главной, поиске и бронировании. */
.js-booking-controls .booking-field,
.js-booking-controls .field,
.js-booking-controls .form-grid > label {
  position: relative;
}

.js-booking-controls .custom-select,
.js-booking-controls .custom-date__trigger {
  width: 100%;
}

.js-booking-controls .custom-select__trigger,
.js-booking-controls .custom-date__trigger {
  min-height: 48px;
  border-radius: 13px;
}

.guest-form.js-booking-controls .custom-select__trigger,
.guest-form.js-booking-controls .custom-date__trigger {
  min-height: 46px;
  border-radius: 12px;
  background: #f8fafb;
  box-shadow: none;
}

.js-booking-controls .custom-select__menu {
  z-index: 560;
}

.js-booking-controls .date-picker {
  z-index: 570;
  top: calc(100% + 10px);
  left: 0;
  right: auto;
}

.js-booking-controls label:has(input[name="checkout"]) .date-picker {
  right: 0;
  left: auto;
}

.guest-form .date-picker {
  width: min(390px, calc(100vw - 32px));
}

.booking-page-hero {
  padding-top: 68px;
  padding-bottom: 56px;
}

.booking-page {
  align-items: start;
}

/* Правая карточка больше не превращается в бесконечную фотоленту. */
.order-card {
  overflow: hidden;
}

.order-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 17px;
  background: linear-gradient(135deg, #dcebf2, var(--navy-800));
  box-shadow: 0 12px 30px rgba(6, 28, 45, .12);
}

.order-card__slides,
.order-card__slide {
  position: absolute;
  inset: 0;
}

.order-card__slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .85s ease, transform 6.5s linear;
}

.order-card__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.order-card__dots {
  position: absolute;
  z-index: 3;
  right: 13px;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 999px;
  background: rgba(5, 25, 40, .52);
  backdrop-filter: blur(10px);
}

.order-card__dots i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .48);
  transition: width .25s ease, background-color .25s ease;
}

.order-card__dots i.is-active {
  width: 22px;
  background: var(--gold-400);
}

.order-card h3 {
  margin-top: 22px;
}

.order-card__price-note {
  display: block;
  margin-top: -4px;
  color: var(--muted);
  text-align: right;
}

.order-total strong {
  white-space: nowrap;
}

.booking-note {
  margin: 20px 0 0;
  padding: 16px 18px;
  border: 1px solid rgba(21, 95, 134, .10);
  border-radius: 14px;
  color: #536b7a;
  background: rgba(25, 121, 168, .055);
  line-height: 1.6;
}

.booking-captcha-slot {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px dashed rgba(21, 95, 134, .28);
  border-radius: 15px;
  color: var(--navy-800);
  background: rgba(244, 249, 252, .9);
}

.booking-captcha-slot__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(145deg, var(--blue-600), var(--navy-800));
  font-weight: 900;
}

.booking-captcha-slot strong,
.booking-captcha-slot small {
  display: block;
}

.booking-captcha-slot small {
  margin-top: 3px;
  color: var(--muted);
}

.consent a {
  color: var(--blue-700);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.consent a:hover {
  color: var(--navy-900);
}

@media (max-width: 820px) {
  .rooms-page-hero {
    min-height: 330px;
  }

  .rooms-page-hero__content {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

@media (max-width: 620px) {
  .rooms-page-hero {
    min-height: 310px;
  }

  .rooms-page-hero__shade {
    background: linear-gradient(90deg, rgba(3, 20, 34, .94), rgba(5, 35, 58, .66));
  }

  .rooms-page-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .js-booking-controls .date-picker {
    position: fixed;
    inset: auto 12px 12px;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .order-card__slide {
    transition: none;
    transform: none;
  }
}


/* =========================================================
   Rooms / booking controls — unified dimensions + time wheel
   ========================================================= */

/* Поиск номеров теперь использует тот же размер полей, что и главная. */
.rooms-booking .booking-form {
  align-items: end;
}

.rooms-booking .custom-select__trigger,
.rooms-booking .custom-date__trigger,
.rooms-booking .booking-form > .button {
  min-height: 56px;
  border-radius: 16px;
}

.rooms-booking .custom-select__trigger,
.rooms-booking .custom-date__trigger {
  padding: 13px 16px;
  font-size: 15px;
}

/* В форме бронирования все интерактивные поля одной высоты. */
.guest-form.js-booking-controls .custom-select__trigger,
.guest-form.js-booking-controls .custom-date__trigger,
.guest-form.js-booking-controls .time-wheel__trigger,
.guest-form .form-grid input,
.guest-form .form-grid textarea {
  min-height: 50px;
  border-radius: 14px;
}

.guest-form .form-grid textarea {
  min-height: 96px;
}

/* Окна выбора гостиницы и даты выдержаны в одном визуальном стандарте. */
.rooms-booking .custom-select__menu,
.rooms-booking .date-picker,
.guest-form .custom-select__menu,
.guest-form .date-picker,
.guest-form .time-wheel__panel {
  width: min(390px, calc(100vw - 32px));
  border-radius: 22px;
  box-shadow: 0 28px 75px rgba(5, 34, 55, .24);
}

.rooms-booking .custom-select__menu,
.guest-form .custom-select__menu {
  min-width: 100%;
}

/* Компактное колесо выбора времени приезда. */
.time-wheel {
  position: relative;
  width: 100%;
}

.time-wheel__trigger {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  background: #f8fafb;
  text-align: left;
  font-weight: 750;
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.time-wheel__trigger:hover {
  border-color: rgba(24, 121, 164, .32);
  background: #fff;
}

.time-wheel.is-open .time-wheel__trigger,
.time-wheel__trigger:focus-visible {
  border-color: #238bb8;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(35, 139, 184, .12);
  outline: none;
}

.time-wheel.is-open .custom-select__arrow {
  transform: rotate(225deg) translate(-2px, -2px);
}

.time-wheel__value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.time-wheel__trigger:not(.has-value) .time-wheel__value {
  color: #657988;
  font-weight: 650;
}

.time-wheel__panel {
  position: absolute;
  z-index: 590;
  top: calc(100% + 10px);
  left: 0;
  width: min(320px, calc(100vw - 32px));
  padding: 15px;
  border: 1px solid rgba(16, 72, 104, .14);
  color: var(--ink);
  background:
    radial-gradient(260px 130px at 100% 0%, rgba(83, 200, 216, .11), transparent 72%),
    rgba(255, 255, 255, .985);
  backdrop-filter: blur(20px);
  animation: adm-pop .2s ease both;
}

.time-wheel__title {
  display: block;
  margin: 0 0 10px;
  color: var(--navy-900);
  text-align: center;
  font-size: 15px;
}

.time-wheel__viewport {
  position: relative;
  height: 246px;
  overflow-y: auto;
  padding-block: 96px;
  border-radius: 16px;
  scroll-snap-type: y mandatory;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(21, 95, 134, .28) transparent;
  outline: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,0) 28%),
    linear-gradient(0deg, rgba(255,255,255,.98), rgba(255,255,255,0) 28%);
}

.time-wheel__viewport::before {
  content: "";
  position: sticky;
  z-index: 2;
  top: calc(50% - 24px);
  height: 48px;
  display: block;
  margin-bottom: -48px;
  border: 1px solid rgba(35, 139, 184, .18);
  border-radius: 13px;
  background: rgba(35, 139, 184, .075);
  pointer-events: none;
}

.time-wheel__list {
  position: relative;
  z-index: 3;
}

.time-wheel__option {
  width: 100%;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  color: #647987;
  background: transparent;
  scroll-snap-align: center;
  font-size: 15px;
  font-weight: 750;
  transition: color .16s ease, transform .16s ease, background-color .16s ease;
}

.time-wheel__option:hover,
.time-wheel__option:focus-visible {
  color: var(--navy-900);
  background: rgba(25, 121, 168, .07);
  outline: none;
}

.time-wheel__option.is-selected {
  color: var(--navy-900);
  transform: scale(1.08);
  font-size: 17px;
  font-weight: 900;
}

@media (max-width: 620px) {
  .rooms-booking .custom-select__trigger,
  .rooms-booking .custom-date__trigger,
  .rooms-booking .booking-form > .button {
    min-height: 52px;
  }

  .time-wheel__panel {
    position: fixed;
    inset: auto 12px 12px;
    width: auto;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .time-wheel__panel,
  .time-wheel__option {
    animation: none;
    transition: none;
  }
}

/* Contacts page final pass */
.page-hero--contacts {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(4, 19, 32, .94) 0%, rgba(6, 22, 37, .84) 34%, rgba(8, 28, 45, .48) 100%),
    url("/assets/admiral/media/contacts/hero-lobby.png") center / cover no-repeat,
    linear-gradient(135deg, var(--navy-950), var(--navy-800));
}

.page-hero--contacts::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(760px 320px at 80% 16%, rgba(201, 169, 107, .18), transparent 62%);
  pointer-events: none;
}

.page-hero--contacts .container {
  position: relative;
  z-index: 1;
}

.page-hero--contacts .eyebrow {
  font-size: 17px;
  letter-spacing: .18em;
}

.page-hero--contacts p:last-child {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,.84);
}

.contact-grid--quad {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-card h2 {
  margin-bottom: 18px;
}

.contact-copy {
  margin: 0 0 16px;
  color: var(--ink);
  line-height: 1.7;
}

.contact-copy--muted {
  color: var(--muted);
}

.contact-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: auto;
}

.contact-grid--quad .contact-line:first-child {
  border-top: 1px solid var(--line);
}

.contact-grid--quad .contact-line {
  transition: transform .18s ease, color .18s ease;
}

.contact-grid--quad .contact-line:hover {
  transform: translateX(4px);
}

.contact-grid--quad .contact-line:hover strong {
  color: var(--navy-900);
}

.footer-contacts a:nth-of-type(2) {
  margin-bottom: 10px;
}

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

/* Public controls stabilization — admin styles live in siteadmin.css */
.js-booking-controls .native-control-hidden,
.home-booking .native-control-hidden {
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
  pointer-events:none!important;
}
.js-booking-controls .custom-select,
.home-booking .custom-select { width:100%; position:relative; }
.js-booking-controls .custom-select__trigger,
.home-booking .custom-select__trigger {
  width:100%; min-height:56px; border:1px solid #cfdae2; border-radius:16px;
  background:#f8fbfd; padding:0 46px 0 16px; text-align:left; color:#132639; font:inherit;
}
.js-booking-controls .custom-select__menu,
.home-booking .custom-select__menu {
  border-radius:16px!important; overflow:hidden!important;
  box-shadow:0 18px 45px rgba(7,28,43,.18)!important;
}
.js-booking-controls .custom-select__option,
.home-booking .custom-select__option { min-height:44px; padding:10px 16px; }
.rooms-page-hero__image { background-image:url('/assets/admiral/media/rooms/hero/reception.webp')!important; }
.order-card__slides { height:290px!important; overflow:hidden!important; border-radius:22px 22px 0 0; }
.order-card__slide { width:100%!important; height:100%!important; object-fit:cover!important; }

.order-card__promo{margin-top:8px;padding:9px 12px;border-radius:12px;background:#e4f6ed;color:#116b4d;font-weight:800;font-size:13px}


/* Block 6.1 — акции на главной и цена со скидкой. */
.home-promotions{padding-top:34px;padding-bottom:34px;background:linear-gradient(180deg,#edf6fa 0%,#f7fbfd 100%)}
.home-promotions__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.home-promo-card{position:relative;display:grid;gap:9px;min-height:210px;padding:26px;border:1px solid rgba(16,96,132,.14);border-radius:24px;background:linear-gradient(135deg,#fff 0%,#edf8fc 100%);box-shadow:0 18px 44px rgba(8,54,79,.09);color:#0b263b;text-decoration:none;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease}
.home-promo-card:hover{transform:translateY(-3px);box-shadow:0 24px 54px rgba(8,54,79,.14)}
.home-promo-card__discount{position:absolute;top:20px;right:20px;padding:8px 12px;border-radius:999px;background:#0b7dac;color:#fff;font-size:20px;font-weight:900}
.home-promo-card__hotel{color:#0b7199;font-size:12px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.home-promo-card strong{max-width:72%;font-size:28px;line-height:1.08}.home-promo-card p{max-width:82%;margin:0;color:#526c7e}.home-promo-card small{color:#6e8290}.home-promo-card__link{margin-top:auto;font-weight:900;color:#086f99}
.order-total__prices{display:flex;align-items:baseline;justify-content:flex-end;gap:10px}.order-total__prices del{color:#8294a1;font-size:15px;font-weight:700}.order-card__promo[hidden],.order-total__prices del[hidden]{display:none}.order-card__promo{margin-top:10px;padding:11px 13px;border-radius:13px;background:#e3f7ed;color:#126849;font-weight:900}
@media(max-width:760px){.home-promotions__grid{grid-template-columns:1fr}.home-promo-card strong,.home-promo-card p{max-width:100%}}

/* =========================================================
   ADMIRAL — FINAL MOBILE FIX
   ========================================================= */

@media (max-width: 620px) {

  /* ---------------------------------------------------------
     1. МОБИЛЬНАЯ ШАПКА
     [ меню ] [ A ] [ Забронировать ]
     --------------------------------------------------------- */

  :root {
    --header-height: 68px;
  }

  .site-header {
    min-height: var(--header-height) !important;
  }

  .site-header__inner {
    position: relative !important;
    min-height: var(--header-height) !important;
    display: grid !important;
    grid-template-columns: 44px 1fr auto !important;
    grid-template-areas: "menu logo book" !important;
    align-items: center !important;
    gap: 10px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .site-header .menu-toggle,
  .site-header .nav-toggle {
    grid-area: menu !important;
    display: block !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    justify-self: start !important;
    border-radius: 13px !important;
  }

  .site-header .brand {
    grid-area: logo !important;
    justify-self: center !important;
    display: inline-grid !important;
    place-items: center !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    gap: 0 !important;
  }

  .site-header .brand__mark {
    width: 42px !important;
    height: 42px !important;
    border-radius: 13px 13px 13px 5px !important;
    font-size: 23px !important;
  }

  .site-header .brand__text {
    display: none !important;
  }

  .site-header .header-book {
    grid-area: book !important;
    display: inline-flex !important;
    justify-self: end !important;
    min-width: 0 !important;
    min-height: 44px !important;
    max-width: 148px !important;
    margin: 0 !important;
    padding: 10px 13px !important;
    border-radius: 13px !important;
    white-space: nowrap !important;
    font-size: 12px !important;
    line-height: 1 !important;
  }

  .site-header .main-nav {
    position: fixed !important;
    z-index: 999 !important;
    top: var(--header-height) !important;
    right: 12px !important;
    left: 12px !important;
    bottom: auto !important;
    width: auto !important;
    max-height: calc(100vh - var(--header-height) - 20px) !important;
    overflow-y: auto !important;
    margin: 0 !important;
    padding: 12px !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 0 0 18px 18px !important;
    background: rgba(5, 25, 42, .985) !important;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .35) !important;
  }

  .site-header .main-nav a {
    width: 100% !important;
    padding: 13px 15px !important;
    border-radius: 11px !important;
  }


  /* ---------------------------------------------------------
     2. БЛОК ВЫГОД ПРЯМОГО БРОНИРОВАНИЯ
     --------------------------------------------------------- */

  .section--benefits {
    min-height: 0 !important;
    height: auto !important;
    padding: 48px 0 52px !important;
  }

  .section--benefits .promise-grid {
    display: block !important;
    width: min(calc(100% - 24px), var(--container)) !important;
    margin: 0 auto !important;
  }

  .section--benefits .promise-copy {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 28px !important;
    padding: 0 !important;
    transform: none !important;
  }

  .section--benefits .promise-eyebrow {
    margin: 0 0 16px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  .section--benefits .promise-copy h2 {
    margin: 0 !important;
    font-size: clamp(31px, 9vw, 40px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.035em !important;
  }

  .section--benefits .promise-copy h2 span {
    display: block !important;
    white-space: normal !important;
  }

  .section--benefits .promise-copy__lead {
    max-width: none !important;
    margin: 18px 0 0 !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  .section--benefits .benefits-slider {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

.section--benefits .benefits-slider {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.section--benefits .benefits-slider__viewport {
  width: 100% !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 4px 0 !important;
}

.section--benefits .promise-list.benefits-slider__track {
  display: flex !important;
  width: 100% !important;
  gap: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.section--benefits .promise-list .benefit-card {
  flex: 0 0 100% !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  min-height: 215px !important;
  height: auto !important;
  box-sizing: border-box !important;
  padding: 22px 20px !important;
  border-radius: 20px !important;
}

.section--benefits .benefits-slider__controls {
  min-height: 40px !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-top: 16px !important;
}

.section--benefits .benefits-slider__arrow {
  width: 38px !important;
  height: 38px !important;
  flex: 0 0 38px !important;
}

  .section--benefits .promise-list .benefit-card h3 {
    margin: 14px 0 9px !important;
    font-size: 22px !important;
  }

  .section--benefits .promise-list .benefit-card p {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  .section--benefits .benefits-slider__controls {
    min-height: 44px !important;
    justify-content: center !important;
    gap: 10px !important;
    margin: 18px 0 0 !important;
  }

  .section--benefits .benefits-slider__arrow {
    width: 40px !important;
    height: 40px !important;
    flex: 0 0 40px !important;
    padding: 0 !important;
    border-radius: 12px !important;
    font-size: 22px !important;
  }


  /* ---------------------------------------------------------
     3. КАРТОЧКА «НУЖНА ПОМОЩЬ С ВЫБОРОМ»
     --------------------------------------------------------- */

  .section--contact-help {
    padding: 42px 0 48px !important;
  }

  .section--contact-help .shell {
    width: min(calc(100% - 24px), var(--container)) !important;
  }

  .contact-help {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 20px !important;
    width: 100% !important;
    min-height: 0 !important;
    padding: 28px 22px 22px !important;
    border-radius: 24px !important;
  }

  .contact-help__copy,
  .contact-help__qr,
  .contact-help__button {
    width: 100% !important;
    min-width: 0 !important;
  }

  .contact-help__eyebrow {
    margin: 0 0 16px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  .contact-help__copy h2 {
    margin: 0 0 14px !important;
    font-size: clamp(29px, 9vw, 38px) !important;
    line-height: 1.06 !important;
  }

  .contact-help__copy > p:last-of-type {
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
  }

  .contact-help__actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 20px !important;
  }

  .contact-action {
    width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 13px !important;
    border-radius: 15px !important;
  }

  .contact-action__icon {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px !important;
  }

  .contact-action > span:last-child {
    min-width: 0 !important;
  }

  .contact-action small {
    font-size: 11px !important;
  }

  .contact-action strong {
    display: block !important;
    max-width: 100% !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }

  .contact-help__qr {
    display: grid !important;
    grid-template-columns: 104px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 14px !important;
    border-radius: 17px !important;
  }

  .contact-help__qr-code {
    width: 104px !important;
    height: 104px !important;
    flex: none !important;
    padding: 7px !important;
    border-radius: 13px !important;
  }

  .contact-help__qr > div:last-child {
    min-width: 0 !important;
  }

  .contact-help__qr strong {
    margin-bottom: 5px !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
  }

  .contact-help__qr p {
    font-size: 12px !important;
    line-height: 1.45 !important;
  }

  .contact-help__button {
    min-height: 48px !important;
    margin: 0 !important;
    padding: 12px 16px !important;
    justify-content: center !important;
    white-space: normal !important;
  }
}


/* Совсем узкие экраны */
@media (max-width: 360px) {

  .site-header__inner {
    grid-template-columns: 42px 1fr auto !important;
    gap: 7px !important;
  }

  .site-header .header-book {
    max-width: 132px !important;
    padding-right: 10px !important;
    padding-left: 10px !important;
    font-size: 11px !important;
  }

  .contact-help {
    padding-right: 18px !important;
    padding-left: 18px !important;
  }

  .contact-help__qr {
    grid-template-columns: 92px minmax(0, 1fr) !important;
  }

  .contact-help__qr-code {
    width: 92px !important;
    height: 92px !important;
  }
}

@media (max-width: 620px) {

/* ---------------------------------------------------------
   Мобильные карусели гостиниц и номеров
   --------------------------------------------------------- */

.section--home-hotels .hotel-grid,
.hotels-overview .hotel-grid,
.rooms-results .room-grid {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 4px 0 12px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  scroll-snap-type: x mandatory !important;
  scroll-behavior: smooth !important;
  scrollbar-width: none !important;
  -webkit-overflow-scrolling: touch !important;
  overscroll-behavior-x: contain !important;
}

.section--home-hotels .hotel-grid::-webkit-scrollbar,
.hotels-overview .hotel-grid::-webkit-scrollbar,
.rooms-results .room-grid::-webkit-scrollbar {
  display: none !important;
}

.section--home-hotels .hotel-card,
.hotels-overview .hotel-card {
  flex: 0 0 calc(100% - 18px) !important;
  width: calc(100% - 18px) !important;
  min-width: calc(100% - 18px) !important;
  scroll-snap-align: center !important;
  scroll-snap-stop: always !important;
}

.rooms-results .room-card {
  flex: 0 0 calc(100% - 18px) !important;
  width: calc(100% - 18px) !important;
  min-width: calc(100% - 18px) !important;
  scroll-snap-align: center !important;
  scroll-snap-stop: always !important;
}

.mobile-card-carousel {
  width: 100% !important;
  min-width: 0 !important;
}

.mobile-card-carousel__controls {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 11px !important;
  min-height: 42px !important;
  margin: 14px 0 4px !important;
}

.mobile-card-carousel__arrow {
  width: 40px !important;
  height: 40px !important;
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 40px !important;
  padding: 0 !important;
  border: 1px solid rgba(8, 48, 73, .13) !important;
  border-radius: 13px !important;
  color: var(--navy-900) !important;
  background: rgba(255, 255, 255, .82) !important;
  box-shadow: 0 8px 22px rgba(8, 36, 55, .08) !important;
  font-size: 22px !important;
  line-height: 1 !important;
}

.mobile-card-carousel__dots {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}

.mobile-card-carousel__dot {
  width: 7px !important;
  height: 7px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: rgba(17, 69, 98, .25) !important;
  transition: width .25s ease, background .25s ease !important;
}

.mobile-card-carousel__dot.is-active {
  width: 24px !important;
  background: var(--gold-400) !important;
}

/* Небольшое движение, подсказывающее возможность свайпа */
.mobile-card-carousel.is-hinting {
  animation: mobileCarouselHint .75s ease-in-out;
}

@keyframes mobileCarouselHint {
  0%   { transform: translateX(0); }
  42%  { transform: translateX(-18px); }
  100% { transform: translateX(0); }
}

/* ---------------------------------------------------------
   Компактнее страница оформления брони
   --------------------------------------------------------- */

.booking-page-hero {
  padding-top: 38px !important;
  padding-bottom: 38px !important;
}

.booking-page-hero .container,
.booking-page-hero .shell {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.booking-page-hero .eyebrow {
  margin-bottom: 16px !important;
}

.booking-page-hero h1 {
  margin-top: 0 !important;
  margin-bottom: 12px !important;
  font-size: clamp(40px, 12vw, 54px) !important;
  line-height: 1.02 !important;
}

.booking-page-hero p:last-child {
  margin-bottom: 0 !important;
}

.booking-page {
  gap: 20px !important;
  padding-top: 26px !important;
  padding-bottom: 44px !important;
}

.booking-page .guest-form,
.booking-page .order-card {
  padding: 22px 18px !important;
  border-radius: 22px !important;
}

.booking-page .form-section:first-child {
  margin-top: 0 !important;
}

.booking-page .order-card {
  margin-top: 0 !important;
}
}

.brand__logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* =========================================================
   Логотип «Адмирал» в шапке и подвале
   ========================================================= */

.brand__mark--logo {
  width: 46px;
  height: 46px;
  padding: 0;
  overflow: hidden;

  border-radius: 15px 15px 15px 5px;
  background: #071b2c;

  display: grid;
  place-items: center;
}

.brand__mark--logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

/* Чуть компактнее в подвале */
.brand--footer .brand__mark--logo {
  width: 42px;
  height: 42px;
}

/* =========================================================
   Контакты — разделение карточек
   ========================================================= */

.contact-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(18, 61, 88, 0.10);
  box-shadow: 0 18px 42px rgba(8, 38, 58, 0.10);
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 28px;
  right: 28px;
  height: 4px;
  border-radius: 0 0 8px 8px;
  background: rgba(18, 115, 170, 0.65);
}

/* 1 — основная информация */
.contact-card:nth-child(1) {
  background:
    linear-gradient(
      145deg,
      rgba(235, 247, 253, 0.98),
      rgba(255, 255, 255, 0.96)
    );
}

/* 2 — телефоны */
.contact-card:nth-child(2) {
  background:
    linear-gradient(
      145deg,
      rgba(255, 248, 229, 0.98),
      rgba(255, 255, 255, 0.96)
    );
}

.contact-card:nth-child(2)::before {
  background: rgba(210, 164, 64, 0.75);
}

/* 3 — почта и мессенджеры */
.contact-card:nth-child(3) {
  background:
    linear-gradient(
      145deg,
      rgba(234, 249, 243, 0.98),
      rgba(255, 255, 255, 0.96)
    );
}

.contact-card:nth-child(3)::before {
  background: rgba(49, 157, 112, 0.70);
}

/* 4 — разработчик */
.contact-card:nth-child(4) {
  background:
    linear-gradient(
      145deg,
      rgba(238, 243, 249, 0.98),
      rgba(255, 255, 255, 0.96)
    );
}

.contact-card:nth-child(4)::before {
  background: rgba(79, 99, 130, 0.70);
}

/* Ссылки чуть выразительнее */
.contact-card a {
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Мобильная версия */
@media (max-width: 760px) {
  .contact-card::before {
    left: 20px;
    right: 20px;
  }
}

/* =========================================================
   Local SEO section — гостиницы в Большом Камне
   ========================================================= */

.seo-local-section {
  padding-top: 64px;
  padding-bottom: 72px;
  background:
    radial-gradient(
      700px 380px at 100% 0%,
      rgba(83, 200, 216, 0.11),
      transparent 68%
    ),
    linear-gradient(
      180deg,
      rgba(247, 251, 253, 0.96),
      rgba(237, 245, 248, 0.96)
    );
}

.seo-local-heading {
  margin-bottom: 30px;
}

.seo-local-heading h2 {
  margin-top: 12px;
}

.seo-local-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.seo-local-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid rgba(16, 72, 104, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 38px rgba(6, 28, 45, 0.08);
}

.seo-local-card h3 {
  margin: 0 0 13px;
  color: var(--navy-900);
  font-size: 23px;
  line-height: 1.2;
}

.seo-local-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.seo-local-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--blue-700);
  font-weight: 900;
}

.seo-local-card a:hover {
  color: var(--navy-900);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.seo-local-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 20px;
  padding: 22px 26px;
  border: 1px solid rgba(21, 95, 134, 0.12);
  border-radius: 18px;
  background: rgba(25, 121, 168, 0.07);
}

.seo-local-summary strong {
  flex: 0 0 auto;
  color: var(--navy-900);
  font-size: 19px;
}

.seo-local-summary p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 820px) {
  .seo-local-grid {
    grid-template-columns: 1fr;
  }

  .seo-local-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 620px) {
  .seo-local-section {
    padding-top: 48px;
    padding-bottom: 54px;
  }

  .seo-local-card {
    padding: 23px;
  }
}

/* =========================================================
   SEO-блок — компактные отступы и защита от обрезания
   ========================================================= */

/* Уменьшаем расстояние после карточек гостиниц */
.section--home-hotels {
  padding-bottom: 34px;
}

/* Подтягиваем SEO-блок ближе к карточкам */
.seo-local-section {
  padding-top: 38px;
  padding-bottom: 54px;
  overflow: hidden;
}

/* Убираем лишний разрыв между заголовком и карточками */
.seo-local-heading {
  margin-bottom: 24px;
}

/* Не даём колонкам раздвигать страницу */
.seo-local-heading > *,
.seo-local-grid > * {
  min-width: 0;
}

/* Чуть компактнее сам заголовок */
.seo-local-heading h2 {
  margin-top: 10px;
  font-size: clamp(38px, 3.7vw, 56px);
  line-height: 1.04;
}

/* Правая поясняющая колонка */
.seo-local-heading > p {
  max-width: 560px;
  line-height: 1.65;
}

/* Карточки немного компактнее */
.seo-local-card {
  padding: 25px 27px;
}

/* Мобильная версия */
@media (max-width: 820px) {
  .section--home-hotels {
    padding-bottom: 24px;
  }

  .seo-local-section {
    padding-top: 30px;
    padding-bottom: 46px;
  }

  .seo-local-heading {
    margin-bottom: 20px;
  }

  .seo-local-heading > p {
    margin-top: 16px;
  }
}

@media (max-width: 620px) {
  .seo-local-section {
    padding-top: 26px;
    padding-bottom: 40px;
  }

  .seo-local-heading h2 {
    font-size: clamp(34px, 11vw, 46px);
  }

  .seo-local-card {
    padding: 22px;
  }
}

/* =========================================================
   ADMIRAL PUBLIC — FINAL THEME + MOBILE HEADER FIX
   Мобильная шапка:
   [ меню ][ тема ]       [ логотип по центру ]       [ бронь ]

   Также исправляет светлую карточку фактов гостиницы
   в тёмной теме.
   ========================================================= */


/* =========================================================
   1. МОБИЛЬНАЯ ШАПКА
   ========================================================= */

@media (max-width: 620px) {

  :root {
    --header-height: 68px;
  }

  .site-header {
    min-height: var(--header-height) !important;
  }

  .site-header__inner {
    position: relative !important;
    min-height: var(--header-height) !important;

    display: block !important;

    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }


  /* Кнопка меню слева */

  .site-header .menu-toggle,
  .site-header .nav-toggle {
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;

    width: 44px !important;
    height: 44px !important;

    display: block !important;
    margin: 0 !important;
    padding: 0 !important;

    border-radius: 13px !important;

    transform: translateY(-50%) !important;
  }


  /* Кнопка темы рядом с меню */

  .site-header .theme-toggle,
  .site-header .theme-switch,
  .site-header [data-theme-toggle],
  .site-header #theme-toggle {
    position: absolute !important;
    top: 50% !important;
    left: 54px !important;

    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;

    display: inline-grid !important;
    place-items: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 1px solid rgba(255, 255, 255, .18) !important;
    border-radius: 13px !important;

    color: #fff !important;
    background: rgba(255, 255, 255, .075) !important;

    box-shadow: none !important;

    transform: translateY(-50%) !important;
  }

  .site-header .theme-toggle:hover,
  .site-header .theme-switch:hover,
  .site-header [data-theme-toggle]:hover,
  .site-header #theme-toggle:hover {
    background: rgba(255, 255, 255, .14) !important;
  }


  /* Логотип строго по геометрическому центру экрана */

  .site-header .brand {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;

    width: 44px !important;
    height: 44px !important;

    display: grid !important;
    place-items: center !important;

    margin: 0 !important;
    gap: 0 !important;

    transform: translate(-50%, -50%) !important;
  }

  .site-header .brand__mark,
  .site-header .brand__mark--logo {
    width: 42px !important;
    height: 42px !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 13px 13px 13px 5px !important;
  }

  .site-header .brand__logo,
  .site-header .brand__mark--logo img {
    width: 100% !important;
    height: 100% !important;

    display: block !important;
    object-fit: cover !important;
  }

  .site-header .brand__text {
    display: none !important;
  }


  /* Кнопка бронирования справа */

  .site-header .header-book,
  .site-header .button--header {
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;

    width: auto !important;
    min-width: 0 !important;
    min-height: 44px !important;
    max-width: 148px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 10px 13px !important;

    border-radius: 13px !important;

    white-space: nowrap !important;
    font-size: 12px !important;
    line-height: 1 !important;

    transform: translateY(-50%) !important;
  }


  /* Выпадающее мобильное меню */

  .site-header .main-nav {
    position: fixed !important;
    z-index: 999 !important;

    top: var(--header-height) !important;
    right: 12px !important;
    left: 12px !important;
    bottom: auto !important;

    width: auto !important;
    max-height: calc(100vh - var(--header-height) - 20px) !important;

    overflow-y: auto !important;

    margin: 0 !important;
    padding: 12px !important;

    border: 1px solid rgba(255, 255, 255, .12) !important;
    border-radius: 0 0 18px 18px !important;

    background: rgba(5, 25, 42, .985) !important;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .35) !important;
  }

  .site-header .main-nav a {
    width: 100% !important;
    padding: 13px 15px !important;
    border-radius: 11px !important;
  }
}


/* Очень узкие телефоны */

@media (max-width: 380px) {

  .site-header .menu-toggle,
  .site-header .nav-toggle {
    width: 40px !important;
    height: 40px !important;
  }

  .site-header .theme-toggle,
  .site-header .theme-switch,
  .site-header [data-theme-toggle],
  .site-header #theme-toggle {
    left: 47px !important;

    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
  }

  .site-header .brand {
    width: 40px !important;
    height: 40px !important;
  }

  .site-header .brand__mark,
  .site-header .brand__mark--logo {
    width: 38px !important;
    height: 38px !important;
  }

  .site-header .header-book,
  .site-header .button--header {
    max-width: 116px !important;
    min-height: 40px !important;

    padding-right: 9px !important;
    padding-left: 9px !important;

    font-size: 10.5px !important;
  }
}


/* =========================================================
   2. КАРТОЧКА РЕЖИМА РАБОТЫ ГОСТИНИЦЫ
   Светлая тема остаётся без изменений
   ========================================================= */

html[data-theme="dark"] .facts--booking,
html[data-color-theme="dark"] .facts--booking,
html.dark .facts--booking,
body.dark-theme .facts--booking {
  color: #edf7fb !important;

  border-color: rgba(113, 196, 226, .16) !important;

  background:
    radial-gradient(
      320px 160px at 100% 0%,
      rgba(83, 200, 216, .10),
      transparent 72%
    ),
    linear-gradient(
      145deg,
      rgba(18, 48, 65, .98),
      rgba(12, 37, 52, .98)
    ) !important;

  box-shadow:
    0 18px 42px rgba(0, 0, 0, .18),
    inset 0 1px rgba(255, 255, 255, .035) !important;
}


/* Разделители колонок */

html[data-theme="dark"] .facts--booking > span,
html[data-color-theme="dark"] .facts--booking > span,
html.dark .facts--booking > span,
body.dark-theme .facts--booking > span {
  border-color: rgba(113, 196, 226, .14) !important;
}


/* Основные значения: 14:00, 12:00, 8:00–21:00 */

html[data-theme="dark"] .facts--booking strong,
html[data-color-theme="dark"] .facts--booking strong,
html.dark .facts--booking strong,
body.dark-theme .facts--booking strong {
  color: #f2f9fc !important;
}


/* Подписи: заезд, выезд, стойка */

html[data-theme="dark"] .facts--booking small,
html[data-color-theme="dark"] .facts--booking small,
html.dark .facts--booking small,
body.dark-theme .facts--booking small {
  color: #91adbc !important;
}


/* Ссылка «Оформить бронь» */

html[data-theme="dark"] .facts--booking em,
html[data-color-theme="dark"] .facts--booking em,
html.dark .facts--booking em,
body.dark-theme .facts--booking em {
  color: #65c9ed !important;
}

html[data-theme="dark"] .facts--booking:hover,
html[data-color-theme="dark"] .facts--booking:hover,
html.dark .facts--booking:hover,
body.dark-theme .facts--booking:hover {
  border-color: rgba(101, 201, 237, .26) !important;

  box-shadow:
    0 24px 52px rgba(0, 0, 0, .24),
    inset 0 1px rgba(255, 255, 255, .05) !important;
}


/* =========================================================
   3. МОБИЛЬНАЯ КАРТОЧКА РЕЖИМА РАБОТЫ
   ========================================================= */

@media (max-width: 620px) {

  .facts--booking {
    width: 100% !important;
    min-height: 0 !important;

    grid-template-columns: 1fr !important;

    border-radius: 20px !important;
  }

  .facts--booking > span {
    min-height: 70px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    padding: 16px 18px !important;

    border-right: 0 !important;
    border-bottom: 1px solid var(--line) !important;

    text-align: left !important;
  }

  .facts--booking > span:nth-child(3) {
    padding-bottom: 52px !important;
    border-bottom: 0 !important;
  }

  .facts--booking strong {
    font-size: 18px !important;
  }

  .facts--booking small {
    font-size: 12px !important;
  }

  .facts--booking em {
    right: 17px !important;
    bottom: 16px !important;
  }

  html[data-theme="dark"] .facts--booking > span,
  html[data-color-theme="dark"] .facts--booking > span,
  html.dark .facts--booking > span,
  body.dark-theme .facts--booking > span {
    border-bottom-color: rgba(113, 196, 226, .14) !important;
  }
}

/* =========================================================
   Контакты — наведение без исчезновения текста
   ========================================================= */

.contact-line {
  color: inherit;
}

.contact-line small,
.contact-line strong {
  transition:
    color 0.18s ease,
    opacity 0.18s ease;
}

/* Светлая тема */
.contact-line:hover,
.contact-line:focus-visible {
  color: inherit;
}

.contact-line:hover small,
.contact-line:focus-visible small {
  color: #587388;
}

.contact-line:hover strong,
.contact-line:focus-visible strong {
  color: #087aaa;
}

/* Тёмная тема */
html[data-theme="dark"] .contact-line,
html[data-theme="dark"] .contact-line:visited {
  color: #edf7fc;
}

html[data-theme="dark"] .contact-line small {
  color: #9db1c0;
}

html[data-theme="dark"] .contact-line strong {
  color: #edf7fc;
}

html[data-theme="dark"] .contact-line:hover,
html[data-theme="dark"] .contact-line:focus-visible {
  background: rgba(73, 181, 225, 0.08);
  color: #edf7fc;
}

html[data-theme="dark"] .contact-line:hover small,
html[data-theme="dark"] .contact-line:focus-visible small {
  color: #b9cad5 !important;
}

html[data-theme="dark"] .contact-line:hover strong,
html[data-theme="dark"] .contact-line:focus-visible strong {
  color: #62c8ef !important;
}

/* =========================================================
   Подвал — кнопка связи с разработчиком
   ========================================================= */

.footer-developer-link,
.footer-developer-link:visited {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;

  padding: 14px 16px;
  border: 1px solid rgba(120, 154, 176, 0.28);
  border-radius: 14px;

  color: #58bce4;
  background: rgba(255, 255, 255, 0.025);

  text-decoration: none;

  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    transform 0.18s ease;
}

.footer-developer-link small {
  color: #9baeba;
  transition: color 0.18s ease;
}

.footer-developer-link:hover,
.footer-developer-link:focus-visible {
  color: #ffffff;
  background: rgba(74, 181, 224, 0.1);
  border-color: rgba(74, 181, 224, 0.55);
  transform: translateY(-1px);
}

.footer-developer-link:hover small,
.footer-developer-link:focus-visible small {
  color: #72c9eb;
}

/* Светлая тема */
html:not([data-theme="dark"]) .footer-developer-link,
html[data-theme="light"] .footer-developer-link {
  color: #086f9d;
  background: rgba(7, 111, 157, 0.035);
  border-color: rgba(7, 111, 157, 0.2);
}

html:not([data-theme="dark"]) .footer-developer-link small,
html[data-theme="light"] .footer-developer-link small {
  color: #667b8a;
}

html:not([data-theme="dark"]) .footer-developer-link:hover,
html[data-theme="light"] .footer-developer-link:hover,
html:not([data-theme="dark"]) .footer-developer-link:focus-visible,
html[data-theme="light"] .footer-developer-link:focus-visible {
  color: #064d70;
  background: rgba(7, 111, 157, 0.1);
  border-color: rgba(7, 111, 157, 0.42);
}

html:not([data-theme="dark"]) .footer-developer-link:hover small,
html[data-theme="light"] .footer-developer-link:hover small,
html:not([data-theme="dark"]) .footer-developer-link:focus-visible small,
html[data-theme="light"] .footer-developer-link:focus-visible small {
  color: #315f76;
}

/* =========================================================
   Форма связи с разработчиком
   ========================================================= */

.footer-developer-link,
.contact-line--button {
    width: 100%;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid rgba(110, 190, 225, 0.22);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text, #edf7ff);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.footer-developer-link:hover,
.footer-developer-link:focus-visible,
.contact-line--button:hover,
.contact-line--button:focus-visible {
    border-color: rgba(86, 194, 235, 0.7);
    background: rgba(51, 157, 204, 0.14);
    color: var(--text, #edf7ff);
    transform: translateY(-1px);
}

.footer-developer-link small,
.contact-line--button small {
    display: block;
    margin-top: 4px;
    color: var(--text-muted, #9db2c2);
}

.developer-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease;
}

.developer-modal.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.developer-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 14, 24, 0.78);
    backdrop-filter: blur(7px);
}

.developer-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 620px);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: clamp(24px, 5vw, 42px);
    border: 1px solid rgba(106, 183, 220, 0.22);
    border-radius: 24px;
    background: var(--surface, #122a3a);
    color: var(--text, #edf7ff);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
    transform: translateY(18px) scale(0.98);
    transition: transform 0.2s ease;
}

.developer-modal.is-open .developer-modal__dialog {
    transform: translateY(0) scale(1);
}

.developer-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(106, 183, 220, 0.25);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.developer-modal__dialog h2 {
    margin: 10px 50px 10px 0;
    font-size: clamp(30px, 5vw, 46px);
}

.developer-modal__lead {
    margin: 0 0 24px;
    color: var(--text-muted, #9db2c2);
    line-height: 1.7;
}

.developer-form {
    display: grid;
    gap: 18px;
}

.developer-form label {
    display: grid;
    gap: 8px;
}

.developer-form label > span {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted, #9db2c2);
}

.developer-form input,
.developer-form textarea {
    width: 100%;
    min-width: 0;
    padding: 15px 16px;
    border: 1px solid rgba(107, 180, 216, 0.28);
    border-radius: 14px;
    outline: none;
    background: rgba(4, 24, 37, 0.42);
    color: var(--text, #edf7ff);
    font: inherit;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.developer-form textarea {
    min-height: 150px;
    resize: vertical;
}

.developer-form input:focus,
.developer-form textarea:focus {
    border-color: #35a9dc;
    box-shadow: 0 0 0 4px rgba(53, 169, 220, 0.14);
}

.developer-form__trap {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

.developer-form__notice {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.developer-form__notice--success {
    border: 1px solid rgba(54, 190, 137, 0.38);
    background: rgba(32, 164, 111, 0.14);
    color: #9cf0ca;
}

.developer-form__notice--error {
    border: 1px solid rgba(235, 98, 98, 0.38);
    background: rgba(205, 55, 55, 0.14);
    color: #ffc1c1;
}

body.developer-modal-open {
    overflow: hidden;
}

html:not([data-theme="dark"]) .developer-modal__dialog {
    border-color: rgba(31, 105, 145, 0.18);
    background: #ffffff;
    color: #102438;
}

html:not([data-theme="dark"]) .developer-form input,
html:not([data-theme="dark"]) .developer-form textarea {
    border-color: #cadbe5;
    background: #f4f8fa;
    color: #102438;
}

html:not([data-theme="dark"]) .developer-modal__close {
    border-color: #d3e1e8;
    background: #edf4f7;
    color: #102438;
}

html:not([data-theme="dark"]) .contact-line--button {
    color: #102438;
}

@media (max-width: 640px) {
    .developer-modal {
        align-items: end;
        padding: 10px;
    }

    .developer-modal__dialog {
        width: 100%;
        max-height: calc(100dvh - 20px);
        padding: 26px 20px 22px;
        border-radius: 22px;
    }

    .developer-modal__dialog h2 {
        font-size: 31px;
    }
}

/* =========================================================
   Developer form — окончательная синхронизация с темой сайта
   ========================================================= */

/* Базовая светлая тема */
.developer-modal__dialog {
    background: #ffffff;
    color: #102438;
    border-color: rgba(31, 105, 145, 0.18);
}

.developer-modal__dialog h2 {
    color: #102438;
}

.developer-modal__lead,
.developer-form label > span {
    color: #91a7b8;
}

.developer-form input,
.developer-form textarea {
    background: #f4f8fa;
    color: #102438;
    border-color: #c7dce7;
}

.developer-form input::placeholder,
.developer-form textarea::placeholder {
    color: #8197a7;
}

.developer-modal__close {
    background: #edf4f7;
    color: #102438;
    border-color: #d3e1e8;
}

/*
 * Тёмная тема.
 * Поддерживаем сразу несколько вариантов включения темы,
 * чтобы CSS больше не гадал на кофейной гуще.
 */
html[data-theme="dark"] .developer-modal__dialog,
body[data-theme="dark"] .developer-modal__dialog,
[data-admiral-theme="dark"] .developer-modal__dialog,
.theme-dark .developer-modal__dialog,
.dark-theme .developer-modal__dialog {
    background: #112938;
    color: #edf7ff;
    border-color: rgba(91, 181, 222, 0.28);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.58);
}

html[data-theme="dark"] .developer-modal__dialog h2,
body[data-theme="dark"] .developer-modal__dialog h2,
[data-admiral-theme="dark"] .developer-modal__dialog h2,
.theme-dark .developer-modal__dialog h2,
.dark-theme .developer-modal__dialog h2 {
    color: #edf7ff;
}

html[data-theme="dark"] .developer-modal__lead,
html[data-theme="dark"] .developer-form label > span,
body[data-theme="dark"] .developer-modal__lead,
body[data-theme="dark"] .developer-form label > span,
[data-admiral-theme="dark"] .developer-modal__lead,
[data-admiral-theme="dark"] .developer-form label > span,
.theme-dark .developer-modal__lead,
.theme-dark .developer-form label > span,
.dark-theme .developer-modal__lead,
.dark-theme .developer-form label > span {
    color: #9db4c4;
}

html[data-theme="dark"] .developer-form input,
html[data-theme="dark"] .developer-form textarea,
body[data-theme="dark"] .developer-form input,
body[data-theme="dark"] .developer-form textarea,
[data-admiral-theme="dark"] .developer-form input,
[data-admiral-theme="dark"] .developer-form textarea,
.theme-dark .developer-form input,
.theme-dark .developer-form textarea,
.dark-theme .developer-form input,
.dark-theme .developer-form textarea {
    background: #0b2231;
    color: #edf7ff;
    border-color: rgba(91, 181, 222, 0.32);
    caret-color: #edf7ff;
}

html[data-theme="dark"] .developer-form input::placeholder,
html[data-theme="dark"] .developer-form textarea::placeholder,
body[data-theme="dark"] .developer-form input::placeholder,
body[data-theme="dark"] .developer-form textarea::placeholder,
[data-admiral-theme="dark"] .developer-form input::placeholder,
[data-admiral-theme="dark"] .developer-form textarea::placeholder,
.theme-dark .developer-form input::placeholder,
.theme-dark .developer-form textarea::placeholder,
.dark-theme .developer-form input::placeholder,
.dark-theme .developer-form textarea::placeholder {
    color: #6f899a;
}

html[data-theme="dark"] .developer-form input:focus,
html[data-theme="dark"] .developer-form textarea:focus,
body[data-theme="dark"] .developer-form input:focus,
body[data-theme="dark"] .developer-form textarea:focus,
[data-admiral-theme="dark"] .developer-form input:focus,
[data-admiral-theme="dark"] .developer-form textarea:focus,
.theme-dark .developer-form input:focus,
.theme-dark .developer-form textarea:focus,
.dark-theme .developer-form input:focus,
.dark-theme .developer-form textarea:focus {
    border-color: #39b3e8;
    box-shadow: 0 0 0 4px rgba(57, 179, 232, 0.16);
}

html[data-theme="dark"] .developer-modal__close,
body[data-theme="dark"] .developer-modal__close,
[data-admiral-theme="dark"] .developer-modal__close,
.theme-dark .developer-modal__close,
.dark-theme .developer-modal__close {
    background: #173749;
    color: #edf7ff;
    border-color: rgba(91, 181, 222, 0.3);
}

html[data-theme="dark"] .developer-modal__close:hover,
body[data-theme="dark"] .developer-modal__close:hover,
[data-admiral-theme="dark"] .developer-modal__close:hover,
.theme-dark .developer-modal__close:hover,
.dark-theme .developer-modal__close:hover {
    background: #1d4860;
}

/* Сообщение об успешной отправке */
.developer-form__notice--success {
    background: #dff6ec;
    border-color: #91d8bb;
    color: #15704b;
}

html[data-theme="dark"] .developer-form__notice--success,
body[data-theme="dark"] .developer-form__notice--success,
[data-admiral-theme="dark"] .developer-form__notice--success,
.theme-dark .developer-form__notice--success,
.dark-theme .developer-form__notice--success {
    background: rgba(33, 166, 112, 0.16);
    border-color: rgba(88, 216, 160, 0.38);
    color: #82e8bb;
}

/* Ошибка */
.developer-form__notice--error {
    background: #fff0ef;
    border-color: #efb0ab;
    color: #9b302a;
}

html[data-theme="dark"] .developer-form__notice--error,
body[data-theme="dark"] .developer-form__notice--error,
[data-admiral-theme="dark"] .developer-form__notice--error,
.theme-dark .developer-form__notice--error,
.dark-theme .developer-form__notice--error {
    background: rgba(203, 62, 62, 0.16);
    border-color: rgba(239, 115, 115, 0.38);
    color: #ffb9b9;
}