/* Savera Bliss — warm earthy theme */
:root {
  --color-cream: #f7f3eb;
  --color-cream-dark: #ebe4d6;
  --color-forest: #2d4a3e;
  --color-forest-light: #3d6354;
  --color-earth: #5c4033;
  --color-earth-light: #8b6914;
  --color-white: #ffffff;
  --color-text: #2a2520;
  --color-muted: #5c5348;
  --shadow-sm: 0 2px 8px rgba(45, 74, 62, 0.08);
  --shadow-md: 0 8px 24px rgba(45, 74, 62, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .fade-in-section,
  .gallery-slide img {
    transition: none;
  }
  .gallery-track {
    transition: none;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-cream);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-forest-light);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: var(--color-forest);
  color: var(--color-white);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.container.narrow {
  max-width: 720px;
}

.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-forest);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  color: var(--color-muted);
  margin: 0 0 2rem;
  font-size: 1.05rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--color-muted);
  margin: 0;
}

.eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-cream);
  opacity: 0.95;
  margin: 0 0 0.75rem;
}

/* Header — dual header images (header.jpeg + hills.jpeg) with scrim for readability */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(45, 74, 62, 0.12);
  overflow: hidden;
}

.header-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.header-backdrop-half {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.header-backdrop-half--left {
  left: 0;
  background-image: url("images/header.jpeg");
}

.header-backdrop-half--right {
  right: 0;
  background-image: url("images/hills.jpeg");
}

.header-backdrop-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(247, 243, 235, 0.88) 0%,
    rgba(247, 243, 235, 0.82) 35%,
    rgba(247, 243, 235, 0.78) 65%,
    rgba(247, 243, 235, 0.85) 100%
  );
  backdrop-filter: blur(6px);
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.2;
  color: var(--color-forest);
  text-decoration: none;
}

.logo-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  background: var(--color-white);
}

.logo:hover {
  color: var(--color-earth);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-forest);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.site-nav .nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--color-forest);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--color-cream);
    border-bottom: 1px solid rgba(45, 74, 62, 0.12);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
  }

  body.nav-open .site-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  body.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  body.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav .nav-list a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(45, 74, 62, 0.08);
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26, 40, 34, 0.45) 0%,
    rgba(26, 40, 34, 0.55) 50%,
    rgba(26, 40, 34, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-cream);
  max-width: 720px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.hero-tagline {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
  font-style: italic;
  margin: 0 0 1rem;
  opacity: 0.95;
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: 1.1rem;
  opacity: 0.92;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--color-earth-light);
  color: var(--color-white);
  border-color: var(--color-earth-light);
}

.btn-primary:hover {
  background: var(--color-earth);
  border-color: var(--color-earth);
  color: var(--color-white);
}

.btn-secondary {
  background: var(--color-forest);
  color: var(--color-white);
  border-color: var(--color-forest);
}

.btn-secondary:hover {
  background: var(--color-forest-light);
  border-color: var(--color-forest-light);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-cream);
  border-color: rgba(255, 255, 255, 0.85);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
}

.btn-block {
  width: 100%;
}

/* Intro */
.intro {
  background: var(--color-white);
}

/* About */
.about-grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 280px;
  }
}

.about-text p {
  margin: 0 0 1rem;
  color: var(--color-muted);
}

.about-text p:last-child {
  margin-bottom: 0;
}

.card-elevated {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(45, 74, 62, 0.08);
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  color: var(--color-forest);
}

/* Rooms */
.room-cards {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 900px) {
  .room-cards {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

.room-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(45, 74, 62, 0.1);
  display: flex;
  flex-direction: column;
}

.room-card-featured {
  border: 2px solid var(--color-forest);
  box-shadow: var(--shadow-md);
}

.room-card-image-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.room-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.room-card:hover .room-card-image-wrap img {
  transform: scale(1.04);
}

.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-earth-light);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.room-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.room-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0;
  color: var(--color-forest);
}

.room-card-body p {
  margin: 0;
  color: var(--color-muted);
  flex: 1;
}

.features-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-forest);
  margin: 0 0 0.75rem;
}

.feature-list {
  display: grid;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (min-width: 560px) {
  .feature-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--color-forest-light);
  border-radius: 50%;
}

