/* Bell Handyman Services
   Custom "Bell Brass" palette + FR Friendly Round (Outfit) + SP Single Page Plus
   See ../../../design-brief.md for full spec.
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;700&display=swap');

:root {
  --brand-charcoal: #1F1F1F;
  --brand-brass: #B8861E;
  --brand-brass-deep: #8A6313;
  --brand-leather: #5C3D24;
  --surface-cream: #FAF6EE;
  --surface-paper: #FFFFFF;
  --rule: #E5DECF;
  --muted: #6B5E47;
  --green: var(--brand-brass);
  --white: var(--surface-paper);
  --max: 1100px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 10px;
  --shadow-sm: 0 1px 2px rgba(31,31,31,0.06), 0 1px 1px rgba(31,31,31,0.04);
  --shadow-md: 0 4px 14px rgba(31,31,31,0.08), 0 2px 4px rgba(31,31,31,0.04);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--brand-charcoal);
  background: var(--surface-paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-brass-deep); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--brand-charcoal); }
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--brand-charcoal);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 6.5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

/* Sample-site banner (project-wide standard, do not vary) */
.sample-banner {
  background: #FFD84A;
  color: #0A0A0A;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  letter-spacing: 0.02em;
}

/* Layout helpers */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(3rem, 8vw, 5.5rem) 0; }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title h2 { margin-bottom: 0.5rem; }
.section-title p { color: var(--muted); max-width: 520px; margin: 0 auto; }

/* Header */
.header {
  background: var(--surface-paper);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(6px);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--brand-charcoal);
}
.brand:hover { color: var(--brand-charcoal); }
.brand-mark {
  width: 34px;
  height: 34px;
  color: var(--brand-brass);
  flex-shrink: 0;
}
.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.nav { display: none; gap: 1.4rem; align-items: center; }
.nav a {
  text-decoration: none;
  color: var(--brand-charcoal);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav a:hover { color: var(--brand-brass-deep); }
.header-call {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--brand-charcoal);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.5rem 0.85rem;
  border: 1.5px solid var(--brand-brass);
  border-radius: 999px;
  background: var(--surface-paper);
  white-space: nowrap;
}
.header-call:hover {
  background: var(--brand-brass);
  color: var(--surface-paper);
}
.header-call svg { width: 16px; height: 16px; color: var(--brand-brass); }
.header-call:hover svg { color: var(--surface-paper); }
@media (min-width: 760px) {
  .nav { display: flex; }
}

/* Hero */
.hero {
  background: var(--surface-cream);
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 10vw, 7rem) 0 clamp(3.5rem, 8vw, 5.5rem);
}
.hero-motif {
  position: absolute;
  right: -4vw;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 50vw, 540px);
  color: var(--brand-brass);
  opacity: 0.07;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 720px;
}
.hero h1 {
  margin-bottom: 1rem;
}
.hero-sub {
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  color: var(--brand-leather);
  margin-bottom: 2rem;
  max-width: 580px;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.06s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--brand-brass);
  color: var(--surface-paper);
  border-color: var(--brand-brass);
}
.btn-primary:hover {
  background: var(--brand-brass-deep);
  border-color: var(--brand-brass-deep);
  color: var(--surface-paper);
}
.btn-secondary {
  background: transparent;
  color: var(--brand-charcoal);
  border-color: var(--brand-charcoal);
}
.btn-secondary:hover {
  background: var(--brand-charcoal);
  color: var(--surface-paper);
}
.btn svg { width: 18px; height: 18px; }

/* Trust strip */
.trust-strip {
  background: var(--brand-charcoal);
  color: var(--surface-cream);
  padding: 1rem 0;
}
.trust-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
  font-size: 0.95rem;
  font-weight: 500;
}
.trust-strip li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.trust-strip li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--brand-brass);
  border-radius: 50%;
  flex-shrink: 0;
}
.trust-strip a.trust-link {
  color: var(--surface-cream);
  text-decoration: none;
  border-bottom: 1px dotted rgba(250, 246, 238, 0.4);
  padding-bottom: 1px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.trust-strip a.trust-link:hover {
  color: var(--brand-brass);
  border-bottom-color: var(--brand-brass);
}

/* What I Do (services) */
.services {
  background: var(--surface-paper);
}
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 600px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  background: var(--surface-cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.4rem;
  transition: transform 0.1s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.service-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-brass);
}
.service-icon {
  width: 30px;
  height: 30px;
  color: var(--brand-brass);
  margin-bottom: 0.6rem;
}
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}
.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--brand-leather);
  line-height: 1.5;
}

