/* ===== Design Tokens ===== */

:root {
  color-scheme: light;
  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Open Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --container-max-width: 1280px;
  --container-padding-inline: 16px;
  --section-padding-block: clamp(4rem, 8vw, 10rem);
  --reserve-accent-line-width: 5rem;
  --color-primary: #f78632;
  --color-primary-light: #f99e5b;
  --color-secondary: #2f6ea6;
  --color-secondary-light: #588bb8;
  --color-background: #ffffff;
  --color-bg-surface: #fff3eb;
  --color-font: #171717;
  --color-black: #171717;
  --color-light-grey: #595653;
  --color-white: #ffffff;
  --color-overlay: rgb(23 23 23 / 50%);
  --color-footer-bg: #101315;
  --color-footer-surface: #161b1f;
  --color-footer-border: #2e363d;
  --color-footer-text: #ece9e4;
  --color-footer-muted: #b6b2ac;
  --color-chat-menu-bg: rgb(16 19 21 / 92%);
  --color-chat-menu-border: rgb(255 255 255 / 14%);
  --color-chat-link-messenger: #0084ff;
  --color-chat-link-telegram: #229ed9;
  --color-chat-link-whatsapp: #25d366;
}

/* ===== End Design Tokens ===== */

/* ===== Global Reset ===== */

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

html {
  font-size: 62.5%;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-size: 1.6rem;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  /* Design-editor heading-colour token; falls back to the body text colour. */
  color: var(--heading-color, var(--color-font));
}

h1 {
  font-size: clamp(3.6rem, 7vw, 6.4rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(3.2rem, 6vw, 6rem);
  line-height: 1.08;
}

h3 {
  font-size: clamp(2.8rem, 4.8vw, 4.8rem);
  line-height: 1.1;
}

h4 {
  font-size: clamp(2.4rem, 3.8vw, 4rem);
  line-height: 1.15;
}

h5 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.2;
}

h6 {
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  line-height: 1.25;
}

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

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

/* ===== End Global Reset ===== */

/* ===== Scrollbar ===== */

/* Firefox */
html {
  scrollbar-color: var(--color-primary) #1a1f24;
  scrollbar-width: thin;
}

/* Chrome, Edge, Safari */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #1a1f24;
}

::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 9999px;
  border: 2px solid #1a1f24;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-light);
}

/* ===== End Scrollbar ===== */

/* ===== General Layout ===== */

#main-content {
  min-height: 100vh;
}

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

section {
  padding-block: var(--section-padding-block);
}

/* ===== End General Layout ===== */

/* ===== Accessibility ===== */

.skip-link {
  position: absolute;
  left: 0.5rem;
  top: -3rem;
  z-index: 10;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  background: var(--color-primary);
  color: var(--color-font);
  text-decoration: none;
}

.skip-link:focus-visible {
  top: 0.5rem;
  outline: 2px solid var(--color-black);
  outline-offset: 2px;
}

/* ===== End Accessibility ===== */

/* ===== Shared Components ===== */

.btn {
  display: inline-flex;
  align-self: flex-start;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 1.52rem 3.2rem;
  border: none;
  /* Follows the design-editor corner-radius token; 0 keeps olive-lake's sharp look. */
  border-radius: var(--radius, 0);
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: filter 160ms ease;
}

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

.btn:hover,
.btn:focus-visible {
  filter: brightness(0.95);
}

.btn:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: 3px;
}

/* ===== End Shared Components ===== */

