/* ==============================================================
   Cryo Sanctuary — Locations Pages (Programmatic SEO)
   Brand: Marcellus + Poppins, accent #256C82
   Last updated: 2026-05-06
   ============================================================== */

/* -------------- Reset + base -------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #256C82; text-decoration: none; transition: color .2s ease; }
a:hover { color: #1a536a; }
button { font-family: inherit; cursor: pointer; }

/* -------------- Typography -------------- */
h1, h2, h3, h4, .h-display {
  font-family: 'Marcellus', Georgia, serif;
  color: #000;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.01em; }
h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 0; }
h3 { font-size: 22px; }
h4 { font-size: 18px; color: #256C82; }
.subhead { font-family: 'Marcellus', Georgia, serif; font-size: 18px; color: #256C82; line-height: 1.5; margin-bottom: 1.5rem; }
p { margin: 0 0 1em; }
strong { font-weight: 600; }
.eyebrow { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: #256C82; font-weight: 600; margin-bottom: .75rem; }

/* -------------- Layout -------------- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
section { padding: 64px 0; }
section + section { border-top: 1px solid #f0f0f0; }
@media (max-width: 768px) {
  section { padding: 48px 0; }
}

/* -------------- Header / Nav -------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid #eaeaea;
  transition: box-shadow .2s ease;
}
.site-header.scrolled { box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: 1280px; margin: 0 auto; }
.site-header__logo { display: flex; align-items: center; gap: 10px; font-family: 'Marcellus', Georgia, serif; font-size: 20px; color: #000; }
.site-header__logo img { height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: #000; font-size: 15px; font-weight: 500; }
.site-nav a:hover { color: #256C82; }
.site-nav__cta { background: #256C82; color: #fff !important; padding: 10px 20px; border-radius: 4px; font-size: 14px; font-weight: 600; transition: background .2s ease, transform .2s ease; }
.site-nav__cta:hover { background: #1a536a; color: #fff !important; transform: translateY(-1px); }
.nav-toggle { display: none; background: transparent; border: 0; padding: 6px; }
@media (max-width: 900px) {
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px 24px; gap: 16px; border-bottom: 1px solid #eaeaea; box-shadow: 0 4px 12px rgba(0,0,0,.06); }
  .site-nav.open { display: flex; }
  .site-nav__cta { text-align: center; }
  .nav-toggle { display: block; }
}

/* -------------- Breadcrumb -------------- */
.breadcrumb { padding: 16px 0 0; font-size: 13px; color: #666; }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li:not(:last-child)::after { content: "›"; margin-left: 8px; color: #999; }
.breadcrumb a { color: #666; }
.breadcrumb a:hover { color: #256C82; }
.breadcrumb li:last-child { color: #000; }

/* -------------- Hero -------------- */
.hero { padding-top: 32px; padding-bottom: 56px; }
.hero h1 { margin-bottom: 16px; }
.hero .subhead { max-width: 720px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 32px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 24px; list-style: none; padding: 0; margin: 0; font-size: 14px; color: #555; }
.hero-stats li { display: flex; align-items: center; gap: 8px; }
.hero-stats svg { color: #256C82; flex-shrink: 0; }

/* -------------- Buttons -------------- */
.btn-primary, .btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 4px;
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  text-align: center; transition: all .2s ease;
  border: 2px solid transparent;
}
.btn-primary { background: #256C82; color: #fff !important; }
.btn-primary:hover { background: #1a536a; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,108,130,.25); color: #fff !important; }
.btn-secondary { background: #fff; color: #256C82 !important; border-color: #256C82; }
.btn-secondary:hover { background: #e6f0f4; transform: translateY(-2px); }
.btn-large { padding: 18px 36px; font-size: 16px; }
.btn-icon { width: 16px; height: 16px; transition: transform .2s ease; }
.btn-primary:hover .btn-icon, .btn-secondary:hover .btn-icon { transform: translateX(3px); }

/* -------------- Cards (3-up grid) -------------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
.card {
  background: #f4f8fb;
  padding: 28px;
  border-radius: 8px;
  border: 1px solid #e6f0f4;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(37,108,130,.10); border-color: #256C82; }
.card .icon-circle { width: 48px; height: 48px; border-radius: 50%; background: #256C82; color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card h3 { font-size: 18px; margin-bottom: 8px; color: #000; }
.card p { font-size: 14px; color: #555; margin: 0; }

/* -------------- Bullet grid (benefits) -------------- */
.bullet-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 768px) { .bullet-grid { grid-template-columns: 1fr; } }
.bullet-grid li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: #fafafa; border-radius: 6px; transition: background .2s ease; }
.bullet-grid li:hover { background: #e6f0f4; }
.bullet-grid svg { color: #256C82; flex-shrink: 0; margin-top: 2px; }

/* -------------- Timeline -------------- */
.timeline { position: relative; padding: 16px 0; }
.timeline::before { content: ""; position: absolute; left: 24px; top: 0; bottom: 0; width: 2px; background: #e6f0f4; }
.timeline-stage { position: relative; padding: 16px 0 16px 64px; }
.timeline-stage::before { content: ""; position: absolute; left: 16px; top: 24px; width: 18px; height: 18px; border-radius: 50%; background: #256C82; border: 4px solid #fff; box-shadow: 0 0 0 2px #256C82; }
.timeline-stage h4 { color: #256C82; margin-bottom: 4px; }

/* -------------- FAQs (accordion) -------------- */
.faqs { display: flex; flex-direction: column; gap: 8px; }
.faq { border-bottom: 1px solid #eaeaea; padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; padding-right: 36px; position: relative; }
.faq-q { font-family: 'Marcellus', Georgia, serif; font-size: 18px; color: #000; margin: 0; display: inline; font-weight: 400; }
.faq[open] .faq-q { color: #256C82; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; width: 28px; height: 28px; border: 1.5px solid #256C82; border-radius: 50%; color: #256C82; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 300; transition: transform .25s ease, background .25s ease, color .25s ease; }
.faq[open] summary::after { content: "−"; background: #256C82; color: #fff; }
.faq[open] summary { color: #256C82; }
.faq p { margin-top: 14px; color: #333; font-size: 16px; }

/* -------------- Why-this-city section -------------- */
.why-bar {
  background: #f4f8fb; border-left: 4px solid #256C82;
  padding: 20px 28px; border-radius: 4px;
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center;
}
.why-bar svg { color: #256C82; flex-shrink: 0; }
.why-bar p { margin: 0; font-size: 16px; }

/* -------------- CTA section -------------- */
.cta-section { background: #256C82; color: #fff; padding: 64px 0; }
.cta-section h2 { color: #fff; }
.cta-section p { color: rgba(255,255,255,.92); font-size: 17px; }
.cta-section .btn-primary { background: #fff; color: #256C82 !important; }
.cta-section .btn-primary:hover { background: #f4f8fb; color: #1a536a !important; }
.cta-section .btn-secondary { background: transparent; color: #fff !important; border-color: #fff; }
.cta-section .btn-secondary:hover { background: rgba(255,255,255,.1); }
.cta-section .contact-line { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; margin-top: 24px; font-size: 15px; color: rgba(255,255,255,.92); }
.cta-section .contact-line a { color: #fff; }
.cta-section .contact-line a:hover { color: #b8e0f5; }
.cta-section-inner { text-align: center; max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* -------------- Disclaimer block -------------- */
.disclaimer {
  background: #fff8e6; border-left: 4px solid #d99000;
  padding: 16px 20px; border-radius: 4px;
  font-size: 13px; color: #4a3500;
  margin: 24px 0;
}
.disclaimer strong { color: #4a3500; }

/* -------------- Service grid (city hub) -------------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1000px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .service-grid { grid-template-columns: 1fr; } }
.service-card {
  background: #fff; border: 1px solid #e5e5e5; border-radius: 8px;
  padding: 28px; transition: all .25s ease;
  display: flex; flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.08); border-color: #256C82; }
.service-card .icon-circle { width: 56px; height: 56px; margin-bottom: 16px; }
.service-card h3 { font-size: 20px; margin-bottom: 8px; }
.service-card .service-card__cat { font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: #256C82; font-weight: 600; margin-bottom: 8px; }
.service-card p { color: #555; font-size: 14px; margin-bottom: 20px; flex-grow: 1; }
.service-card__link { color: #256C82; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.service-card__link::after { content: "→"; transition: transform .2s ease; }
.service-card:hover .service-card__link::after { transform: translateX(4px); }

/* -------------- Locations grid (related cities) -------------- */
.locations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 900px) { .locations-grid { grid-template-columns: repeat(2, 1fr); } }
.location-pill {
  display: block;
  padding: 14px 18px;
  background: #fafafa; border: 1px solid #eaeaea; border-radius: 6px;
  color: #000; font-size: 14px;
  transition: all .2s ease;
}
.location-pill:hover { background: #e6f0f4; border-color: #256C82; color: #256C82; transform: translateY(-2px); }
.location-pill .drive { display: block; font-size: 12px; color: #888; margin-top: 2px; }

/* -------------- Author block -------------- */
.author { background: #fafafa; padding: 24px; border-radius: 8px; margin: 32px 0; border-left: 4px solid #256C82; }
.author h4 { color: #256C82; margin-bottom: 6px; font-size: 15px; }
.author p { font-size: 14px; color: #444; margin: 0; }

/* -------------- Footer -------------- */
.site-footer { background: #f4f8fb; padding: 56px 0 24px; margin-top: 64px; border-top: 1px solid #e6f0f4; }
.site-footer__brand { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid #d9e6ed; }
.site-footer__logo-link { display: inline-block; transition: transform .25s ease; }
.site-footer__logo-link:hover { transform: scale(1.04); }
.site-footer__logo { width: 140px; height: auto; max-height: 140px; object-fit: contain; border-radius: 8px; }
.site-footer__tagline { max-width: 520px; margin: 16px auto 0; color: #555; font-size: 15px; line-height: 1.55; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: 14px; color: #000; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; font-size: 14px; }
.site-footer a { color: #555; }
.site-footer a:hover { color: #256C82; }
.site-footer__about p { font-size: 14px; color: #555; line-height: 1.6; margin-bottom: 6px; }

/* Bottom bar — copyright + agency credit on opposite sides on desktop, stacked on mobile */
.site-footer__bottom {
  padding-top: 24px;
  margin-top: 32px;
  border-top: 1px solid #d9e6ed;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: #777;
}
.site-footer__copyright { flex: 1 1 auto; }
.site-footer__copyright a { color: #555; }
.site-footer__copyright a:hover { color: #256C82; }
.site-footer__agency { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; color: #777; }
.site-footer__agency-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: #256C82 !important;
  text-decoration: none;
  padding: 6px 10px; border-radius: 4px;
  transition: all .2s ease;
}
.site-footer__agency-link:hover { background: rgba(37,108,130,.08); transform: translateY(-1px); }
.site-footer__agency-icon {
  width: 20px; height: 20px;
  border-radius: 4px;
  flex-shrink: 0;
  object-fit: cover;
}
.site-footer__agency-link strong { font-weight: 600; }
@media (max-width: 640px) {
  .site-footer__bottom { flex-direction: column; text-align: center; }
  .site-footer__copyright { flex: none; }
}

/* -------------- Animations (Intersection Observer) -------------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

/* Subtle pulse on primary CTA */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,108,130,.25); }
  50% { box-shadow: 0 0 0 6px rgba(37,108,130,0); }
}
.btn-primary.btn-pulse { animation: ctaPulse 2.4s ease-out infinite; }

/* -------------- Reduced motion -------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* -------------- Print -------------- */
@media print {
  .site-header, .site-footer, .site-nav, .nav-toggle, .cta-section { display: none !important; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}
