/* ============================================================
   DRMB Property Management — Staging Site Stylesheet
   Brand palette derived from DRMB-Logo-SVG.svg
   --primary-dark : #1b5e20  (deep forest green, logo mark fill)
   --primary      : #4caf50  (medium green, logo accent)
   --primary-light: #e8f5e9  (very light green tint)
   --accent       : #2e7d32  (mid-dark green, hover states)
   --text-dark    : #1a1a1a  (near-black body text)
   --text-mid     : #4a5c4b  (muted green-grey subtext)
   --surface      : #f5f7f5  (off-white page background)
   --white        : #ffffff
   ============================================================ */

:root {
  --primary-dark: #1b5e20;
  --primary: #4caf50;
  --primary-light: #e8f5e9;
  --accent: #2e7d32;
  --text-dark: #1a1a1a;
  --text-mid: #4a5c4b;
  --surface: #f5f7f5;
  --white: #ffffff;
  --border: #c8e6c9;
  --shadow: 0 2px 12px rgba(27, 94, 32, 0.10);
  --shadow-md: 0 4px 24px rgba(27, 94, 32, 0.14);
  --radius: 6px;
  --radius-lg: 12px;
  --max-width: 1140px;
  --header-height: 72px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Georgia', 'Times New Roman', serif;
  background: var(--surface);
  color: var(--text-dark);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
  font-family: 'Georgia', serif;
  color: var(--primary-dark);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

/* ---- Layout helpers ---- */
.container {
  width: min(var(--max-width), 100% - 2rem);
  margin-inline: auto;
}
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }
.text-muted { color: var(--text-mid); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: 'Georgia', serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  border: 2px solid transparent;
  text-align: center;
}
.btn-primary {
  background: var(--primary-dark);
  color: var(--white);
  border-color: var(--primary-dark);
}
.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border-color: var(--primary-dark);
}
.btn-outline:hover {
  background: var(--primary-dark);
  color: var(--white);
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-light {
  background: var(--white);
  color: var(--primary-dark);
  border-color: var(--white);
}
.btn-light:hover {
  background: var(--primary-light);
  text-decoration: none;
  transform: translateY(-1px);
}

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 2px solid var(--border);
  box-shadow: var(--shadow);
  height: var(--header-height);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.site-logo img {
  height: 48px;
  width: auto;
}
.site-nav ul {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.site-nav a {
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.site-nav a:hover,
.site-nav a.active { color: var(--primary-dark); text-decoration: none; font-weight: 700; }
.site-nav .btn { font-size: 0.9rem; padding: 0.5rem 1.25rem; }

/* Header phone number */
.header-phone {
  font-family: 'Georgia', serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
  margin-left: 1.5rem;
  white-space: nowrap;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
.header-phone:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary-dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.85);
  padding: 48px 0 32px;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
.site-footer h4 {
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer p,
.site-footer a,
.site-footer li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}
.site-footer a:hover { color: var(--primary); text-decoration: none; }
.footer-logo { margin-bottom: 1rem; }
.footer-logo img { height: 40px; width: auto; opacity: 0.92; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin: 0; }

/* ---- DRAFT BANNER ---- */
.draft-banner {
  background: #fff3cd;
  border: 2px solid #f0b429;
  color: #7a4f00;
  padding: 0.75rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ---- HERO ---- */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 60%, #388e3c 100%);
  color: var(--white);
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='28'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero p { font-size: 1.15rem; color: rgba(255,255,255,0.88); margin-bottom: 2rem; max-width: 560px; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  padding: 0.3rem 0.85rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(4px);
}

/* ---- SECTION HEADINGS ---- */
.section-header { margin-bottom: 3rem; }
.section-header p { color: var(--text-mid); font-size: 1.05rem; margin-top: 0.75rem; max-width: 600px; margin-inline: auto; }
.section-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent); /* #2e7d32 — WCAG AA on white; --primary #4caf50 fails at this size */
  margin-bottom: 0.5rem;
}

/* ---- 3-COLUMN CARD BAND ---- */
.card-band { background: var(--white); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card-icon {
  width: 52px;
  height: 52px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.card-icon svg { width: 26px; height: 26px; fill: var(--primary-dark); }
.card h3 { margin-bottom: 0.75rem; }
.card p { color: var(--text-mid); font-size: 0.95rem; }

/* ---- TRUST STRIP ---- */
.trust-strip { background: var(--primary-light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-items {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--primary-dark);
  font-weight: 700;
}
.trust-item svg { width: 22px; height: 22px; fill: var(--primary-dark); flex-shrink: 0; }

/* ---- CTA BAND ---- */
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
  color: var(--white);
  text-align: center;
  padding: 72px 0;
}
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; font-size: 1.05rem; }
.cta-band .btn-ctas { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---- SERVICES PAGE ---- */
.service-block { border-bottom: 1px solid var(--border); padding: 56px 0; }
.service-block:last-child { border-bottom: none; }
.service-block-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}
.service-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.25rem 0.85rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.service-number {
  font-size: 4rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.checklist { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.25rem; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-dark);
}
.checklist li::before {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  background: var(--primary-dark);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' r='10' fill='%231b5e20'/%3E%3Cpath d='M5.5 10.5L8.5 13.5L14.5 7' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: cover;
}

/* ---- PRICING PAGE ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  align-items: start;
  margin-top: 2.5rem;
}
.price-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  position: relative;
}
.price-card.featured {
  border-color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}
.price-card.featured::before {
  content: 'Recommended';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-dark);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}
.price-tier-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 0.5rem;
}
.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.price-amount span { font-size: 1rem; font-weight: 400; color: var(--text-mid); }
.price-desc { font-size: 0.9rem; color: var(--text-mid); margin-bottom: 1.5rem; min-height: 40px; }
.price-features { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.75rem; }
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.price-features li .tick { color: var(--primary-dark); font-weight: 700; flex-shrink: 0; }
.price-features li .cross { color: #999; flex-shrink: 0; }
.pricing-note {
  background: #fff3cd;
  border: 2px solid #f0b429;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-top: 2.5rem;
  font-size: 0.9rem;
  color: #7a4f00;
}

/* ---- ABOUT PAGE ---- */
.about-intro { display: grid; grid-template-columns: 3fr 2fr; gap: 4rem; align-items: center; }
.about-graphic {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.about-graphic-inner {
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  padding: 1rem;
}
.about-graphic-inner svg { width: 64px; height: 64px; fill: rgba(255,255,255,0.35); margin-bottom: 0.5rem; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.value-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.value-item h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.value-item p { font-size: 0.88rem; color: var(--text-mid); margin: 0; }
.areas-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}
.area-tag {
  background: var(--primary-light);
  border: 1px solid var(--border);
  color: var(--primary-dark);
  border-radius: 100px;
  padding: 0.3rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 700;
}

/* ---- CONTACT PAGE ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 20px; height: 20px; fill: var(--primary-dark); }
.contact-detail h4 { margin-bottom: 0.2rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-detail p, .contact-detail a { font-size: 0.95rem; color: var(--text-mid); }
.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; }
.contact-form h3 { margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.4rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--surface);
  transition: border-color 0.2s;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-dark);
  background: var(--white);
}
.form-group textarea { min-height: 120px; }
.form-note { font-size: 0.8rem; color: var(--text-mid); margin-top: 0.75rem; }
.form-static-note {
  background: #fff3cd;
  border: 1px solid #f0b429;
  border-radius: var(--radius);
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  color: #7a4f00;
  margin-bottom: 1.25rem;
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent) 100%);
  color: var(--white);
  padding: 56px 0 48px;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; font-size: clamp(1.75rem, 4vw, 2.5rem); }
.page-hero p { color: rgba(255,255,255,0.82); font-size: 1rem; max-width: 600px; margin: 0; }

/* ---- SHARED GRIDS (responsive-safe; do not inline grid styles) ---- */
.two-col-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.three-col-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .two-col-feature { grid-template-columns: 1fr; gap: 2rem; }
  .three-col-cards { grid-template-columns: 1fr; gap: 1.25rem; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-intro { grid-template-columns: 1fr; }
  .about-graphic { max-width: 400px; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-block-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .values-grid { grid-template-columns: 1fr; }
  .trust-items { gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  .site-nav ul { display: none; flex-direction: column; position: absolute; top: var(--header-height); left: 0; right: 0; background: var(--white); border-bottom: 2px solid var(--border); padding: 1rem 1.5rem; gap: 1rem; }
  .site-nav ul.open { display: flex; }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
  .hero { padding: 64px 0 56px; }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .cta-band .btn-ctas { flex-direction: column; align-items: center; }
}