/* What I Don't Do */
.scope {
  background: var(--surface-cream);
}
.scope-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface-paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.scope-card h2 { margin-bottom: 0.6rem; }
.scope-card p {
  color: var(--brand-leather);
  margin: 0 auto;
  max-width: 560px;
}

/* Where I Work */
.area {
  background: var(--surface-paper);
}
.area-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}
.area-list {
  font-size: clamp(1.1rem, 2.6vw, 1.4rem);
  font-weight: 500;
  color: var(--brand-charcoal);
  line-height: 1.5;
}

/* About */
.about {
  background: var(--surface-cream);
}
.about-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.about-inner p {
  font-size: 1.05rem;
  color: var(--brand-charcoal);
  line-height: 1.7;
}

/* Contact CTA */
.contact-cta {
  background: var(--brand-charcoal);
  color: var(--surface-cream);
  text-align: center;
}
.contact-cta h2 { color: var(--surface-cream); }
.contact-cta p {
  color: rgba(250, 246, 238, 0.78);
  max-width: 520px;
  margin: 0 auto 1.75rem;
  font-size: 1.05rem;
}
.contact-cta .cta-row { justify-content: center; }
.contact-cta .btn-secondary {
  color: var(--surface-cream);
  border-color: var(--surface-cream);
}
.contact-cta .btn-secondary:hover {
  background: var(--surface-cream);
  color: var(--brand-charcoal);
}

/* Mini contact form (used on index closing section) */
.mini-form {
  max-width: 460px;
  margin: 0 auto 1.5rem;
  display: grid;
  gap: 0.6rem;
  text-align: left;
}
.mini-form label { font-size: 0.85rem; color: rgba(250,246,238,0.78); font-weight: 500; }
.mini-form input,
.mini-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(250,246,238,0.18);
  background: rgba(255,255,255,0.06);
  color: var(--surface-cream);
  width: 100%;
}
.mini-form input::placeholder,
.mini-form textarea::placeholder { color: rgba(250,246,238,0.45); }
.mini-form input:focus,
.mini-form textarea:focus {
  outline: 2px solid var(--brand-brass);
  outline-offset: 1px;
  background: rgba(255,255,255,0.1);
}
.mini-form textarea { min-height: 110px; resize: vertical; }
.mini-form .btn { justify-content: center; margin-top: 0.5rem; }

/* Contact page */
.contact-page-hero {
  background: var(--surface-cream);
  padding: clamp(3rem, 7vw, 4.5rem) 0 clamp(2rem, 5vw, 3rem);
  text-align: center;
}
.contact-page-hero h1 { margin-bottom: 0.6rem; }
.contact-page-hero p { color: var(--brand-leather); max-width: 540px; margin: 0 auto; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
@media (min-width: 820px) {
  .contact-grid { grid-template-columns: 1.2fr 1fr; gap: 3rem; }
}

.full-form {
  display: grid;
  gap: 1rem;
  background: var(--surface-paper);
  padding: clamp(1.5rem, 3.5vw, 2rem);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.full-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-charcoal);
  display: block;
  margin-bottom: 0.3rem;
}
.full-form input,
.full-form select,
.full-form textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  border: 1px solid var(--rule);
  background: var(--surface-paper);
  color: var(--brand-charcoal);
  width: 100%;
}
.full-form input:focus,
.full-form select:focus,
.full-form textarea:focus {
  outline: 2px solid var(--brand-brass);
  outline-offset: 1px;
  border-color: var(--brand-brass);
}
.full-form textarea { min-height: 130px; resize: vertical; }
.full-form .btn { justify-content: center; margin-top: 0.5rem; }
.full-form .form-row {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 520px) {
  .full-form .form-row { grid-template-columns: 1fr 1fr; }
}

