:root {
  --ink: #18201d;
  --muted: #64706a;
  --line: #dce3dd;
  --paper: #fbfaf6;
  --soft: #eef4ef;
  --deep: #0f1816;
  --forest: #1f5b4a;
  --forest-2: #2f7b64;
  --gold: #c5a348;
  --gold-2: #f2dc95;
  --clay: #b56f4d;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(15, 24, 22, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

body.nav-open,
body.lightbox-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px 42px;
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(15, 24, 22, 0.94);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: 800;
}

.brand img {
  width: 96px;
  height: auto;
}

.brand span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--gold-2);
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  font-weight: 700;
}

.main-nav a,
.phone-link {
  opacity: 0.9;
  transition: color 160ms ease, opacity 160ms ease;
}

.main-nav a:hover,
.phone-link:hover {
  color: var(--gold-2);
  opacity: 1;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 16px;
  min-width: max-content;
}

.phone-link {
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 160ms ease;
}

.site-header.is-open .nav-toggle span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.site-header.is-open .nav-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: var(--gold);
  color: #18201d;
  font-weight: 900;
  text-align: center;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--gold-2);
  border-color: var(--gold-2);
}

.button-small {
  min-height: 42px;
  padding: 11px 16px;
  font-size: 14px;
}

.button-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.button-ghost:hover {
  color: var(--ink);
  border-color: var(--gold-2);
}

.button-dark {
  background: var(--deep);
  color: var(--white);
  border-color: var(--deep);
}

.button-dark:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 88vh;
  padding: 156px 42px 36px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(12, 18, 16, 0.88), rgba(12, 18, 16, 0.54) 50%, rgba(12, 18, 16, 0.22)),
    linear-gradient(0deg, rgba(12, 18, 16, 0.72), rgba(12, 18, 16, 0.05) 42%),
    url("https://hotellira-nf.ru/img/15807896.jpg") center / cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(9, 14, 13, 0.18);
}

.hero-content {
  align-self: center;
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.split-content h2,
.booking-copy h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.02;
}

.hero h1 {
  max-width: 720px;
  font-size: 76px;
}

.hero-lead {
  max-width: 640px;
  margin: 28px 0 0;
  font-size: 21px;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-facts {
  align-self: end;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 48px;
}

.hero-facts span {
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  font-weight: 800;
}

.section {
  padding: 96px 42px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 40px;
}

.section-heading h2,
.split-content h2,
.booking-copy h2 {
  font-size: 46px;
}

.section-heading p:not(.eyebrow),
.split-content > p,
.booking-copy > p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: 54px;
  align-items: start;
  background: var(--soft);
}

.intro .section-heading {
  margin: 0;
}

.intro-text {
  border-left: 4px solid var(--gold);
  padding-left: 28px;
  color: #31403a;
  font-size: 21px;
}

.intro-text p {
  margin: 0;
}

.services {
  background: var(--paper);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  display: grid;
  grid-template-rows: 260px 1fr;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 35px rgba(15, 24, 22, 0.08);
}

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

