/* ══════════════════════════════════════════
   SEQUOIA + SALT  ·  MEGA MENU + TEAL THEME
   ══════════════════════════════════════════ */

:root {
  --teal:       #4d7a8a;
  --teal-dark:  #3a5f6e;
  --teal-light: #7ab0c0;
  --teal-glow:  rgba(77,122,138,0.18);
}

/* ── Global teal accent overrides ── */
.section-label, .card-label, .contact-info-label,
.footer-col h4, .phase-tag, .step-num-large,
.spec-label, .sig-card-link, .hero-eyebrow { color: var(--teal-light) !important; }

.tab-btn.active { color: #fff !important; border-bottom-color: var(--teal) !important; }
.btn-primary    { background: var(--teal) !important; }
.btn-primary:hover { background: var(--teal-dark) !important; }
.nav-cta        { background: var(--teal) !important; }
.nav-cta:hover  { background: var(--teal-dark) !important; }
.quote-mark     { color: rgba(77,122,138,0.22) !important; }
.story-img-accent { border-color: var(--teal) !important; }
.deposit-badge  { border-color: var(--teal) !important; color: var(--teal-light) !important; }
.price-badge    { background: var(--teal) !important; }
.accordion-icon { color: var(--teal-light) !important; }
.accordion-btn:hover { color: var(--teal-light) !important; }
.phase-num  { color: rgba(77,122,138,0.14) !important; }
.step-num   { color: rgba(77,122,138,0.18) !important; }
.feature-num{ color: rgba(77,122,138,0.30) !important; }

/* ─────────────────────────────────────────
   NAV DROPDOWN — JS-powered (no CSS hover gap)
   ───────────────────────────────────────── */
.nav-links li { position: static; }

.nav-links li.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links li.has-dropdown > a::after {
  content: '▾';
  font-size: 0.55rem;
  opacity: 0.6;
  transition: transform 0.25s;
  display: inline-block;
}
.nav-links li.has-dropdown.open > a::after { transform: rotate(180deg); opacity: 1; }

/* Panel — hidden by default, toggled by JS */
.dropdown {
  display: none;
  position: fixed;
  top: calc(38px + 64px); /* announcement bar + header */
  left: 0; right: 0;
  background: #0d1518;
  border-top: 2px solid var(--teal);
  z-index: 300;
  box-shadow: 0 24px 60px rgba(0,0,0,0.7);
  animation: dropIn 0.18s ease both;
}
/* When bar is dismissed */
body.bar-hidden .dropdown { top: 64px; }
.dropdown.open { display: block; }

@keyframes dropIn {
  from { opacity:0; transform: translateY(-8px); }
  to   { opacity:1; transform: translateY(0); }
}

.dropdown-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 4rem 2.5rem;
}

.dropdown-heading {
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(77,122,138,0.2);
}

/* ── IMAGE CARDS (Campervans / Truck Campers) ── */
.dropdown-cards {
  display: flex;
  gap: 0.75rem;
}

.dropdown-card {
  flex: 1;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  background: #1c2b30;
  aspect-ratio: 4 / 3;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.dropdown-card:hover { transform: translateY(-3px); box-shadow: 0 14px 35px rgba(0,0,0,0.55); }

.dropdown-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: opacity 0.3s, transform 0.4s;
}
.dropdown-card:hover img { opacity: 0.92; transform: scale(1.05); }

.dropdown-card-body {
  position: relative; z-index: 2;
  padding: 0.9rem 1rem;
  background: linear-gradient(to top, rgba(8,16,20,0.97) 0%, rgba(8,16,20,0.5) 65%, transparent 100%);
}

.dropdown-card-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.dropdown-card-arrow { font-size: 1rem; opacity: 0.4; transition: opacity 0.2s, transform 0.2s; }
.dropdown-card:hover .dropdown-card-arrow { opacity: 1; transform: translateX(4px); }