.contact-info {
  background: var(--surface-cream);
  padding: clamp(1.5rem, 3.5vw, 2rem);
  border-radius: var(--radius);
  border: 1px solid var(--rule);
}
.contact-info h2 { font-size: 1.2rem; margin-top: 0; }
.contact-info .info-block {
  margin-bottom: 1.5rem;
}
.contact-info .info-block:last-child { margin-bottom: 0; }
.contact-info .info-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.contact-info .info-value {
  font-size: 1.05rem;
  color: var(--brand-charcoal);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.contact-info .info-value a {
  color: var(--brand-charcoal);
  text-decoration: none;
}
.contact-info .info-value a:hover { color: var(--brand-brass-deep); text-decoration: underline; }
.contact-info .info-value svg { width: 18px; height: 18px; color: var(--brand-brass); }

.map-wrap {
  margin-top: 0;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
}
.map-wrap iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Footer */
.footer {
  background: var(--brand-charcoal);
  color: rgba(250, 246, 238, 0.78);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.9rem;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 720px) {
  .footer-cols { grid-template-columns: 1.3fr 1fr 1fr; }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  color: var(--surface-cream);
}
.footer-brand svg { width: 30px; height: 30px; color: var(--brand-brass); }
.footer-brand span { font-weight: 700; font-size: 1.05rem; color: var(--surface-cream); }
.footer-tag { color: rgba(250,246,238,0.6); font-size: 0.9rem; max-width: 320px; }
.footer h4 {
  color: var(--surface-cream);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin: 0 0 0.6rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin: 0.35rem 0; }
.footer a {
  color: rgba(250,246,238,0.78);
  text-decoration: none;
}
.footer a:hover { color: var(--surface-cream); }
.footer-bottom {
  border-top: 1px solid rgba(250,246,238,0.12);
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: rgba(250,246,238,0.6);
}
.footer-bottom .ring-line { color: var(--brand-brass); font-weight: 600; letter-spacing: 0.02em; }

/* SiteReady attribution (canonical, do not modify) */
.siteready-attr {
  max-width: var(--max);
  margin: 1rem auto 0;
  text-align: center;
  font-size: clamp(0.65rem, 1.6vw, 0.8rem);
  color: rgba(250,246,238,0.55);
}
.siteready-attr a,
.footer .siteready-attr a {
  color: var(--brand-brass);
  display: inline;
  padding: 0;
  font-size: inherit;
  white-space: normal;
  text-decoration: underline;
}
.siteready-attr a:hover { color: var(--surface-cream); }

/* How it works (process strip) */
.process { background: var(--surface-paper); }
.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  counter-reset: step;
}
@media (min-width: 760px) {
  .process-steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.process-step {
  position: relative;
  padding: 1.5rem 1.25rem 1.5rem 1.25rem;
  background: var(--surface-cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.process-num {
  position: absolute;
  top: -16px;
  left: 1.25rem;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-brass);
  color: var(--surface-paper);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(31,31,31,0.15);
}
.process-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0.6rem 0 0.4rem;
}
.process-step p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--brand-leather);
  line-height: 1.5;
}

/* Mobile sticky CTA bar (Call + Text only) */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: none;
  background: var(--brand-charcoal);
  border-top: 2px solid var(--brand-brass);
  padding: 0.55rem 0.55rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
  gap: 0.55rem;
  z-index: 100;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.18);
}
.sticky-cta-btn {
  flex: 1;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 0.6rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.sticky-cta-btn svg { width: 20px; height: 20px; }

.sticky-cta-btn.sticky-cta-call {
  background: var(--surface-cream);
  color: var(--brand-charcoal);
}
.sticky-cta-btn.sticky-cta-call svg { color: var(--brand-charcoal); }
.sticky-cta-btn.sticky-cta-call:hover {
  background: var(--surface-paper);
  color: var(--brand-charcoal);
}

.sticky-cta-btn.sticky-cta-text {
  background: var(--brand-brass);
  color: var(--surface-paper);
}
.sticky-cta-btn.sticky-cta-text svg { color: var(--surface-paper); }
.sticky-cta-btn.sticky-cta-text:hover {
  background: var(--brand-brass-deep);
  color: var(--surface-paper);
}

@media (max-width: 759px) {
  .sticky-cta { display: flex; }
  /* Add bottom padding to body so sticky bar doesn't cover footer / SiteReady link */
  body { padding-bottom: 84px; }
}

/* FAQ section */
.faq { background: var(--surface-paper); }
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 0.6rem;
}
.faq-item {
  background: var(--surface-cream);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0.1rem 1.25rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.faq-item[open] {
  border-color: var(--brand-brass);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--brand-charcoal);
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary span { flex: 1; }
.faq-chev {
  width: 18px;
  height: 18px;
  color: var(--brand-brass);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] .faq-chev { transform: rotate(180deg); }
.faq-item p {
  margin: 0 0 1rem;
  color: var(--brand-leather);
  line-height: 1.6;
  font-size: 0.98rem;
}
.faq-foot {
  text-align: center;
  margin: 2rem auto 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.faq-foot a {
  color: var(--brand-brass-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--brand-brass);
  padding-bottom: 1px;
}
.faq-foot a:hover {
  color: var(--brand-charcoal);
  border-bottom-color: var(--brand-charcoal);
}
