/* ============================================================
   Bellevue Home Repair — styles
   Palette: near-black + warm gold, matching the logo
   ============================================================ */

:root {
  --black:      #14110d;
  --black-soft: #1c1813;
  --panel:      #211c16;
  --gold:       #c9a25a;
  --gold-light: #e2c486;
  --cream:      #f3ece0;
  --muted:      #a99e8c;
  --line:       rgba(201, 162, 90, 0.18);
  --maxw: 1140px;
  --r: 14px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Jost', system-ui, -apple-system, sans-serif;
  background: var(--black);
  color: var(--cream);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

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

a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }

.gold { color: var(--gold-light); }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 14px;
}
.center { text-align: center; }
.eyebrow.center { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: #1a160f;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.82rem;
  padding: 14px 30px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 8px 24px rgba(201, 162, 90, 0.22);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(201, 162, 90, 0.35); }
.btn-ghost {
  background: transparent;
  color: var(--gold-light);
  border: 1px solid var(--gold);
  box-shadow: none;
}
.btn-ghost:hover { background: rgba(201, 162, 90, 0.1); }
.btn-sm { padding: 10px 22px; font-size: 0.75rem; }
.btn-block { width: 100%; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(20, 17, 13, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.scrolled {
  background: rgba(20, 17, 13, 0.92);
  border-bottom-color: var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand-logo { height: 46px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-size: 0.9rem; letter-spacing: 0.5px; color: var(--cream); }
.nav a:hover { color: var(--gold-light); }
.nav a.btn { color: #1a160f; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--gold-light); transition: 0.3s var(--ease); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 120px 0 80px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 162, 90, 0.12), transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(201, 162, 90, 0.06), transparent 70%),
    var(--black);
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.hero-logo {
  width: 200px; max-width: 55vw;
  margin-bottom: 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  animation: rise 0.9s var(--ease) both;
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 22px; animation: rise 0.9s 0.1s var(--ease) both; }
.hero .eyebrow { animation: rise 0.9s 0.05s var(--ease) both; }
.lede {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.12rem;
  margin-bottom: 38px;
  animation: rise 0.9s 0.2s var(--ease) both;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; animation: rise 0.9s 0.3s var(--ease) both; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-alt { background: var(--black-soft); }
.section h2 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); margin-bottom: 16px; }
.section-sub { color: var(--muted); max-width: 560px; margin: 0 auto 10px; }
.center.section-sub { margin-bottom: 54px; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 10px; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 40px 32px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: var(--shadow); }
.card-icon {
  font-size: 2rem;
  width: 62px; height: 62px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(201, 162, 90, 0.12);
  border: 1px solid var(--line);
  margin-bottom: 22px;
}
.card h3 { font-size: 1.6rem; margin-bottom: 12px; color: var(--gold-light); }
.card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- About ---------- */
.about-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { margin-bottom: 20px; }
.about-text p { color: var(--muted); margin-bottom: 16px; }
.checklist { list-style: none; margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.checklist li { position: relative; padding-left: 28px; color: var(--cream); font-size: 0.95rem; }
.checklist li::before {
  content: "\2713";
  position: absolute; left: 0; top: 0;
  color: var(--gold); font-weight: 700;
}
.about-stats { display: grid; gap: 18px; }
.stat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px 32px;
  text-align: center;
}
.stat-num { display: block; font-family: 'Cormorant Garamond', serif; font-size: 2.8rem; font-weight: 700; color: var(--gold-light); line-height: 1; }
.stat-label { display: block; margin-top: 6px; text-transform: uppercase; letter-spacing: 2px; font-size: 0.72rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact-list { list-style: none; margin-top: 30px; display: grid; gap: 20px; }
.contact-list li { display: flex; flex-direction: column; gap: 2px; }
.contact-label { text-transform: uppercase; letter-spacing: 2px; font-size: 0.7rem; color: var(--gold); }
.contact-list a:hover { color: var(--gold-light); }

.contact-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 38px;
}
.field { margin-bottom: 20px; display: flex; flex-direction: column; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  background: var(--black-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 15px;
  color: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #6f6657; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 162, 90, 0.15);
}
.field textarea { resize: vertical; }
.form-status { margin-top: 14px; font-size: 0.9rem; text-align: center; min-height: 1.2em; }
.form-status.success { color: var(--gold-light); }
.form-status.error { color: #e08a7a; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black-soft); border-top: 1px solid var(--line); padding: 60px 0 40px; }
.footer-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.footer-logo { height: 80px; width: auto; border-radius: 14px; }
.footer-tag { color: var(--muted); font-style: italic; font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; }
.footer-nav { display: flex; gap: 26px; }
.footer-nav a { font-size: 0.88rem; color: var(--cream); }
.footer-nav a:hover { color: var(--gold-light); }
.copyright { font-size: 0.8rem; color: #6f6657; margin-top: 10px; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .cards { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 680px) {
  .nav { position: fixed; top: 72px; right: 0; left: 0;
    flex-direction: column; gap: 0;
    background: rgba(20, 17, 13, 0.97); backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    padding: 10px 0; transform: translateY(-150%); transition: transform 0.35s var(--ease); }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 24px; width: 100%; }
  .nav a.btn { margin: 10px 24px; text-align: center; width: auto; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .section { padding: 80px 0; }
  .field-row { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
}