/* Highlight */
.highlight {
  background: linear-gradient(135deg, var(--color-forest) 0%, #1e3329 100%);
  color: var(--color-cream);
}

.highlight .section-title {
  color: var(--color-cream);
}

.highlight-inner {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}

.highlight-content p {
  font-size: 1.1rem;
  margin: 0 0 1.5rem;
  opacity: 0.95;
}

.highlight .btn-primary {
  background: var(--color-cream);
  color: var(--color-forest);
  border-color: var(--color-cream);
}

.highlight .btn-primary:hover {
  background: var(--color-white);
  color: var(--color-forest);
}

/* Cafe */
.cafe-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .cafe-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cafe-figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
}

.cafe-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cafe-figure:hover img {
  transform: scale(1.03);
}

.menu-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-muted);
}

.menu-list li {
  margin-bottom: 0.35rem;
}

/* Nearby attractions */
.attractions {
  background: var(--color-white);
}

.attractions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.attraction-card {
  background: linear-gradient(145deg, var(--color-cream) 0%, var(--color-white) 100%);
  border: 1px solid rgba(45, 74, 62, 0.12);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.attraction-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.attraction-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-forest);
  margin-bottom: 0.35rem;
}

.attraction-note {
  display: block;
  font-size: 0.9rem;
  color: var(--color-muted);
  line-height: 1.4;
}

/* Transport */
.transport {
  background: var(--color-cream-dark);
}

.transport-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .transport-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.transport-card {
  text-align: center;
  padding: 1.75rem 1.5rem;
}

.transport-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.98rem;
}

.transport-icon {
  display: flex;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  color: var(--color-forest);
}

.transport-icon svg {
  width: 100%;
  height: 100%;
}

.transport-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
  color: var(--color-forest);
}

/* Amenities */
.amenity-grid {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (min-width: 600px) {
  .amenity-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .amenity-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.amenity-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: var(--color-white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(45, 74, 62, 0.1);
  box-shadow: var(--shadow-sm);
}

.amenity-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--color-forest);
}

.amenity-icon svg {
  width: 100%;
  height: 100%;
}

/* Why */
.why {
  background: var(--color-white);
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
  max-width: 640px;
}

.why-list li {
  padding: 0.85rem 1rem 0.85rem 2.5rem;
  position: relative;
  background: var(--color-cream);
  border-radius: var(--radius);
  border: 1px solid rgba(45, 74, 62, 0.08);
}

.why-list li::before {
  content: "✓";
  position: absolute;
  left: 1rem;
  color: var(--color-forest-light);
  font-weight: 700;
}

/* Gallery slider — B'Nest-style captioned carousel */
.gallery-frame {
  max-width: min(980px, 100%);
  margin: 0 auto;
}

.gallery-slider-wrap {
  position: relative;
}

.gallery-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: #1a2822;
  outline: none;
}

.gallery-viewport:focus-visible {
  outline: 2px solid var(--color-forest);
  outline-offset: 3px;
}

.gallery-track {
  display: flex;
  width: 100%;
  transition: transform 0.45s ease;
  will-change: transform;
}

.gallery-slide {
  box-sizing: border-box;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a2822;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: 1.35rem 1.25rem 1rem;
  background: linear-gradient(transparent, rgba(18, 28, 24, 0.88));
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.4vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.gallery-btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-forest);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery-btn-prev {
  left: 0.75rem;
}

.gallery-btn-next {
  right: 0.75rem;
}

.gallery-btn svg {
  width: 22px;
  height: 22px;
}

.gallery-btn:hover {
  background: var(--color-white);
  transform: translateY(-50%) scale(1.06);
}

@media (max-width: 640px) {
  .gallery-slide {
    aspect-ratio: 4 / 3;
  }

  .gallery-btn {
    width: 40px;
    height: 40px;
  }

  .gallery-btn-prev {
    left: 0.4rem;
  }

  .gallery-btn-next {
    right: 0.4rem;
  }

  .gallery-caption {
    padding: 1rem 0.85rem 0.8rem;
    font-size: 1.1rem;
  }
}

.gallery-counter {
  text-align: center;
  margin: 0.9rem 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-muted);
}

.gallery-thumbs {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding: 0.25rem 0.15rem 0.6rem;
  scrollbar-width: thin;
}

.gallery-thumb {
  flex: 0 0 auto;
  width: 88px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--color-cream-dark);
  opacity: 0.7;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
  opacity: 1;
  border-color: var(--color-forest);
  transform: translateY(-2px);
}

.gallery-thumb.is-active {
  box-shadow: var(--shadow-sm);
}

