/* ============================================================
   Pristine Pro — shared stylesheet
   Palette anchored on the original navy (#1e4890), extended
   with high-desert tones: clay, sandstone, sky, ink.
   ============================================================ */

:root {
  --navy:      #1e4890;   /* original brand anchor */
  --navy-deep: #14315f;   /* darker navy for depth */
  --navy-ink:  #0d1f3c;   /* near-black headings/footer */
  --clay:      #c75b39;   /* sunset clay — primary accent / CTAs */
  --clay-dark: #a8472b;
  --sand:      #f4efe7;   /* sandstone page background */
  --sand-deep: #e9e1d3;   /* card / section alt background */
  --cream:     #fbf9f5;   /* lightest surface */
  --sky:       #5a8fc7;   /* soft desert sky — secondary accent */
  --text:      #2a2a28;   /* body text */
  --muted:     #6b6862;   /* secondary text */
  --line:      #ddd4c4;   /* hairline borders */

  --maxw: 1080px;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(13, 31, 60, 0.08);
  --shadow-lg: 0 14px 40px rgba(13, 31, 60, 0.14);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--sand);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--clay); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--navy-ink); line-height: 1.12; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); letter-spacing: -0.3px; }
h3 { font-size: 1.2rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 0.6rem;
}

.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 249, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 600; font-size: 1.3rem;
  color: var(--navy); letter-spacing: -0.3px;
  display: flex; align-items: center; gap: 9px;
}
.brand .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--clay); display:inline-block; }
.nav-links { display: flex; gap: 26px; align-items: center; list-style: none; }
.nav-links a {
  font-size: 0.95rem; font-weight: 500; color: var(--text);
  padding: 6px 2px; position: relative;
}
.nav-links a.active, .nav-links a:hover { color: var(--clay); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 2px; background: var(--clay);
}
.nav-call {
  background: var(--navy); color: #fff !important;
  padding: 9px 18px; border-radius: 999px; font-weight: 600;
  font-size: 0.9rem; transition: background .2s;
}
.nav-call:hover { background: var(--clay); color:#fff !important; }

.nav-toggle { display:none; background:none; border:0; cursor:pointer; }
.nav-toggle span { display:block; width:24px; height:2px; background:var(--navy-ink); margin:5px 0; transition:.25s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px;
  border: 2px solid transparent; cursor: pointer;
  transition: transform .15s, background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--clay); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--clay-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-lg { padding: 16px 32px; font-size: 1.08rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(90,143,199,0.18), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(199,91,57,0.12), transparent 60%),
    var(--sand);
  padding: clamp(48px, 9vw, 96px) 0 clamp(56px, 9vw, 88px);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--clay); }
.hero .lead { margin: 1.3rem 0 2rem; max-width: 30rem; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 2rem; display:flex; gap: 22px; flex-wrap:wrap; font-size:0.9rem; color:var(--muted); }
.hero-trust b { color: var(--navy-ink); }

/* desert "card stack" visual in hero */
.hero-card {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 26px; position: relative;
}
.hero-card h3 { color: var(--navy); margin-bottom: 4px; }
.hero-card .who { color: var(--muted); font-size: 0.9rem; margin-bottom: 18px; }
.hero-card ul { list-style: none; display: grid; gap: 12px; }
.hero-card li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.hero-card .ic {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  display: grid; place-items: center; background: var(--sand-deep);
  font-size: 1.1rem;
}
.hero-card .stamp {
  position: absolute; top: -16px; right: -10px;
  background: var(--clay); color: #fff; font-weight: 700;
  font-size: 0.78rem; letter-spacing: 0.5px; padding: 7px 13px;
  border-radius: 999px; box-shadow: var(--shadow); transform: rotate(4deg);
}

/* ---------- Sections ---------- */
.section { padding: clamp(52px, 8vw, 88px) 0; }
.section-alt { background: var(--sand-deep); }
.section-navy { background: var(--navy-ink); color: #efe9dd; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-head { max-width: 38rem; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Service cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 20px; }
.card {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--clay); }
.card .ic {
  width: 52px; height: 52px; border-radius: 13px; margin-bottom: 16px;
  display: grid; place-items: center; font-size: 1.5rem;
  background: linear-gradient(135deg, var(--navy), var(--sky)); color: #fff;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card .tag { display:inline-block; margin-top:14px; font-size:0.8rem; font-weight:600; color:var(--clay); }

/* ---------- Steps (text-in / call-back) ---------- */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; counter-reset: s; }
.step { position: relative; padding-top: 8px; }
.step .n {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 600;
  color: var(--clay); line-height: 1; display:block; margin-bottom: 10px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 0.96rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 20px; }
