/* Phoenix Living — Public Website */

:root {
  --graphite: #434340;
  --greige: #BAB09B;
  --navy: #24414E;
  --cream: #E9E3D7;
  --terracotta: #A06B5D;
  --teal: #446B66;
  --grey: #81807B;
  --tan: #B17C58;
  --white: #ffffff;
  --font-body: 'Open Sans', sans-serif;
  --font-heading: 'Open Sans Condensed', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--graphite);
  background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.5em;
}
p { margin: 0 0 1rem; }
a { color: var(--navy); }
img { max-width: 100%; display: block; }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HEADER ── */

.site-header {
  background: var(--graphite);
  height: 72px;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}
.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.header-logo img {
  height: 40px;
  width: auto;
}
.header-logo-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--greige);
  letter-spacing: 0.08em;
}
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header-nav a {
  color: var(--greige);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.header-nav a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.header-nav a.active { color: var(--white); border-bottom: 2px solid var(--tan); padding-bottom: 4px; }
.header-nav a.nav-cta {
  background: var(--teal);
  color: var(--cream);
  border-radius: 6px;
  padding: 8px 16px;
  margin-left: 8px;
}
.header-nav a.nav-cta:hover { background: var(--navy); color: var(--white); border-bottom: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--greige); border-radius: 2px; }

.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--graphite);
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.1);
  z-index: 99;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--greige);
  text-decoration: none;
  padding: 15px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: block;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--white); background: rgba(255,255,255,0.05); }

@media (max-width: 720px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
}

/* ── HERO ── */

.hero {
  background: var(--navy);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.hero p {
  color: var(--greige);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 32px;
  line-height: 1.75;
}

/* ── BUTTONS ── */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  text-align: center;
}
.btn-primary { background: var(--cream); color: var(--navy); }
.btn-primary:hover { background: var(--white); color: var(--navy); }
.btn-secondary { background: var(--teal); color: var(--cream); }
.btn-secondary:hover { background: #365a56; color: var(--white); }
.btn-outline { background: transparent; color: var(--cream); border: 2px solid var(--cream); }
.btn-outline:hover { background: var(--cream); color: var(--navy); }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: #1e3640; color: var(--white); }
.btn-full { width: 100%; }

/* ── SECTIONS ── */

.section { padding: 64px 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-navy { background: var(--navy); }
.section-teal { background: var(--teal); }
.section-graphite { background: var(--graphite); }

.section-title { text-align: center; margin-bottom: 44px; }
.section-title h2 {
  color: var(--navy);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.section-title p { color: var(--grey); font-size: 1rem; max-width: 560px; margin: 12px auto 0; line-height: 1.7; }
.section-title.light h2 { color: var(--white); }
.section-title.light p { color: var(--greige); }

/* ── PAGE BAND ── */

.page-band {
  background: var(--navy);
  padding: 44px 0;
}
.page-band h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}
.page-band p { color: var(--greige); margin: 10px 0 0; font-size: 1rem; }

/* ── VALUE PROPS ── */

.value-props {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.value-prop {
  padding: 36px 28px;
  border-left: 1px solid rgba(0,0,0,0.08);
}
.value-prop:first-child { border-left: none; }
.value-prop h3 {
  color: var(--navy);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--tan);
  display: inline-block;
}
.value-prop p { color: var(--graphite); font-size: 0.93rem; line-height: 1.75; margin: 0; }

@media (max-width: 700px) {
  .value-props { grid-template-columns: 1fr; }
  .value-prop { border-left: none; border-top: 1px solid rgba(0,0,0,0.08); padding: 28px 0; }
  .value-prop:first-child { border-top: none; }
}

/* ── QUOTE BANNER ── */

.quote-banner { background: var(--teal); padding: 56px 0; text-align: center; }
.quote-mark {
  font-size: 5rem;
  line-height: 1;
  color: rgba(255,255,255,0.25);
  font-family: Georgia, serif;
  margin-bottom: -20px;
}
.quote-text {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-style: italic;
  color: var(--cream);
  max-width: 640px;
  margin: 0 auto 20px;
  line-height: 1.75;
}
.quote-attr {
  color: rgba(233,227,215,0.7);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

/* ── CTA BAND ── */

.cta-band { background: var(--navy); padding: 64px 0; text-align: center; }
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 4vw, 2.2rem); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.cta-band p { color: var(--greige); margin-bottom: 32px; font-size: 1.05rem; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── PROPERTY CARDS ── */

.property-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.property-card {
  background: var(--white);
  border: 1px solid #e0dbd2;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}
.property-card:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.1); transform: translateY(-2px); }
.property-photo {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--cream);
  display: block;
}
.property-photo-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.property-body {
  padding: 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.property-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.property-meta {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.property-meta span {
  font-size: 0.8rem;
  color: var(--grey);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.property-desc {
  font-size: 0.9rem;
  color: var(--graphite);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 18px;
}
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.badge-let { background: #f0ede8; color: var(--grey); }
.badge-available { background: #d4edda; color: #1a6b3a; }
.badge-soon { background: #fff3cd; color: #856404; }
.property-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--cream);
  margin-top: auto;
  gap: 12px;
}
.property-price { font-weight: 700; font-size: 0.9rem; color: var(--navy); }

@media (max-width: 700px) { .property-grid { grid-template-columns: 1fr; } }

/* ── TESTIMONIALS ── */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--cream);
  border-radius: 10px;
  padding: 28px 24px 24px;
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  left: 18px;
  font-size: 4.5rem;
  color: var(--greige);
  font-family: Georgia, serif;
  line-height: 1;
  opacity: 0.6;
}
.testimonial-text {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--graphite);
  font-style: italic;
  margin: 28px 0 18px;
}
.testimonial-author { font-weight: 700; font-size: 0.82rem; color: var(--teal); text-transform: uppercase; letter-spacing: 0.1em; }
.testimonial-type { font-size: 0.75rem; color: var(--grey); margin-top: 3px; }

@media (max-width: 700px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ── ABOUT ── */

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.story-text h2 { color: var(--navy); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 20px; }
.story-text p { color: var(--graphite); line-height: 1.8; }
.story-img { width: 100%; border-radius: 10px; aspect-ratio: 4/3; object-fit: cover; background: var(--cream); }
.story-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--cream);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey);
  font-size: 0.85rem;
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 16px;
}
.about-card {
  background: var(--navy);
  border-radius: 10px;
  padding: 32px 28px;
  text-decoration: none;
  display: block;
  transition: transform 0.2s, box-shadow 0.2s;
}
.about-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(36,65,78,0.3); }
.about-card-label { font-size: 0.75rem; color: var(--tan); text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600; margin-bottom: 8px; }
.about-card h3 { color: var(--cream); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 10px; }
.about-card p { color: var(--greige); font-size: 0.88rem; margin: 0; line-height: 1.6; }

