:root {
  --leaf-dark: #1b5e20;
  --leaf: #2e7d32;
  --leaf-light: #4caf50;
  --leaf-pale: #e8f5e9;
  --sand: #fff8e1;
  --cream: #fbfbf6;
  --sun: #ffb300;
  --sun-light: #ffe082;
  --sun-dark: #f57f17;
  --tiger: #e65100;
  --text: #222b23;
  --text-muted: #536b56;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(27, 94, 32, 0.08);
  --shadow: 0 8px 24px rgba(27, 94, 32, 0.12);
  --shadow-lg: 0 14px 36px rgba(0, 0, 0, 0.22);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 24px;
  --mobile-bar-height: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Nunito", "Trebuchet MS", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 179, 0, 0.12), transparent 34%),
    radial-gradient(circle at 88% 4%, rgba(102, 187, 106, 0.18), transparent 30%),
    var(--cream);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

body.nav-locked {
  overflow: hidden;
}

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

a {
  color: var(--leaf);
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}
a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  font-family: "Quicksand", "Nunito", "Segoe UI", "Trebuchet MS", sans-serif;
  font-weight: 700;
  color: var(--leaf-dark);
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.65rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.4rem, 3.2vw, 1.95rem);
  margin-top: 1.8rem;
  margin-bottom: 0.8rem;
}

h3 {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
}

.lead {
  font-size: clamp(1.05rem, 2vw, 1.16rem);
  color: #334435;
  line-height: 1.65;
}

.wrap {
  width: min(1080px, 92vw);
  margin-inline: auto;
}

/* ---------- Header / nav ---------- */

.site-header {
  background: linear-gradient(90deg, #144618, var(--leaf) 55%, #388e3c);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(17, 61, 20, 0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.45rem;
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.topbar a {
  color: var(--sun-light);
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.15);
}
.topbar a:hover {
  color: #fff;
  background: rgba(0, 0, 0, 0.25);
  text-decoration: none;
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--white);
  min-width: 0;
}
.brand:hover {
  text-decoration: none;
}
.brand .brand-logo {
  height: clamp(90px, 12vw, 120px);
  width: auto;
  border-radius: 6px;
  background: var(--white);
  padding: 3px;
  object-fit: contain;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}
.brand-name {
  font-family: "Quicksand", "Nunito", "Segoe UI", sans-serif;
  font-size: clamp(0.72rem, 3.8vw, 1.35rem);
  font-weight: 800;
  font-style: italic;
  line-height: 1.1;
  display: block;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-sub {
  display: block;
  font-size: 0.76rem;
  color: #e0f2e1;
  font-weight: 500;
  font-style: italic;
}

.phone-cta {
  text-align: right;
  white-space: nowrap;
}
.phone-cta .number {
  display: block;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--sun);
  letter-spacing: 0.02em;
}
.phone-cta .number:hover {
  text-decoration: underline;
}
.phone-cta .tag {
  font-size: 0.74rem;
  color: var(--leaf-pale);
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  padding: 0.55rem 0.9rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  user-select: none;
}
.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.3);
  outline: 2px solid var(--sun);
}
.nav-toggle[aria-expanded="true"] {
  background: var(--sun);
  color: var(--leaf-dark);
  border-color: var(--sun);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.site-nav a {
  display: block;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.94rem;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.site-nav a:hover {
  background: rgba(255, 255, 255, 0.22);
  text-decoration: none;
}
.site-nav a.active {
  background: var(--sun);
  color: var(--leaf-dark);
  font-weight: 700;
}

/* Scrim / Backdrop overlay for mobile */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 30, 12, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 95;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.nav-backdrop.open {
  display: block;
  opacity: 1;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: var(--white);
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero .hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1017 / 490;
  object-fit: cover;
}
.hero-panel {
  position: absolute;
  inset: auto 4vw 4vw 4vw;
  max-width: 620px;
  background: rgba(20, 70, 24, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.4rem 1.8rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--sun);
}
.hero-panel h1 {
  color: var(--white);
  margin-top: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
}
.hero-panel p {
  margin: 0.4rem 0 1rem;
  color: #f1f8e9;
}
.hero-panel .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--sun);
  color: var(--leaf-dark);
  font-weight: 700;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.98rem;
  box-shadow: 0 4px 0 var(--sun-dark);
  text-decoration: none;
  transition: transform 0.1s ease, filter 0.15s ease;
  min-height: 46px;
}
.btn:hover {
  filter: brightness(1.08);
  text-decoration: none;
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--sun-dark);
}
.btn.secondary {
  background: var(--white);
  color: var(--leaf);
  box-shadow: 0 4px 0 #c8d8cb;
}
.btn.secondary:active {
  box-shadow: 0 1px 0 #c8d8cb;
}
.btn.ghost {
  background: transparent;
  color: var(--leaf);
  border: 2px solid var(--leaf);
  box-shadow: none;
}
.btn.ghost:hover {
  background: var(--leaf-pale);
}

