@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/1Ptug8zYS_SKggPNyC0ITw.woff2) format('woff2');
}

:root {
  --brand: #fbd96c;
  --ink: #23282d;
  --muted: #6b7280;
  --card-bg: #ffffff;
  --page-bg: #f7f7f5;
  --border: #e5e5e0;
  --nav-width: 240px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  font-family: 'Raleway', sans-serif;
  background: var(--page-bg);
  color: var(--ink);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ---------- Shell layout ---------- */

.page-shell {
  display: flex;
  min-height: 100vh;
}

.mobile-topbar {
  display: none;
}

.site-nav {
  flex: 0 0 var(--nav-width);
  background: #ffffff;
  border-right: 1px solid var(--border);
  padding: 32px 24px;
}

.site-nav .nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: rgb(27, 27, 27);
  font-family: "Source Sans Pro", arial, sans-serif;
  font-weight: 900;
  font-size: 22px;
  line-height: 26.4px;
  letter-spacing: normal;
  margin-bottom: 32px;
}

.site-nav .nav-logo img {
  width: 48px;
  height: 48px;
  margin-bottom: 10px;
}

.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin-bottom: 0;
}

.nav-links a {
  display: block;
  text-decoration: none;
  color: rgb(145, 145, 145);
  font-family: Helvetica, arial, sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 45px;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-links a.active {
  color: #a67c00;
  font-weight: 700;
}

.nav-backdrop {
  display: none;
}

.page-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.page-content {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 32px;
}

.page-content.is-loading {
  opacity: 0.6;
}

.site-footer {
  text-align: center;
  padding: 24px 20px 48px;
  color: var(--muted);
  font-size: 0.85rem;
}

.site-footer p {
  margin: 0 0 4px;
}

/* ---------- Default content typography ---------- */

.page-content h1 {
  font-size: 1.8rem;
  margin: 0 0 16px;
}

.page-content h2 {
  font-size: 1.4rem;
  margin: 32px 0 12px;
}

.page-content h4 {
  font-size: 1.1rem;
  margin: 24px 0 8px;
}

.page-content p {
  line-height: 1.6;
  margin: 0 0 16px;
}

.page-content ul {
  line-height: 1.6;
  margin: 0 0 16px;
  padding-left: 20px;
}

/* ---------- Connect with us ---------- */

.connect-section {
  margin-top: 40px;
  text-align: center;
}

.connect-section h2 {
  margin-bottom: 12px;
}

.connect-section a {
  display: inline-flex;
}

.connect-section svg {
  width: 28px;
  height: 28px;
}

/* ---------- App directory page (app.html) ---------- */

.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-header img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  margin: 0 auto 16px;
}

.page-header h1 {
  font-size: 1.6rem;
  margin: 0 0 8px;
}

.page-header p {
  color: var(--muted);
  margin: 0;
}

.app-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 20px;
}

.app-card h2 {
  font-size: 1.15rem;
  margin: 0 0 4px;
}

.app-card .app-desc {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 18px;
}

.region-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.region-list a,
.region-list .disabled {
  display: block;
  text-align: center;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
}

.region-list a {
  background: var(--brand);
  color: var(--ink);
}

.region-list a:hover {
  filter: brightness(0.95);
}

.region-list .disabled {
  background: #f0f0ee;
  color: var(--muted);
  cursor: default;
}

/* ---------- FAQ accordion ---------- */

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 16px 0;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}

.accordion-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.accordion-question[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
}

.accordion-answer {
  padding: 0 0 16px;
}

.accordion-answer.is-collapsed {
  display: none;
}

.accordion-answer p {
  margin: 0 0 12px;
}

.accordion-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}

.accordion-gallery img {
  flex: 1 1 220px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

/* ---------- Contact page ---------- */

.contact-hours {
  margin-bottom: 24px;
}

#contact-form-section {
  margin: 8px 0 40px;
}

#contact-form-section h2 {
  font-size: 1.4rem;
  margin: 0 0 20px;
}

.contact-form-field {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.contact-form-field label {
  margin-bottom: 6px;
  font-weight: 600;
}

.contact-form-field input,
.contact-form-field textarea {
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
}

#contact-form-submit {
  background: var(--brand);
  border: none;
  border-radius: 4px;
  padding: 12px 28px;
  font-weight: 600;
  cursor: pointer;
}

#contact-form-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

#contact-form-status {
  margin-top: 12px;
  font-weight: 600;
}

#contact-form-status.success {
  color: #1a7f37;
}

#contact-form-status.error {
  color: #c0392b;
}

/* ---------- Downloads ---------- */

.downloads-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.downloads-list li {
  margin-bottom: 12px;
}

.downloads-list a {
  display: inline-block;
  background: var(--brand);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 6px;
}

/* ---------- Partners ---------- */

.partner-logo {
  max-width: 240px;
  margin: 24px auto 0;
}

/* ---------- Gallery ---------- */

.local-gallery {
  position: relative;
  width: 100%;
  margin-top: 16px;
}

.local-gallery-track {
  display: flex;
  overflow: hidden;
  list-style: none;
  margin: 0;
  padding: 0;
}

.local-gallery-slide {
  display: none;
  width: 100%;
  min-width: 100%;
  height: 420px;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  border-radius: 8px;
}

.local-gallery-slide.is-active {
  display: flex;
}

.local-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.local-gallery-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  padding-top: 16px;
}

.local-gallery-controls button {
  border: 0;
  background: var(--brand);
  color: #202020;
  cursor: pointer;
  padding: 10px 18px;
  font: inherit;
  border-radius: 4px;
}

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  background-image: linear-gradient(to bottom, rgba(99, 99, 99, 0.35) 0%, rgba(99, 99, 99, 0.35) 100%), url("../images/stock-9VmEg9y.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 96px 24px;
  border-radius: 12px;
  margin-bottom: 40px;
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 12px;
}

.hero p {
  font-size: 1.1rem;
  margin: 0 0 24px;
}

.hero .cta-button {
  display: inline-block;
  background: var(--brand);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 6px;
}

.welcome-section {
  margin-bottom: 40px;
}

/* ---------- Mobile ---------- */

@media (max-width: 768px) {
  .mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 20;
  }

  .mobile-topbar-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--ink);
    font-family: "Source Sans Pro", arial, sans-serif;
    font-weight: 900;
  }

  .mobile-topbar-logo img {
    width: 28px;
    height: 28px;
    margin: 0;
  }

  .nav-toggle {
    width: 36px;
    height: 36px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
  }

  .nav-toggle-bar {
    width: 22px;
    height: 2px;
    background: var(--ink);
    display: block;
  }

  .page-shell {
    flex-direction: column;
  }

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: min(280px, 80vw);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 30;
    overflow-y: auto;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
  }

  body.nav-open .site-nav {
    transform: translateX(0);
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 25;
  }

  .nav-backdrop[hidden] {
    display: none;
  }

  body.nav-open {
    overflow: hidden;
  }

  .page-content {
    padding: 24px 16px;
  }

  .hero {
    padding: 56px 16px;
    border-radius: 0;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .local-gallery-slide {
    height: 260px;
  }
}
