:root {
  --sky-top: #dcecf3;
  --sky-bottom: #f8efe7;
  --water-1: #a9c9d6;
  --water-2: #c7dfe7;
  --sand: #f4e7d8;
  --wood: #b58263;
  --wood-dark: #8a6248;
  --rose: #df8fa0;
  --rose-dark: #c96f82;
  --text: #3f3a38;
  --text-soft: #6b625d;
  --card: rgba(255, 255, 255, 0.72);
  --line: rgba(90, 70, 55, 0.10);
  --shadow: 0 20px 40px rgba(78, 60, 46, 0.08);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.72), transparent 30%),
    linear-gradient(to bottom, var(--sky-top), var(--sky-bottom) 40%, #fcfaf7 100%);
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.01em;
}

p { margin: 0; }
a { color: inherit; }

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.7), transparent 22%),
    radial-gradient(circle at 80% 16%, rgba(255,255,255,0.5), transparent 18%),
    radial-gradient(circle at 50% 8%, rgba(255,248,240,0.85), transparent 24%);
  z-index: -3;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 10%;
  height: 24vh;
  min-height: 130px;
  background:
    radial-gradient(ellipse at top, rgba(255,255,255,0.20), transparent 50%),
    linear-gradient(to bottom, var(--water-2), var(--water-1));
  border-radius: 45% 55% 0 0 / 100% 100% 0 0;
  z-index: -2;
  filter: blur(1px);
  animation: waterMove 10s ease-in-out infinite alternate;
}

@keyframes waterMove {
  from { transform: translateX(-1.5%) scaleY(1); }
  to { transform: translateX(1.5%) scaleY(1.04); }
}

.hero-inner {
  width: min(100%, 980px);
  text-align: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 34px;
  background: rgba(255,255,255,0.28);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  color: var(--text-soft);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.3rem, 8vw, 5.6rem);
  line-height: 1.05;
}

.hero .lead {
  max-width: 44rem;
  margin: 1rem auto 0;
  font-size: clamp(1rem, 2.8vw, 1.25rem);
  line-height: 1.75;
  color: var(--text-soft);
}

.hearts-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 5vw, 2rem);
  margin: clamp(1.75rem, 5vw, 2.5rem) 0 1.5rem;
  flex-wrap: wrap;
}

.pulse-glow {
  width: clamp(20px, 6vw, 34px);
  height: clamp(20px, 6vw, 34px);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,255,255,0.95), rgba(223,143,160,0.35) 60%, transparent 75%);
  animation: glowPulse 1.25s infinite ease-in-out;
  filter: blur(0.2px);
}

@keyframes glowPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.75; }
  50% { transform: scale(1.18); opacity: 1; }
}

.heart {
  position: relative;
  width: clamp(54px, 12vw, 92px);
  aspect-ratio: 1;
  background: var(--rose);
  transform: rotate(-45deg);
  box-shadow: 0 18px 30px rgba(201, 111, 130, 0.26);
  will-change: transform;
}

.heart::before,
.heart::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--rose);
  border-radius: 50%;
}

.heart::before { top: -50%; left: 0; }
.heart::after { top: 0; left: 50%; }
.heart.left { animation: beatLeft 1.25s infinite ease-in-out; }
.heart.right { animation: beatRight 1.25s infinite ease-in-out; }

@keyframes beatLeft {
  0%, 100% { transform: rotate(-45deg) scale(1); }
  22% { transform: rotate(-45deg) scale(1.06); }
  34% { transform: rotate(-45deg) scale(0.98); }
  52% { transform: rotate(-45deg) scale(1.13); }
}

@keyframes beatRight {
  0%, 100% { transform: rotate(-45deg) scale(1); }
  16% { transform: rotate(-45deg) scale(1.03); }
  40% { transform: rotate(-45deg) scale(1.11); }
  60% { transform: rotate(-45deg) scale(1.02); }
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: rgba(255,255,255,0.88);
  box-shadow: 0 10px 26px rgba(0,0,0,0.05);
}

