/* ======================================================================
   GENERATED FILE — do not edit by hand.
   Assembled by tools/build.py from _blocks/_core + the site's blocks.
   To change styles, edit the block sources and rebuild.
   Quick per-site brand tweaks: the :root variables below are safe to change
   here, but they'll be overwritten on the next build — set them in the block
   sources or a project override instead for anything permanent.
   ====================================================================== */

:root {
  --accent: #d4af37;
  --ink:    #152216;
  --dark:   #111111;
  --white:  #ffffff;
  --gray:   #f9f9f9;
  --nav-bg: rgba(21, 34, 22, 0.95);  /* nav bar background (themeable) */
  --font-head: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: #666;
  line-height: 1.7;
  background: var(--dark);
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--dark); font-weight: 700; }
a { text-decoration: none; transition: 0.3s; color: inherit; }
img { max-width: 100%; height: auto; }
main { margin-top: 80px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* --- NAVIGATION --- */
nav {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: var(--nav-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 15px 0; transition: 0.3s;
}
.nav-wrap {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.nav-brand {
  color: var(--white); font-family: var(--font-head);
  font-size: 1.4rem; font-weight: 700; letter-spacing: 1px;
  display: inline-flex; align-items: center; gap: 11px; max-width: 70%;
}
.nav-logo-img { height: 48px; width: auto; display: block; flex: 0 0 auto; }
.nav-wordmark { font-size: 1.15rem; line-height: 1.05; color: var(--white); }
@media (max-width: 768px) {
  .nav-brand { gap: 8px; }
  .nav-logo-img { height: 40px; }
  .nav-wordmark { font-size: 1rem; }
}
.nav-links { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; justify-content: flex-end; }
.nav-links a {
  color: var(--white); font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 1px; font-weight: 600;
}
.nav-links a:hover { color: var(--accent); }
.menu-toggle { display: none; color: var(--accent); font-size: 1.5rem; cursor: pointer; }

/* --- SHARED SECTION FURNITURE --- */
section { padding: 52px 0; background: var(--white); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section-title { text-align: center; margin-bottom: 34px; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 15px; display: inline-block; position: relative; }
.section-title h2::after {
  content: ''; display: block; width: 60px; height: 3px;
  background: var(--accent); margin: 15px auto 0;
}
.section-title p { color: #6b6b6b; font-style: italic; }
.btn {
  display: inline-block; padding: 12px 30px; border: 2px solid var(--accent);
  color: var(--accent); text-transform: uppercase; letter-spacing: 2px; font-weight: bold;
}
.btn:hover { background: var(--accent); color: var(--dark); }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* --- AUTO LIST CAROUSEL (long card lists become a side-scroller) --- */
.wb-carousel-host { display: block !important; }
.wb-carousel { position: relative; }
.wb-carousel-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 4px 2px 14px;
  scrollbar-width: thin; scrollbar-color: var(--accent) transparent;
}
.wb-carousel-track::-webkit-scrollbar { height: 8px; }
.wb-carousel-track::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 8px; }
.wb-carousel-track > * { scroll-snap-align: start; flex: 0 0 clamp(270px, 78%, 350px); }
.wb-carousel-btn {
  position: absolute; top: 45%; transform: translateY(-50%); z-index: 5;
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--accent); color: #fff; font-size: 1rem; line-height: 1;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18); transition: opacity 0.2s, transform 0.2s;
}
.wb-carousel-btn:hover { transform: translateY(-50%) scale(1.08); }
.wb-prev { left: -6px; }
.wb-next { right: -6px; }
.wb-carousel-btn.wb-hide { opacity: 0; pointer-events: none; }
@media (max-width: 768px) {
  .wb-carousel-btn { display: none; }          /* mobile: swipe instead */
  .wb-carousel-track > * { flex: 0 0 85%; }
}

/* --- FLOATING SECTION NAV (back-to-top + next-section) --- */
.wb-scrollnav {
  position: fixed; right: 20px; bottom: 22px; z-index: 900;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateY(8px); pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.wb-scrollnav.wb-visible { opacity: 1; transform: none; pointer-events: auto; }
.wb-scrollnav-btn {
  width: 42px; height: 42px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.22); opacity: 0.6; transition: opacity 0.2s, transform 0.2s;
}
.wb-scrollnav-btn:hover { opacity: 1; transform: translateY(-2px); }
.wb-scrollnav-btn.wb-hide { display: none; }
@media (max-width: 768px) {
  .wb-scrollnav { right: 14px; bottom: 16px; gap: 8px; }
  .wb-scrollnav-btn { width: 38px; height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .wb-scrollnav, .wb-scrollnav-btn { transition: none; }
}

/* --- UNDER-CONSTRUCTION GATE --- */
.wb-gated nav, .wb-gated main, .wb-gated footer { display: none !important; }
.construction-overlay {
  position: fixed; inset: 0; z-index: 99999; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px;
}
.construction-box { max-width: 560px; }
.construction-logo { max-width: 150px; margin: 0 auto 24px; }
.construction-overlay h1 { color: #fff; font-size: 2.4rem; margin-bottom: 16px; }
.construction-overlay p { color: rgba(255,255,255,0.85); font-size: 1.1rem; line-height: 1.6; }
.construction-contact { margin-top: 22px; font-weight: 700; color: var(--accent); }

/* --- SHARED RESPONSIVE (nav) --- */
@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; top: 70px; left: 0; width: 100%;
    background: #111; flex-direction: column; padding: 20px; text-align: center; gap: 18px;
  }
  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }
  section { padding: 40px 0; }      /* tighter vertical rhythm on mobile */
}


/* --- per-site theme overrides (from blocks.json) --- */
:root {
  --accent: #3fa9d6;
  --ink: #1d5a7a;
  --nav-bg: rgba(29, 90, 122, 0.96);
}


/* BLOCK: announcement-bar */
.announcement-bar {
  background: var(--accent);
  color: var(--dark); /* dark text on the bright bar — passes contrast */
  text-align: center;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.announcement-bar span { display: inline-block; }


/* BLOCK: hero */
.hero {
  min-height: calc(100svh - 80px); background-color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
}
.hero-bg-img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; filter: brightness(0.5);
}
.hero-content { position: relative; z-index: 1; padding: 0 20px; }
.hero-content h1 { color: var(--white); font-size: 3rem; margin-bottom: 10px; }
.hero-content h2 {
  color: var(--accent); font-size: 1.1rem; letter-spacing: 3px;
  text-transform: uppercase; font-family: var(--font-body);
  font-weight: 600; margin-bottom: 30px;
}
.scroll-down {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: var(--white); font-size: 2rem; opacity: 0.85;
}
/* Gentle hint that respects motion prefs AND settles fast (keeps Speed Index clean):
   a brief fade-in on load, then static. */
@media (prefers-reduced-motion: no-preference) {
  .scroll-down { animation: fadeIn 0.6s ease-in 0.4s both; }
}
@keyframes bounce {
  0%,20%,50%,80%,100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}
@media (max-width: 768px) { .hero-content h1 { font-size: 2rem; } }


/* BLOCK: about */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-text { position: relative; z-index: 2; }
.about-text p { margin-bottom: 18px; color: #444; }
.about-image {
  position: relative; height: 450px; width: 100%;
  box-shadow: 20px 20px 0 var(--accent); background: #222;
}
.about-image img.slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 1.5s ease-in-out;
}
.about-image img.slide.active { opacity: 1; }
/* logo/graphic mode: show the whole image on a clean background, no crop */
.about-image.contain { background: var(--white); box-shadow: none; }
.about-image.contain img.slide { object-fit: contain; padding: 28px; }
.about-sections { margin: 60px auto 0; max-width: 900px; }
.about-section { margin-bottom: 35px; }
.about-section h3 {
  color: var(--ink); font-size: 1.4rem; margin-bottom: 12px;
  padding-left: 16px; border-left: 4px solid var(--accent);
}
.about-section p { color: #555; margin-bottom: 12px; }
.about-section ul { list-style: none; margin-top: 10px; }
.about-section li { color: #555; padding: 6px 0 6px 26px; position: relative; }
.about-section li::before { content: '✓'; color: var(--accent); position: absolute; left: 0; font-weight: bold; }
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-image { height: 300px; }
}


/* BLOCK: providers */
.providers-intro {
  text-align: center; max-width: 760px; margin: 0 auto 40px; color: #444; font-size: 1.05rem;
}
.providers-group-title {
  font-family: var(--font-head); color: var(--ink); font-size: 1.5rem;
  margin: 20px 0 25px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); display: inline-block;
}
.providers-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px; margin-bottom: 20px;
}
.provider-card {
  display: flex; gap: 20px; background: var(--white); border: 1px solid #eee;
  border-radius: 8px; padding: 25px; box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}
