/* ============================================================
   Σπίτι στην Κορνοφωλιά stylesheet
   Design language: Forest palette (deep green + sage bone + amber accent)
   Radius rule: buttons = pill, images/cards = 16px, inputs = 10px
   ============================================================ */

@font-face {
  font-family: "Geologica";
  src: url("../fonts/Geologica-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
  font-weight: 500 800;
  font-display: swap;
}
@font-face {
  font-family: "Geologica";
  src: url("../fonts/Geologica-greek.woff2") format("woff2");
  unicode-range: U+0370-03FF, U+1F00-1FFF;
  font-weight: 500 800;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122;
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-greek.woff2") format("woff2");
  unicode-range: U+0370-03FF, U+1F00-1FFF;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --bg: #f1f7ec;
  --surface: #ffffff;
  --surface-tint: #e2edd8;
  --ink: #182018;
  --ink-soft: #4c574d;
  --ink-faint: #7c8579;
  --forest-900: #0e3a23;
  --forest-800: #144a2c;
  --forest-700: #1b6138;
  --forest-500: #2f9c57;
  --accent: #f2a13a;
  --accent-bright: #ffbf5e;
  --accent-ink: #0e3a23;
  --line: rgba(14, 58, 35, 0.14);
  --line-soft: rgba(14, 58, 35, 0.08);
  --shadow-color: 130deg 45% 12%;
  --radius-card: 16px;
  --radius-pill: 999px;
  --radius-input: 10px;
  --container: 1280px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: "Geologica", "Segoe UI", sans-serif;
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex-shrink: 0;
}
.icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: 40px;
  }
}

section {
  padding-block: 64px;
}

section[id] {
  scroll-margin-top: 84px;
}

@media (min-width: 1024px) {
  section {
    padding-block: 96px;
  }
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Manrope", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest-700);
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.5rem);
  color: var(--forest-900);
}

.section-head p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 60ch;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 1px 2px rgba(20, 38, 26, 0.12);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 28px -8px hsl(var(--shadow-color) / 0.4);
  transition: transform 0.4s var(--ease-spring), background 0.25s var(--ease), box-shadow 0.4s var(--ease-spring);
}

.btn-ghost {
  background: transparent;
  color: var(--forest-900);
  border-color: var(--line);
}

.btn-ghost:hover {
  background: var(--surface-tint);
}

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(241, 247, 236, 0.82);
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav.is-scrolled {
  background: rgba(241, 247, 236, 0.96);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 8px 24px -16px hsl(var(--shadow-color) / 0.3);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Geologica", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--forest-900);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--forest-800);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-mark .icon {
  font-size: 18px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav-links a {
  transition: color 0.2s var(--ease);
}
.nav-links a:hover {
  color: var(--forest-900);
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: inline-flex;
  background: none;
  border: none;
  color: var(--forest-900);
  font-size: 22px;
  padding: 6px;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.nav-actions .btn-primary {
  padding: 11px 22px;
  font-size: 0.88rem;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--line-soft);
}
.mobile-menu.is-open {
  display: flex;
}
.mobile-menu a {
  padding: 12px 4px;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft);
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none !important;
  }
}

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

#scroll-sentinel {
  position: absolute;
  height: 1px;
  width: 1px;
  pointer-events: none;
}

.hero {
  padding-block: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  min-height: calc(100dvh - 72px);
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    min-height: calc(100dvh - 73px);
  }
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 24px 48px;
  gap: 22px;
}

@media (min-width: 768px) {
  .hero-copy {
    padding: 40px 40px 56px;
  }
}

@media (min-width: 1024px) {
  .hero-copy {
    padding: 0 6vw 0 40px;
    max-width: 700px;
    margin-inline-start: auto;
  }
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 1.6rem + 2vw, 3.1rem);
  color: var(--forest-900);
}

.hero-copy .lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 6px;
}

.hero-media {
  position: relative;
  min-height: 320px;
}

