/* Garden House Senior Suites — landing */

:root {
  --green-950: #0b2418;
  --green-900: #123024;
  --green-800: #1b3d2c;
  --green-700: #2a5a40;
  --green-600: #34724f;
  --gold: #c5a059;
  --gold-soft: #d4b56e;
  --gold-pale: #e8d6a8;
  --cream: #f7f3eb;
  --ivory: #fbf8f3;
  --white: #fff;
  --text: #2c2a26;
  --muted: #5e5a54;
  --line: #e6dfd2;
  --wa: #1f8a4c;
  --wa-hover: #187541;
  --error: #8b2e2e;
  --ok: #1f6b45;
  --radius: 16px;
  --header-h: 68px;
  --bar-h: 60px;
  --shadow: 0 10px 32px rgba(11, 36, 24, 0.1);
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", Times, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--ivory);
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--green-700);
}

a:hover {
  color: var(--green-950);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--green-950);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 1000;
}

.skip:focus {
  left: 12px;
  top: 12px;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  padding: 3.25rem 0;
}

.section-alt {
  background: var(--cream);
}

.section h2 {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 4vw, 2.15rem);
  line-height: 1.25;
  font-weight: 600;
  color: var(--green-950);
  margin: 0 0 0.85rem;
}

.lead {
  margin: 0 0 1.25rem;
  color: var(--muted);
  max-width: 40rem;
}

.center {
  text-align: center;
}

.section-cta {
  margin: 1.4rem 0 0;
  text-align: center;
}

.form-wa {
  margin: 0 0 1.2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 650;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn .icon {
  flex: none;
}

.btn-wa {
  background: var(--wa);
  color: var(--white);
}

.btn-wa:hover {
  background: var(--wa-hover);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--green-950);
}

.btn-gold:hover {
  background: var(--gold-soft);
  color: var(--green-950);
}

.btn-outline {
  background: transparent;
  border-color: var(--gold-pale);
  color: var(--cream);
}

.btn-outline:hover {
  background: rgba(197, 160, 89, 0.15);
  color: var(--white);
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--green-700);
  color: var(--green-900);
}

.btn-outline-dark:hover {
  background: var(--green-950);
  color: var(--white);
}

.btn-full {
  width: 100%;
}

.hero-actions {
  display: grid;
  gap: 0.7rem;
  margin: 1.15rem 0 1rem;
}

@media (min-width: 480px) {
  .hero-actions {
    grid-template-columns: 1fr;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(251, 248, 243, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--green-950);
  min-width: 0;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-text strong {
  font-size: 0.92rem;
  line-height: 1.15;
  white-space: nowrap;
}

.brand-text span {
  font-size: 0.72rem;
  color: var(--muted);
}

.header-wa {
  margin-left: auto;
  min-height: 44px;
  padding: 0.45rem 0.85rem;
  font-size: 0.88rem;
}

@media (max-width: 379px) {
  .brand-text {
    display: none;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--green-950);
  cursor: pointer;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

.site-nav {
  display: none;
}

.site-nav.is-open {
  display: block;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--ivory);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 0 1rem;
  box-shadow: var(--shadow);
}

.site-nav a {
  display: block;
  padding: 0.85rem 1.25rem;
  color: var(--green-950);
  text-decoration: none;
  font-weight: 600;
  min-height: 44px;
}

.site-nav a:hover {
  background: var(--cream);
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .header-wa {
    margin-left: 0;
  }

  .site-nav {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: 0.15rem;
  }

  .site-nav.is-open {
    display: flex;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }

  .site-nav a {
    padding: 0.45rem 0.7rem;
    font-size: 0.92rem;
    border-radius: 999px;
  }
}

/* Hero */
.hero {
  background: var(--green-950);
  color: var(--cream);
}

.hero-media {
  height: 38vh;
  min-height: 190px;
  max-height: 260px;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-content {
  padding: 1.4rem 0 2rem;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 6.4vw, 2.7rem);
  line-height: 1.18;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: var(--white);
}

.hero-lead {
  margin: 0;
  color: var(--gold-pale);
  font-size: 1rem;
}

.hero-location {
  margin: 0.35rem 0 0;
  color: rgba(247, 243, 235, 0.78);
  font-size: 0.92rem;
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.checks li {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--gold-pale);
}

.checks svg {
  flex: none;
  margin-top: 0.2rem;
  color: var(--gold);
}

@media (min-width: 768px) {
  .hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 560px;
  }

  .hero-media {
    height: auto;
    min-height: 560px;
    max-height: none;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 7% 3rem 2.25rem;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    max-width: 28rem;
  }
}

@media (min-width: 1100px) {
  .hero-actions {
    grid-template-columns: 1fr 1fr;
    max-width: 34rem;
  }
}

/* Benefits strip */
.benefits {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.benefits ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1rem;
}

.benefits li {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-900);
}

.benefits svg {
  color: var(--gold);
  flex: none;
}

