/* Sunnybrook — PHP edition: bold, coastal, mobile-first */

:root {
  --ink: #0f1a18;
  --muted: #5a6d6a;
  --cream: #f6f3ed;
  --surface: #ffffff;
  --teal: #1a5c56;
  --teal-dark: #0f3d39;
  --gold: #d4a853;
  --gold-dark: #b8893a;
  --coral: #e07a5f;
  --line: rgba(15, 26, 24, 0.1);
  --shadow: 0 8px 32px rgba(15, 26, 24, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 26, 24, 0.18);
  --radius: 14px;
  --radius-lg: 22px;
  --max: 1140px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --header-h: 4.25rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Hero slides: block any inherited motion (global * rules must not touch slide backgrounds). */
[data-hero].hero-full .hero-slides,
[data-hero].hero-full .hero-slide,
[data-hero].hero-full .hero-slide * {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

[data-hero].hero-full .hero-slide {
  filter: none !important;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  padding-bottom: calc(4.25rem + env(safe-area-inset-bottom));
}

@media (min-width: 900px) {
  body {
    padding-bottom: 0;
  }
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--teal);
  text-underline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -10000px;
  top: 1rem;
  z-index: 2000;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
}

.skip-link:focus {
  left: 1rem;
}

.wrap {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(246, 243, 237, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.35rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), #f0c46a);
  font-size: 1.35rem;
  box-shadow: var(--shadow);
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1rem, 2.8vw, 1.2rem);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}

.nav-list a:hover,
.nav-list a.is-active {
  color: var(--teal);
  border-bottom-color: var(--gold);
}

.nav-cta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

@media (max-width: 899px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .nav.is-open {
    max-height: 480px;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 0;
    gap: 0;
  }

  .nav-list a {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    padding: 1rem 1.25rem 1.25rem;
    justify-content: stretch;
  }

  .nav-cta .btn {
    flex: 1;
    justify-content: center;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 1.1rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}

.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: #fff;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), #e8bc6a);
  color: var(--ink);
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 16px rgba(212, 168, 83, 0.35);
}

.btn-gold:hover {
  color: var(--ink);
  filter: brightness(1.05);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* Hero full — 16∶9 from width (not vh): Safari toolbar changes do not resize the banner like a “zoom”. */
.hero-full {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  /* Width-derived height avoids Safari UI chrome changing perceived “zoom” of the banner. */
  aspect-ratio: 16 / 9;
  max-height: 640px;
  min-height: 260px;
  height: auto;
  background: var(--teal-dark);
  color: #fff;
  overflow: hidden;
}

@supports not (aspect-ratio: 1) {
  .hero-full {
    aspect-ratio: auto;
    height: clamp(260px, 56.25vw, 640px);
  }
}

.hero-slides {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  width: 100%;
  overflow: hidden;
}

.hero-slide {
  display: none;
  position: absolute;
  inset: 0;
  opacity: 1;
  pointer-events: none;
  transition: none !important;
  overflow: hidden;
  isolation: isolate;
  z-index: 0;
  background-color: var(--teal-dark);
  background-image: var(--hero-slide-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-clip: padding-box;
}

.hero-slide.is-active {
  display: block;
  pointer-events: auto;
  z-index: 1;
}

/* Hairline between hero and main (subpixel gap): pull main up a few px). */
.hero + .main {
  margin-top: -6px;
  padding-top: calc(2.5rem + 6px);
}
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  min-width: 100%;
  min-height: 100%;
  /* Solid base so the photo never sits “outside” the tint; gradients only deepen it. */
  background-color: rgba(10, 30, 28, 0.32);
  background-image:
    linear-gradient(
      to top,
      rgba(10, 30, 28, 0.78) 0%,
      rgba(10, 30, 28, 0.28) 42%,
      rgba(10, 30, 28, 0.18) 100%
    ),
    linear-gradient(
      105deg,
      rgba(10, 30, 28, 0.72) 0%,
      rgba(10, 30, 28, 0.22) 50%,
      rgba(10, 30, 28, 0.38) 100%
    );
  z-index: 1;
  pointer-events: none;
}

.hero-slide-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 2.5rem 0 4.5rem;
}

.hero-title {
  font-family: var(--display);
  font-size: clamp(2rem, 0.75rem + 3.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.65rem;
  max-width: 14ch;
  text-wrap: balance;
}

.hero-sub {
  font-size: clamp(1rem, 0.92rem + 0.9vw, 1.2rem);
  opacity: 0.95;
  max-width: 40ch;
  margin: 0 0 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-dots {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
}

.hero-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.hero-dot.is-active {
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45);
}

.hero-prev,
.hero-next {
  position: absolute;
  z-index: 4;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  cursor: pointer;
  color: transparent;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px;
}

.hero-prev {
  left: 0.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M15 18l-6-6 6-6'/%3E%3C/svg%3E");
}

.hero-next {
  right: 0.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
}

@media (max-width: 600px) {
  .hero-prev,
  .hero-next {
    display: none;
  }
}

/* Compact hero */
.hero-compact {
  position: relative;
  min-height: 220px;
  background: var(--teal);
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  background-repeat: no-repeat;
  color: #fff;
}

.hero-compact-fallback {
  background-image: linear-gradient(120deg, var(--teal-dark), #2a8f86);
}

.hero-compact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 30, 28, 0.75), rgba(10, 30, 28, 0.35));
}

