/* ==========================================================================
   Pinewood Apartments — stylesheet
   Palette: deep pine green + warm cream + brick accent (drawn from the property)
   ========================================================================== */

:root {
  --pine-900: #12291F;
  --pine-800: #1A3A2C;
  --pine-700: #245140;
  --pine-600: #2F6B54;
  --pine-500: #3F8768;

  --brick:      #A9503A;
  --brick-dark: #8C3F2C;

  --cream: #FBF8F3;
  --sand:  #F2ECE2;
  --line:  #E3DACC;

  --ink:   #17201B;
  --body:  #4C574F;
  --muted: #7A857C;

  --white: #ffffff;

  --radius:    14px;
  --radius-lg: 22px;

  --shadow-sm: 0 1px 2px rgba(18,41,31,.06), 0 2px 8px rgba(18,41,31,.05);
  --shadow-md: 0 4px 12px rgba(18,41,31,.08), 0 12px 32px rgba(18,41,31,.08);
  --shadow-lg: 0 10px 30px rgba(18,41,31,.12), 0 30px 60px rgba(18,41,31,.10);

  --container: 1180px;
  --header-h: 76px;

  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(2.15rem, 5.2vw, 3.9rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.28rem; }
h4 { font-size: 1rem; font-family: var(--sans); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--pine-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--pine-600); }

address { font-style: normal; }

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

:focus-visible {
  outline: 3px solid var(--pine-500);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 200;
  background: var(--pine-800);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--radius) var(--radius);
  text-decoration: none;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--brick);
  color: #fff;
  box-shadow: 0 4px 14px rgba(169,80,58,.28);
}
.btn-primary:hover { background: var(--brick-dark); color: #fff; box-shadow: 0 8px 22px rgba(169,80,58,.34); }

.btn-ghost {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.65);
  color: #fff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: #fff; color: var(--pine-800); border-color: #fff; }

.btn-outline {
  background: transparent;
  border-color: var(--pine-700);
  color: var(--pine-700);
}
.btn-outline:hover { background: var(--pine-700); color: #fff; }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,.4);
  color: #fff;
}
.btn-outline-light:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }

.btn-sm { padding: 10px 20px; font-size: .875rem; }
.btn-block { display: flex; width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--brick);
  text-decoration: none;
}
.link-arrow::after {
  content: "→";
  transition: transform .2s var(--ease);
}
.link-arrow:hover { color: var(--brick-dark); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color .3s var(--ease), box-shadow .3s var(--ease), height .3s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(18,41,31,.55), rgba(18,41,31,0));
  transition: opacity .3s var(--ease);
  pointer-events: none;
}
.site-header.is-stuck {
  background: rgba(251,248,243,.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 4px 20px rgba(18,41,31,.06);
}
.site-header.is-stuck::before { opacity: 0; }

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.wordmark-mark {
  width: 30px; height: 30px;
  fill: #fff;
  transition: fill .3s var(--ease);
}
.wordmark-text { display: flex; flex-direction: column; line-height: 1; }
.wordmark-text strong {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -.01em;
  transition: color .3s var(--ease);
}
.wordmark-text em {
  font-style: normal;
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-top: 3px;
  transition: color .3s var(--ease);
}
.is-stuck .wordmark-mark { fill: var(--pine-700); }
.is-stuck .wordmark-text strong { color: var(--pine-800); }
.is-stuck .wordmark-text em { color: var(--muted); }

.site-nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.site-nav a {
  position: relative;
  font-size: .92rem;
  font-weight: 500;
  color: rgba(255,255,255,.92);
  text-decoration: none;
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.site-nav a:hover::after, .site-nav a.is-current::after { transform: scaleX(1); }
.is-stuck .site-nav a { color: var(--body); }
.is-stuck .site-nav a:hover, .is-stuck .site-nav a.is-current { color: var(--pine-700); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .92rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: color .25s var(--ease);
}
.header-phone svg { width: 17px; height: 17px; fill: currentColor; }
.is-stuck .header-phone { color: var(--pine-800); }
.header-phone:hover { color: var(--brick); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  margin-inline: auto;
  background: #fff;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease), background-color .3s var(--ease);
}
.is-stuck .nav-toggle span { background: var(--pine-800); }
.nav-toggle[aria-expanded="true"] span { background: var(--pine-800); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--pine-900);
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(18,41,31,.86) 0%, rgba(18,41,31,.62) 45%, rgba(18,41,31,.30) 100%),
    linear-gradient(to top, rgba(18,41,31,.65), rgba(18,41,31,0) 55%);
}
.hero-content {
  position: relative;
  padding-top: var(--header-h);
  max-width: 860px;
  margin-inline: auto;
  width: 100%;
}
.hero h1 { color: #fff; margin-bottom: .35em; text-wrap: balance; }
.hero-sub {
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,.9);
  max-width: 56ch;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.eyebrow {
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.8);
  margin-bottom: 1rem;
}
.eyebrow-dark { color: var(--brick); }

