/* =========================================================
   SE PDX Pressure Wash — shared design system
   Used by index.html, estimate.html, accept.html, book.html
   ========================================================= */

:root {
  --teal-900: #0a3a3a;
  --teal-700: #14595a;
  --teal-500: #1f8587;
  --teal-50:  #e8f1f0;
  --lime:     #c5f230;
  --lime-dk:  #aad820;
  --cream:    #fdf8ed;
  --cream-2:  #f3ecda;
  --ink:      #0a1818;
  --ink-2:    #2a3a3a;
  --gray:     #6b7878;
  --border:   #ddd6c2;
  --error:    #c1442e;
  --success:  #2d6a4f;
  --shadow-sm: 0 1px 2px rgba(10,24,24,0.05);
  --shadow-md: 0 10px 30px -10px rgba(10,58,58,0.25);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
}
h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.5rem; line-height: 1.2; }
h4 { font-size: 1.1rem; }

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

.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- NAV ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 248, 237, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.85rem 0; gap: 1rem;
}
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  text-decoration: none; color: var(--teal-900);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; font-size: 1.05rem; letter-spacing: -0.01em;
  line-height: 1.1;
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--teal-900); color: var(--lime);
  border-radius: 10px;
  display: grid; place-items: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800; font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.nav-links { display: none; gap: 1.75rem; }
.nav-links a { text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { color: var(--teal-700); }
.nav-links a.active { color: var(--teal-900); font-weight: 700; }
@media (min-width: 800px) { .nav-links { display: flex; } }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: inherit; font-weight: 700; font-size: 0.95rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--teal-900); color: var(--lime); }
.btn-primary:hover { background: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-accent  { background: var(--lime); color: var(--teal-900); }
.btn-accent:hover { background: var(--lime-dk); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--teal-900); box-shadow: inset 0 0 0 2px var(--teal-900); }
.btn-outline:hover { background: var(--teal-900); color: var(--lime); }
.btn:disabled {
  opacity: 0.5; cursor: not-allowed;
  transform: none !important; box-shadow: none !important;
}
.btn .arrow { transition: transform 0.15s; }
.btn:hover:not(:disabled) .arrow { transform: translateX(3px); }
.btn-lg { padding: 1.05rem 1.75rem; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- HERO ---------- */
.hero { position: relative; padding: 3.5rem 0 5rem; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute; top: -200px; right: -150px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, var(--lime) 0%, transparent 65%);
  opacity: 0.22; pointer-events: none; z-index: 0;
}
.hero::after {
  content: '';
  position: absolute; bottom: -100px; left: -100px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--teal-500) 0%, transparent 70%);
  opacity: 0.12; pointer-events: none; z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  max-width: 16ch;
  margin-bottom: 1.25rem;
}
.hero h1 em {
  font-style: italic; font-weight: 500;
  color: var(--teal-700);
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 52ch; color: var(--ink-2);
  margin-bottom: 2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.5rem; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 1.25rem 2rem;
  font-size: 0.9rem; color: var(--ink-2);
}
.hero-trust span { display: flex; align-items: center; gap: 0.55rem; }
.hero-trust .dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--lime-dk);
}

/* ---------- PAGE HEADER (smaller hero for sub-pages) ---------- */
.page-header {
  position: relative; overflow: hidden;
  padding: 3rem 0 2.5rem;
}
.page-header::before {
  content: '';
  position: absolute; top: -150px; right: -100px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, var(--lime) 0%, transparent 65%);
  opacity: 0.18; pointer-events: none;
}
.page-header .container { position: relative; }
.page-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  max-width: 22ch;
  margin-bottom: 0.85rem;
}
.page-header h1 em {
  font-style: italic; font-weight: 500;
  color: var(--teal-700);
}
.page-header p {
  font-size: 1.1rem; max-width: 55ch; color: var(--ink-2);
}

