/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #080b0f;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand { min-width: 0; }
.footer-brand .tagline { margin-top: 32px; margin-bottom: 28px; }
.footer-brand .logo-name {
  font-size: 22px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 280px;
}

.footer-col h3, .footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-col a {
  font-size: 14px;
  color: #5a6a72;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cream); }
.footer-stay-list { columns: 2; column-gap: 24px; }
.footer-stay-list li { break-inside: avoid; }


.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 14px;
  color: var(--muted);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .location-inner,
  .darksky-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .map-placeholder { max-height: 300px; }
}

@media (max-width: 680px) {
  nav { position: relative; }
  nav ul { display: none; }
  nav ul.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(13,17,23,0.97);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 8px;
    min-width: 180px;
    z-index: 200;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  }
  nav ul.open li { width: 100%; }
  nav ul.open li a { display: block; padding: 10px 14px; border-radius: 6px; font-size: 14px; border-bottom: none; }
  nav ul.open li a:hover { background: rgba(255,255,255,0.06); }
  nav ul.open .nav-cta { margin: 4px 0 2px; text-align: center; border-radius: 6px; }
  .hamburger { display: flex; }
  .header-inner { flex-wrap: nowrap; padding: 16px 20px; }
  .nav-inner { padding: 0 16px; }
  /* Footer mobile layout */
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 20px !important; margin-bottom: 16px !important; }
  .footer-brand > p:first-of-type { display: none !important; }
  .footer-col:nth-child(2) h4 { display: none !important; }
  .footer-col:nth-child(2) h3 { display: none !important; }
  .footer-brand .tagline { margin-top: -16px !important; margin-bottom: 0 !important; }
  .footer-col:nth-child(2) div[style*="grid"] { display: flex !important; flex-direction: column !important; gap: 0 !important; margin-top: -18px !important; }
  .footer-col:nth-child(2) div[style*="grid"] ul { margin-left: 0 !important; }
  .footer-mobile-only h4 { display: none !important; }
  .footer-col:nth-child(3) { display: none !important; }
  .footer-desktop-only { display: none !important; }
  .footer-mobile-only { display: block !important; }
  .footer-brand { grid-column: 1; grid-row: 1; }
  .footer-col:nth-child(2) { grid-column: 1; grid-row: 2; }
  .footer-mobile-only { grid-column: 2; grid-row: 1 / 3; }
  .footer-col ul li { margin-bottom: 3px !important; }
  .footer-col ul { gap: 0 !important; }
  /* Tighten Stay list specifically */
  .footer-col:nth-child(2) ul li { margin-bottom: 6px !important; }
  .footer-col:nth-child(2) ul a { color: var(--muted) !important; white-space: nowrap; line-height: 1.2 !important; }
  .footer-stay-list { columns: 1 !important; }
  .footer-stay-list li { margin-bottom: 7px !important; }

  /* Fix camping gap and Info alignment */
  .footer-mobile-only ul:first-child { margin-bottom: 0 !important; }
  .footer-mobile-only ul:first-child li:last-child { padding-bottom: 10px !important; margin-bottom: 0 !important; }
  .footer-mobile-only h3, .footer-mobile-only h4 { margin-top: 0 !important; margin-bottom: 4px !important; padding-top: 0 !important; }
  .footer-mobile-only ul:last-child { margin-top: 0 !important; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 6px; text-align: center; }
  .footer-bottom-domains { font-size: 11px !important; letter-spacing: 0.01em !important; }
  .footer-bottom p { text-align: center; }
  .cabin-grid  { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
}

/* ============================================================
   COWBOY TUB FAQ
   ============================================================ */
.tub-faq-btn {
  width:100%;display:flex;justify-content:space-between;align-items:center;
  background:var(--deep);border:none;padding:16px 20px;
  font-family:var(--font-body);font-size:14px;font-weight:600;
  color:var(--text);cursor:pointer;text-align:left;gap:12px;
  transition:background .2s;
}
.tub-faq-btn:hover { background:var(--pine); }
.tub-faq-chevron { font-size:10px;color:var(--gold);flex-shrink:0;transition:transform .25s; }
.tub-faq-btn[aria-expanded="true"] .tub-faq-chevron { transform:rotate(180deg); }
.tub-faq-answer {
  max-height:0;overflow:hidden;
  font-size:13px;color:var(--muted);line-height:1.7;
  padding:0 20px;background:var(--coal);
  transition:max-height .3s ease, padding .3s ease;
}
.tub-faq-item.open .tub-faq-answer { max-height:200px;padding:14px 20px; }
@media(max-width:700px){
  .tub-steps-grid { grid-template-columns:repeat(2,1fr) !important; }
  .tub-faq-grid { grid-template-columns:1fr !important; }
  .tub-faq-item { border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.07) !important; }
  .tub-faq-item:last-child { border-bottom: none !important; }
  .tub-faq-item button { background: var(--deep) !important; }
}

/* Mobile overrides */
@media (max-width: 680px) {
  /* --- Gateway Location body text --- */
  #loc-desc { font-size: 11px !important; line-height: 1.6 !important; }
  #loc-label { font-size: 8px !important; }

  /* --- Dark sky body text --- */
  .darksky-section .section-body { font-size: 12px !important; line-height: 1.65 !important; }

  /* --- Tub tip amber box --- */
  #tub-tip { font-size: 10px !important; line-height: 1.55 !important; }
  .tub-steps-home { gap: 4px !important; }
  #location-heading { font-size: 20px !important; line-height: 1.2; }
  .location-section .section-label { font-size: 10px !important; }
  .location-section .section-body { font-size: 13px !important; }

  /* --- Experience (dark sky) --- */
  #darksky-heading { font-size: 20px !important; }
  .darksky-section .section-label { font-size: 10px !important; }
  .darksky-section .section-body { font-size: 13px !important; line-height: 1.65 !important; }

  /* --- The Signature Experience --- */
  #cowboy-tubs { padding: 12px 0 !important; }
  #sig-exp-label { font-size: 18px !important; }
  #cowboy-tubs .reveal[style*="margin-bottom:20px"] { margin-bottom: 10px !important; }

  .why-stay-cards { grid-template-columns: 1fr !important; }

  /* --- Why Stay at Starlit Ridge --- */
  #highlights-heading { font-size: 20px !important; }
  .highlight-grid { grid-template-columns: repeat(3,1fr) !important; gap: 8px !important; padding: 0 !important; }
  .highlight { padding: 12px 8px !important; }
  .highlight h3 { font-size: 11px !important; margin-bottom: 0 !important; }

  /* --- What Guests Are Saying --- */
  #testimonials-heading { font-size: 20px !important; }
  .testimonials-section .section-label { font-size: 10px !important; }
  .testimonial-text { font-size: 12px !important; line-height: 1.65 !important; }
  .testimonial-author { font-size: 11px !important; }
  .testimonial-date { font-size: 10px !important; }
  .testimonials-grid { grid-template-columns: 1fr !important; gap: 12px !important; }
  .testimonial-card { padding: 16px 16px 14px !important; }

  /* --- shared section-title fallback --- */
  .section-title { font-size: 20px !important; }
  .section-body { font-size: 13px !important; }

  /* --- other existing --- */
  .cta-banner { padding: 24px 0 !important; }
  .btn-ghost { padding: 8px 16px !important; font-size: 13px !important; }
}
