:root {
  --forest: #213a2b;
  --forest-2: #3b6047;
  --moss: #65774f;
  --sage: #a7b69a;
  --cream: #f7f2e8;
  --linen: #e7dcc9;
  --milk: #fffdf7;
  --clay: #a64d3b;
  --clay-dark: #793329;
  --wood: #8a623e;
  --sky: #d8e8ef;
  --stone: #cbc3b7;
  --sun: #f0c778;
  --ink: #252b22;
  --muted: #656d60;
  --white: #ffffff;
  --shadow: 0 22px 58px rgba(36, 34, 28, 0.16);
  --soft-shadow: 0 12px 30px rgba(36, 34, 28, 0.09);
  --radius: 8px;
  --max-width: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

html[data-lang="et"] .lang-en,
html[data-lang="en"] .lang-et {
  display: none !important;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

address {
  margin-top: 18px;
  color: var(--forest);
  font-style: normal;
  font-weight: 700;
}

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

.section-pad {
  padding: 88px 0;
}

.section-kicker,
.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--forest);
  line-height: 1.08;
}

h1 {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 6.4rem;
  font-weight: 700;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.22);
}

h2 {
  max-width: 780px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.6rem;
}

h3 {
  font-size: 1.08rem;
}

p {
  margin: 0;
}

.section-heading {
  display: grid;
  gap: 16px;
  margin-bottom: 34px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-140%);
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--white);
  padding: 10px 14px;
  text-decoration: none;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 247, 0.9);
  border-bottom: 1px solid rgba(59, 96, 71, 0.14);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 247, 0.97);
  box-shadow: 0 12px 28px rgba(31, 49, 39, 0.08);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  width: min(100% - 32px, 1240px);
  min-height: 78px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--forest);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--forest);
  border-radius: 50%;
  background: var(--clay);
  color: var(--milk);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.brand-name,
.brand-location {
  display: block;
}

.brand-name {
  font-weight: 850;
}

.brand-location {
  color: var(--muted);
  font-size: 0.82rem;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.site-nav a,
.footer-nav a {
  color: var(--forest);
  font-size: 0.94rem;
  font-weight: 720;
  text-decoration: none;
}

.site-nav a {
  border-radius: 999px;
  padding: 9px 12px;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: rgba(59, 96, 71, 0.1);
}

.language-switcher {
  display: flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(59, 96, 71, 0.16);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.78);
}

.language-button {
  min-width: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  font-size: 0.83rem;
  font-weight: 850;
  padding: 7px 10px;
}

.language-button.is-active {
  background: var(--forest);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(59, 96, 71, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.76);
  color: var(--forest);
  cursor: pointer;
}

.nav-toggle-line {
  width: 20px;
  height: 2px;
  margin: 3px 0;
  border-radius: 999px;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: clamp(520px, 76svh, 760px);
  overflow: hidden;
  background: var(--forest);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 10px;
  background: linear-gradient(90deg, var(--clay), var(--moss) 48%, var(--sky));
  z-index: 2;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(24, 38, 28, 0.84), rgba(32, 53, 37, 0.56) 46%, rgba(32, 53, 37, 0.18) 78%),
    linear-gradient(0deg, rgba(24, 38, 28, 0.5), rgba(24, 38, 28, 0.05) 54%);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: min(100% - 40px, var(--max-width));
  margin-inline: auto;
  padding: 74px 0 82px;
}

.hero .eyebrow {
  color: var(--sun);
}

.hero-subtitle {
  max-width: 760px;
  margin-top: 12px;
  color: var(--white);
  font-size: 1.65rem;
  font-weight: 760;
}

.hero-description {
  max-width: 660px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 820;
  padding: 13px 18px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--soft-shadow);
}

.button:focus-visible,
.language-button:focus-visible,
.nav-toggle:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(166, 77, 59, 0.35);
  outline-offset: 3px;
}

.button-primary {
  background: var(--clay);
  color: var(--white);
}

