/* ==========================================================================
   Hines Integrative Health — styles.css
   1 Tokens · 2 Base · 3 Header & nav · 4 Footer · 5 Components
   6 Page sections · 7 Feedback banner & dialog · 8 Utilities
   Plain CSS (no nesting, no @extend) so it works on older iOS Safari.
   ========================================================================== */

/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
  --primary: #2c5f4f;
  --primary-light: #3d7a66;
  --primary-dark: #1e3a32;
  --bg: #f7f9f7;
  --surface: #ffffff;
  --tint: #eef5f2;
  --line: #e0ebe6;
  --text: #1a1a1a;
  --text-soft: #333333;
  --muted: #5c6b66;
  --alert: #9c3a28;
  --alert-bg: #fdf3f0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.1);
  --header-h: 64px;
  --banner-h: 0px; /* set by script.js while the feedback banner is showing */
}

@media (min-width: 769px) {
  :root { --header-h: 80px; }
}

/* ==========================================================================
   2. BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + var(--banner-h) + 1rem);
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

main { padding-bottom: 4rem; }
main.ends-with-band { padding-bottom: 0; }

img, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--primary); }
[hidden] { display: none !important; }

h1, h2, h3, h4 { line-height: 1.2; }
h1, h2 { color: var(--primary); font-weight: 700; }
h1 { letter-spacing: -0.02em; }
h2 { margin-bottom: 1rem; }

:focus-visible { outline: 3px solid var(--primary-light); outline-offset: 2px; }
.site-footer :focus-visible { outline-color: #a8d5c4; }

.skip-link {
  background: var(--primary-dark);
  border-radius: var(--radius-sm);
  color: #fff;
  left: 1rem;
  padding: 0.75rem 1rem;
  position: absolute;
  top: -4rem;
  z-index: 2000;
}
.skip-link:focus { top: 1rem; }

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

.container {
  margin-inline: auto;
  max-width: 1120px;
  padding-inline: clamp(1rem, 4vw, 1.5rem);
  width: 100%;
}
.container--narrow { max-width: 900px; }
.container--reading { max-width: 800px; }

/* ==========================================================================
   3. HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  position: sticky;
  top: var(--banner-h);
  z-index: 1000;
}

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

.logo { display: block; flex-shrink: 0; }
.logo img { display: block; height: 54px; width: auto; }
@media (min-width: 769px) { .logo img { height: 72px; } }

/* Hamburger (shown on mobile only, and only when JS is running) */
.menu-toggle {
  align-items: center;
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  height: 44px;
  justify-content: center;
  width: 44px;
}
.menu-toggle span {
  background: var(--primary-dark);
  border-radius: 2px;
  display: block;
  height: 2px;
  transition: transform 0.2s, opacity 0.2s;
  width: 20px;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav pills */
.main-nav { align-items: center; display: flex; gap: 0.6rem; }

.main-nav > a,
.dropdown-toggle {
  align-items: center;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  color: var(--text-soft);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  gap: 0.35rem;
  line-height: 1.2;
  min-height: 36px;
  padding: 0.5rem 0.9rem;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

@media (hover: hover) {
  .main-nav > a:hover,
  .dropdown-toggle:hover {
    background: rgba(0, 0, 0, 0.07);
    border-color: rgba(0, 0, 0, 0.22);
  }
}

.main-nav > a[aria-current="page"],
.dropdown-toggle.is-current {
  background: var(--tint);
  border-color: var(--primary);
  color: var(--primary-dark);
}

.main-nav > a.cta-link {
  background: var(--primary);
  border-color: var(--primary-dark);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  color: #fff;
  font-weight: 600;
}
@media (hover: hover) {
  .main-nav > a.cta-link:hover { background: var(--primary-light); }
}

.main-nav > a.external-button { color: var(--primary-dark); }

/* External-link arrow, used everywhere */
a.external-button::after { content: "↗"; font-size: 0.8em; margin-left: 0.2em; opacity: 0.7; }

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-toggle .arrow { font-size: 0.75em; transition: transform 0.2s; }
.dropdown-toggle[aria-expanded="true"] .arrow { transform: rotate(180deg); }

.dropdown-menu {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: none;
  left: 50%;
  min-width: 250px;
  padding: 0.5rem 0;
  position: absolute;
  top: calc(100% + 10px);
  transform: translateX(-50%);
  z-index: 1100;
}
/* Arrow pointer */
.dropdown-menu::before {
  background: var(--surface);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  content: "";
  height: 12px;
  left: 50%;
  position: absolute;
  top: -7px;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
}
/* Invisible bridge so the menu doesn't close while the mouse crosses the gap */
.dropdown-menu::after { content: ""; height: 10px; left: 0; position: absolute; right: 0; top: -10px; }

.dropdown-menu a {
  color: var(--text-soft);
  display: block;
  font-size: 0.95rem;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
}
.dropdown-menu a:hover,
.dropdown-menu a:focus-visible,
.dropdown-menu a[aria-current="page"] { background: var(--tint); color: var(--primary); }

.nav-dropdown.is-active .dropdown-menu { display: block; }
@media (hover: hover) and (min-width: 769px) {
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu { display: block; }
}

/* ----- Mobile navigation ----- */
@media (max-width: 768px) {
  /* Without JS: header wraps and the nav is a simple stacked list */
  .header-inner { flex-wrap: wrap; }
  .main-nav { align-items: stretch; flex-basis: 100%; flex-direction: column; gap: 0.5rem; padding-bottom: 1rem; }

  .main-nav > a,
  .dropdown-toggle {
    border-radius: 12px;
    font-size: 1rem;
    justify-content: flex-start;
    min-height: 48px;
    padding: 0.75rem 1rem;
    width: 100%;
  }
  .dropdown-toggle { justify-content: space-between; }

  .nav-dropdown { display: block; width: 100%; }
  .dropdown-menu {
    background: transparent;
    border: none;
    box-shadow: none;
    display: block;
    min-width: 0;
    padding: 0.25rem 0 0 0.75rem;
    position: static;
    transform: none;
  }
  .dropdown-menu::before,
  .dropdown-menu::after { display: none; }
  .dropdown-menu a { align-items: center; border-radius: 10px; display: flex; min-height: 44px; padding: 0.65rem 1rem; }

  /* With JS: collapsed panel toggled by the hamburger */
  .js .header-inner { flex-wrap: nowrap; }
  .js .menu-toggle { display: flex; }
  .js .main-nav {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    display: none;
    flex-basis: auto;
    left: 0;
    max-height: calc(100vh - var(--header-h) - var(--banner-h));
    max-height: calc(100dvh - var(--header-h) - var(--banner-h));
    overflow-y: auto;
    padding: 1rem clamp(1rem, 4vw, 1.5rem) 1.5rem;
    position: absolute;
    right: 0;
    top: 100%;
  }
  .js .main-nav.is-open { display: flex; }
  .js .dropdown-menu { display: none; }
}

/* ==========================================================================
   4. FOOTER
   ========================================================================== */
.site-footer {
  background: var(--primary-dark);
  color: #c5d4ce;
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.footer-logo { margin-bottom: 1.5rem; }
.footer-logo img { display: block; height: 110px; margin-inline: auto; opacity: 0.9; width: auto; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}
.footer-links a {
  color: #a8d5c4;
  display: inline-block;
  font-size: 0.95rem;
  padding: 0.6rem 0.25rem;
  text-decoration: none;
}
.footer-links a:hover { text-decoration: underline; }
.footer-links a.cta-link { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.footer-links a.external-button { color: #c5d4ce; }

.footer-legal {
  color: #b4cbc0;
  font-size: 0.8125rem;
  line-height: 1.6;
  margin: 1.25rem auto 0;
  max-width: 900px;
  text-align: left;
}
.footer-legal strong { color: #fff; }
.footer-legal a { color: #a8d5c4; text-decoration: underline; }
.crisis-warning { border-left: 3px solid #a8d5c4; padding-left: 12px; }

.copyright { font-size: 0.9rem; margin: 2.5rem 0 0.3rem; }
.footer-meta { color: #b4cbc0; font-size: 0.8125rem; }

/* ==========================================================================
   5. COMPONENTS
   ========================================================================== */

/* ----- Buttons ----- */
.btn {
  align-items: center;
  background: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 600;
  justify-content: center;
  line-height: 1.2;
  min-height: 44px;
  padding: 0.8rem 1.75rem;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}
.btn-secondary { background: transparent; color: var(--primary); }
.btn-lg { font-size: 1.1rem; padding: 1rem 2.5rem; }
.btn-sm { font-size: 0.9rem; min-height: 40px; padding: 0.5rem 1.1rem; }

@media (hover: hover) {
  .btn:hover { background: var(--primary-light); border-color: var(--primary-light); transform: translateY(-1px); }
  .btn-secondary:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
}

/* ----- Cards ----- */
.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  transition: box-shadow 0.25s, transform 0.25s;
}
@media (hover: hover) {
  .card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
}

/* ----- Tag, notes, alerts ----- */
.location-tag {
  background: var(--tint);
  border-radius: 999px;
  color: var(--primary-dark);
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 0.3rem 0.9rem;
}

.note-box {
  background: var(--tint);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.98rem;
  margin: 2.5rem 0 1rem;
  padding: 1.35rem 1.5rem;
}
.note-box p + p { margin-top: 0.75rem; }
.note-box a { font-weight: 600; text-decoration: none; }
.note-box a:hover { text-decoration: underline; }

.emergency-note {
  background: var(--alert-bg);
  border-left: 4px solid var(--alert);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-soft);
  margin-bottom: 2rem;
  padding: 1.1rem 1.4rem;
}
.emergency-note strong { color: var(--alert); }

.membership-caveats {
  background: rgba(0, 0, 0, 0.02);
  border-left: 3px solid rgba(0, 0, 0, 0.15);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2.5rem 0 1rem;
  padding: 1.25rem 1.5rem;
}
.membership-caveats h4 {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.membership-caveats ul { list-style: none; }
.membership-caveats li {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 0.75rem;
  padding-left: 1rem;
  position: relative;
}
.membership-caveats li:last-child { margin-bottom: 0; }
.membership-caveats li::before { color: var(--muted); content: "•"; font-weight: 700; left: 0; position: absolute; }
.membership-caveats strong { color: var(--text); }

/* ----- Page header (every subpage) ----- */
.page-header { padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2rem, 5vw, 3.5rem); text-align: center; }
.page-header h1 { font-size: clamp(2.2rem, 5vw, 2.8rem); margin-bottom: 0.75rem; }
.page-header p { color: var(--muted); font-size: 1.2rem; margin: 0 auto; max-width: 640px; }

/* ----- Readable text column ----- */
.prose p { color: var(--text-soft); font-size: 1.05rem; margin-bottom: 1.25rem; }
.prose .lead { color: var(--text); font-size: 1.15rem; }

/* ==========================================================================
   6. PAGE SECTIONS
   ========================================================================== */

/* ----- Home ----- */
.hero-section { padding: clamp(3.5rem, 9vw, 5.5rem) 0 clamp(2.5rem, 7vw, 4.5rem); text-align: center; }
.hero-section h1 { font-size: clamp(2.2rem, 5vw, 3.1rem); line-height: 1.15; margin-bottom: 1.25rem; }
.hero-section p { color: var(--muted); font-size: 1.2rem; margin: 0 auto 2rem; max-width: 680px; }
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.section--white { background: var(--surface); border-block: 1px solid rgba(0, 0, 0, 0.04); }
.section--tint { background: var(--tint); }

.vertical-content-wrapper { margin: 0 auto; max-width: 760px; padding: clamp(2.5rem, 6vw, 4rem) 0; }

.vertical-content-wrapper.no-top-pad { padding-top: 0; }

.section-intro { margin-bottom: 2rem; text-align: center; }
.section-intro p { color: var(--muted); }

.centered-headshot-box { margin-bottom: 2rem; text-align: center; }
.centered-headshot-box img {
  border-radius: 50%;
  box-shadow: var(--shadow);
  height: 180px;
  object-fit: cover;
  object-position: 50% 20%;
  width: 180px;
}

.link-row { margin-top: 1.5rem; text-align: center; }
.text-link-arrow { font-weight: 600; text-decoration: none; }
.text-link-arrow:hover { text-decoration: underline; }

.home-services-stack { margin: 2.5rem 0 0; }
.home-service-item { border-bottom: 1px solid rgba(0, 0, 0, 0.06); padding: 1.5rem 0; }
.home-service-item:last-child { border-bottom: none; }
.home-service-item h3 { color: var(--primary); font-size: 1.25rem; margin-bottom: 0.4rem; }
.home-service-item p { color: var(--muted); }

.card--centered { text-align: center; }
.card-note { color: var(--muted); margin-bottom: 2rem; text-align: left; }

.cta-band { text-align: center; }
.cta-band p { color: var(--muted); margin-bottom: 2rem; }
.cta-row { margin-top: 2.5rem; text-align: center; }

/* ----- Services (tables) ----- */
.services-intro { color: var(--muted); margin: 0 auto 3rem; max-width: 640px; text-align: center; }

.service-category { margin-bottom: 3rem; }
.service-category h2 { border-bottom: 2px solid var(--line); font-size: 1.55rem; margin-bottom: 1.25rem; padding-bottom: 0.6rem; }

.service-table {
  background: var(--surface);
  border-collapse: collapse;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  width: 100%;
}
.service-table th {
  background: var(--tint);
  color: var(--primary);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 1rem 1.25rem;
  text-align: left;
}
.service-table td { border-top: 1px solid #eef2f0; padding: 1rem 1.25rem; vertical-align: top; }
.service-table .fee { color: var(--primary); font-weight: 700; white-space: nowrap; }
.service-table .length { color: var(--muted); white-space: nowrap; }
@media (hover: hover) {
  .service-table tr:hover td { background: #f8fbf9; }
}

@media (max-width: 700px) {
  .service-table { background: none; box-shadow: none; overflow: visible; }
  .service-table thead { display: none; }
  .service-table,
  .service-table tbody,
  .service-table tr { display: block; width: 100%; }
  .service-table tr {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    overflow: hidden;
  }
  .service-table td {
    align-items: baseline;
    border: none;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 0.65rem 1.1rem;
  }
  .service-table td::before { color: var(--muted); content: attr(data-label); font-size: 0.85rem; font-weight: 500; }
  .service-table td:first-child {
    background: var(--tint);
    color: var(--primary);
    display: block;
    font-weight: 600;
    padding: 1rem 1.1rem;
  }
  .service-table td:first-child::before { display: none; }
  .service-table tr:hover td:first-child { background: var(--tint); }
}

/* ----- Membership plan cards ----- */
.services-card-grid {
  align-items: stretch;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  margin: 2rem 0 3rem;
}

.service-card-premium {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  padding: 2.5rem 2rem 2rem;
  position: relative;
  transition: box-shadow 0.25s, transform 0.25s;
}
@media (hover: hover) {
  .service-card-premium:hover { box-shadow: var(--shadow-hover); transform: translateY(-5px); }
}
.service-card-premium.featured-card { border: 2px solid var(--primary); }
.card-inner-content { flex: 1; }

.premium-ribbon {
  background: var(--primary);
  border-radius: 20px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  left: 50%;
  letter-spacing: 1px;
  padding: 0.35rem 1.25rem;
  position: absolute;
  text-transform: uppercase;
  top: -14px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.card-top-meta { margin-bottom: 1.5rem; }
.card-top-meta h3 { color: var(--text); font-size: 1.5rem; margin-bottom: 0.5rem; }
.featured-card .card-top-meta h3 { color: var(--primary); }
.card-price { color: var(--text-soft); font-size: 2.5rem; font-weight: 700; line-height: 1.1; }
.card-price small { color: var(--muted); font-size: 1.1rem; font-weight: 400; }
.effective-badge { color: var(--muted); font-size: 0.85rem; font-style: italic; margin-top: 0.25rem; }
.card-description { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }

.card-highlight-features { display: flex; flex-direction: column; gap: 0.5rem; margin: 1.5rem 0; }
.feature-badge {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.6rem 1rem;
  text-align: center;
}
.feature-badge.primary-badge { background: rgba(44, 95, 79, 0.08); border-color: rgba(44, 95, 79, 0.25); color: var(--primary); }

.card-details-list { border-top: 1px solid var(--line); list-style: none; margin: 1.5rem 0 2rem; padding-top: 1.5rem; }
.card-details-list li {
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}
.card-details-list li::before { color: var(--primary); content: "✓"; font-weight: 700; left: 0; position: absolute; }

.card-action-btn {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--primary);
  border-radius: 10px;
  color: var(--primary);
  display: flex;
  font-weight: 600;
  justify-content: center;
  margin-top: auto;
  min-height: 48px;
  padding: 0.75rem 1rem;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.card-action-btn.primary-btn { background: var(--primary); color: #fff; }
@media (hover: hover) {
  .card-action-btn:hover { background: var(--tint); }
  .card-action-btn.primary-btn:hover { background: var(--primary-light); }
}

/* ----- FAQ ----- */
.faq-section details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 0.75rem;
}
.faq-section summary {
  align-items: center;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  font-weight: 600;
  gap: 1rem;
  justify-content: space-between;
  list-style: none;
  min-height: 48px;
  padding: 1rem 1.25rem;
}
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after { color: var(--primary-light); content: "+"; font-size: 1.4rem; font-weight: 400; line-height: 1; }
.faq-section details[open] summary::after { content: "–"; }
.faq-content { color: var(--text-soft); padding: 0 1.25rem 1.25rem; }
.faq-content p + p { margin-top: 0.75rem; }

/* ----- Contact ----- */
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  margin: 0 auto 1rem;
  max-width: 1000px;
}
.contact-card {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 4vw, 1.5rem);
}
.contact-card h3 { border-bottom: 2px solid rgba(0, 0, 0, 0.05); color: var(--text); font-size: 1.35rem; margin-bottom: 1rem; padding-bottom: 0.5rem; }
.contact-card p { color: var(--text-soft); }
.contact-card p + p { margin-top: 1rem; }
.contact-card a { font-weight: 600; text-underline-offset: 3px; }

/* ----- Schedule ----- */
.calendar-section {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 auto 2rem;
  max-width: 900px;
  padding: clamp(1rem, 4vw, 2.5rem);
  text-align: center;
}
.calendar-section h2 { font-size: 1.6rem; }
.gateway-note { color: var(--muted); margin: 0 auto 2rem; max-width: 600px; }
#live-calendar-embed { margin-top: 1rem; }
.embed-wrapper { border-radius: var(--radius-sm); overflow: hidden; }
.embed-wrapper iframe { border: 0; display: block; height: 1000px; width: 100%; }

/* ==========================================================================
   7. FEEDBACK BANNER & DIALOG
   ========================================================================== */
.feedback-banner {
  align-items: center;
  background: var(--tint);
  border-bottom: 1px solid var(--primary-light);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9rem;
  gap: 0.4rem 0.9rem;
  justify-content: center;
  left: 0;
  padding: 0.6rem 3.25rem;
  position: fixed;
  right: 0;
  text-align: center;
  top: 0;
  z-index: 1100;
}
body.has-feedback-banner { padding-top: var(--banner-h); }
.feedback-banner .icon-close { top: 50%; transform: translateY(-50%); }

.icon-close {
  background: none;
  border: none;
  border-radius: 50%;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.75rem;
  height: 44px;
  line-height: 1;
  position: absolute;
  right: 0.35rem;
  top: 0.35rem;
  width: 44px;
}
.icon-close:hover { color: var(--text); }

.feedback-dialog {
  border: none;
  margin: auto; /* the global reset removes the browser's dialog centering */
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: var(--text);
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  padding: 0;
  width: min(550px, calc(100% - 2rem));
}
.feedback-dialog::backdrop { -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); background: rgba(0, 0, 0, 0.6); }
.dialog-body { padding: 1.75rem; position: relative; text-align: center; }
.dialog-body h3 { color: var(--primary); font-size: 1.5rem; margin-bottom: 0.5rem; padding-inline: 2rem; }
.dialog-body .intro-text { color: var(--muted); font-size: 0.95rem; line-height: 1.5; margin-bottom: 1.25rem; }
.privacy-notice {
  background: #fffbea;
  border: 1px solid #e8d48a;
  border-radius: 6px;
  color: var(--text-soft);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  padding: 0.5rem 0.75rem;
}
.feedback-dialog iframe { border: 0; border-radius: 6px; display: block; height: 480px; width: 100%; }

/* ==========================================================================
   8. UTILITIES
   ========================================================================== */
.text-center { text-align: center; }