/* ---------- Layout & cards ---------- */

main {
  flex: 1;
  padding-block: 2rem 3.5rem;
}

.section {
  margin-block: 2.4rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.4rem;
}

.card {
  background: var(--white);
  border: 1px solid #e7ebd9;
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(27, 94, 32, 0.16);
}
.card h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.card p {
  flex: 1;
}

.card img.tile {
  width: 100%;
  height: 215px;
  object-fit: cover;
  object-position: center top;
  border-radius: 12px;
  margin-bottom: 0.9rem;
}

/* Explicit anchor for photos of people so heads/faces are never cut off */
.card img.tile.focus-top,
.photo-row img.focus-top,
.focus-top {
  object-position: center top !important;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 860px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
}

.info-pane {
  background: linear-gradient(160deg, #edf7ee, var(--cream));
  border: 1.5px solid #cce4cf;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.info-pane h2 {
  margin-top: 0;
}

.photo-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.2rem;
}
.photo-row figure {
  margin: 0;
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #e7ebd9;
  transition: transform 0.2s ease;
}
.photo-row figure:hover {
  transform: scale(1.02);
}
.photo-row img {
  height: 185px;
  width: 100%;
  object-fit: cover;
  object-position: center top;
}
.photo-row figcaption {
  padding: 0.55rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.callout {
  background: linear-gradient(135deg, #ffca28, var(--sun));
  color: var(--leaf-dark);
  border-radius: var(--radius);
  padding: 1.2rem 1.6rem;
  font-weight: 700;
  box-shadow: var(--shadow);
  border: 2px solid #ffa000;
}

/* ---------- FAQ accordion ---------- */

details.faq {
  background: var(--white);
  border: 1.5px solid #dce8dd;
  border-radius: 14px;
  margin-bottom: 0.9rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
details.faq[open] {
  border-color: var(--leaf-light);
}
details.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--leaf-dark);
  padding: 1.05rem 1.25rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
  user-select: none;
}
details.faq summary::-webkit-details-marker {
  display: none;
}
details.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--tiger);
  flex-shrink: 0;
  line-height: 1;
  transition: transform 0.2s ease;
}
details.faq[open] summary::after {
  content: "−";
}
details.faq .body {
  padding: 0 1.25rem 1.25rem;
  border-top: 1.5px dashed var(--leaf-pale);
  padding-top: 0.9rem;
  color: #37474f;
}
details.faq .body ul {
  margin: 0.4rem 0;
  padding-left: 1.4rem;
}

/* ---------- Forms list ---------- */

.form-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.form-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0.5rem;
  border-bottom: 1px dashed #d8e0d4;
  flex-wrap: wrap;
}
.form-list li:last-child {
  border-bottom: none;
}
.form-list .formats a {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  margin-left: 0.4rem;
  font-weight: 700;
  font-size: 0.88rem;
  background: var(--leaf-pale);
  text-decoration: none;
}
.form-list .formats a:hover {
  filter: brightness(0.95);
  text-decoration: underline;
}
.formats .pdf {
  color: var(--tiger);
  border: 1px solid rgba(230, 81, 0, 0.2);
}
.formats .doc {
  color: var(--leaf);
  border: 1px solid rgba(46, 125, 50, 0.2);
}