.provider-photo {
  flex: 0 0 84px; width: 84px; height: 84px; border-radius: 50%; overflow: hidden;
  background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.6rem; font-weight: 700;
}
.provider-photo img { width: 100%; height: 100%; object-fit: cover; }
.provider-body { flex: 1; }
.provider-body h3 { color: var(--ink); font-size: 1.3rem; margin-bottom: 2px; }
.provider-cred { color: var(--ink); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.5px; margin-bottom: 12px; }
.provider-award { display: inline-block; background: var(--accent); color: var(--dark); font-size: 0.72rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; margin-bottom: 10px; }
.provider-body p { color: #555; font-size: 0.95rem; margin-bottom: 12px; }
.provider-meta { list-style: none; font-size: 0.88rem; color: #666; }
.provider-meta li { padding: 3px 0; }
.provider-meta strong { color: var(--ink); }
.providers-team-note { text-align: center; color: #6b6b6b; font-style: italic; margin-top: 20px; }
@media (max-width: 600px) {
  .provider-card { flex-direction: column; align-items: center; text-align: center; }
  .provider-meta { text-align: left; }
}


/* BLOCK: accordion */
.services-intro { text-align: center; max-width: 820px; margin: 0 auto 30px; color: #444; font-size: 1.05rem; }
.services-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 40px; }
.service-chip {
  background: var(--white); border: 2px solid var(--accent); color: var(--ink);
  padding: 8px 18px; border-radius: 999px; cursor: pointer; font-weight: 600;
  font-size: 0.9rem; transition: 0.25s; font-family: var(--font-body);
}
.service-chip:hover { background: var(--accent); color: #fff; }

.accordion { max-width: 850px; margin: 0 auto; }
.accordion-item { border: 1px solid #e5e5e5; border-radius: 8px; margin-bottom: 14px; overflow: hidden; background: var(--white); scroll-margin-top: 100px; }
.accordion-header {
  width: 100%; text-align: left; background: var(--white); border: none;
  padding: 20px 24px; font-family: var(--font-head); font-size: 1.2rem; color: var(--ink);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: 0.2s;
}
.accordion-header:hover { background: var(--gray); }
.accordion-icon { color: var(--accent); font-size: 1.7rem; line-height: 1; transition: transform 0.3s; flex: 0 0 auto; }
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-panel { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.accordion-item.open .accordion-panel { max-height: 1600px; }
.accordion-panel-inner { padding: 0 24px 22px; color: #555; line-height: 1.7; }
.accordion-panel-inner p { margin-bottom: 12px; }


/* BLOCK: info-columns */
.info-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px; max-width: 1100px; margin: 0 auto; align-items: start;
}
.info-card {
  background: var(--gray); border-top: 4px solid var(--accent);
  border-radius: 6px; padding: 30px;
}
.info-card h3 { color: var(--ink); font-size: 1.3rem; margin-bottom: 15px; }
.info-card ul { list-style: none; }
.info-card li {
  color: #555; padding: 8px 0 8px 26px; position: relative;
  border-bottom: 1px dotted #ddd; line-height: 1.5;
}
.info-card li::before { content: '✓'; color: var(--accent); position: absolute; left: 0; font-weight: bold; }
.info-card li:last-child { border-bottom: none; }
.info-card p { color: #555; }


/* BLOCK: testimonials */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px; max-width: 1100px; margin: 0 auto;
}
.testimonial-card {
  background: var(--white); border: 1px solid #eee; border-radius: 8px;
  padding: 30px 30px 25px; box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  display: flex; flex-direction: column;
}
.testimonial-card blockquote {
  color: #444; font-style: italic; line-height: 1.7; margin-bottom: 20px;
  position: relative; padding-top: 10px;
}
.testimonial-card blockquote::before {
  content: '\201C'; font-family: Georgia, serif; font-size: 3rem;
  color: var(--accent); opacity: 0.35; position: absolute; top: -18px; left: -6px;
}
.testimonial-card figcaption { margin-top: auto; }
.t-author { display: block; font-weight: 700; color: var(--ink); }
.t-source { display: block; font-size: 0.85rem; color: #6b6b6b; }


/* BLOCK: documents */
.documents-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.document-link {
  display: flex; align-items: center; gap: 16px; background: var(--white);
  border: 1px solid #e5e5e5; border-radius: 8px; padding: 16px 22px;
  color: var(--ink); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.document-link:hover { border-color: var(--accent); box-shadow: 0 6px 18px rgba(0,0,0,0.07); transform: translateY(-2px); }
.document-icon { color: var(--accent); flex: 0 0 auto; display: flex; }
.document-label { flex: 1; font-weight: 600; }
.document-action { color: var(--accent); font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; flex: 0 0 auto; }
@media (max-width: 560px) {
  .document-action { display: none; }
  .document-link { padding: 14px 16px; gap: 12px; }
}


/* BLOCK: contact-form */
.contact-form { max-width: 680px; margin: 0 auto; }
.contact-form .cf-row { display: flex; gap: 16px; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 14px 16px; margin-bottom: 16px; border: 1px solid #ccc;
  border-radius: 6px; font-family: inherit; font-size: 1rem; background: #fff; color: #333;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.cf-submit { cursor: pointer; background: var(--accent); color: var(--dark); border: 2px solid var(--accent); font-weight: 700; }
.cf-submit:hover { background: transparent; color: var(--accent); }
.cf-note { margin-top: 14px; color: #888; font-size: 0.9rem; min-height: 1em; }
@media (max-width: 600px) { .contact-form .cf-row { flex-direction: column; gap: 0; } }


/* BLOCK: contact (+ footer) */
#contact { background: #111; color: #888; padding: 44px 0 0 0; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; max-width: 1100px; margin: 0 auto;
  background: #151515; box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.contact-info { padding: 50px; background: #1a1a1a; }
.contact-item { margin-bottom: 30px; }
.contact-item h3 {
  color: var(--accent); font-size: 0.9rem; text-transform: uppercase;
  margin-bottom: 10px; border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  display: inline-block; padding-bottom: 5px;
}
#c-hours { color: #888; font-size: 0.95rem; }
.hours-note { color: #9a9a9a; font-size: 0.82rem; margin-top: 8px; font-style: italic; }
.hours-row { display: flex; justify-content: space-between; gap: 20px; max-width: 320px; margin-bottom: 6px; }
.hours-label { color: var(--accent); font-weight: 600; }
.contact-link:hover { color: var(--accent); text-decoration: underline; }
.social-icons { display: flex; }
.social-icons a {
  color: var(--white); display: inline-flex; padding: 12px;
  margin: -12px 5px -12px 0; transition: 0.3s;
}
.social-icons svg { width: 22px; height: 22px; }
.social-icons a:hover { color: var(--accent); transform: scale(1.15); }

.map-container { width: 100%; min-height: 100%; position: relative; }
#map-placeholder {
  width: 100%; height: 100%; min-height: 400px; background: #1a1a1a;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
#map-placeholder span {
  color: var(--accent); border: 1px solid var(--accent); padding: 10px 20px;
  text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px;
}
.map-container iframe {
  width: 100%; height: 100%; min-height: 400px;
  filter: grayscale(100%) contrast(1.2); border: none;
}

.footer-bar {
  background: #000; text-align: center; padding: 30px 20px;
  font-size: 0.8rem; color: #8a8a8a; margin-top: 30px; border-top: 1px solid #222;
}
.footer-nav { margin-bottom: 15px; }
.footer-nav a { margin: 0 6px; }
.footer-nav a:hover { color: var(--accent); }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { padding: 30px; }
  .map-container { height: 300px; }
  .map-container iframe, #map-placeholder { min-height: 300px; }
}