.service-card > div {
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.service-kicker {
  margin: 0 0 8px;
  color: var(--forest-2);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card h3,
.package-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.service-card p:not(.service-kicker) {
  margin: 14px 0 0;
  color: var(--muted);
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: #35443f;
}

.service-card li {
  position: relative;
  padding-left: 18px;
}

.service-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.split {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1.05fr);
  gap: 56px;
  align-items: center;
  background: var(--deep);
  color: var(--white);
}

.split-media {
  height: 620px;
  min-height: 420px;
  overflow: hidden;
  border-radius: 8px;
}

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

.split-content > p {
  color: rgba(255, 255, 255, 0.76);
}

.menu-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.menu-list div {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.menu-list span,
.package-card span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.menu-list strong {
  display: block;
  font-size: 20px;
}

.menu-list p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.packages {
  background: var(--soft);
}

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

.package-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(15, 24, 22, 0.08);
}

.package-card span {
  color: var(--clay);
}

.package-card p {
  margin: 18px 0 0;
  color: var(--muted);
}

.package-card strong {
  margin-top: auto;
  color: var(--forest);
}

.quote-band {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.quote-band div {
  padding: 58px 42px;
  background: var(--forest);
  color: var(--white);
}

.quote-band div:last-child {
  background: var(--clay);
}

.quote-band p {
  max-width: 660px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  line-height: 1.35;
}

.quote-band span {
  display: block;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.gallery {
  background: var(--paper);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  cursor: pointer;
}

.gallery-item::after {
  content: "Смотреть";
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(15, 24, 22, 0.72);
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

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

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.04);
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.booking {
  display: grid;
  grid-template-columns: minmax(100%, 0.8fr) minmax(460px, 1.2fr);
  gap: 44px;
  background: var(--deep);
  color: var(--white);
  justify-items: center;
}

.booking-copy {
  align-self: center;
}

.booking-copy > p {
  color: rgba(255, 255, 255, 0.72);
}

.contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  justify-content: center;
}

.contact-line a {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: var(--gold-2);
  font-weight: 900;
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

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

.booking-form span {
  color: #485750;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #cfd9d2;
  border-radius: 8px;
  background: #f9fbf8;
  color: var(--ink);
  padding: 13px 14px;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.booking-form textarea {
  min-height: 110px;
  resize: vertical;
}

.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  border-color: var(--forest-2);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(47, 123, 100, 0.12);
}

.wide {
  grid-column: 1 / -1;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 24px;
  margin: 0;
  color: var(--forest);
  font-weight: 800;
}

.contacts {
  background: var(--soft);
}

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(440px, 1.18fr);
  gap: 26px;
}

.contact-panel {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 30px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 36px rgba(15, 24, 22, 0.08);
}

.contact-panel dl,
.contact-panel dd {
  margin: 0;
}

.contact-panel dl {
  display: grid;
  gap: 22px;
}

.contact-panel dt {
  margin-bottom: 6px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-panel dd {
  color: #2f3d38;
  font-size: 18px;
}

.contact-panel dd a {
  font-weight: 800;
}

.contact-panel dd a + a {
  margin-left: 12px;
}

.map-card {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: end;
  overflow: hidden;
  border-radius: 8px;
  background: var(--deep);
  box-shadow: 0 14px 36px rgba(15, 24, 22, 0.08);
}

.map-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 24, 22, 0.84), rgba(15, 24, 22, 0.08) 56%);
}

.map-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.map-card:hover img {
  transform: scale(1.04);
}

.map-card span {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  width: 100%;
  padding: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.map-card strong {
  color: var(--white);
  font-size: 28px;
  line-height: 1.12;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 34px;
  align-items: center;
  padding: 34px 42px;
  background: var(--deep);
  color: rgba(255, 255, 255, 0.76);
}

.site-footer img {
  width: 82px;
  margin-bottom: 10px;
}

.site-footer p {
  margin: 0;
  max-width: 420px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--white);
  font-weight: 800;
}

.site-footer span {
  min-width: max-content;
}

.lightbox {
  width: min(980px, calc(100vw - 36px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.lightbox::backdrop {
  background: rgba(10, 15, 14, 0.86);
}

.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  background: var(--deep);
}

.lightbox button {
  display: flex;
  margin: 0 0 10px auto;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  .site-header.is-open .main-nav,
  .site-header.is-open .header-actions {
    display: flex;
  }

  .site-header.is-open {
    grid-template-columns: auto auto;
    align-items: start;
  }

  .site-header.is-open .main-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: 16px;
  }

  .site-header.is-open .main-nav a {
    padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-header.is-open .header-actions {
    grid-column: 1 / -1;
    justify-content: start;
    flex-wrap: wrap;
    padding-top: 14px;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 880px) {
  .site-header,
  .hero,
  .section,
  .quote-band div,
  .site-footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .hero {
    min-height: 84vh;
    padding-top: 126px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .hero-facts,
  .intro,
  .split,
  .booking,
  .contacts-grid,
  .quote-band,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    gap: 8px;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-heading h2,
  .split-content h2,
  .booking-copy h2 {
    font-size: 38px;
  }

  .intro-text {
    padding-left: 20px;
    font-size: 18px;
  }

  .split-media {
    height: 420px;
  }

  .booking-form {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 190px;
  }

  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-item.tall {
    grid-row: span 1;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 78px;
  }

  .brand span {
    font-size: 14px;
  }

  .hero {
    min-height: 82vh;
    padding-top: 112px;
    padding-bottom: 24px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .hero-actions .button,
  .hero-actions {
    width: 100%;
  }

  .hero-facts {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 36px;
  }

  .hero-facts span {
    min-height: 54px;
    padding: 12px;
    font-size: 14px;
  }

  .section-heading h2,
  .split-content h2,
  .booking-copy h2 {
    font-size: 32px;
  }

  .section-heading p:not(.eyebrow),
  .split-content > p,
  .booking-copy > p {
    font-size: 16px;
  }

  .service-grid,
  .package-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item.large {
    grid-column: auto;
  }

  .service-card {
    grid-template-rows: 220px 1fr;
  }

  .package-card {
    min-height: 230px;
  }

  .quote-band p {
    font-size: 21px;
  }

  .contact-panel dd a + a {
    display: inline-block;
    margin: 8px 0 0;
  }

  .site-footer nav {
    gap: 12px;
  }
}