.pill {
  display: inline-block;
  background: #e8f5e9;
  color: var(--leaf-dark);
  border: 1px solid #c8e6c9;
  border-radius: 999px;
  padding: 0.2rem 0.7rem;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ---------- Testimonials ---------- */

blockquote.testimonial {
  margin: 0;
  background: var(--white);
  border-left: 6px solid var(--sun);
  border-radius: 12px;
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow-sm);
  border-top: 1px solid #eef2e6;
  border-right: 1px solid #eef2e6;
  border-bottom: 1px solid #eef2e6;
}
blockquote.testimonial p {
  margin: 0 0 0.6rem;
  font-style: italic;
}
blockquote.testimonial footer {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.testimonial-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

/* ---------- Interactive Appointment Form ---------- */

.appointment-form {
  background: var(--white);
  border: 1.5px solid #d7e4d6;
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.form-group {
  margin-bottom: 1.1rem;
}
.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  color: var(--leaf-dark);
}
.form-control {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: 10px;
  border: 1.5px solid #c8d8ca;
  font-size: 1rem;
  font-family: inherit;
  background: #fdfefe;
  color: var(--text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--leaf);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.2);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  .card img.tile {
    height: 220px;
    object-position: center top;
  }
  .photo-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .photo-row img {
    height: 145px;
    object-position: center top;
  }
}

/* ---------- Online New Patient Forms ---------- */

.intake-note {
  background: var(--leaf-pale);
  border: 1.5px solid #a5d6a7;
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin: 1rem 0 1.6rem;
  font-size: 0.95rem;
}

.intake-form {
  background: var(--white);
  border: 1.5px solid #d7e4d6;
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.intake-progress {
  margin-bottom: 1.2rem;
}
.intake-progress-bar {
  height: 8px;
  background: #e3ece3;
  border-radius: 999px;
  overflow: hidden;
}
.intake-progress-bar span {
  display: block;
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, var(--leaf-light), var(--leaf));
  transition: width 0.25s ease;
}
.intake-progress-label {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.intake-feedback {
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.2rem;
}
.intake-feedback-error {
  background: #fdecea;
  border: 1.5px solid #e57373;
  color: #b71c1c;
}

.form-section-title {
  margin: 0 0 1rem;
  color: var(--leaf-dark);
}
.form-subtitle {
  margin: 1.6rem 0 0.6rem;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid var(--leaf-pale);
  color: var(--leaf-dark);
  font-size: 1.05rem;
}

.req {
  color: #c62828;
}

.field-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0.3rem 0 0;
}

.radio-group,
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.2rem;
}
.checkbox-group.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.radio-group label,
.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
}
.radio-group input[type="radio"],
.checkbox-group input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--leaf);
  flex: 0 0 auto;
}
.inline-input {
  width: 4.5rem;
  padding: 0.2rem 0.4rem;
  border: 1.5px solid #c8d8ca;
  border-radius: 8px;
  font-size: 0.85rem;
}

.consent-box {
  max-height: 15rem;
  overflow-y: auto;
  background: var(--cream);
  border: 1.5px solid #d7e4d6;
  border-radius: 12px;
  padding: 0.9rem 1.1rem;
  font-size: 0.88rem;
  line-height: 1.55;
}
.consent-box p {
  margin: 0 0 0.6rem;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: var(--sand);
  border: 1.5px solid #ffe082;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  margin: 0.6rem 0 1rem;
  cursor: pointer;
}
.consent-check input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.15rem;
  accent-color: var(--leaf);
  flex: 0 0 auto;
}

.form-control.invalid {
  border-color: #e57373;
  box-shadow: 0 0 0 3px rgba(229, 115, 115, 0.18);
}

.step-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: flex-end;
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1.5px solid var(--leaf-pale);
}
.step-actions .btn {
  min-width: 8rem;
}

@media (max-width: 600px) {
  .checkbox-group.cols-2 {
    grid-template-columns: 1fr;
  }
  .step-actions {
    flex-direction: column-reverse;
  }
  .step-actions .btn {
    width: 100%;
  }
}