.button-primary:hover {
  background: var(--clay-dark);
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.button-icon {
  display: inline-grid;
  width: 20px;
  height: 20px;
  place-items: center;
  flex: 0 0 auto;
}

.intro-section {
  background: linear-gradient(180deg, var(--cream), #edf3e7);
}

.intro-grid,
.split-layout,
.sauna-layout,
.nearby-layout,
.availability-layout,
.booking-layout,
.location-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.intro-copy,
.split-copy,
.sauna-copy,
.nearby-layout,
.availability-layout,
.booking-copy,
.location-layout,
.contact-layout {
  color: var(--muted);
  font-size: 1.02rem;
}

.intro-copy {
  display: grid;
  gap: 16px;
}

.features-section,
.prices-section,
.rules-section {
  background: #edf3e7;
}

.feature-grid,
.gallery-grid,
.price-grid,
.rules-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.gallery-card,
.price-card {
  border: 1px solid rgba(59, 96, 71, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.82);
  box-shadow: var(--soft-shadow);
}

.feature-card {
  display: grid;
  gap: 12px;
  min-height: 210px;
  padding: 22px;
}

.feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: rgba(166, 77, 59, 0.12);
  color: var(--clay);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card p,
.price-card p,
.gallery-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.split-section {
  background:
    linear-gradient(90deg, rgba(59, 96, 71, 0.11), transparent 44%),
    var(--milk);
}

.split-copy,
.sauna-copy {
  display: grid;
  gap: 18px;
}

.detail-panel {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid rgba(59, 96, 71, 0.16);
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--white);
  box-shadow: var(--shadow);
}

.stay-photo-panel img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.stay-photo-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(25, 37, 27, 0.82), rgba(25, 37, 27, 0.08) 62%);
}

.check-list {
  position: absolute;
  inset: auto 20px 20px;
  z-index: 1;
  display: grid;
  gap: 16px;
  margin: 0;
  padding: clamp(20px, 3vw, 26px);
  border-left: 4px solid var(--sun);
  border-radius: var(--radius);
  background: rgba(25, 43, 31, 0.84);
  backdrop-filter: blur(12px);
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.46em;
  width: 14px;
  height: 8px;
  border-bottom: 2px solid var(--sun);
  border-left: 2px solid var(--sun);
  transform: rotate(-45deg);
}

.sauna-section {
  background:
    linear-gradient(180deg, rgba(33, 58, 43, 0.97), rgba(25, 38, 28, 0.98)),
    var(--forest);
  color: rgba(255, 255, 255, 0.82);
}

.sauna-section h2,
.sauna-section h3 {
  color: var(--white);
}

.sauna-section .section-kicker {
  color: var(--sun);
}

.sauna-section .sauna-copy {
  color: rgba(255, 255, 255, 0.82);
}

.sauna-visual {
  position: relative;
  min-height: 420px;
  border-radius: var(--radius);
  background: var(--wood);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), var(--shadow);
  overflow: hidden;
}

.sauna-visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.sauna-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(21, 29, 22, 0.38), transparent 55%),
    linear-gradient(0deg, rgba(21, 29, 22, 0.42), transparent 48%);
}

.gallery-section {
  background: var(--cream);
}

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

.gallery-card {
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
}

.gallery-card img {
  object-fit: cover;
  background: var(--linen);
}

.gallery-card-wide {
  grid-column: span 2;
}

.gallery-card-wide img {
  aspect-ratio: 16 / 10;
}