.dropdown-card-sub {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-top: 0.2rem;
}

/* ── ROSSMONSTER-STYLE: Get Answers ── */
/* 3-col text links + 2 image cards on right */
.dropdown-get-answers {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 260px 260px;
  gap: 0;
}

.dropdown-col {
  padding: 0 2.5rem 0 0;
  border-right: 1px solid rgba(77,122,138,0.1);
  margin-right: 2.5rem;
}
.dropdown-col:last-of-type { border-right: none; margin-right: 0; }

.dropdown-col-link {
  display: block;
  text-decoration: none;
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.15s;
}
.dropdown-col-link:last-child { border-bottom: none; }

.dropdown-col-link-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #d8e8ec;
  line-height: 1.3;
  transition: color 0.15s;
}
.dropdown-col-link:hover .dropdown-col-link-title { color: #ffffff; }

.dropdown-col-link-sub {
  font-size: 0.68rem;
  color: rgba(122,176,192,0.7);
  margin-top: 0.2rem;
  line-height: 1.4;
}

/* Bottom contact-us row (like Rossmonster) */
.dropdown-bottom-row {
  grid-column: 1 / 4;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dropdown-bottom-row a {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: #d8e8ec;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.15s;
}
.dropdown-bottom-row a:hover { color: #fff; }
.dropdown-bottom-row a span { opacity: 0.5; transition: opacity 0.2s, transform 0.2s; }
.dropdown-bottom-row a:hover span { opacity: 1; transform: translateX(4px); }

/* Answer image cards (right side) */
.dropdown-img-card {
  position: relative;
  overflow: hidden;
  text-decoration: none;
  background: #1c2b30;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.22s ease;
  min-height: 180px;
}
.dropdown-img-card + .dropdown-img-card { margin-left: 0.75rem; }
.dropdown-img-card:hover { transform: translateY(-3px); }

.dropdown-img-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: opacity 0.3s, transform 0.4s;
}
.dropdown-img-card:hover img { opacity: 0.8; transform: scale(1.05); }

.dropdown-img-card-body {
  position: relative; z-index: 2;
  padding: 1rem;
  background: linear-gradient(to top, rgba(8,16,20,0.97) 0%, rgba(8,16,20,0.4) 70%, transparent 100%);
}
.dropdown-img-card-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dropdown-img-card-title span { opacity: 0.45; transition: opacity 0.2s, transform 0.2s; }
.dropdown-img-card:hover .dropdown-img-card-title span { opacity: 1; transform: translateX(3px); }
.dropdown-img-card-sub {
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-top: 0.2rem;
}

/* ─────────────────────────────────────────
   MOUNTAINS  — exact match to sequoiasaltvans.com
   Uses their actual background image + tree silhouette
   ───────────────────────────────────────── */
.mountain-section {
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* The actual mountain image from their site */
.mountain-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.squarespace-cdn.com/content/v1/649ae313c2adbd70f9525681/0864730c-9d12-4b6e-a587-3f15cb9b8165/section-bg-07.png');
  background-size: cover;
  background-position: center top;
}

/* Sequoia tree silhouette from their site */
.mountain-tree {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  background-image: url('https://images.squarespace-cdn.com/content/v1/649ae313c2adbd70f9525681/4f2d060a-93b8-4b3f-a321-ba11043bf763/section-bg-06.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: right center;
  width: 40%;
  opacity: 0.3;
  pointer-events: none;
}

.mountain-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(14,20,24,0.0)  0%,
    rgba(14,20,24,0.15) 40%,
    rgba(14,20,24,0.5)  80%,
    rgba(14,20,24,0.85) 100%
  );
}

.mountain-content {
  position: relative; z-index: 2;
  padding: 7rem 4rem 4rem;
}

.mountain-content h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  letter-spacing: 0.03em;
  color: #fff;
  margin-bottom: 0.75rem;
}
.mountain-content p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 2rem;
  max-width: 480px;
  margin-left: auto; margin-right: auto;
}

