:root {
  --bg: #fff9f6;
  --bg-soft: #f2f7f4;
  --surface: #ffffff;
  --surface-warm: #fff2ee;
  --text: #202127;
  --muted: #6f6a72;
  --line: #eaded8;
  --primary: #93516b;
  --primary-dark: #733d54;
  --accent: #2f7f75;
  --accent-soft: #e6f2ef;
  --shadow: 0 22px 60px rgba(69, 47, 57, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 242, 238, 0.9), rgba(242, 247, 244, 0.96) 52%, rgba(255, 249, 246, 1)),
    var(--bg);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(147, 81, 107, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 127, 117, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
}

a {
  color: inherit;
}

main {
    min-height: calc(100vh - 156px);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(234, 222, 216, 0.85);
  background: rgba(255, 249, 246, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.brand-logo-wrap,
.hero-logo-mark,
.footer-brand img {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(234, 222, 216, 0.95);
  box-shadow: 0 12px 30px rgba(69, 47, 57, 0.1);
}

.brand-logo-wrap {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  flex: 0 0 auto;
}

.brand-logo,
.hero-logo-mark img,
.footer-brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-logo {
  padding: 7px;
}

.brand-copy {
  display: grid;
  min-width: 0;
}

.brand-name {
  overflow: hidden;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-slogan {
  overflow: hidden;
  max-width: 310px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(234, 222, 216, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
}

.header-nav a {
  padding: 9px 12px;
  border-radius: 6px;
  color: #3b353b;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.header-nav a:hover,
.header-nav a:focus-visible {
  color: var(--primary-dark);
  background: var(--surface-warm);
  outline: none;
}

.hero-section {
  padding: 46px 0 52px;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 28px;
  align-items: start;
}

.hero-copy {
  position: sticky;
  top: 104px;
  min-height: 560px;
  padding: 44px;
  border: 1px solid rgba(234, 222, 216, 0.95);
  border-radius: 8px;
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.92), rgba(255, 242, 238, 0.9)),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero-logo-mark {
  width: 86px;
  height: 86px;
  margin-bottom: 28px;
  border-radius: 8px;
}

.hero-logo-mark img {
  padding: 12px;
}

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

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 620px;
  font-size: clamp(42px, 6vw, 48px);
  line-height: 0.95;
}

h2 {
  font-size: clamp(28px, 4vw, 32px);
  line-height: 1.05;
}

.hero-text {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.primary-link {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 14px 28px rgba(147, 81, 107, 0.24);
}

.secondary-link {
  border: 1px solid rgba(147, 81, 107, 0.25);
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.72);
}

.quick-contacts {
  display: grid;
  gap: 10px;
  margin-top: 36px;
}

.quick-contact,
.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.quick-contact i,
.contact-item i {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 8px;
  color: var(--accent);
  background: var(--accent-soft);
}

.quick-contact span,
.contact-item span {
  overflow-wrap: anywhere;
}

.booking-panel {
  overflow: hidden;
  border: 1px solid rgba(234, 222, 216, 0.95);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.booking-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(234, 222, 216, 0.95);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.contacts-section {
  padding: 0 0 56px;
}

.contacts-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(260px, 1fr) minmax(220px, 0.8fr);
  gap: 20px;
  align-items: stretch;
  padding: 28px;
  border: 1px solid rgba(234, 222, 216, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 46px rgba(69, 47, 57, 0.1);
}

.contacts-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.contact-list,
.social-list {
  display: grid;
  gap: 12px;
  align-content: center;
}

.contact-item,
.social-link,
.empty-state {
  min-height: 54px;
  padding: 12px;
  border: 1px solid rgba(234, 222, 216, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.social-link i {
  width: 34px;
  color: var(--primary);
  font-size: 24px;
  text-align: center;
}

.empty-state {
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-footer {
  border-top: 1px solid rgba(234, 222, 216, 0.95);
  background: rgba(255, 255, 255, 0.64);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
  color: var(--muted);
  font-weight: 700;
}

.footer-brand img {
  width: 34px;
  height: 34px;
  padding: 5px;
}

.footer-brand span {
  color: var(--text);
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero-layout,
  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    position: static;
    min-height: auto;
  }

  .booking-widget-host {
    min-height: 720px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 22px, 1180px);
  }

  .header-inner {
    min-height: 70px;
  }

  .brand-slogan,
  .header-nav a[href="/admin/"] {
    display: none;
  }

  .header-nav {
    gap: 2px;
    padding: 4px;
  }

  .header-nav a {
    padding: 8px 9px;
    font-size: 13px;
  }

  .hero-section {
    padding-top: 24px;
  }

  .hero-copy,
  .contacts-layout {
    padding: 22px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-text {
    font-size: 16px;
  }

  .booking-panel-head {
    padding: 0 16px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }
}