.btn-secondary {
  background: rgba(255,255,255,0.26);
  border-color: rgba(255,255,255,0.45);
  backdrop-filter: blur(4px);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}


main {
  position: relative;
  padding-bottom: 3rem;
}

section {
  padding: clamp(3.25rem, 8vw, 6.5rem) 0;
}

.section-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2rem);
}

.section-heading {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 2rem;
}

.section-heading h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 5vw, 3.3rem);
  line-height: 1.1;
}

.section-heading p {
  color: var(--text-soft);
  line-height: 1.8;
  font-size: clamp(1rem, 2.2vw, 1.1rem);
}

.refuge-grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.cabin-scene {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.6), rgba(255,255,255,0.15)),
    linear-gradient(to bottom, #d7ebf1 0%, #f6e8da 100%);
  border: 1px solid rgba(255,255,255,0.5);
}

.scene-water {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: linear-gradient(to bottom, #bddbe4, #9ec4d1);
}

.scene-water::before,
.scene-water::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  height: 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.25);
  animation: ripple 6s infinite linear;
}

.scene-water::before { top: 22%; }
.scene-water::after { top: 54%; animation-duration: 8s; }

@keyframes ripple {
  from { transform: translateX(-2%); }
  to { transform: translateX(2%); }
}

.cabin-photo-section {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.cabin-photo-card {
  margin: 0 auto 1.75rem;
  max-width: 760px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.cabin-photo {
  display: block;
  width: 100%;
  height: auto;
}

.refuge-text {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.refuge-text p {
  line-height: 1.8;
  color: var(--text);
}

.quote {
  margin-top: 0.5rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid rgba(201, 111, 130, 0.35);
  background: rgba(255, 255, 255, 0.46);
  border-radius: 0 16px 16px 0;
  color: var(--text-soft);
  line-height: 1.7;
  font-style: italic;
}

.walks-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.walk-card {
  padding: 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 28px rgba(0,0,0,0.04);
  min-height: 100%;
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.walk-card:nth-child(1) {
  background: #eef6f8;
}
.walk-card:nth-child(1):hover {
  background: #e6f1f4;
}

.walk-card:nth-child(2) {
  background: #f6efe9;
}
.walk-card:nth-child(2):hover {
  background: #f2e8e0;
}

.walk-card:nth-child(3) {
  background: #f8eee6;
}
.walk-card:nth-child(3):hover {
  background: #f3e7dd;
}

.walk-card:nth-child(4) {
  background: #f8edf2;
}
.walk-card:nth-child(4):hover {
  background: #f3e6ec;
}

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

.reason {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.65);
  color: var(--text-soft);
  line-height: 1.75;
}

.reason.visible {
  opacity: 1;
  transform: translateY(0);
}

.final-section {
  text-align: center;
}

.final-box {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 32px;
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.7), transparent 40%),
    rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.5);
  box-shadow: var(--shadow);
}

.final-box h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.final-box p {
  max-width: 44rem;
  margin: 0.5rem auto 0;
  color: var(--text-soft);
  line-height: 1.8;
  font-size: clamp(1rem, 2.2vw, 1.12rem);
}

.signature {
  margin-top: 1.5rem;
  font-family: Georgia, serif;
  font-size: 1.1rem;
  color: var(--text);
}

footer {
  padding: 1.5rem 1rem 2rem;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 760px) {
  .refuge-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .walks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

.back-to-top {
  position: fixed;
  right: clamp(12px, 3vw, 24px);
  bottom: clamp(12px, 3vw, 24px);
  width: clamp(44px, 7vw, 52px);
  height: clamp(44px, 7vw, 52px);
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.10);
  backdrop-filter: blur(8px);
  cursor: pointer;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;

  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease,
    transform 0.3s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
  outline: none;
}

@media (max-width: 480px) {
  .back-to-top {
    right: 14px;
    bottom: 14px;
  }
}