/* ============================================
   OAKLAND PROPERTY SERVICES — STYLES
   v1.0 · 2026 · Forked from Fresh Start theme
   ============================================ */

:root {
  /* Brand */
  --bg: #f4f9f4;
  --bg-2: #ffffff;
  --bg-3: #eaf3ec;
  --primary: #0d7c3f;
  --primary-dark: #075426;
  --accent-1: #10b981;
  --accent-2: #047857;
  --gold: #c79a3b;

  --text: #0f1f17;
  --text-soft: #2d3a33;
  --muted: #64746e;
  --border: #dbe8df;
  --border-strong: #b9d3bf;

  --grad: linear-gradient(135deg, #10b981 0%, #047857 100%);
  --grad-dark: linear-gradient(135deg, #0d7c3f 0%, #075426 100%);
  --shadow-sm: 0 1px 2px rgba(13, 124, 63, 0.04), 0 1px 1px rgba(0,0,0,0.02);
  --shadow-md: 0 4px 12px rgba(13, 124, 63, 0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 32px rgba(13, 124, 63, 0.10), 0 4px 8px rgba(0,0,0,0.04);

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1200px;
  --container-narrow: 880px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--primary-dark); }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-variation-settings: "SOFT" 50, "WONK" 0; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-tight { padding: 48px 0; }
}

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 249, 244, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text);
}
.brand-mark {
  width: 32px; height: 32px;
  background: var(--grad);
  border-radius: 8px;
  display: grid; place-items: center;
  color: white;
  font-weight: 700;
  font-family: var(--font-display);
}
.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--bg-3); color: var(--primary-dark); }
.nav-links a.active { color: var(--primary); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px;
  background: var(--grad);
  color: white !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); color: white !important; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; }

@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; padding: 12px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .menu-toggle { display: block; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(16,185,129,0.10), transparent 60%),
    radial-gradient(ellipse 40% 60% at 10% 100%, rgba(13,124,63,0.06), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--bg-3);
  border: 1px solid var(--border-strong);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.hero-sub {
  font-size: 1.2rem;
  color: var(--text-soft);
  max-width: 640px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: all .18s ease;
  text-decoration: none;
}
.btn-primary {
  background: var(--grad);
  color: white;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); color: white; }
.btn-secondary {
  background: var(--bg-2);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary-dark); }
.btn-ghost { color: var(--primary-dark); padding: 14px 8px; }
.btn-ghost:hover { color: var(--primary); }
.btn-large { padding: 18px 32px; font-size: 1.05rem; }

/* ===== TRUST STRIP ===== */
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 24px 36px;
  padding: 18px 24px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem;
  color: var(--text-soft);
  font-weight: 500;
}
.trust-item svg { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; }

/* ===== SECTION HEADERS ===== */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 14px;
}
.section-head p { color: var(--text-soft); font-size: 1.1rem; margin-top: 14px; }

/* ===== CARDS / SERVICES GRID ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
}
.card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.card-icon {
  width: 48px; height: 48px;
  background: var(--bg-3);
  border-radius: 10px;
  display: grid; place-items: center;
  margin-bottom: 20px;
  color: var(--primary-dark);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-soft); margin-bottom: 18px; font-size: 0.98rem; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.95rem;
}
.card-link::after {
  content: '→';
  transition: transform .15s ease;
}
.card:hover .card-link::after { transform: translateX(3px); }

/* ===== BEFORE/AFTER GALLERY ===== */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.ba-item {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}
.ba-cell {
  position: relative;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #c9d8ce 0%, #a3bfa9 100%);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
}
.ba-cell.before { background: linear-gradient(135deg, #b8a98a 0%, #8d7e5f 100%); }
.ba-cell.after { background: linear-gradient(135deg, #6cb98a 0%, #2f8c5a 100%); }
.ba-cell::before {
  content: attr(data-label);
  position: absolute;
  top: 12px; left: 12px;
  background: rgba(0,0,0,0.55);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-body);
}
.ba-caption {
  padding: 18px 20px;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.ba-caption strong { display: block; color: var(--text); margin-bottom: 4px; font-family: var(--font-display); font-size: 1.05rem; }

/* ===== SPLIT SECTIONS ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
}
.split-image {
  aspect-ratio: 4/3;
  background: var(--grad);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.split-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.2), transparent 60%);
}

/* ===== PROCESS STEPS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.step {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.step-num {
  position: absolute;
  top: -18px;
  left: 24px;
  width: 36px; height: 36px;
  background: var(--grad);
  color: white;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}
.step h3 { margin: 8px 0 8px; font-size: 1.15rem; }
.step p { color: var(--text-soft); font-size: 0.95rem; }

/* ===== INCLUSIONS LIST ===== */
.checklist {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px 28px;
}
.checklist li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 4px 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}
.checklist li::before {
  content: '';
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 4px;
  background: var(--grad);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") no-repeat center/contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>") no-repeat center/contain;
}

/* ===== FAQ ===== */
.faq { max-width: 840px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-q {
  width: 100%;
  background: none; border: 0;
  text-align: left;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  padding: 0;
}
.faq-q::after {
  content: '+';
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--primary);
  line-height: 1;
  transition: transform .2s ease;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  color: var(--text-soft);
  font-size: 1rem;
}
.faq-item.open .faq-a { max-height: 600px; padding-top: 14px; }

/* ===== CTA SECTION ===== */
.cta-band {
  position: relative;
  background: var(--grad-dark);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  color: white;
  text-align: center;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(255,255,255,0.12), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(255,255,255,0.08), transparent 50%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: white; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 580px; margin: 0 auto 28px; }
.cta-band .btn-primary { background: white; color: var(--primary-dark); }
.cta-band .btn-primary:hover { background: rgba(255,255,255,0.92); color: var(--primary-dark); }
.cta-band .btn-secondary { background: transparent; color: white; border-color: rgba(255,255,255,0.3); }
.cta-band .btn-secondary:hover { background: rgba(255,255,255,0.1); color: white; border-color: rgba(255,255,255,0.5); }

/* ===== QUOTE FORM ===== */
.quote-form {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  max-width: 720px;
  margin: 0 auto;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: block; margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-soft);
}
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  transition: border-color .15s ease, background .15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-submit { width: 100%; justify-content: center; margin-top: 8px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer a { color: rgba(255,255,255,0.7); }
.footer a:hover { color: white; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { color: white; font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.footer-tag { font-size: 0.95rem; line-height: 1.6; max-width: 320px; }
.footer h4 { color: white; font-size: 1rem; margin-bottom: 16px; font-family: var(--font-body); font-weight: 600; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; font-size: 0.94rem; }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-wrap: wrap; gap: 16px;
  justify-content: space-between;
  font-size: 0.86rem;
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.bg-alt { background: var(--bg-2); }
.bg-tint { background: var(--bg-3); }

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== PAGE INTRO ===== */
.page-intro {
  padding: 64px 0 48px;
  background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg) 100%);
}
.page-intro .container { max-width: var(--container-narrow); }
.breadcrumb {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 14px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--primary); }