/* ---------- SECTIONS ---------- */
section { padding: 4rem 0; }
.section-tight { padding: 2.5rem 0; }
.eyebrow {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--teal-900); color: var(--lime);
  border-radius: 999px;
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.section-lead { font-size: 1.1rem; color: var(--ink-2); max-width: 55ch; }
.text-center { text-align: center; }
.center-block { margin-left: auto; margin-right: auto; }

/* ---------- STEPS ---------- */
.steps {
  display: grid; gap: 1.25rem; margin-top: 2.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 740px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  padding: 1.75rem 1.5rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  font-family: 'Bricolage Grotesque', serif;
  font-style: italic; font-size: 2.75rem; font-weight: 500;
  color: var(--teal-700); line-height: 1; margin-bottom: 1rem;
}
.step p { color: var(--ink-2); font-size: 0.97rem; }

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display: grid; gap: 1rem; margin-top: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }
.service-card {
  padding: 1.5rem 1.4rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  transition: transform 0.2s, border-color 0.2s;
}
.service-card:hover { transform: translateY(-3px); border-color: var(--teal-700); }
.service-card .ico { font-size: 1.75rem; display: block; margin-bottom: 0.75rem; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.service-card p { font-size: 0.9rem; color: var(--gray); }

/* ---------- WHY US ---------- */
.why-grid {
  display: grid; gap: 1.25rem; margin-top: 2.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
.why-card {
  padding: 1.75rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
}
.why-card .ico {
  width: 44px; height: 44px;
  background: var(--lime); border-radius: 12px;
  display: grid; place-items: center;
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
}
.why-card p { color: var(--ink-2); font-size: 0.97rem; }

/* ---------- SERVICE AREA ---------- */
.area-grid {
  display: grid; gap: 2.5rem; align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .area-grid { grid-template-columns: 1.1fr 1fr; } }
.neighborhoods { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.neighborhood-tag {
  padding: 0.5rem 0.95rem; background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem; font-weight: 500;
}
.map-visual {
  aspect-ratio: 5/4;
  background: linear-gradient(135deg, var(--teal-50) 0%, var(--cream) 100%);
  border-radius: 24px;
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.map-visual svg { width: 80%; height: 80%; }
.area-note {
  margin-top: 1.5rem; padding: 1rem 1.25rem;
  background: var(--teal-50);
  border-radius: 14px;
  font-size: 0.93rem; color: var(--teal-900);
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  background: var(--teal-900);
  color: var(--cream);
  border-radius: 32px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; top: -120px; right: -120px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, var(--lime) 0%, transparent 70%);
  opacity: 0.18;
}
.cta-banner h2 { color: var(--cream); position: relative; }
.cta-banner p { position: relative; opacity: 0.85; margin: 0.75rem auto 1.75rem; max-width: 50ch; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 2.75rem auto 0; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.1rem 0; }
.faq-item summary {
  cursor: pointer; font-weight: 700; font-size: 1.02rem;
  list-style: none; display: flex;
  justify-content: space-between; align-items: center; gap: 1rem;
  font-family: 'Bricolage Grotesque', sans-serif;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 1.6rem; color: var(--teal-700);
  font-family: 'Manrope', sans-serif;
  transition: transform 0.2s;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 0.8rem; color: var(--ink-2); font-size: 0.97rem; }

/* ---------- IFRAME WRAP (calculator, calendar) ---------- */
.frame-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1rem;
  margin-top: 2rem;
  box-shadow: 0 30px 60px -30px rgba(10,58,58,0.15);
  overflow: hidden;
}
.frame-card iframe {
  width: 100%;
  border: none;
  border-radius: 16px;
  display: block;
}

/* Friendly notice above iframes */
.notice {
  margin: 1.5rem 0 0;
  padding: 1rem 1.25rem;
  border-radius: 14px;
  font-size: 0.92rem;
  display: flex; gap: 0.75rem; align-items: flex-start;
}
.notice .ico { font-size: 1.2rem; flex-shrink: 0; }
.notice-info { background: var(--teal-50); color: var(--teal-900); }
.notice-warn { background: #fff7e0; color: #6b4d00; border: 1px solid #f0e2a8; }

/* ---------- ESTIMATE SUMMARY (accept page) ---------- */
.estimate-summary {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.75rem;
  margin: 2rem 0;
  box-shadow: var(--shadow-md);
}
.estimate-summary .label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray);
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.estimate-summary .total {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  color: var(--teal-900);
  line-height: 1;
}
.estimate-summary .total .currency {
  font-size: 0.6em; color: var(--teal-700);
  vertical-align: top; margin-right: 0.1em;
}
.estimate-summary .detail-row {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}
.estimate-summary .detail-row:last-child { border-bottom: none; }
.estimate-summary .detail-row .k { color: var(--gray); font-size: 0.92rem; font-weight: 500; }
.estimate-summary .detail-row .v { color: var(--ink); font-weight: 600; text-align: right; }
.estimate-summary .totals-section {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 2px solid var(--border);
}

/* ---------- TERMS BOX ---------- */
.terms-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: 22px;
  margin: 1.5rem 0;
}
.terms-box summary {
  cursor: pointer; list-style: none;
  padding: 1.25rem 1.5rem;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 700; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.terms-box summary::-webkit-details-marker { display: none; }
.terms-box summary::after {
  content: '+'; font-size: 1.5rem; color: var(--teal-700); line-height: 1;
  transition: transform 0.2s;
}
.terms-box[open] summary::after { transform: rotate(45deg); }
.terms-content {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.92rem;
  color: var(--ink-2);
  line-height: 1.65;
}
.terms-content h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-700);
  margin: 1.25rem 0 0.5rem;
}
.terms-content h4:first-child { margin-top: 0; }
.terms-content p, .terms-content li { margin-bottom: 0.5rem; }
.terms-content ul { padding-left: 1.25rem; }