/* SVG wave transition from mountain into footer */
.mountain-wave {
  position: relative; z-index: 2;
  line-height: 0;
  margin: 0;
}
.mountain-wave svg { width: 100%; display: block; }

/* ─────────────────────────────────────────
   FOOTER  — exact match to current site
   ───────────────────────────────────────── */
footer {
  background: #1e2830 !important;
  padding: 0 !important;
  border-top: none !important;
}

.footer-mountain-bg {
  position: relative;
  background-image: url('https://images.squarespace-cdn.com/content/v1/649ae313c2adbd70f9525681/1946bd90-aa36-4433-9951-8eee97415f13/footer-bg.png');
  background-size: cover;
  background-position: center;
  padding: 5rem 4rem 3rem;
}

.footer-mountain-bg::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(14,20,28,0.78);
}

.footer-inner {
  position: relative; z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}

.footer-brand-logo {
  margin-bottom: 1rem;
}
.footer-brand-logo img {
  height: 36px;
  filter: brightness(0) invert(1);
}

.footer-brand-cert {
  margin-top: 1.5rem;
}
.footer-brand-cert img {
  height: 44px;
  opacity: 0.7;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.82rem;
  color: rgba(200,210,215,0.65);
  line-height: 1.7;
  max-width: 260px;
}

.footer-col-new h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 1.2rem;
}

.footer-col-new ul { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col-new a {
  color: rgba(200,215,220,0.7);
  text-decoration: none;
  font-size: 0.83rem;
  transition: color 0.2s;
}
.footer-col-new a:hover { color: #ffffff; }

.footer-social { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.footer-social-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(77,122,138,0.25);
  border: 1px solid rgba(77,122,138,0.3);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: background 0.2s;
}
.footer-social-icon:hover { background: var(--teal); }
.footer-social-icon svg { width: 14px; height: 14px; fill: #fff; }

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom-bar p {
  font-size: 0.72rem;
  color: rgba(180,195,200,0.45);
}

/* ── MOBILE NAV ── */
.mobile-dropdown {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.55rem; margin: 0.25rem 0 0.75rem;
}
.mobile-dropdown a {
  font-family: var(--font-body) !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.1em;
  color: #7ab0c0 !important;
}
.mobile-dropdown a:hover { color: #ffffff !important; }
.mobile-section-label {
  font-size: 0.58rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--teal-light); margin-top: 1.2rem;
}

@media (max-width: 768px) {
  .dropdown-get-answers { grid-template-columns: 1fr; }
  .dropdown-img-card { display: none; }
  .dropdown-inner { padding: 1.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-mountain-bg { padding: 3rem 1.5rem 2rem; }
}

/* ── GLOBAL CONTRAST SAFETY NET ── */
/* Ensure all text in dark sections is always visible */
.section-dark .section-title,
.section-darker .section-title,
.split-content .section-title { color: #ffffff !important; }

.section-dark .section-body,
.section-darker .section-body,
.split-content .section-body { color: #8da4b5 !important; }

.section-dark .section-label,
.section-darker .section-label,
.split-content .section-label { color: var(--teal-light) !important; }

/* Form inputs on dark bg — white text */
.section-dark .form-group input,
.section-dark .form-group select,
.section-dark .form-group textarea,
.section-darker .form-group input,
.section-darker .form-group select,
.section-darker .form-group textarea {
  background: rgba(255,255,255,0.07) !important;
  border-color: rgba(255,255,255,0.15) !important;
  color: #ffffff !important;
}

.section-dark .form-group label,
.section-darker .form-group label {
  color: var(--teal-light) !important;
}

/* Process phase blocks */
.phase-block .section-title { color: #ffffff !important; }

/* CTA banner text */
.cta-banner h2 { color: #ffffff !important; }
.cta-banner p  { color: rgba(255,255,255,0.8) !important; }