/* Recent Posts — B'Nest / Elfsight-style Instagram widget */
.recent-posts-btn {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1rem;
  border: none;
  border-radius: 999px;
  background: var(--color-forest);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(45, 74, 62, 0.28);
}

.recent-posts-btn-icon {
  font-size: 1.05rem;
  line-height: 1;
}

.recent-posts-btn:hover {
  background: var(--color-forest-light);
}

.recent-posts-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(18, 24, 22, 0.55);
}

.recent-posts-panel {
  position: fixed;
  z-index: 91;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(440px, calc(100vw - 1.5rem));
  max-height: min(88vh, 760px);
  overflow: auto;
  background: var(--color-white);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(18, 24, 22, 0.28);
  padding: 1.25rem 1.2rem 1.4rem;
}

.recent-posts-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.recent-posts-head h2 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--color-forest);
}

.recent-posts-head p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.recent-posts-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--color-cream-dark);
  color: var(--color-text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.recent-posts-close:hover {
  background: var(--color-cream);
}

.recent-posts-network-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.recent-posts-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #f0e6d8;
  background: var(--color-cream);
}

.recent-posts-profile-text h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--color-text);
}

.recent-posts-handle {
  display: inline-block;
  margin-top: 0.1rem;
  color: var(--color-forest);
  font-weight: 600;
  text-decoration: none;
}

.recent-posts-handle:hover {
  text-decoration: underline;
}

.recent-posts-follow {
  margin-left: auto;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  color: var(--color-white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.recent-posts-follow:hover {
  color: var(--color-white);
  opacity: 0.92;
}

.recent-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
}

.recent-posts-grid a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 1;
  background: var(--color-cream-dark);
}

.recent-posts-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.recent-posts-grid a:hover img {
  transform: scale(1.06);
}

.recent-posts-note {
  margin: 0.9rem 0 0.45rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.recent-posts-all {
  font-weight: 700;
  color: var(--color-forest);
  text-decoration: none;
}

.recent-posts-all:hover {
  text-decoration: underline;
}

body.recent-posts-open {
  overflow: hidden;
}

@media (max-width: 520px) {
  .recent-posts-btn {
    left: 0.7rem;
    bottom: 0.7rem;
  }

  .recent-posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .recent-posts-follow {
    margin-left: 0;
  }

  .recent-posts-network-top {
    flex-wrap: wrap;
  }
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  margin: 0;
}

.testimonial p {
  margin: 0 0 1rem;
  font-style: italic;
  color: var(--color-muted);
}

.testimonial footer {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-forest);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.contact-list li {
  margin-bottom: 1rem;
}

.contact-list strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin-bottom: 0.25rem;
}

.contact-list a {
  font-weight: 600;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-forest);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  margin-bottom: 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  border: 1px solid rgba(45, 74, 62, 0.2);
  border-radius: 8px;
  background: var(--color-cream);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-forest-light);
  outline-offset: 1px;
}

.form-note {
  min-height: 1.5rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-forest);
}

.map-wrap {
  margin-top: 1rem;
}

.map-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-forest);
  margin: 0 0 0.75rem;
}

.map-iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* Footer */
.site-footer {
  background: var(--color-forest);
  color: var(--color-cream);
  padding: 3rem 0 2rem;
  margin-top: 2rem;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.footer-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  padding: 4px;
}

.footer-brand-text strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  display: block;
  margin-bottom: 0.35rem;
}

.footer-brand-text p {
  margin: 0;
  opacity: 0.9;
  font-size: 0.95rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}

.footer-nav a {
  color: var(--color-cream);
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover {
  text-decoration: underline;
  color: var(--color-white);
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.footer-contact a {
  color: var(--color-cream);
  text-decoration: none;
  font-weight: 600;
}

.footer-contact a:hover {
  text-decoration: underline;
  color: var(--color-white);
}

.footer-sep {
  opacity: 0.6;
}

.footer-address {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.85;
  max-width: 420px;
  margin-inline: auto;
}

.footer-social {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.footer-social span {
  display: block;
  margin-bottom: 0.5rem;
  opacity: 0.85;
}

.footer-social a {
  color: var(--color-cream);
  margin: 0 0.75rem;
  text-decoration: none;
}

.footer-social a:hover {
  text-decoration: underline;
}

.footer-copy {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Fade-in — only when JS runs (avoids hidden content if script fails) */
html.js .fade-in-section {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js .fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}