.gallery-card-body {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.nearby-section {
  background:
    linear-gradient(135deg, rgba(101, 119, 79, 0.16), transparent 48%),
    var(--milk);
}

.nearby-layout {
  align-items: start;
}

.nearby-layout p + p {
  margin-top: 16px;
}

.nearby-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nearby-tags li {
  border: 1px solid rgba(59, 96, 71, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.84);
  color: var(--forest);
  font-weight: 780;
  padding: 9px 13px;
}

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

.price-card {
  display: grid;
  gap: 14px;
  min-height: 210px;
  padding: 28px;
}

.price-value {
  color: var(--clay) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem !important;
  font-weight: 700;
  line-height: 1.1;
}

.price-note {
  background: var(--forest);
}

.price-note h3,
.price-note p {
  color: var(--white) !important;
}

.availability-section {
  background: var(--cream);
}

.small-note {
  margin-top: 16px;
  color: var(--forest);
  font-weight: 760;
}

.availability-widget,
.admin-card {
  border: 1px solid rgba(59, 96, 71, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.8);
  padding: 20px;
  box-shadow: var(--soft-shadow);
}

.calendar-toolbar,
.admin-card-heading {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.calendar-toolbar strong {
  color: var(--forest);
  text-align: center;
}

.icon-button {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(59, 96, 71, 0.18);
  border-radius: var(--radius);
  background: var(--milk);
  color: var(--forest);
  cursor: pointer;
}

.icon-button svg {
  width: 22px;
  height: 22px;
}

.calendar-weekdays,
.availability-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}

.calendar-weekdays {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
}

.calendar-day {
  display: grid;
  min-width: 0;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(59, 96, 71, 0.14);
  border-radius: 6px;
  background: var(--milk);
  color: var(--forest);
  cursor: pointer;
  font-weight: 820;
  line-height: 1;
}

.calendar-day:hover {
  border-color: rgba(166, 77, 59, 0.45);
}

.calendar-day.is-outside {
  opacity: 0.34;
}

.calendar-day.is-past {
  cursor: not-allowed;
  opacity: 0.36;
}

.calendar-day.is-closed {
  border-color: rgba(166, 77, 59, 0.28);
  background: rgba(166, 77, 59, 0.16);
  color: var(--clay-dark);
  text-decoration: line-through;
}

.calendar-day.is-manual {
  border-color: var(--clay);
  box-shadow: inset 0 0 0 2px rgba(166, 77, 59, 0.22);
}

.calendar-day.is-selected,
.calendar-day.is-in-range {
  border-color: var(--forest);
  background: var(--forest);
  color: var(--white);
  text-decoration: none;
}

.calendar-day.is-today {
  box-shadow: inset 0 0 0 2px var(--sun);
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 720;
}

.calendar-legend span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.calendar-legend i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.legend-open {
  background: var(--milk);
  border: 1px solid rgba(59, 96, 71, 0.24);
}

.legend-selected {
  background: var(--forest);
}

.legend-closed {
  background: rgba(166, 77, 59, 0.24);
}

.availability-selection {
  min-height: 28px;
  margin-top: 16px;
  color: var(--forest);
  font-weight: 780;
}

.calendar-book-button {
  width: 100%;
  margin-top: 14px;
}

.booking-section {
  background:
    linear-gradient(180deg, rgba(33, 58, 43, 0.93), rgba(25, 38, 28, 0.96)),
    var(--forest);
  color: rgba(255, 255, 255, 0.84);
}

.booking-section h2 {
  color: var(--white);
}

.booking-section .section-kicker {
  color: var(--sun);
}

.booking-section .booking-copy {
  color: rgba(255, 255, 255, 0.82);
}

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

.booking-form {
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.98);
  color: var(--ink);
  padding: clamp(22px, 4vw, 34px);
  box-shadow: var(--shadow);
}

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

label,
.message-field {
  display: grid;
  gap: 7px;
  color: var(--forest);
  font-weight: 760;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(59, 96, 71, 0.22);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

.choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  min-inline-size: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.choice-group legend {
  float: left;
  width: 100%;
  margin-bottom: 8px;
  color: var(--forest);
  font-weight: 780;
}

.choice-group label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(59, 96, 71, 0.18);
  border-radius: 999px;
  background: var(--milk);
  cursor: pointer;
  padding: 8px 12px;
}

.choice-group input {
  width: auto;
}

.submit-button {
  width: fit-content;
}

.form-response {
  min-height: 24px;
  color: var(--forest);
  font-weight: 760;
}

.admin-section {
  background:
    linear-gradient(180deg, rgba(33, 58, 43, 0.97), rgba(25, 38, 28, 0.98)),
    var(--forest);
  color: rgba(255, 255, 255, 0.82);
}

.admin-page {
  background: var(--forest);
}

.is-hidden {
  display: none !important;
}

.admin-shell {
  min-height: 100svh;
}

.admin-login {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(33, 58, 43, 0.88), rgba(25, 38, 28, 0.96)),
    url("images/optimized/hero-exterior.jpg") center / cover;
}

.admin-login-card {
  display: grid;
  gap: 26px;
  width: min(100%, 520px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.96);
  color: var(--ink);
  padding: clamp(24px, 5vw, 42px);
  box-shadow: var(--shadow);
}

.admin-login-title {
  color: var(--forest);
  font-size: 4rem;
  text-shadow: none;
}

.admin-login-form {
  display: grid;
  gap: 16px;
}

