:root {
  --forest: #1f3d32;
  --forest-deep: #142820;
  --sage: #3d6b56;
  --sage-soft: #d8e6de;
  --leaf: #5a8f72;
  --gold: #c4a35a;
  --gold-soft: #f0e6cc;
  --sand: #f3efe6;
  --sand-deep: #e7e0d2;
  --ink: #1a2420;
  --muted: #5c6b63;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(20, 40, 32, 0.12);
  --radius: 18px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(90, 143, 114, 0.18), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(196, 163, 90, 0.14), transparent 50%),
    linear-gradient(180deg, #f7f4ee 0%, var(--sand) 40%, #efe9dc 100%);
  line-height: 1.65;
}

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

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

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--forest-deep);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

h3 {
  font-size: 1.55rem;
}

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

.section-head.light h2,
.section-head.light .eyebrow {
  color: var(--gold-soft);
}

.section-head.light h2 {
  color: var(--white);
}

.section-sub {
  color: var(--muted);
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 1.45rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--sage), var(--forest));
  color: var(--white);
  font: 500 0.95rem var(--font-body);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 24px rgba(31, 61, 50, 0.25);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(31, 61, 50, 0.3);
}

.btn-sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: none;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Top bar & header */
.top-bar {
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
}

.top-bar-inner {
  display: flex;
  justify-content: flex-end;
  gap: 1.5rem;
  padding: 0.55rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(247, 244, 238, 0.88);
  border-bottom: 1px solid rgba(31, 61, 50, 0.08);
  transition: box-shadow 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 8px 30px rgba(20, 40, 32, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--forest), var(--sage));
  color: var(--gold-soft);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--forest-deep);
}

.brand-text small {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.site-nav a {
  font-size: 0.92rem;
  color: var(--forest);
  font-weight: 500;
}

.site-nav a:not(.btn):hover {
  color: var(--leaf);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 8px;
  background: var(--forest);
  border-radius: 2px;
  transition: 0.2s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slowZoom 22s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(20, 40, 32, 0.88) 0%, rgba(20, 40, 32, 0.55) 48%, rgba(20, 40, 32, 0.28) 100%),
    linear-gradient(to top, rgba(20, 40, 32, 0.75), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 6rem 0 4.5rem;
  max-width: 760px;
  margin-left: max(1.25rem, calc((100% - 1120px) / 2));
  margin-right: auto;
  animation: riseIn 0.9s ease both;
}

.hero h1 {
  color: var(--white);
}

.hero-lead {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 560px;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Services */
.services,
.facilities,
.gallery,
.testimonials {
  padding: 5rem 0;
}

.card-grid.four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 61, 50, 0.08);
  border-radius: var(--radius);
  padding: 1.6rem 1.35rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
}

.icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--sage-soft);
  color: var(--forest);
  margin-bottom: 1rem;
}

.icon-wrap svg {
  width: 24px;
  height: 24px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Facilities */
.facility-stack {
  display: grid;
  gap: 1.5rem;
}

.facility-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  background: rgba(255, 255, 255, 0.7);
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid rgba(31, 61, 50, 0.08);
  box-shadow: var(--shadow);
  min-height: 280px;
}

.facility-row.reverse {
  direction: rtl;
}

.facility-row.reverse > * {
  direction: ltr;
}

.facility-row img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.facility-row > div {
  padding: 2rem 2.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.facility-row p {
  color: var(--muted);
  margin: 0;
}

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

.check-list li {
  position: relative;
  padding-left: 1.55rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--leaf));
}

.check-list.light li {
  color: rgba(255, 255, 255, 0.88);
}

/* Living */
.living {
  padding: 5rem 0;
  background:
    linear-gradient(135deg, rgba(31, 61, 50, 0.96), rgba(61, 107, 86, 0.92)),
    url("images/garden-path.jpg") center/cover;
  color: var(--white);
}

.living-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.living h2 {
  color: var(--white);
}

.living .btn {
  margin-top: 1.25rem;
  background: linear-gradient(135deg, var(--gold), #a8873f);
  color: var(--forest-deep);
}

.living-panel {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
}

.living-panel h3 {
  color: var(--gold-soft);
}

.living-panel p {
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 1rem;
}

.living-panel p:last-child {
  margin-bottom: 0;
}

/* Stats */
.stats {
  padding: 4.5rem 0;
  background: var(--forest-deep);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.gallery-grid figure {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.06);
}

.gallery-grid figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(to top, rgba(20, 40, 32, 0.8), transparent);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.review-card {
  margin: 0;
  background: rgba(255, 255, 255, 0.78);
  border-radius: var(--radius);
  padding: 1.6rem;
  border: 1px solid rgba(31, 61, 50, 0.08);
  box-shadow: var(--shadow);
}

.stars {
  color: var(--gold);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.review-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-style: italic;
}

.review-card footer {
  font-weight: 600;
  color: var(--forest);
  font-size: 0.92rem;
}

/* Contact */
.cta {
  padding: 5rem 0 3.5rem;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.85), rgba(216, 230, 222, 0.65));
  border: 1px solid rgba(31, 61, 50, 0.08);
  border-radius: calc(var(--radius) + 6px);
  padding: 2.25rem;
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 0.9rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--forest);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(31, 61, 50, 0.15);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  font: 400 0.95rem var(--font-body);
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(90, 143, 114, 0.35);
  border-color: var(--leaf);
}

.form-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--sage);
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.contact-details strong {
  display: block;
  color: var(--forest);
  margin-bottom: 0.25rem;
}

.contact-details p {
  margin: 0;
  color: var(--muted);
}

.location-block {
  margin-top: 1.25rem;
}

.map-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(31, 61, 50, 0.1);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.map-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(20, 40, 32, 0.14);
}

.map-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #e8f0fe;
}

.map-link-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
  min-width: 0;
}

.map-link-text strong {
  color: var(--forest-deep);
  font-size: 1rem;
}

.map-link-text small {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 1.75rem 0;
  font-size: 0.9rem;
}

.footer-inner {
  display: grid;
  gap: 0.4rem;
}

.footer-note {
  margin: 0;
  opacity: 0.75;
  font-size: 0.8rem;
}

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

@keyframes slowZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

@media (max-width: 980px) {
  .card-grid.four,
  .stats-grid,
  .gallery-grid,
  .testimonial-grid,
  .living-grid,
  .cta-inner,
  .contact-details {
    grid-template-columns: 1fr 1fr;
  }

  .facility-row,
  .facility-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(247, 244, 238, 0.98);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.35rem;
    border-bottom: 1px solid rgba(31, 61, 50, 0.08);
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 0.7rem 0.4rem;
  }

  .top-bar-inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
  }

  .hero-content {
    margin-left: 1.25rem;
    margin-right: 1.25rem;
    width: auto;
  }

  .card-grid.four,
  .stats-grid,
  .gallery-grid,
  .testimonial-grid,
  .living-grid,
  .cta-inner,
  .contact-details {
    grid-template-columns: 1fr;
  }

  .services,
  .facilities,
  .gallery,
  .testimonials,
  .living,
  .cta {
    padding: 3.5rem 0;
  }
}