/* ---------- Contact / hours ---------- */

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.hours-table td {
  padding: 0.55rem 0.3rem;
  border-bottom: 1px dashed #d8e0d4;
}
.hours-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--leaf-dark);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.contact-list li {
  padding: 0.45rem 0;
  display: flex;
  gap: 0.6rem;
}
.contact-list .label {
  display: inline-block;
  min-width: 5.5rem;
  font-weight: 700;
  color: var(--text-muted);
}

.map-frame {
  border: 0;
  border-radius: var(--radius);
  width: 100%;
  height: 320px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #dce8dd;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--leaf-dark);
  color: var(--leaf-pale);
  padding-block: 2rem;
  text-align: center;
  font-size: 0.9rem;
}
.site-footer a {
  color: var(--sun-light);
}
.site-footer a:hover {
  color: #fff;
}
.site-footer .footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.4rem;
  margin-bottom: 1rem;
}
.site-footer small {
  display: block;
  margin-top: 0.8rem;
  opacity: 0.8;
}

/* ---------- Mobile Sticky Bottom Action Bar ---------- */

.mobile-action-bar {
  display: none;
}

@media (max-width: 860px) {
  body {
    padding-bottom: calc(var(--mobile-bar-height) + env(safe-area-inset-bottom, 0px));
  }

  .mobile-action-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: #144618;
    background: linear-gradient(180deg, #18521d, #0e3512);
    border-top: 2px solid var(--sun);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.28);
    padding: 0.4rem 0.5rem calc(0.4rem + env(safe-area-inset-bottom, 0px));
    gap: 0.4rem;
    justify-content: space-around;
  }

  .mobile-action-bar .action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.35rem 0.2rem;
    border-radius: 8px;
    text-decoration: none;
    min-height: 48px;
    transition: background 0.15s ease;
  }
  .mobile-action-bar .action-btn .icon {
    font-size: 1.25rem;
    margin-bottom: 2px;
  }
  .mobile-action-bar .action-btn:active {
    background: rgba(255, 255, 255, 0.2);
  }
  .mobile-action-bar .action-btn.call {
    background: var(--sun);
    color: var(--leaf-dark);
  }
  .mobile-action-bar .action-btn.call .icon {
    font-size: 1.25rem;
  }
}

/* ---------- Responsive Mobile Navigation (Upgraded) ---------- */

@media (max-width: 860px) {
  .topbar {
    font-size: 0.78rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .phone-cta {
    display: none;
  }

  /* High contrast, prominent mobile menu drawer */
  .site-nav {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 86vw);
    height: 100vh;
    height: 100dvh;
    background: #113c14;
    background: linear-gradient(180deg, #134517 0%, #0a260c 100%);
    border-left: 3px solid var(--sun);
    padding: 4.5rem 1.2rem 2rem 1.2rem;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.45);
    z-index: 98;
    overflow-y: auto;
    transform: translateX(105%);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .site-nav.open {
    transform: translateX(0);
  }

  .site-nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .site-nav a {
    padding: 0.85rem 1rem;
    border-radius: 12px;
    font-size: 1.05rem;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .site-nav a::after {
    content: "›";
    font-size: 1.3rem;
    opacity: 0.6;
  }
  .site-nav a:hover,
  .site-nav a:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
  }
  .site-nav a.active {
    background: var(--sun);
    color: var(--leaf-dark);
    font-weight: 800;
    border-color: var(--sun);
  }
  .site-nav a.active::after {
    color: var(--leaf-dark);
    opacity: 1;
  }

  .hero-panel {
    position: static;
    margin-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
    max-width: none;
    border-top: none;
  }

  /* Ensure floating chatbot launcher sits above the mobile action bar */
  iframe[src*="simplifeye"],
  div[id*="simplifeye"],
  div[class*="simplifeye"],
  #amp-root,
  .amp-widget-container {
    bottom: calc(var(--mobile-bar-height) + env(safe-area-inset-bottom, 0px) + 12px) !important;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero-panel,
  .btn,
  .mobile-action-bar,
  .nav-backdrop {
    display: none !important;
  }
}