.quote {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.quote .stars { color: var(--clay); letter-spacing: 2px; margin-bottom: 10px; }
.quote p { font-size: 1.02rem; }
.quote .by { margin-top: 14px; font-weight: 600; color: var(--navy-ink); }
.quote .by span { display:block; font-weight: 400; font-size: 0.85rem; color: var(--muted); }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-card {
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow);
}
.field { margin-bottom: 16px; }
.field label { display:block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--navy-ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--text);
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(30,72,144,0.12);
}
.field textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }

.contact-line { display:flex; align-items:flex-start; gap:14px; margin-bottom: 22px; }
.contact-line .ic {
  width: 44px; height: 44px; border-radius: 11px; flex:none;
  display:grid; place-items:center; background: var(--sand-deep); font-size:1.2rem;
}
.contact-line .t b { display:block; color: var(--navy-ink); }
.contact-line .t a { font-weight: 600; }

/* ---------- Sticky mobile call bar ---------- */
.callbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--navy); color:#fff;
  padding: 10px 16px; gap: 10px;
  box-shadow: 0 -6px 20px rgba(0,0,0,0.18);
}
.callbar a { flex:1; text-align:center; padding: 13px; border-radius: 10px; font-weight:700; }
.callbar .c { background: var(--clay); color:#fff; }
.callbar .t { background: rgba(255,255,255,0.14); color:#fff; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-ink); color: #c9d2e4; padding: 54px 0 90px; }
.footer-grid { display:grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.footer h4 { color:#fff; font-family: var(--font-display); font-weight:600; margin-bottom: 14px; font-size:1.05rem; }
.footer a { color:#c9d2e4; display:block; margin-bottom: 9px; font-size: 0.95rem; }
.footer a:hover { color:#fff; }
.footer .brand { color:#fff; margin-bottom: 12px; }
.footer .small { color:#8a96b0; font-size: 0.85rem; margin-top: 10px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.1); margin-top: 36px; padding-top: 20px; font-size:0.85rem; color:#8a96b0; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; }

/* ---------- CTA strip ---------- */
.cta-strip { background: linear-gradient(120deg, var(--navy), var(--navy-deep)); color:#fff; border-radius: var(--radius); padding: clamp(32px,5vw,52px); text-align:center; }
.cta-strip h2 { color:#fff; margin-bottom: 10px; }
.cta-strip p { color:#cdd6ea; margin-bottom: 24px; }
.cta-strip .btn-ghost { color:#fff; border-color:#fff; }
.cta-strip .btn-ghost:hover { background:#fff; color:var(--navy); }

/* ---------- Page banner (interior pages) ---------- */
.banner { background:
  radial-gradient(800px 300px at 90% -20%, rgba(90,143,199,0.2), transparent 60%),
  var(--sand-deep); padding: clamp(40px,7vw,72px) 0; border-bottom:1px solid var(--line); }
.banner .eyebrow { color: var(--clay); }
.banner p { color: var(--muted); max-width: 36rem; margin-top: 10px; }

/* ---------- Service visual panels (services page) ---------- */
.svc-visual {
  border-radius: var(--radius); min-height: 280px;
  display: grid; place-content: center; gap: 14px; text-align: center;
  border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.svc-visual::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.5) 1.5px, transparent 1.5px);
  background-size: 22px 22px; opacity: 0.4; pointer-events: none;
}
.svc-visual .svc-ic { font-size: 4rem; filter: drop-shadow(0 6px 10px rgba(13,31,60,0.18)); }
.svc-visual .svc-label {
  font-family: var(--font-display); font-weight: 600; font-size: 1.25rem;
  color: #fff; position: relative; z-index: 1;
}
.svc-handyman { background: linear-gradient(140deg, var(--navy), var(--sky)); }
.svc-computer { background: linear-gradient(140deg, var(--navy-deep), #3f6fa8); }
.svc-pest     { background: linear-gradient(140deg, #4a7c59, #6fa07a); }
.svc-painting { background: linear-gradient(140deg, var(--clay), #d98a5c); }

/* ---------- Utilities ---------- */
.center { text-align:center; }
.mt { margin-top: 28px; }
.grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:34px; align-items:center; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero-grid, .contact-grid, .grid-2 { grid-template-columns: 1fr; }
  .hero-card { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--cream);
    border-bottom: 1px solid var(--line); padding: 8px 0;
    transform: translateY(-130%); transition: transform .28s; height: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display:block; padding: 14px 22px; }
  .nav-links a.active::after { display:none; }
  .nav-toggle { display:block; }
  .callbar { display:flex; }
  body { padding-bottom: 64px; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

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