@media (min-width: 900px) {
  .benefits ul {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Split */
.split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.split img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
}

@media (min-width: 860px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .split img {
    height: 420px;
  }
}

/* Service cards */
.cards {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.2rem;
}

.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  color: var(--green-950);
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.card .mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--cream);
  color: var(--green-700);
  margin-bottom: 0.7rem;
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .cards-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Rooms */
.rooms {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.room {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.room img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.room-body {
  padding: 1.1rem 1.15rem 1.3rem;
}

.room h3 {
  margin: 0 0 0.35rem;
  color: var(--green-950);
}

.room p {
  margin: 0;
  color: var(--muted);
}

@media (min-width: 768px) {
  .rooms {
    grid-template-columns: 1fr 1fr;
  }

  .room img {
    height: 280px;
  }
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.gallery-grid a {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  background: var(--line);
}

.gallery-grid img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.04);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 140px;
  }

  .gallery-grid a:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-grid a:nth-child(1) img,
  .gallery-grid img {
    height: 100%;
  }

  .gallery-grid a:nth-child(1) img {
    height: 100%;
    min-height: 288px;
  }
}

/* Why */
.why-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.why-list li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
}

.why-list strong {
  display: block;
  color: var(--green-950);
  margin-bottom: 0.2rem;
}

.why-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .why-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .why-list {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* CTA band */
.cta-band {
  background: var(--green-900);
  color: var(--cream);
  text-align: center;
}

.cta-band h2,
.cta-band .band-title {
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  margin: 0 0 0.6rem;
}

.cta-band p {
  margin: 0 auto 1.2rem;
  max-width: 34rem;
  color: var(--gold-pale);
}

/* Location */
.place-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem;
  display: grid;
  gap: 1rem;
}

.place-card address {
  font-style: normal;
  color: var(--text);
}

.place-card .place-actions {
  display: grid;
  gap: 0.6rem;
}

.map-holder {
  display: none;
  min-height: 240px;
  border-radius: 12px;
  overflow: hidden;
}

.map-holder.is-on {
  display: block;
}

.map-holder iframe {
  width: 100%;
  height: 260px;
  border: 0;
}

@media (min-width: 768px) {
  .place-card {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    padding: 1.6rem;
  }
}

/* Form */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.25rem 1.1rem 1.4rem;
  box-shadow: var(--shadow);
  max-width: 40rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

label {
  display: block;
  font-weight: 650;
  font-size: 0.92rem;
  margin-bottom: 0.35rem;
  color: var(--green-950);
}

.req {
  color: var(--gold);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d8d0c3;
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  background: var(--ivory);
  color: var(--text);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-700);
  background: var(--white);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  margin: 0.7rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.form-errors {
  background: #f8ecec;
  color: var(--error);
  border-radius: 12px;
  padding: 0.8rem 1rem;
  margin-bottom: 1rem;
}

.form-errors ul {
  margin: 0.3rem 0 0;
  padding-left: 1.1rem;
}

/* Footer */
.site-footer {
  background: var(--green-950);
  color: var(--cream);
  padding: 2.5rem 0 calc(1.5rem + env(safe-area-inset-bottom, 0px));
}

.footer-grid {
  display: grid;
  gap: 1.4rem;
}

.footer-brand {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}

.footer-brand img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.site-footer h2,
.site-footer .footer-name {
  margin: 0;
  font-size: 1.05rem;
  color: var(--white);
}

.site-footer p,
.site-footer address {
  margin: 0.25rem 0 0;
  font-style: normal;
  color: rgba(247, 243, 235, 0.78);
  font-size: 0.95rem;
}

.footer-copy {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(232, 214, 168, 0.2);
  font-size: 0.85rem;
  color: rgba(247, 243, 235, 0.6);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr auto;
    align-items: start;
  }
}

/* Floating WhatsApp — desktop */
.float-wa {
  display: none;
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }

  .float-wa {
    display: inline-flex;
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    z-index: 40;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--wa);
    color: var(--white);
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(31, 138, 76, 0.35);
    text-decoration: none;
  }

  .float-wa:hover {
    background: var(--wa-hover);
    color: var(--white);
  }

  .float-wa .icon {
    width: 28px;
    height: 28px;
  }
}

/* Mobile sticky bar */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
  background: rgba(11, 36, 24, 0.96);
  border-top: 1px solid rgba(197, 160, 89, 0.35);
}

.mobile-bar .btn {
  min-height: 46px;
  padding: 0.55rem 0.6rem;
  font-size: 0.92rem;
}

@media (min-width: 768px) {
  .mobile-bar {
    display: none;
  }
}

/* Lightbox */
.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(96vw, 980px);
}

.lightbox::backdrop {
  background: rgba(11, 36, 24, 0.86);
}

.lightbox-inner {
  position: relative;
}

.lightbox img {
  max-height: 86vh;
  width: auto;
  margin: auto;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--green-950);
  color: var(--white);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

/* Thanks */
.thanks {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 3rem 0;
  text-align: center;
}

.thanks-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.4rem;
  border: 1px solid var(--line);
  max-width: 32rem;
}

.thanks-card img {
  width: 84px;
  height: 84px;
  margin: 0 auto 1rem;
  border-radius: 50%;
}

.thanks-card h1 {
  font-family: var(--serif);
  color: var(--green-950);
  margin: 0 0 0.6rem;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .gallery-grid img,
  .btn {
    transition: none;
  }
}