@media (max-width: 700px) {
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-cards { grid-template-columns: 1fr; }
}

/* ── INVESTORS ── */

.invest-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.invest-option {
  background: var(--cream);
  border-radius: 10px;
  padding: 36px 32px;
  border-top: 4px solid var(--navy);
}
.invest-option h3 { color: var(--navy); font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.invest-option p { color: var(--graphite); font-size: 0.93rem; line-height: 1.75; margin-bottom: 14px; }
.invest-option ul { list-style: none; padding: 0; margin: 0; }
.invest-option li {
  padding: 7px 0 7px 22px;
  position: relative;
  font-size: 0.9rem;
  color: var(--graphite);
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.invest-option li:last-child { border-bottom: none; }
.invest-option li::before { content: '✓'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

.partner-logos {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.partner-logo {
  height: 48px;
  width: auto;
  opacity: 0.7;
  filter: grayscale(1);
}

@media (max-width: 700px) { .invest-options { grid-template-columns: 1fr; } }

/* ── CONTACT ── */

.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 56px;
  align-items: start;
}
.form-notice {
  background: var(--cream);
  border-left: 4px solid var(--tan);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 24px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--graphite);
}
.form-notice a { color: var(--navy); font-weight: 600; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--graphite);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 7px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  font-family: var(--font-body);
  border: 1px solid #ccc;
  border-radius: 6px;
  background: var(--white);
  color: var(--graphite);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(68,107,102,0.15); }
.form-group textarea { height: 150px; resize: vertical; }
.form-status { margin-top: 14px; padding: 12px 16px; border-radius: 6px; font-size: 0.9rem; display: none; line-height: 1.5; }
.form-status.success { background: #d4edda; color: #1a6b3a; display: block; }
.form-status.error { background: #f8d7da; color: #721c24; display: block; }

.contact-aside h3 { color: var(--navy); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 20px; }
.contact-detail { margin-bottom: 18px; }
.contact-detail-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--grey); margin-bottom: 4px; }
.contact-detail a { color: var(--graphite); text-decoration: none; font-size: 0.95rem; }
.contact-detail a:hover { color: var(--teal); }
.social-row { display: flex; gap: 10px; margin-top: 24px; }
.social-icon {
  width: 38px;
  height: 38px;
  background: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.social-icon:hover { background: var(--navy); color: var(--cream); }

@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ── FOOTER ── */

.site-footer { background: var(--graphite); padding: 52px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand img { height: 44px; width: auto; margin-bottom: 14px; opacity: 0.75; }
.footer-brand p { font-size: 0.85rem; color: var(--greige); line-height: 1.65; margin-bottom: 18px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--greige);
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: rgba(255,255,255,0.18); color: var(--white); }
.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: var(--greige);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 4px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-accreditations { display: flex; align-items: center; gap: 16px; }
.footer-accreditations img { height: 32px; width: auto; opacity: 0.6; filter: brightness(3) saturate(0); }
.footer-copyright { font-size: 0.8rem; color: var(--grey); }

@media (max-width: 700px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── UTILITY ── */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
