/* Content-page, hub, calculator, nav, and footer enhancements */

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--gold);
  color: #1a1008;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 6px 0 #fff, 0 -6px 0 #fff;
}

.page-hero {
  padding: 8rem 8vw 3rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(212, 168, 83, 0.12), transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #111 100%);
}

.page-hero h1 {
  max-width: 920px;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.page-hero .sub {
  max-width: 720px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.5rem;
}

.btn-ghost {
  display: inline-block;
  margin-top: 2rem;
  padding: 15px 28px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.breadcrumbs {
  margin-bottom: 1.5rem;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  opacity: 0.5;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.trust-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: #0d0d0d;
}

.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: center;
  padding: 1rem 8vw;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-strip a {
  color: var(--gold);
  text-decoration: none;
}

.prose {
  max-width: 820px;
}

.prose h2 {
  margin-bottom: 1rem;
}

.prose p + p {
  margin-top: 1.2rem;
}

.prose ul,
.step-list {
  margin: 1.2rem 0 0;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.68);
}

.prose li,
.step-list li {
  margin-top: 0.55rem;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 1rem 1.2rem;
  background: rgba(255, 255, 255, 0.02);
}

.faq-item summary {
  cursor: pointer;
  color: #fff;
  font-size: 1.05rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 0.85rem;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hub-card {
  min-height: 160px;
  padding: 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  background: #161616;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.hub-card:hover {
  border-color: rgba(212, 168, 83, 0.4);
  transform: translateY(-3px);
}

.hub-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.15rem;
  font-weight: 400;
}

.hub-card a {
  text-decoration: none;
}

.hub-card a:hover {
  color: var(--gold);
}

.city-tag {
  text-decoration: none;
}

.eeat-list {
  margin-top: 1.5rem;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
}

.eeat-list li {
  margin-top: 0.4rem;
}

.site-footer {
  display: block;
  padding: 3.5rem 8vw 2rem;
  background: #060606;
  color: rgba(255, 255, 255, 0.35);
  font-size: 13px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
  margin-bottom: 2.5rem;
}

.footer-col h3 {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-top: 0.45rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--gold);
}

/* Calculators */
.calculator-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  background: #161616;
}

.calc-form {
  display: grid;
  gap: 1rem;
}

.calc-field label {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.calc-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font: inherit;
}

.calc-hint {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.82rem;
}

.calc-actions {
  margin-top: 0.5rem;
}

.calc-actions button {
  width: auto;
  min-width: 160px;
  padding: 14px 22px;
  border: none;
  border-radius: 4px;
  background: var(--gold);
  color: #1a1008;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.calc-results {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-left: 3px solid var(--gold);
  background: rgba(212, 168, 83, 0.08);
}

.calc-results-title {
  margin-bottom: 0.8rem;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 400;
}

.calc-results-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem 1.5rem;
}

.calc-results-list dt {
  color: rgba(255, 255, 255, 0.55);
}

.calc-results-list dd {
  color: #fff;
  text-align: right;
}

.calc-disclaimer,
.calc-notes {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.88rem;
  line-height: 1.6;
}

.calc-checklist {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
}

.calc-checklist li {
  margin-top: 0.35rem;
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hub-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.is-open {
    display: flex;
  }

  .topbar-inner {
    flex-wrap: wrap;
  }

  .page-hero {
    padding: 7rem 1.25rem 2.5rem;
  }

  .hub-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta-row .btn-gold,
  .hero-cta-row .btn-ghost {
    margin-top: 0;
  }

  .calculator-shell {
    padding: 1.25rem;
  }
}