/* ===== Header Section ===== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 6;
  padding-top: 0;
  transition: background-color 220ms ease, box-shadow 220ms ease;
}

.site-header__inner {
  display: grid;
  grid-template-columns: 20% 1fr 20%;
  align-items: center;
  gap: 2rem;
  padding: 1.8rem 1.6rem;
  transition: padding 220ms ease;
}

.site-header__logo-section {
  flex-shrink: 0;
}

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

.site-header__actions-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
}

.site-header__brand {
  color: var(--color-white);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 3.2rem;
  line-height: 1;
  white-space: nowrap;
  transition: color 220ms ease, font-size 220ms ease;
}

.site-header__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.4rem 2.2rem;
}

.site-header__nav a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 220ms ease;
  position: relative;
}

.site-header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary-light);
  transition: width 300ms ease;
}

.site-header__nav a:hover,
.site-header__nav a:focus-visible {
  color: var(--color-primary-light);
  text-decoration: none;
}

.site-header__nav a:hover::after,
.site-header__nav a:focus-visible::after {
  width: 100%;
}

.site-header__cta {
  margin: 0;
  padding: 1.1rem 2rem;
}

.site-header__hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-white);
  padding: 0.4rem;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-radius: 4px;
  transition: color 220ms ease;
}

.site-header__hamburger:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.site-header.is-scrolled .site-header__hamburger {
  color: var(--color-font);
}

.site-header.is-scrolled {
  background: var(--color-background);
  box-shadow: 0 8px 20px rgb(23 23 23 / 12%);
}

.site-header.is-scrolled .site-header__inner {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.site-header.is-scrolled .site-header__brand {
  color: var(--color-font);
  font-size: 2.7rem;
}

.site-header.is-scrolled .site-header__nav a {
  color: var(--color-font);
}

.page-solid-header .site-header {
  position: sticky;
  top: 0;
  background: var(--color-background);
  box-shadow: 0 8px 20px rgb(23 23 23 / 12%);
}

.page-solid-header .site-header .site-header__brand {
  color: var(--color-font);
}

.page-solid-header .site-header .site-header__nav a,
.page-solid-header .site-header .site-header__hamburger {
  color: var(--color-font);
}

@media (max-width: 899px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
  }

  .site-header__nav-section {
    display: none;
  }

  .site-header__cta {
    display: none;
  }

  .site-header__hamburger {
    display: flex;
    min-width: 44px;
    min-height: 44px;
  }
}

/* ===== End Header Section ===== */

/* ===== Mobile Navigation Drawer ===== */

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}

.nav-drawer.is-open {
  pointer-events: auto;
}

.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / 55%);
  opacity: 0;
  transition: opacity 320ms ease;
}

.nav-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(400px, 85vw);
  background: var(--color-background);
  box-shadow: -8px 0 40px rgb(0 0 0 / 18%);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 360ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 360ms;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 2rem 2.8rem 3.2rem;
}

.nav-drawer.is-open .nav-drawer__backdrop {
  opacity: 1;
}

.nav-drawer.is-open .nav-drawer__panel {
  transform: translateX(0);
  visibility: visible;
  transition: transform 360ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0s;
}

.nav-drawer__close {
  display: flex;
  align-self: flex-end;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-font);
  padding: 0.6rem;
  margin-bottom: 2rem;
  border-radius: 4px;
  transition: color 180ms ease, background-color 180ms ease;
}

.nav-drawer__close:hover,
.nav-drawer__close:focus-visible {
  color: var(--color-primary);
  background-color: var(--color-bg-surface);
}

.nav-drawer__close:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.nav-drawer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-drawer__links li {
  border-bottom: 1px solid rgb(23 23 23 / 10%);
}

.nav-drawer__links li:first-child {
  border-top: 1px solid rgb(23 23 23 / 10%);
}

.nav-drawer__links a {
  display: block;
  padding: 1.3rem 0;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--color-font);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 180ms ease;
}

.nav-drawer__links a:hover,
.nav-drawer__links a:focus-visible {
  color: var(--color-primary);
}

.nav-drawer__social {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  padding-top: 2.8rem;
  display: flex;
  gap: 1.2rem;
}

.nav-drawer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--color-bg-surface);
  color: var(--color-font);
  transition: background-color 180ms ease, color 180ms ease;
}

.nav-drawer__social a:hover,
.nav-drawer__social a:focus-visible {
  background: var(--color-primary);
  color: var(--color-white);
}

.nav-drawer__social svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: currentColor;
}

.nav-drawer__cta {
  display: block;
  text-align: center;
  margin-top: 1.6rem;
}

@media (max-width: 575px) {
  .nav-drawer__panel {
    width: 100%;
  }
}

/* ===== End Mobile Navigation Drawer ===== */


/* ===== Newsletter Section ===== */

.newsletter {
  background: var(--color-primary);
  padding: 5.6rem var(--container-padding-inline) 0;
}

.newsletter__wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding-bottom: clamp(2.4rem, 4vw, 4rem);
}

.newsletter__content {
  text-align: left;
}

.newsletter__title {
  margin: 0 0 1.6rem;
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
}

.newsletter__text {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.75;
  color: var(--color-white);
}

.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding-right: 4rem;
}

.newsletter__form-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.newsletter__label {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-white);
}

