/* =============================================
   Hubertus Chiropractic — styles.css
   Professional healthcare warmth
   DM Sans 700 headings, Inter 400/500 body
   Deep teal trust, warm amber accents
   ============================================= */

/* --- Fonts --------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@700&family=Inter:wght@400;500&display=swap');

/* --- Custom Properties --------------------- */
:root {
  --bg: #FAFAF7;
  --bg-alt: #F5F3EF;
  --bg-card: #FFFFFF;
  --bg-dark: #1D5C50;
  --text: #2D2926;
  --text-muted: #5C5650;
  --text-faint: #9B9590;
  --primary: #2A7D6E;
  --primary-rgb: 42, 125, 110;
  --primary-light: #E8F5F1;
  --primary-medium: #5BA898;
  --accent: #D4913B;
  --accent-light: #FDF3E7;
  --border: #E8E5DF;
  --border-light: #F5F3EF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.10);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.25s ease;
}

html.dark {
  --bg: #1A1D1A;
  --bg-alt: #222522;
  --bg-card: #2A2D2A;
  --bg-dark: #0F2A22;
  --text: #EDE8E0;
  --text-muted: #B0A898;
  --text-faint: #706860;
  --primary: #5BA898;
  --primary-rgb: 91, 168, 152;
  --primary-light: #1A2E28;
  --primary-medium: #7AC0B0;
  --accent: #E0A050;
  --accent-light: #2A2218;
  --border: #353530;
  --border-light: #2A2A25;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.20);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.25);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.30);
}

/* --- Reset --------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-bottom: 2.25rem;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-medium);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Nested list resets */
ul ul,
ol ol,
ul ol,
ol ul {
  margin: 0;
  padding-left: 1.25em;
}

ul,
ol {
  list-style: none;
}

/* Touch targets — 44px minimum */
a,
button,
input[type="submit"],
input[type="button"],
.nav-link,
.hamburger {
  min-height: 44px;
  min-width: 44px;
}

/* --- Typography ---------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.125rem, 1.8vw, 1.5rem);
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.label {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
}

.text-muted {
  color: var(--text-muted);
}

.text-faint {
  color: var(--text-faint);
}

/* --- Layout Helpers ------------------------ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

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

/* --- Buttons ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  border-radius: var(--radius);
  transition: all var(--transition);
  white-space: nowrap;
  min-height: 44px;
}

.btn-primary {
  background-color: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--primary-medium);
  color: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-accent {
  background-color: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-accent:hover {
  filter: brightness(1.08);
  color: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}

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

.btn-phone {
  background-color: var(--primary);
  color: #fff;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  border-radius: var(--radius);
  font-size: 0.9375rem;
}

.btn-phone:hover {
  background-color: var(--primary-medium);
  color: #fff;
}

.btn-phone svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* --- Sticky Nav ---------------------------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition), background-color var(--transition);
}

.site-nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-brand-name {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  line-height: 1.2;
}

.nav-brand-name span {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.875rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius);
  transition: color var(--transition), background-color var(--transition);
}

.nav-link:hover {
  color: var(--primary);
  background-color: var(--primary-light);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Hours indicator */
.hours-indicator {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.hours-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background-color: var(--text-faint);
}

.hours-dot.open {
  background-color: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,0.5);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 6px rgba(34,197,94,0.5); }
  50% { box-shadow: 0 0 12px rgba(34,197,94,0.7); }
}

.hours-dot.closed {
  background-color: var(--text-faint);
}

/* Dark mode toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--text-muted);
  transition: color var(--transition), background-color var(--transition);
}

.theme-toggle:hover {
  color: var(--primary);
  background-color: var(--primary-light);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
}

.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
html.dark .theme-toggle .icon-moon { display: none; }
html.dark .theme-toggle .icon-sun { display: block; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  padding: 0;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 767px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--bg);
    z-index: 105;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.125rem;
    padding: 0.75rem 1.5rem;
  }

  .hours-indicator {
    display: none;
  }

  .nav-right .hours-indicator {
    display: none;
  }

  /* Show hours in mobile menu */
  .nav-links .mobile-hours {
    display: flex;
    margin-top: 1rem;
  }

  .nav-inner {
    height: 64px;
  }
}

@media (min-width: 768px) {
  .mobile-hours {
    display: none !important;
  }
}

/* --- Hero (Split 55/45) -------------------- */
.hero {
  background-color: var(--bg);
  padding: 4rem 0 5rem;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-content h1 {
  margin-bottom: 0;
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.hero-badge svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background-color: var(--bg-alt);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .hero {
    padding: 2.5rem 0 3rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-image {
    aspect-ratio: 3/2;
    max-height: 360px;
    order: -1;
  }
}

/* --- Section Headers ----------------------- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-header .label {
  display: block;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.0625rem;
}

/* --- Service Cards (What We Treat) --------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  background-color: var(--bg-card);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background-color: var(--primary-light);
  color: var(--primary);
  margin-bottom: 1rem;
}

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

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
}

@media (max-width: 959px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Process Steps (First Visit) ----------- */
.process-section {
  background-color: var(--bg-alt);
}

.process-steps {
  display: flex;
  gap: 2rem;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* Connecting line */
.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.666% + 28px);
  right: calc(16.666% + 28px);
  height: 2px;
  background-color: var(--primary);
  opacity: 0.3;
  z-index: 0;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--primary);
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto 1.25rem;
  position: relative;
  box-shadow: 0 0 0 6px var(--bg-alt);
}

