/* Cactus Acres Assisted Living — shared styles */

:root {
  --sand:       #f6efe6;
  --sand-deep:  #ece0cf;
  --terracotta: #c06b4a;
  --terracotta-deep: #a4543a;
  --sage:       #7c8a6b;
  --cactus:     #4f6b52;
  --cactus-deep:#3c5340;
  --ink:        #362f28;
  --muted:      #6f6358;
  --white:      #ffffff;
  --line:       #e6dccd;
  --shadow:     0 10px 30px rgba(54,47,40,0.08);
  --radius:     12px;
  --wrap:       1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--cactus); text-decoration: none; transition: color .2s; }
a:hover { color: var(--terracotta); }

h1, h2, h3, h4 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 700; line-height: 1.1; color: var(--cactus-deep); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section.sand { background: var(--sand); }
.eyebrow { text-transform: uppercase; letter-spacing: .28em; font-size: .78rem; font-weight: 700; color: var(--terracotta); margin-bottom: .8rem; }
.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--muted); font-weight: 300; }
.narrow { max-width: 720px; }
.center.narrow { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-block; padding: 14px 30px; border-radius: 999px; font-weight: 700; font-size: .95rem; letter-spacing: .02em; cursor: pointer; border: 2px solid transparent; transition: all .2s; }
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-deep); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn-ghost:hover { background: #fff; color: var(--cactus-deep); }
.btn-outline { background: transparent; color: var(--cactus); border-color: var(--cactus); }
.btn-outline:hover { background: var(--cactus); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand svg { width: 46px; height: 46px; flex-shrink: 0; }
.brand-text { font-family: "Cormorant Garamond", serif; font-weight: 700; font-size: 1.5rem; color: var(--cactus-deep); line-height: 1.05; white-space: nowrap; }
.brand-text span { display: block; font-family: "Nunito Sans", sans-serif; font-weight: 600; font-size: .6rem; letter-spacing: .22em; text-transform: uppercase; color: var(--terracotta); margin-top: 3px; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .95rem; }
.nav-links a.active, .nav-links a:hover { color: var(--terracotta); }
.nav-cta { display: flex; align-items: center; gap: 18px; margin-left: 28px; }
.nav-cta .btn { white-space: nowrap; }
.nav-phone { font-weight: 700; color: var(--cactus-deep); white-space: nowrap; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--cactus-deep); margin: 5px 0; transition: .3s; }

/* Hero */
.hero { position: relative; min-height: 620px; display: flex; align-items: center; color: #fff;
  background: linear-gradient(90deg, rgba(30,38,30,.78) 0%, rgba(30,38,30,.55) 45%, rgba(30,38,30,.28) 100%), url("../img/hero-home.jpg") center/cover no-repeat; }
.hero-inner { max-width: 680px; padding: 60px 0; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero .eyebrow { color: #f0d3ad; }
.hero p { font-size: 1.25rem; margin-bottom: 2rem; color: rgba(255,255,255,.94); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Page banner (interior pages) */
.banner { background: var(--cactus-deep); color: #fff; padding: 70px 0; text-align: center; }
.banner h1 { color: #fff; }
.banner .eyebrow { color: #f0d3ad; }
.banner p { color: rgba(255,255,255,.9); max-width: 640px; margin: .6rem auto 0; }

/* Feature grid */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.card .ico { width: 48px; height: 48px; margin-bottom: 16px; color: var(--terracotta); }
.card h3 { color: var(--cactus-deep); margin-bottom: .5rem; }
.card p { color: var(--muted); margin: 0; }

/* Split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-media { order: 2; }

/* Photo placeholder */
.photo-ph { position: relative; border-radius: var(--radius); overflow: hidden; background:
  linear-gradient(135deg, var(--sand-deep), var(--sand)); border: 1px dashed rgba(124,138,107,.5);
  display: flex; align-items: center; justify-content: center; min-height: 320px; text-align: center; color: var(--muted); }
.photo-ph .ph-inner { padding: 20px; }
.photo-ph svg { width: 40px; height: 40px; opacity: .55; margin-bottom: 10px; }
.photo-ph small { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-grid .photo-ph { min-height: 240px; }

/* Amenity list */
.amenity-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; }
.amenity-list li { position: relative; padding-left: 30px; color: var(--ink); }
.amenity-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--sage); box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--sage); }

/* Pricing */
.price-card { text-align: center; border-top: 4px solid var(--terracotta); }
.price-card .amount { font-family: "Cormorant Garamond", serif; font-size: 2.6rem; color: var(--cactus-deep); font-weight: 700; }
.price-card .amount small { font-size: 1rem; color: var(--muted); font-weight: 400; }

/* CTA strip */
.cta-strip { background: linear-gradient(120deg, var(--cactus-deep), var(--cactus)); color: #fff; text-align: center; padding: 72px 0; }
.cta-strip h2 { color: #fff; }
.cta-strip p { color: rgba(255,255,255,.9); max-width: 560px; margin: .5rem auto 1.8rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--cactus-deep); }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--sage); box-shadow: 0 0 0 3px rgba(124,138,107,.18); }
.contact-detail { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-detail svg { width: 24px; height: 24px; color: var(--terracotta); flex-shrink: 0; margin-top: 3px; }
.contact-detail b { color: var(--cactus-deep); display: block; }

/* Footer */
.site-footer { background: var(--ink); color: #cbbfb2; padding: 60px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr; gap: 40px; margin-bottom: 40px; }
.site-footer h4 { color: #fff; font-family: "Nunito Sans", sans-serif; font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #cbbfb2; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-brand svg { width: 46px; height: 46px; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; text-align: center; font-size: .85rem; color: #9a8e80; }

/* Utility */
.mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .section { padding: 60px 0; }
  .nav-links { position: fixed; inset: 76px 0 auto 0; background: #fff; flex-direction: column; gap: 0; padding: 10px 24px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(-140%); transition: transform .3s; }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 14px 0; }
  .nav-toggle { display: block; }
  .nav-phone { display: none; }
  .nav-cta { margin-left: 0; }
  .nav-cta .btn { display: none; }
  .grid-3, .grid-2, .amenity-list, .gallery-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 520px; }
}