.scroll-cue {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1.5px solid rgba(255,255,255,.35);
  border-radius: 50%;
  animation: bob 2.4s var(--ease) infinite;
}
.scroll-cue svg { width: 20px; height: 20px; fill: #fff; }
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 7px); }
}

/* ---------- Quick facts ---------- */
.quickfacts {
  background: var(--pine-800);
  color: #fff;
  padding: 34px 0;
}
.quickfacts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.fact { display: flex; flex-direction: column; gap: 4px; }
.fact + .fact { border-left: 1px solid rgba(255,255,255,.14); }
.fact-num {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
}
.fact-label {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.68);
}

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section-sand { background: var(--sand); }
.section-dark { background: var(--pine-800); color: rgba(255,255,255,.82); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-lede { font-size: 1.06rem; color: var(--muted); }
.section-dark .section-lede { color: rgba(255,255,255,.7); }

/* ---------- Split (text + media) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 76px);
  align-items: center;
}
.split-reverse .split-text { order: 2; }
.split-reverse .split-media { order: 1; }

.split-media img,
.split-media iframe {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.split-media img { aspect-ratio: 4 / 3; object-fit: cover; }
.split-media iframe {
  aspect-ratio: 4 / 3;
  border: 0;
  display: block;
  background: var(--line);
}

.check-list { margin: 1.4rem 0 0; display: grid; gap: 11px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 500;
  color: var(--ink);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: .45em;
  width: 17px; height: 17px;
  border-radius: 50%;
  background: var(--pine-600);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9.6 16.4 5.2 12l1.4-1.4 3 3 7-7L18 8z'/%3E%3C/svg%3E");
  background-size: 13px;
  background-position: center;
  background-repeat: no-repeat;
}
.split-text .btn-outline { margin-top: 1.8rem; }

/* ---------- Highlights ---------- */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.highlight {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.highlight:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #D6CCB9;
}
.highlight svg {
  width: 30px; height: 30px;
  fill: var(--pine-600);
  margin-bottom: 16px;
}
.highlight h3 { font-size: 1.12rem; margin-bottom: .35em; }
.highlight p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ---------- Floor plans ---------- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.plan-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.plan-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.plan-card:hover .plan-media img { transform: scale(1.04); }
.plan-badge {
  position: absolute;
  left: 16px; top: 16px;
  background: rgba(18,41,31,.78);
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.plan-body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.plan-body > p { color: var(--muted); font-size: .97rem; }
.plan-features {
  display: grid;
  gap: 9px;
  margin: .4rem 0 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
}
.plan-features li {
  position: relative;
  padding-left: 18px;
  font-size: .95rem;
}
.plan-features li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brick);
}
.plan-body .link-arrow { margin-top: auto; align-self: flex-start; }