.step-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.55;
  max-width: 260px;
  margin: 0 auto;
}

@media (max-width: 599px) {
  .process-steps {
    flex-direction: column;
    gap: 2.5rem;
    align-items: flex-start;
    padding-left: 2rem;
  }

  .process-steps::before {
    top: 0;
    bottom: 0;
    left: 28px;
    right: auto;
    width: 2px;
    height: auto;
  }

  .process-step {
    text-align: left;
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    gap: 0 1rem;
    align-items: start;
  }

  .step-number {
    margin: 0;
    grid-row: 1 / 3;
    box-shadow: 0 0 0 6px var(--bg-alt);
  }

  .step-title {
    align-self: end;
  }

  .step-desc {
    max-width: none;
  }
}

/* --- About (Split) ------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 45fr 55fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  background-color: var(--bg-alt);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-content .label {
  margin-bottom: 0;
}

.about-content h2 {
  margin-bottom: 0.5rem;
}

.about-content p {
  color: var(--text-muted);
}

.about-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.credential-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 100px;
}

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

  .about-image {
    aspect-ratio: 3/2;
    max-height: 360px;
  }
}

/* --- Reassurance Card (Amber) -------------- */
.reassurance-card {
  background-color: var(--accent-light);
  border: 1px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.reassurance-card h3 {
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.reassurance-card p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.reassurance-card .signature {
  margin-top: 1rem;
  font-weight: 500;
  color: var(--text);
  font-style: italic;
}

/* --- Testimonials -------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--accent);
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.testimonial-quote {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: auto;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text);
}

.testimonial-detail {
  font-size: 0.8125rem;
  color: var(--text-faint);
}

/* --- FAQ Accordion ------------------------- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--bg-card);
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.125rem 1.25rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  gap: 1rem;
  min-height: 44px;
  transition: color var(--transition);
}

.faq-trigger:hover {
  color: var(--primary);
}

.faq-trigger-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--text-faint);
  transition: transform var(--transition), color var(--transition);
}

.faq-item.open .faq-trigger-icon {
  transform: rotate(180deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-answer-inner ul,
.faq-answer-inner ol {
  list-style: disc;
  padding-left: 1.25em;
  margin-bottom: 0.75rem;
}

.faq-answer-inner ol {
  list-style: decimal;
}

/* --- Contact / Hours / Location ------------ */
.contact-section {
  background-color: var(--bg-dark);
  color: #E8F5F1;
  padding: 5rem 0;
}

.contact-section h2 {
  color: #fff;
}

.contact-section h3 {
  color: #fff;
  font-size: 1.125rem;
}

.contact-section .label {
  color: var(--primary-medium);
}

.contact-section p,
.contact-section li,
.contact-section a {
  color: #C8DDD8;
}

.contact-section a:hover {
  color: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 3rem;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #C8DDD8;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 44px;
}

html.dark .form-group input,
html.dark .form-group textarea,
html.dark .form-group select {
  background-color: var(--bg-card);
  color: var(--text);
  border-color: var(--border);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-faint);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-medium);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-submit {
  margin-top: 0.5rem;
}

.form-submit .btn {
  width: 100%;
}

.form-status {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
  display: none;
}

.form-status.success {
  display: block;
  background-color: rgba(34,197,94,0.15);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.3);
}

.form-status.error {
  display: block;
  background-color: rgba(239,68,68,0.15);
  color: #ef4444;
  border: 1px solid rgba(239,68,68,0.3);
}

/* Hours column */
.hours-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9375rem;
  padding: 0.25rem 0;
}

.hours-row .day {
  color: #C8DDD8;
}

.hours-row .time {
  color: #fff;
  font-weight: 500;
}

.hours-row.today {
  background-color: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 0.375rem 0.5rem;
}

/* Location column */
.location-address {
  margin-top: 1rem;
  line-height: 1.65;
}

.location-map {
  margin-top: 1.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
  background-color: rgba(0,0,0,0.2);
}

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

@media (max-width: 959px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .contact-grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 599px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* --- Footer (Dark) ------------------------- */
.site-footer {
  background-color: #1a1a18;
  color: #9B9590;
  padding: 3rem 0 1.5rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #2a2a28;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand-name {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.footer-links-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-links-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.footer-links-col a {
  font-size: 0.875rem;
  color: #9B9590;
  transition: color var(--transition);
}

.footer-links-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: 0.8125rem;
}

.footer-bottom a {
  color: #9B9590;
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-credit {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.footer-credit svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 599px) {
  .footer-top {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-links {
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* --- Disclaimer Bar (z-101) ---------------- */
.disclaimer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 101;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-faint);
  box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
}

html.dark .disclaimer-bar {
  box-shadow: 0 -2px 8px rgba(0,0,0,0.25);
}

/* --- Turnstile ------------------------------ */
.cf-turnstile {
  margin-top: 0.25rem;
}

.cf-turnstile iframe {
  border-radius: var(--radius) !important;
}

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

/* Loading spinner for form button */
.btn .spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.btn.loading .spinner {
  display: block;
}

.btn.loading .btn-text {
  opacity: 0.5;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --- Print --------------------------------- */
@media print {
  .site-nav,
  .disclaimer-bar,
  .theme-toggle,
  .hamburger,
  .contact-form,
  .cf-turnstile {
    display: none !important;
  }

  body {
    padding-bottom: 0;
    color: #000;
    background: #fff;
  }

  .contact-section {
    background: #f5f5f5;
    color: #333;
  }
}