.hero-compact-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  min-height: 220px;
  padding: 2.25rem 0;
}

.page-title {
  font-family: var(--display);
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  margin: 0;
}

/* Main */
.main {
  padding-block: 2.5rem 3rem;
}

.section-tint {
  background: linear-gradient(180deg, rgba(26, 92, 86, 0.06), transparent 40%);
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr min(340px, 34%);
    align-items: start;
  }
}

.flow .lead-text {
  font-size: 1.2rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
  max-width: 60ch;
}

.prose-block p,
.flow p {
  margin: 0 0 1rem;
  max-width: 65ch;
}

.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  display: grid;
  gap: 0.6rem;
}

.feature-bullets li {
  padding: 0.65rem 1rem 0.65rem 2.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  position: relative;
}

.feature-bullets li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.card-elevated {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}

.card-elevated h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

.card-elevated dl {
  margin: 0;
}

.card-elevated dt {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 0.85rem;
}

.card-elevated dt:first-child {
  margin-top: 0;
}

.card-elevated dd {
  margin: 0.2rem 0 0;
  font-weight: 700;
}

.card-elevated a {
  font-weight: 700;
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  margin-top: 1.5rem;
}

.gallery-grid a {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-grid a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-cap {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.35rem 0 0;
}

/* Tariff */
.tariff-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .tariff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.room-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.room-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.room-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.room-card h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.room-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  flex: 1;
}

.room-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--teal);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 880px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  min-height: 260px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form label {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.contact-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.msg-ok,
.msg-err {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.msg-ok {
  background: rgba(26, 92, 86, 0.12);
  color: var(--teal-dark);
  border: 1px solid rgba(26, 92, 86, 0.22);
}

.msg-err {
  background: rgba(224, 122, 95, 0.12);
  color: #6b2e22;
  border: 1px solid rgba(224, 122, 95, 0.35);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 0.85rem;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.88);
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.footer-brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.footer-note,
.footer-credit {
  font-size: 0.9rem;
  opacity: 0.9;
  margin: 0.35rem 0 0;
}

.footer-credit a {
  color: #b8e0da;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-links a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-legal {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.65rem;
  font-size: 0.88rem;
}

.footer-legal a {
  color: #c5ebe4;
  font-weight: 600;
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
  color: #fff;
}

.footer-legal-sep {
  opacity: 0.45;
  user-select: none;
}

.footer-bottom {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.88rem;
}

.footer-copyline {
  margin: 0 0 0.35rem;
  opacity: 0.85;
}

.footer-copyright {
  margin: 0;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

/* Cookie consent strip (GDPR-friendly notice) */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 920;
  background: rgba(15, 26, 24, 0.96);
  color: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.2);
  padding: 0.75rem 0 calc(0.75rem + env(safe-area-inset-bottom));
}

@media (max-width: 899px) {
  .cookie-banner {
    bottom: calc(3.35rem + env(safe-area-inset-bottom));
  }
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .cookie-banner-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
}

.cookie-banner-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.cookie-banner-text a {
  color: #9fd9d0;
  font-weight: 600;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}

body.has-cookie-banner {
  padding-bottom: calc(8.5rem + env(safe-area-inset-bottom));
}

@media (min-width: 900px) {
  body.has-cookie-banner {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
  }
}

/* Background music — above sticky header (1000) and cookie bar (920) */
.footer-music-wrap {
  padding-block: 0.35rem 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 0.25rem;
}

.music-footer-btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.music-footer-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.music-footer-btn.is-playing {
  background: var(--gold);
  color: var(--ink);
  border-color: rgba(0, 0, 0, 0.15);
}

.music-footer-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.music-fab {
  -webkit-appearance: none;
  appearance: none;
  position: fixed;
  right: 12px;
  /* iOS Safari often hides or clips bottom-fixed UI behind the tab/toolbar strip;
     keep the pill under the sticky header on narrow viewports (Chrome desktop vs Safari iPhone). */
  top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 8px);
  bottom: auto;
  z-index: 10050;
  min-height: 48px;
  min-width: 48px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.12);
  background: var(--gold);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 6px 22px rgba(15, 26, 24, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: inherit;
  touch-action: manipulation;
  visibility: visible;
  opacity: 1;
}

.music-fab-note {
  font-size: 1.05rem;
  line-height: 1;
}

.music-fab-label {
  text-transform: uppercase;
  font-size: 0.72rem;
}

.music-fab.is-playing {
  background: var(--teal);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.music-fab.is-playing .music-fab-label {
  color: #fff;
}

@media (min-width: 900px) {
  .music-fab {
    top: auto;
    bottom: 1.5rem;
  }
}

/* Mobile sticky bar */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  display: flex;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(246, 243, 237, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(15, 26, 24, 0.08);
}

@media (min-width: 900px) {
  .mobile-bar {
    display: none;
  }
}

.mobile-bar-btn {
  flex: 1;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
}

.mobile-bar-primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
}