/* ---------- Tabs ---------- */
.tabs { max-width: 900px; margin-inline: auto; }
.tab-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 38px;
  padding: 6px;
  background: rgba(255,255,255,.07);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
}
.tab {
  flex: 1 1 auto;
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.tab:hover { color: #fff; background: rgba(255,255,255,.08); }
.tab[aria-selected="true"] { background: var(--cream); color: var(--pine-800); }

.tab-panel { animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.amenity-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 40px;
}
.amenity-list li {
  position: relative;
  padding: 15px 0 15px 32px;
  border-bottom: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.88);
  font-size: .98rem;
}
.amenity-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--pine-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9.6 16.4 5.2 12l1.4-1.4 3 3 7-7L18 8z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

/* ---------- Gallery ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}
.chip {
  font-family: var(--sans);
  font-size: .875rem;
  font-weight: 600;
  color: var(--body);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  transition: background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease);
}
.chip:hover { border-color: var(--pine-600); color: var(--pine-700); transform: translateY(-1px); }
.chip.is-active { background: var(--pine-700); border-color: var(--pine-700); color: #fff; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}
.gitem {
  position: relative;
  padding: 0;
  border: 0;
  background: var(--sand);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), opacity .3s var(--ease);
}
.gitem img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.gitem::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(18,41,31,.42), rgba(18,41,31,0) 55%);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.gitem:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gitem:hover img { transform: scale(1.06); }
.gitem:hover::after { opacity: 1; }
.gitem.is-hidden { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5vh 5vw;
  background: rgba(12,26,20,.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fade .25s var(--ease);
}
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 100%; max-height: 90vh; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lb-figure img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lb-figure figcaption {
  color: rgba(255,255,255,.82);
  font-size: .93rem;
  text-align: center;
}
.lb-close, .lb-nav {
  position: absolute;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background-color .22s var(--ease), transform .22s var(--ease);
  line-height: 1;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.24); }
.lb-close {
  top: 22px; right: 26px;
  width: 46px; height: 46px;
  font-size: 1.9rem;
  padding-bottom: 4px;
}
.lb-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 54px; height: 54px;
  font-size: 2.2rem;
  padding-bottom: 5px;
}
.lb-nav:hover { transform: translateY(-50%) scale(1.06); }
.lb-prev { left: 22px; }
.lb-next { right: 22px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-card {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
}
.contact-card h3 { font-size: 1.18rem; margin-bottom: 1.1em; }

.hours { margin: 0; display: grid; gap: 2px; }
.hours > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.hours dt { color: rgba(255,255,255,.72); font-size: .95rem; }
.hours dd { margin: 0; color: #fff; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.hours .closed dd { color: rgba(255,255,255,.5); font-weight: 500; }
.note { margin-top: 18px; font-size: .875rem; color: rgba(255,255,255,.6); }

.contact-list { display: grid; gap: 18px; margin-bottom: 26px; }
.contact-list li { display: flex; flex-direction: column; gap: 3px; }
.contact-label {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.52);
}
.contact-list a, .contact-list address, .contact-list span:not(.contact-label) {
  color: #fff;
  font-size: 1.02rem;
  font-weight: 500;
  text-decoration: none;
}
.contact-list a:hover { color: #fff; text-decoration: underline; }
.contact-actions { margin-top: auto; display: grid; gap: 11px; }
.contact-cta p { color: rgba(255,255,255,.72); font-size: .97rem; margin-bottom: 1.8rem; }
.contact-cta .btn:first-of-type { margin-top: auto; }
.contact-cta .btn + .btn { margin-top: 11px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--pine-900);
  color: rgba(255,255,255,.65);
  padding: 64px 0 28px;
  font-size: .93rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 44px;
}
.site-footer .wordmark-mark { fill: var(--pine-500); }
.site-footer .wordmark-text strong { color: #fff; }
.site-footer .wordmark-text em { color: rgba(255,255,255,.5); }
.footer-address { margin-top: 20px; line-height: 1.8; }
.footer-address a { color: #fff; text-decoration: none; font-weight: 600; }
.footer-address a:hover { text-decoration: underline; color: #fff; }

.site-footer h4 { color: rgba(255,255,255,.5); font-size: .72rem; letter-spacing: .16em; margin-bottom: 18px; }
.footer-nav { display: flex; flex-direction: column; gap: 11px; align-items: flex-start; }
.footer-nav a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.footer-hours p { line-height: 1.9; margin: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.10);
  padding-top: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.eho { display: inline-flex; align-items: center; gap: 9px; font-size: .8rem; color: rgba(255,255,255,.55); }
.eho svg { width: 24px; height: 24px; fill: rgba(255,255,255,.55); flex-shrink: 0; }
.copyright { margin: 0; font-size: .8rem; color: rgba(255,255,255,.45); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 90;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--pine-800);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background-color .2s var(--ease);
}
.to-top svg { width: 22px; height: 22px; fill: #fff; }
.to-top:hover { background: var(--pine-700); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1000px) {
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  :root { --header-h: 66px; }

  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 12px 24px 24px;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform .35s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }
  .site-nav.is-open { transform: none; }
  .site-nav a {
    color: var(--ink);
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.02rem;
  }
  .site-nav a::after { display: none; }
  .is-stuck .site-nav a { color: var(--ink); }

  .header-phone span { display: none; }
  .header-phone svg { width: 20px; height: 20px; }
  .header-actions .btn-primary { display: none; }

  .split, .plan-grid { grid-template-columns: 1fr; }
  .split-reverse .split-text, .split-reverse .split-media { order: 0; }

  .quickfacts-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
  .fact + .fact { border-left: 0; }
  .fact:nth-child(even) { border-left: 1px solid rgba(255,255,255,.14); }

  .amenity-list { grid-template-columns: 1fr; }

  .lb-nav { width: 44px; height: 44px; font-size: 1.8rem; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-close { top: 12px; right: 12px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding-inline: 20px; }
  .hero { min-height: 88vh; }
  .hero-actions .btn { flex: 1 1 100%; }
  .highlight-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .tab-list { border-radius: var(--radius); }
  .tab { flex: 1 1 45%; padding: 11px 14px; font-size: .86rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section-head { margin-bottom: 38px; }
}

/* ---------- Print / motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
