/* Fjällgården — 2026 */

:root {
  --forest: #2f4437;
  --forest-dark: #1e2e25;
  --rust: #b5622f;
  --rust-dark: #9a4f22;
  --cream: #faf6ef;
  --cream-dark: #f0e9db;
  --ink: #2a2521;
  --ink-soft: #5c554d;
  --line: #e2d9c6;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(30, 25, 15, 0.12);
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--rust-dark); }
a:hover { color: var(--rust); }

h1, h2, h3 {
  font-family: var(--serif);
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--forest-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--forest-dark);
}

.brand-mark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.01em;
}

.brand-sub {
  font-size: 0.75rem;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: none;
}

@media (min-width: 560px) {
  .brand-sub { display: inline; }
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

nav.main-nav a:hover,
nav.main-nav a[aria-current="page"] {
  background: var(--forest);
  color: #fff;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  nav.main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  nav.main-nav.open { max-height: 400px; }

  nav.main-nav ul {
    flex-direction: column;
    padding: 10px 24px 20px;
    gap: 2px;
  }

  nav.main-nav a { display: block; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 24, 18, 0.15) 0%, rgba(18, 22, 16, 0.78) 100%);
  z-index: -1;
}

.hero-content {
  padding: 64px 24px 56px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: #e7dcc4;
  margin-bottom: 10px;
}

.hero h1 { color: #fff; margin-bottom: 14px; }

.hero p.lede {
  font-size: 1.15rem;
  max-width: 600px;
  color: #f1ece0;
}

.hero-actions {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Smaller page hero for interior pages */
.page-hero {
  min-height: 34vh;
}
.page-hero .hero-content { padding: 48px 24px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid transparent;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--rust);
  color: #fff;
}
.btn-primary:hover { background: var(--rust-dark); color: #fff; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); color: #fff; }

.btn-outline {
  background: transparent;
  color: var(--forest-dark);
  border-color: var(--forest);
}
.btn-outline:hover { background: var(--forest); color: #fff; }

/* ---------- Sections ---------- */

section { padding: 72px 0; }
section.tight { padding: 48px 0; }
.section-alt { background: var(--cream-dark); }

.section-head {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}
.section-head p { color: var(--ink-soft); }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--rust-dark);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

/* ---------- Cards / grids ---------- */

.grid {
  display: grid;
  gap: 24px;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.card-body { padding: 20px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 0; }

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  text-decoration: none;
  display: block;
  background: var(--forest-dark);
}
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 12px 14px;
  background: linear-gradient(0deg, rgba(0,0,0,0.72), transparent);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ---------- Two-column feature ---------- */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 800px) {
  .feature { grid-template-columns: 1fr; }
}
.feature img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Prose / text pages ---------- */

.prose {
  max-width: 720px;
  margin: 0 auto;
}
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); }
.prose figure { margin: 2em 0; }
.prose figcaption {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}
.prose blockquote {
  border-left: 3px solid var(--rust);
  margin: 1.6em 0;
  padding: 0.2em 0 0.2em 20px;
  color: var(--ink-soft);
  font-style: italic;
}

/* ---------- Pricing tables ---------- */

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 32px;
}
.price-card-head {
  background: var(--forest);
  color: #fff;
  padding: 22px 26px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.price-card-head h3 { color: #fff; margin: 0; }
.price-card-head .tag {
  font-size: 0.85rem;
  color: #e7dcc4;
}
.price-card-body { padding: 22px 26px; }

table.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
table.price-table th,
table.price-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}
table.price-table th { color: var(--ink-soft); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
table.price-table td.amount { font-weight: 700; color: var(--forest-dark); text-align: right; }

.note {
  background: var(--cream-dark);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- Contact / footer ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}
.contact-item .icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-item h3 { margin-bottom: 2px; font-size: 1rem; }
.contact-item p { margin: 0; color: var(--ink-soft); }

.site-footer {
  background: var(--forest-dark);
  color: #d9d2c1;
  padding: 48px 0 28px;
  margin-top: 40px;
}
.site-footer a { color: #fff; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer h3 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer p { color: #b9b19d; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  font-size: 0.85rem;
  color: #a49c88;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Misc ---------- */

.tag-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.tag-row a,
.tag-row span {
  display: inline-block;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
}
.tag-row a:hover { border-color: var(--forest); color: var(--forest-dark); }

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 24px;
  text-align: center;
  margin-top: 40px;
}
.stat-row .num {
  font-family: var(--serif);
  font-size: 2.2rem;
  color: var(--forest-dark);
}
.stat-row .lbl {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