@media (min-width: 1024px) {
  .hero-media {
    min-height: 100%;
  }
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero entrance */

.hero-copy > * {
  opacity: 0;
}

.hero-copy.is-ready > * {
  animation: heroFadeUp 0.8s var(--ease) forwards;
}

.hero-copy.is-ready > *:nth-child(1) {
  animation-delay: 0.05s;
}
.hero-copy.is-ready > *:nth-child(2) {
  animation-delay: 0.15s;
}
.hero-copy.is-ready > *:nth-child(3) {
  animation-delay: 0.25s;
}
.hero-copy.is-ready > *:nth-child(4) {
  animation-delay: 0.35s;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-media {
  opacity: 0;
  transform: scale(1.04);
}

.hero-media.is-ready {
  animation: heroImageIn 1s var(--ease) 0.1s forwards;
}

@keyframes heroImageIn {
  from {
    opacity: 0;
    transform: scale(1.04);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ---------- Quick facts ---------- */

.facts {
  padding-block: 0;
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.facts-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}

@media (min-width: 640px) {
  .facts-row {
    grid-template-columns: repeat(5, 1fr);
  }
}

.fact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 26px 20px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

@media (min-width: 640px) {
  .fact:nth-child(2n) {
    border-right: 1px solid var(--line-soft);
  }
  .fact:last-child {
    border-right: none;
  }
  .fact {
    border-bottom: none;
    justify-content: center;
  }
}

.fact .icon {
  font-size: 22px;
  color: var(--accent);
  flex-shrink: 0;
}

.fact span {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--forest-900);
}

/* ---------- About ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
  }
}

.about-text .eyebrow {
  margin-bottom: 14px;
}

.about-text h2 {
  font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.4rem);
  color: var(--forest-900);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 58ch;
}

.about-text p + p {
  margin-top: 16px;
}

.about-media {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .about-media {
    aspect-ratio: 3 / 4;
  }
}

/* ---------- Sleeping arrangements ---------- */

.sleep-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .sleep-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sleep-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring);
}

.sleep-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px -20px hsl(var(--shadow-color) / 0.35);
}

.sleep-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.sleep-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sleep-body {
  padding: 20px 22px 24px;
}

.sleep-body h3 {
  font-size: 1.15rem;
  color: var(--forest-900);
  margin-bottom: 6px;
}

.sleep-body p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

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

.gallery-section {
  background: var(--surface-tint);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.88rem;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.filter-btn:hover {
  border-color: var(--forest-500);
}

.filter-btn.is-active {
  background: var(--forest-900);
  border-color: var(--forest-900);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: none;
  padding: 0;
  background: var(--line-soft);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-spring);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item.is-hidden {
  display: none;
}

.gallery-item.is-entering {
  animation: itemPop 0.5s var(--ease) backwards;
}

@keyframes itemPop {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(9, 20, 13, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.lightbox.is-open {
  display: flex;
  opacity: 1;
}

.lightbox-frame {
  position: relative;
  width: 100%;
  max-width: 1100px;
  transform: scale(0.96);
  transition: transform 0.35s var(--ease-spring);
}

.lightbox.is-open .lightbox-frame {
  transform: scale(1);
}

.lightbox-frame img {
  width: 100%;
  max-height: 82dvh;
  object-fit: contain;
  border-radius: 12px;
  transition: opacity 0.2s var(--ease);
}

.lightbox-caption {
  color: rgba(242, 245, 238, 0.75);
  font-size: 0.9rem;
  margin-top: 14px;
  text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(242, 245, 238, 0.12);
  border: 1px solid rgba(242, 245, 238, 0.25);
  color: #f2f5ee;
  border-radius: var(--radius-pill);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.2s var(--ease);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(242, 245, 238, 0.24);
}

.lightbox-close {
  top: -58px;
  right: 0;
}

.lightbox-prev {
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: -8px;
  top: 50%;
  transform: translateY(-50%);
}

@media (min-width: 768px) {
  .lightbox-prev {
    left: -60px;
  }
  .lightbox-next {
    right: -60px;
  }
}

/* ---------- Amenities ---------- */

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 640px) {
  .amenities-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.amenity {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 20px;
  background: var(--surface);
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
}

.amenity .icon {
  font-size: 26px;
  color: var(--forest-700);
}

.amenity span {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--forest-900);
}

/* ---------- Outdoor feature ---------- */

.outdoor {
  background: var(--forest-900);
  color: #f2f5ee;
}

.outdoor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .outdoor-grid {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 64px;
  }
  .outdoor-grid .outdoor-media {
    order: 2;
  }
}

.outdoor-text h2 {
  font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.4rem);
  color: #fff;
  margin-bottom: 18px;
}

.outdoor-text p {
  color: rgba(242, 245, 238, 0.78);
  font-size: 1.05rem;
  max-width: 52ch;
  margin-bottom: 28px;
}

.outdoor-media {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.outdoor-photo {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: none;
  padding: 0;
  background: var(--line-soft);
  display: block;
  width: 100%;
  height: 100%;
}

.outdoor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-spring);
}

.outdoor-photo:hover img {
  transform: scale(1.06);
}

@media (min-width: 768px) {
  .outdoor-media {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 110px);
    grid-template-areas:
      "a a b"
      "a a c"
      "d e f";
  }

  .outdoor-photo,
  .outdoor-photo.is-featured {
    aspect-ratio: auto;
  }

  .outdoor-photo:nth-child(1) {
    grid-area: a;
  }
  .outdoor-photo:nth-child(2) {
    grid-area: b;
  }
  .outdoor-photo:nth-child(3) {
    grid-area: c;
  }
  .outdoor-photo:nth-child(4) {
    grid-area: d;
  }
  .outdoor-photo:nth-child(5) {
    grid-area: e;
  }
  .outdoor-photo:nth-child(6) {
    grid-area: f;
  }
}