/* ---------- CHECKBOX BLOCK ---------- */
.consent-block {
  display: flex; align-items: flex-start; gap: 0.75rem;
  background: var(--cream-2);
  border: 1.5px solid var(--border);
  padding: 1.25rem;
  border-radius: 16px;
  margin: 1.5rem 0;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.consent-block:hover { border-color: var(--teal-700); }
.consent-block input[type="checkbox"] {
  width: 22px; height: 22px;
  margin-top: 2px;
  accent-color: var(--teal-700);
  cursor: pointer;
  flex-shrink: 0;
}
.consent-block .text { font-size: 0.97rem; color: var(--ink); font-weight: 500; }
.consent-block .text strong { color: var(--teal-900); }

/* ---------- CONTACT CARDS ---------- */
.contact-grid {
  display: grid; gap: 1rem; margin-top: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card {
  padding: 1.5rem 1.5rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  display: flex; align-items: center; gap: 1rem;
  text-decoration: none; color: inherit;
  transition: transform 0.15s, border-color 0.15s;
}
.contact-card:hover { transform: translateY(-3px); border-color: var(--teal-700); }
.contact-card .ico {
  width: 48px; height: 48px;
  background: var(--teal-50);
  border-radius: 14px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.contact-card .label { font-size: 0.78rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.contact-card .value { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--teal-900); margin-top: 0.15rem; }

/* ---------- FOOTER ---------- */
footer {
  background: var(--ink); color: var(--cream);
  padding: 3.5rem 0 1.75rem;
}
.footer-grid {
  display: grid; gap: 2.5rem; align-items: start;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
footer h4 {
  font-size: 0.78rem;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
footer ul { list-style: none; display: grid; gap: 0.5rem; }
footer a { color: var(--cream); text-decoration: none; font-size: 0.93rem; opacity: 0.85; }
footer a:hover { opacity: 1; color: var(--lime); }
.footer-tagline { font-size: 0.95rem; opacity: 0.7; max-width: 35ch; margin-top: 0.75rem; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.82rem; opacity: 0.55;
  display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 0.75rem;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero h1, .hero-sub, .hero-ctas, .hero-trust {
  animation: fadeUp 0.65s ease-out backwards;
}
.hero-sub   { animation-delay: 0.08s; }
.hero-ctas  { animation-delay: 0.16s; }
.hero-trust { animation-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