.newsletter__input {
  padding: 1.2rem 1.6rem;
  font-size: 1.6rem;
  border: none;
  border-radius: 0;
  background: var(--color-white);
  color: var(--color-font);
  transition: box-shadow 160ms ease;
}

.newsletter__input::placeholder {
  color: var(--color-light-grey);
}

.newsletter__input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.newsletter__actions {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.btn--white {
  background: var(--color-white);
  color: var(--color-primary);
  font-weight: 700;
  padding: 1.2rem 2.4rem;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn--white:focus-visible {
  outline: 2px solid var(--color-black);
  outline-offset: 2px;
}

.newsletter__actions .btn--white {
  background: var(--color-secondary);
  color: var(--color-white);
  border: none;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.newsletter__actions .btn--white:hover,
.newsletter__actions .btn--white:focus-visible {
  background: var(--color-secondary-light);
}

.newsletter__checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.4rem;
  color: var(--color-white);
  cursor: pointer;
}

.newsletter__checkbox {
  width: 1.8rem;
  height: 1.8rem;
  cursor: pointer;
  accent-color: var(--color-white);
}

.newsletter__disclaimer {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 767px) {
  .newsletter__wrapper {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .newsletter__form {
    padding-right: 0;
  }

  .newsletter__title {
    font-size: 2.4rem;
  }

  .newsletter {
    padding: 3.6rem var(--container-padding-inline) 0;
  }
}

/* ===== End Newsletter Section ===== */

/* ===== Footer Section ===== */

.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.8rem;
  padding-top: 4rem;
  padding-bottom: 2.4rem;
  align-items: start;
}

.site-footer__top section,
.site-footer__top nav {
  padding-block: 0;
}

.site-footer__block {
  align-self: start;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.site-footer__logo-mark {
  width: 5rem;
  height: 5rem;
  margin-bottom: 1.2rem;
}

.site-footer__logo-mark svg {
  width: 100%;
  height: 100%;
}

.site-footer__logo-mark circle {
  fill: none;
  stroke: var(--color-primary);
  stroke-width: 2;
}

.site-footer__logo-mark path {
  fill: none;
  stroke: var(--color-white);
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer__logo {
  margin: 0;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--color-white);
}

.site-footer__nap {
  margin: 1.6rem 0 0;
  font-style: normal;
  font-size: 1.5rem;
  line-height: 1.75;
  color: var(--color-footer-muted);
}

.site-footer__nap a {
  color: var(--color-white);
  text-decoration: none;
}

.site-footer__social {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.site-footer__social-link {
  width: 4rem;
  height: 4rem;
  border: 1px solid var(--color-footer-border);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: background-color 160ms ease, border-color 160ms ease;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.site-footer__social-link svg {
  width: 1.8rem;
  height: 1.8rem;
  fill: currentColor;
}

.site-footer__heading {
  margin: 0;
  font-size: 2.2rem;
  line-height: 1.2;
  color: var(--color-white);
}

.site-footer__list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.site-footer__list li {
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--color-footer-muted);
}

.site-footer__list a {
  color: var(--color-footer-muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.site-footer__list a:hover,
.site-footer__list a:focus-visible,
.site-footer__nap a:hover,
.site-footer__nap a:focus-visible {
  color: var(--color-white);
}

.site-footer__bottom-wrap {
  border-top: 1px solid var(--color-footer-border);
  background: var(--color-footer-surface);
}

.site-footer__bottom {
  padding-top: 1.8rem;
  padding-bottom: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.site-footer__copyright {
  margin: 0;
  font-size: 1.4rem;
  color: var(--color-footer-muted);
}

.site-footer__powered {
  margin: 0;
  font-size: 1.4rem;
  color: var(--color-footer-muted);
  margin-left: auto;
}

.site-footer__copyright a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer__copyright a:hover,
.site-footer__copyright a:focus-visible {
  color: var(--color-primary-light);
}

@media (max-width: 899px) {
  .site-footer__bottom {
    padding-bottom: 7.2rem;
  }
}

@media (max-width: 767px) {
  .site-footer__bottom {
    padding-bottom: 6.4rem;
    padding-right: 5.6rem;
  }
}

/* ===== End Footer Section ===== */

/* ===== Back To Top & Chat Button ===== */

.floating-actions {
  --floating-actions-gap: 1rem;
  --floating-back-size: 4.4rem;
  --floating-mobile-back-gap: 1rem;
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: var(--floating-actions-gap);
  z-index: 20;
}

.floating-reserve {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 4.6rem;
  padding: 0 1.4rem;
  border-radius: 0;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgb(0 0 0 / 26%);
  order: 0;
}

.floating-reserve:hover,
.floating-reserve:focus-visible {
  filter: brightness(0.95);
}

.floating-reserve:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

.chat-fab {
  position: relative;
  width: auto;
  order: 1;
}

.chat-fab__menu {
  position: absolute;
  left: 0;
  right: auto;
  bottom: calc(100% + 1rem);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.8rem;
  width: calc(100% + var(--floating-actions-gap) + var(--floating-back-size));
  padding: 0;
  padding-top: 4.6rem;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 220ms ease;
}

.chat-fab__link {
  width: 100%;
  min-height: 4.4rem;
  padding: 1rem 1.2rem;
  border: none;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.9rem;
  color: var(--color-white);
  box-shadow: 0 8px 20px rgb(0 0 0 / 22%);
  text-decoration: none;
  transition: filter 160ms ease, transform 160ms ease;
}

.chat-fab__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 3rem;
  height: 3rem;
  min-height: 3rem;
  padding: 0;
  border: 1px solid var(--color-chat-menu-border);
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--color-black) 70%, transparent);
  color: var(--color-white);
  font-size: 2.2rem;
  line-height: 1;
  box-shadow: 0 8px 20px rgb(0 0 0 / 22%);
  transition: filter 160ms ease, transform 160ms ease;
  cursor: pointer;
}

.chat-fab__link {
  opacity: 0;
  transform: translateY(10px) scale(0.92);
  pointer-events: none;
  transition: opacity 180ms ease, transform 220ms ease;
}

.chat-fab__close {
  opacity: 0;
  transform: translateY(10px) scale(0.92);
  pointer-events: none;
  transition: opacity 180ms ease, transform 220ms ease;
}

.chat-fab__link--messenger {
  background: var(--color-chat-link-messenger);
}

.chat-fab__link--telegram {
  background: var(--color-chat-link-telegram);
}

.chat-fab__link--whatsapp {
  background: var(--color-chat-link-whatsapp);
}

.chat-fab__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 100%;
  min-height: 4.6rem;
  padding: 0 1.4rem;
  border: none;
  border-radius: 0;
  background: var(--color-secondary);
  color: var(--color-white);
  cursor: pointer;
  box-shadow: 0 10px 24px rgb(0 0 0 / 26%);
  transition: filter 160ms ease, transform 160ms ease;
}

.chat-fab__label {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.chat-fab__link-label {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.chat-fab.is-open .chat-fab__menu,
.chat-fab.is-open .chat-fab__close,
.chat-fab.is-open .chat-fab__link {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-fab.is-open .chat-fab__close:nth-child(1) {
  transition-delay: 0ms;
}

.chat-fab.is-open .chat-fab__link:nth-child(2) {
  transition-delay: 45ms;
}

.chat-fab.is-open .chat-fab__link:nth-child(3) {
  transition-delay: 90ms;
}

.chat-fab.is-open .chat-fab__link:nth-child(4) {
  transition-delay: 135ms;
}

.chat-fab__close:hover,
.chat-fab__close:focus-visible,
.chat-fab__link:hover,
.chat-fab__link:focus-visible,
.chat-fab__toggle:hover,
.chat-fab__toggle:focus-visible {
  filter: brightness(0.95);
}

.chat-fab__toggle:focus-visible,
.chat-fab__link:focus-visible,
.chat-fab__close:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

.chat-fab__icon {
  width: 2rem;
  height: 2rem;
  display: block;
  flex: 0 0 2rem;
  object-fit: contain;
}

.back-to-top {
  width: var(--floating-back-size);
  height: var(--floating-back-size);
  border: none;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgb(0 0 0 / 22%);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  z-index: 20;
  order: 2;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  filter: brightness(0.95);
}

.back-to-top:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

.back-to-top svg {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}

@media (max-width: 899px) {
  .floating-reserve {
    display: inline-flex;
  }
}

@media (max-width: 767px) {
  .floating-actions {
    --floating-actions-gap: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "chat reserve";
    align-items: stretch;
    width: 100%;
  }

  .chat-fab {
    grid-area: chat;
    width: 100%;
    order: 0;
  }

  .floating-reserve {
    grid-area: reserve;
    min-height: 4.8rem;
    width: 100%;
    padding: 0.8rem 1.1rem;
    box-shadow: 0 10px 24px rgb(0 0 0 / 26%);
    order: 0;
    justify-self: stretch;
    align-self: stretch;
  }

  .chat-fab__toggle {
    width: 100%;
    min-height: 4.8rem;
    padding: 0.8rem 1.1rem;
    border-radius: 0;
  }

  .chat-fab__menu {
    left: 100%;
    right: auto;
    width: min(22.4rem, calc(100vw - 2rem));
    transform: translateX(-50%) translateY(10px);
  }

  .chat-fab.is-open .chat-fab__menu {
    transform: translateX(-50%) translateY(0) scale(1);
  }

  .back-to-top {
    position: absolute;
    right: 1rem;
    bottom: calc(100% + var(--floating-mobile-back-gap));
  }

  .chat-fab__label {
    display: inline;
    font-size: 1.3rem;
  }
}

/* ===== End Back To Top ===== */

/* ===== Responsive Overrides ===== */

@media (min-width: 768px) {
  :root {
    --container-padding-inline: 24px;
  }

  .newsletter__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "label label"
      "input button"
      "check check"
      "disclaimer disclaimer";
    column-gap: 0;
    row-gap: 1rem;
    align-items: center;
    border: none;
    border-radius: 0;
  }

  .newsletter__form-group {
    display: contents;
  }

  .newsletter__label {
    grid-area: label;
    margin: 0;
  }

  .newsletter__input {
    grid-area: input;
    min-height: 4.8rem;
    border: none;
    border-radius: 0;
  }

  .newsletter__actions {
    display: contents;
  }

  .newsletter__actions .btn--white {
    grid-area: button;
    min-height: 4.8rem;
    padding-inline: 2.4rem;
    border: none;
    border-radius: 0;
    transform: none;
    box-shadow: none;
    align-self: stretch;
    line-height: 1;
  }

  .newsletter__checkbox-label {
    grid-area: check;
  }

  .newsletter__disclaimer {
    grid-area: disclaimer;
  }

  .site-footer__top {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
    column-gap: 2.4rem;
    row-gap: 3.2rem;
  }

}

/* ===== End Responsive Overrides ===== */


/* ===== Legal pages =====
   Index (`legal-index.html.j2`) and single policy (`legal.html.j2`). The
   original template shipped no styling for these, so a published policy was a
   bare unstyled column against the header. `.legal-main` already carries
   `container`; these rules give it comfortable measure and rhythm. */
.legal-main {
  padding-block: var(--section-padding-block, 8rem);
  max-width: 76rem;
}

.legal-main h1 {
  margin-bottom: 2.4rem;
  color: var(--heading-color, var(--color-font));
}

.legal__accent {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 0.8rem;
}

.legal__lead {
  font-size: 1.8rem;
  line-height: 1.6;
  color: var(--color-font);
  margin-bottom: 3.2rem;
  max-width: 60rem;
}

.legal__body {
  font-size: 1.6rem;
  line-height: 1.8;
  color: var(--color-font);
}

.legal__body p {
  margin-bottom: 1.6rem;
}

.legal__body h2,
.legal__body h3 {
  margin-top: 3.2rem;
  margin-bottom: 1.2rem;
  color: var(--heading-color, var(--color-font));
}

.legal__index {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.legal__index a {
  font-size: 1.7rem;
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.legal__index a:hover,
.legal__index a:focus-visible {
  border-bottom-color: currentColor;
}

.legal__empty {
  font-size: 1.6rem;
  color: var(--color-footer-muted, var(--color-font));
}

/* ===== Shared bands =====
   Reservation CTA / contact / opening-hours bands, placed per page from the
   editor and rendered before the newsletter (partials/site-bands.html.j2). */
.site-band {
  padding-block: 6.4rem;
  background: var(--color-bg-surface);
  border-top: 1px solid rgb(0 0 0 / 6%);
}

.site-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  text-align: center;
}

.site-band__title {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  color: var(--heading-color, var(--color-font));
}

.site-band__text {
  max-width: 56rem;
  font-size: 1.7rem;
  line-height: 1.6;
  color: var(--color-font);
}

.site-band__address,
.site-band__hours {
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.9;
  color: var(--color-font);
}

.site-band__address a {
  color: var(--color-primary);
  text-decoration: none;
}

.site-band__address a:hover,
.site-band__address a:focus-visible {
  text-decoration: underline;
}

.site-band__hours {
  list-style: none;
  padding: 0;
  margin: 0;
}