@media (min-width: 1024px) {
  .outdoor-media {
    grid-template-rows: repeat(3, 90px);
  }
}

/* ---------- Points of interest ---------- */

.poi-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
  margin: 0 -24px;
  padding-inline: 24px;
}

@media (min-width: 768px) {
  .poi-row {
    margin: 0 -40px;
    padding-inline: 40px;
  }
}

.poi-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: var(--surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring);
}

.poi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 36px -20px hsl(var(--shadow-color) / 0.3);
}

.poi-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.poi-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-spring);
}

.poi-card:hover .poi-media img {
  transform: scale(1.06);
}

.poi-body {
  padding: 16px 18px 20px;
}

.poi-body h3 {
  font-size: 1.05rem;
  color: var(--forest-900);
  margin-bottom: 6px;
}

.poi-body p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- Location ---------- */

.location-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 1024px) {
  .location-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 56px;
  }
}

.location-text h2 {
  font-size: clamp(1.7rem, 1.4rem + 1.4vw, 2.4rem);
  color: var(--forest-900);
  margin-bottom: 18px;
}

.location-text p {
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 52ch;
}

.location-text p + p {
  margin-top: 16px;
}

@media (min-width: 900px) {
  #location-paragraphs {
    column-count: 2;
    column-gap: 32px;
  }

  #location-paragraphs p {
    break-inside: avoid;
    max-width: none;
  }
}

.location-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-weight: 700;
  color: var(--forest-700);
}

.location-map-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.location-map {
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 320px;
}

@media (min-width: 900px) {
  .location-map {
    height: 460px;
  }
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.location-directions {
  align-self: flex-start;
}

/* ---------- Contact / CTA ---------- */

.cta {
  background: var(--surface);
}

.cta-panel {
  background: var(--forest-800);
  border-radius: 28px;
  padding: 56px 32px;
  text-align: center;
  color: #fff;
}

@media (min-width: 768px) {
  .cta-panel {
    padding: 72px 64px;
  }
}

.cta-panel h2 {
  font-size: clamp(1.8rem, 1.5rem + 1.6vw, 2.6rem);
  max-width: 20ch;
  margin-inline: auto;
}

.cta-panel p {
  color: rgba(242, 245, 238, 0.78);
  margin-top: 16px;
  font-size: 1.05rem;
  max-width: 48ch;
  margin-inline: auto;
}

.cta-methods {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

.cta-method {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(242, 245, 238, 0.25);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.cta-method:hover {
  background: rgba(242, 245, 238, 0.1);
  transform: translateY(-2px);
}

.cta-method .icon {
  font-size: 18px;
  color: var(--accent);
}

.cta-method.is-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: transparent;
}
.cta-method.is-primary .icon {
  color: var(--accent-ink);
}
.cta-method.is-primary:hover {
  background: var(--accent-bright);
}

/* ---------- Brand hero (home page) ---------- */

.brand-hero {
  padding-block: 72px;
  text-align: center;
}

@media (min-width: 768px) {
  .brand-hero {
    padding-block: 120px 96px;
  }
}

.brand-hero-inner {
  max-width: 760px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.brand-hero .eyebrow {
  color: var(--forest-700);
}

.brand-hero h1 {
  font-size: clamp(2.2rem, 1.7rem + 2.4vw, 3.4rem);
  color: var(--forest-900);
  line-height: 1.1;
}

.brand-hero .lede {
  font-size: 1.1rem;
  color: var(--ink-soft);
  max-width: 50ch;
}

/* ---------- Listings grid (home page) ---------- */

.listings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding-bottom: 96px;
}

@media (min-width: 768px) {
  .listings-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

.listing-card {
  display: block;
  background: var(--surface);
  border-radius: var(--radius-card);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring);
}

.listing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px -20px hsl(var(--shadow-color) / 0.35);
}

.listing-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.listing-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-spring);
}

.listing-card:hover .listing-media img {
  transform: scale(1.06);
}

.listing-body {
  padding: 24px 26px 28px;
}

.listing-body .eyebrow {
  color: var(--forest-700);
  margin-bottom: 10px;
}

.listing-body h2 {
  font-size: 1.4rem;
  color: var(--forest-900);
  margin-bottom: 8px;
}

.listing-body p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-bottom: 18px;
}

.listing-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--forest-900);
}

.listing-cta .icon {
  font-size: 16px;
  color: var(--accent);
  transition: transform 0.3s var(--ease-spring);
}

.listing-card:hover .listing-cta .icon {
  transform: translateX(4px);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--forest-900);
  color: rgba(242, 245, 238, 0.72);
  padding-block: 48px;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

@media (min-width: 768px) {
  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer .brand {
  color: #fff;
  margin-bottom: 10px;
}
.footer .brand .brand-mark {
  background: rgba(242, 245, 238, 0.12);
}

.footer-note {
  max-width: 34ch;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(242, 245, 238, 0.14);
  font-size: 0.82rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--stagger, 0) * 80ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