.admin-dashboard {
  min-height: 100svh;
  background: var(--forest);
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 78px;
  border-bottom: 1px solid rgba(59, 96, 71, 0.14);
  background: rgba(255, 253, 247, 0.97);
  padding: 0 clamp(18px, 4vw, 58px);
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.admin-tabs a {
  border-radius: 999px;
  color: var(--forest);
  font-weight: 780;
  padding: 8px 12px;
  text-decoration: none;
}

.admin-tabs a:hover {
  background: rgba(59, 96, 71, 0.1);
}

.admin-section-alt {
  background: var(--cream);
  color: var(--muted);
}

.admin-section-alt h2 {
  color: var(--forest);
}

.admin-section-alt .section-kicker {
  color: var(--clay);
}

.admin-section h2,
.admin-section h3 {
  color: var(--white);
}

.admin-section .section-kicker {
  color: var(--sun);
}

.admin-section .small-note {
  color: rgba(255, 255, 255, 0.86);
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(420px, 1.28fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.admin-simple-layout {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 920px;
  margin-inline: auto;
}

.admin-copy {
  display: grid;
  gap: 18px;
}

.admin-panel {
  display: grid;
  gap: 18px;
}

.admin-card {
  background: rgba(255, 253, 247, 0.98);
  color: var(--ink);
}

.admin-card h2,
.admin-card h3 {
  color: var(--forest);
}

.admin-card-heading {
  grid-template-columns: 1fr auto;
}

.google-card {
  display: grid;
  gap: 16px;
}

.google-card code {
  color: var(--clay-dark);
  font-weight: 760;
}

.calendar-status {
  color: var(--forest);
  font-weight: 780;
}

.admin-actions,
.request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-action-button {
  min-height: 40px;
  border-color: rgba(59, 96, 71, 0.2);
  background: var(--milk);
  color: var(--forest);
  padding: 9px 12px;
}

.admin-status {
  min-height: 24px;
  margin-top: 14px;
  color: var(--forest);
  font-weight: 760;
}

.request-list {
  display: grid;
  gap: 12px;
}

.request-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(59, 96, 71, 0.14);
  border-radius: var(--radius);
  background: var(--milk);
  padding: 16px;
}

.request-card.is-done {
  opacity: 0.68;
}

.request-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.request-meta span {
  border-radius: 999px;
  background: rgba(59, 96, 71, 0.09);
  padding: 4px 9px;
}

.empty-state {
  color: var(--muted);
  font-weight: 720;
}

.location-section {
  background: var(--milk);
}

.map-frame {
  display: block;
  width: 100%;
  min-height: 360px;
  border: 1px solid rgba(59, 96, 71, 0.16);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  overflow: hidden;
}

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

.rules-grid p {
  min-height: 96px;
  border-top: 4px solid var(--clay);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.82);
  color: var(--forest);
  font-weight: 720;
  padding: 18px;
  box-shadow: var(--soft-shadow);
}

.contact-section {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.82);
}

.contact-section h2 {
  color: var(--white);
}

.contact-section .section-kicker {
  color: var(--sun);
}

.contact-section .contact-layout {
  color: rgba(255, 255, 255, 0.82);
}

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

.site-footer {
  background: #17281f;
  color: rgba(255, 255, 255, 0.78);
  padding: 42px 0;
}

.footer-layout {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 26px;
  align-items: start;
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  margin-top: 7px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: center;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.86);
}

.footer-meta {
  text-align: right;
}

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

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(59, 96, 71, 0.14);
    border-radius: var(--radius);
    background: var(--cream);
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    border-radius: 6px;
    padding: 12px;
  }

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

@media (max-width: 780px) {
  .container {
    width: min(100% - 28px, var(--max-width));
  }

  .section-pad {
    padding: 64px 0;
  }

  h1 {
    font-size: 4.35rem;
  }

  h2 {
    font-size: 2.7rem;
  }

  .hero-subtitle {
    font-size: 1.35rem;
  }

  .header-inner {
    min-height: 70px;
    gap: 10px;
    width: min(100% - 20px, 1240px);
  }

  .admin-topbar {
    grid-template-columns: 1fr;
    gap: 12px;
    padding-block: 14px;
  }

  .admin-tabs {
    justify-content: flex-start;
  }

  .brand-location {
    display: none;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .language-switcher {
    order: 3;
  }

  .hero {
    min-height: 74svh;
  }

  .hero-content {
    width: min(100% - 28px, var(--max-width));
    padding: 54px 0 64px;
  }

  .intro-grid,
  .split-layout,
  .sauna-layout,
  .nearby-layout,
  .availability-layout,
  .admin-layout,
  .booking-layout,
  .location-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .gallery-grid,
  .price-grid,
  .rules-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card-wide {
    grid-column: auto;
  }

  .feature-card {
    min-height: auto;
  }

  .sauna-visual {
    min-height: 300px;
  }

  .contact-layout {
    align-items: start;
  }

  .footer-layout {
    grid-template-columns: 1fr;
  }

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

  .footer-meta {
    text-align: left;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .admin-login-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.18rem;
  }

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

  .brand-name {
    max-width: 150px;
  }

  .language-button {
    min-width: 36px;
    padding-inline: 8px;
  }

  .calendar-day {
    font-size: 0.86rem;
  }

  .admin-actions,
  .request-actions,
  .admin-action-button {
    width: 100%;
  }
}

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