/* ==========================================================================
   Chiangworth Community Consulting — Stylesheet
   Design language: civic / New England town-record aesthetic.
   Palette: ink navy, oxide brick, town-green sage, parchment, brass.
   Type: Fraunces (display) + Public Sans (body/UI — chosen for its civic,
   government-associated character, fitting a community-consulting brand).
   ========================================================================== */

:root {
  /* Color tokens */
  --ink: #1f2a3d;          /* deep navy — primary dark */
  --ink-2: #2b3a52;        /* lighter navy for gradients/panels */
  --brick: #a84c2e;        /* oxide brick — primary accent */
  --brick-dark: #8a3c22;
  --sage: #56705b;         /* town-green — secondary accent */
  --sage-light: #7c9880;
  --brass: #b8912f;        /* brass — small highlights, rules, plaques */
  --parchment: #f5f0e4;    /* warm paper background */
  --paper: #fbf9f3;        /* lighter paper, card surfaces */
  --charcoal: #241f18;     /* body text */
  --charcoal-soft: #55503f;/* muted text */
  --line: rgba(36, 31, 24, 0.12);
  --line-light: rgba(255, 255, 255, 0.18);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--paper);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 4.5vw, 3.75rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 500; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.1em; }
a { color: var(--brick); text-decoration: none; }
a:hover { color: var(--brick-dark); }

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

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

.section { padding: 96px 0; }
.section-sm { padding: 56px 0; }

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section-sm { padding: 40px 0; }
}

/* Eyebrow label — civic "docket number" styling */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--brick);
  display: inline-block;
}
.eyebrow.on-dark { color: var(--brass); }
.eyebrow.on-dark::before { background: var(--brass); }

/* ==========================================================================
   Ledger-tick divider — the site's signature device.
   A repeating tick-mark rule, like the ruled margin of a town-meeting
   ledger book. Used to separate major sections instead of a plain <hr>.
   ========================================================================== */
.ledger-divider {
  height: 14px;
  width: 100%;
  background-image: repeating-linear-gradient(
    to right,
    var(--line) 0,
    var(--line) 1px,
    transparent 1px,
    transparent 16px
  );
  background-position: bottom;
  background-size: 100% 14px;
  background-repeat: repeat-x;
  opacity: 0.9;
}
.ledger-divider.on-dark {
  background-image: repeating-linear-gradient(
    to right,
    var(--line-light) 0,
    var(--line-light) 1px,
    transparent 1px,
    transparent 16px
  );
}

/* ==========================================================================
   Topbar
   ========================================================================== */
.topbar {
  background: var(--ink);
  color: #e9e4d6;
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-contacts {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar-contacts a { color: #e9e4d6; }
.topbar-contacts a:hover { color: #fff; }
.topbar-contacts i { color: var(--brass); margin-right: 8px; }
.topbar-social a {
  color: #e9e4d6;
  margin-left: 14px;
  font-size: 0.95rem;
}
.topbar-social a:hover { color: var(--brass); }

/* ==========================================================================
   Navbar
   ========================================================================== */
.site-nav {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 999;
}
.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.brand-word {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.01em;
}
.brand-word span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brick);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--charcoal);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--brick);
  border-bottom-color: var(--brick);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brick);
  color: #fff;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--brick-dark); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px;
  color: var(--ink);
  font-size: 1.1rem;
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .nav-cta.desktop-only { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
  }
  .site-nav.open .nav-links a { width: 100%; padding: 10px 0; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  background: var(--ink);
  color: #f2efe5;
  overflow: hidden;
  padding: 110px 0 100px;
}
.hero::before {
  /* subtle contour-line texture, evoking a coastal survey map */
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    radial-gradient(circle at 18% 30%, transparent 0 60px, var(--line-light) 61px, transparent 62px),
    radial-gradient(circle at 18% 30%, transparent 0 110px, var(--line-light) 111px, transparent 112px),
    radial-gradient(circle at 18% 30%, transparent 0 160px, var(--line-light) 161px, transparent 162px),
    radial-gradient(circle at 85% 75%, transparent 0 90px, var(--line-light) 91px, transparent 92px),
    radial-gradient(circle at 85% 75%, transparent 0 150px, var(--line-light) 151px, transparent 152px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: end;
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero { padding: 84px 0 70px; }
}
.hero h1 { color: #fdfcf8; max-width: 15ch; }
.hero-lede {
  font-size: 1.1rem;
  color: #cdd0c9;
  max-width: 46ch;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-brick { background: var(--brick); color: #fff; }
.btn-brick:hover { background: var(--brick-dark); color: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,0.4); color: #f2efe5; background: transparent; }
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-outline-ink { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline-ink:hover { background: var(--ink); color: #fff; }

/* Docket card — the "community docket" panel inside the hero */
.docket {
  background: var(--paper);
  color: var(--charcoal);
  border-radius: var(--radius);
  padding: 28px 30px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.28);
}
.docket h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 16px;
}
.docket-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px dashed var(--line);
  font-size: 0.92rem;
}
.docket-row:first-of-type { border-top: none; }
.docket-row strong { color: var(--ink); }

/* ==========================================================================
   Stat strip
   ========================================================================== */
.stat-strip {
  background: var(--parchment);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat-strip .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px 24px;
}
.stat { text-align: center; }
.stat .num {
  font-family: var(--font-display);
  font-size: 2.3rem;
  color: var(--brick);
  display: block;
  font-weight: 600;
}
.stat .label {
  font-size: 0.82rem;
  color: var(--charcoal-soft);
  letter-spacing: 0.03em;
}
@media (max-width: 768px) {
  .stat-strip .container { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Section headers
   ========================================================================== */
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--charcoal-soft); font-size: 1.02rem; }

/* ==========================================================================
   Cards — services
   ========================================================================== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card-service {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card-service:hover {
  border-color: var(--brick);
  transform: translateY(-4px);
}
.card-service .icon-mark { margin-bottom: 20px; }
.card-service h3 { margin-bottom: 10px; }
.card-service p { color: var(--charcoal-soft); font-size: 0.95rem; margin-bottom: 0; }
.card-service .num-tag {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--brass);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 10px;
}

/* icon marks: simple line-drawn SVG glyphs, brand-colored */
.icon-mark svg { width: 42px; height: 42px; }
.icon-mark.circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--parchment);
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-mark.circle svg { width: 30px; height: 30px; }

/* ==========================================================================
   Two-column feature (about-style) blocks
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1.1fr 0.9fr; }
.split.reverse .split-visual { order: 2; }
@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-visual { order: 0; }
}

.split-visual {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
}
.split-visual .map-lines {
  position: absolute;
  inset: 0;
  opacity: 0.5;
}
.split-visual .pin-label {
  position: relative;
  z-index: 1;
  color: #f2efe5;
}
.split-visual .pin-label .eyebrow { color: var(--brass); }
.split-visual .pin-label .eyebrow::before { background: var(--brass); }

.checklist { list-style: none; margin: 24px 0; padding: 0; }
.checklist li {
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px dashed var(--line);
  font-size: 0.96rem;
}
.checklist li:first-child { border-top: none; }
.checklist svg { flex-shrink: 0; margin-top: 3px; width: 18px; height: 18px; color: var(--sage); }

/* ==========================================================================
   Process strip (numbered — genuinely sequential, so numbers are earned)
   ========================================================================== */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.process-step {
  padding: 0 26px 0 0;
  position: relative;
}
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 0;
  width: 26px;
  height: 1px;
  background: var(--line);
  display: none;
}
@media (min-width: 769px) {
  .process-step:not(:last-child)::after { display: block; }
}
.process-step .step-num {
  font-family: var(--font-display);
  color: var(--brick);
  font-size: 1.6rem;
  display: block;
  margin-bottom: 10px;
}
@media (max-width: 768px) {
  .process { grid-template-columns: 1fr; gap: 28px; }
}

/* ==========================================================================
   Testimonial
   ========================================================================== */
.testimonial-block {
  background: var(--ink);
  color: #f2efe5;
  border-radius: var(--radius);
  padding: 56px;
  position: relative;
}
.testimonial-block .quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}
.testimonial-block p.quote {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: #fff;
  max-width: 62ch;
}
.testimonial-attr { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.testimonial-attr .swatch {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brick), var(--brass));
  flex-shrink: 0;
}
.testimonial-attr strong { display: block; color: #fff; font-size: 0.95rem; }
.testimonial-attr span { color: #b8bdaf; font-size: 0.85rem; }

@media (max-width: 768px) {
  .testimonial-block { padding: 36px 26px; }
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: var(--brick);
  color: #fff;
  border-radius: var(--radius);
}
.cta-band .container {
  padding: 56px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: #cdd0c9;
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.site-footer .brand-word { color: #fff; }
.site-footer p { color: #b8bdaf; font-size: 0.92rem; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #cdd0c9; font-size: 0.92rem; }
.footer-links a:hover { color: var(--brass); }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.92rem; }
.footer-contact i { color: var(--brass); margin-top: 3px; }

.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #f2efe5;
  font-size: 0.85rem;
}
.footer-social a:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }

.newsletter-form { display: flex; margin-top: 8px; border: 1px solid var(--line-light); border-radius: var(--radius); overflow: hidden; }
.newsletter-form input {
  flex: 1;
  border: none;
  background: transparent;
  color: #fff;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
}
.newsletter-form input::placeholder { color: #8b9086; }
.newsletter-form input:focus { outline: none; }
.newsletter-form button {
  border: none;
  background: var(--brass);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0 18px;
  cursor: pointer;
}

.copyright {
  border-top: 1px solid var(--line-light);
  padding: 22px 0;
  font-size: 0.85rem;
  color: #9aa094;
}
.copyright .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.copyright a { color: #cdd0c9; }
.copyright a:hover { color: var(--brass); }

/* ==========================================================================
   Page header (inner pages)
   ========================================================================== */
.page-header {
  background: var(--ink);
  color: #f2efe5;
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    115deg, var(--line-light) 0, var(--line-light) 1px, transparent 1px, transparent 22px
  );
  opacity: 0.5;
}
.page-header .container { position: relative; z-index: 1; }
.breadcrumb-trail {
  font-size: 0.85rem;
  color: #b8bdaf;
  margin-top: 10px;
}
.breadcrumb-trail a { color: #b8bdaf; }
.breadcrumb-trail a:hover { color: var(--brass); }
.breadcrumb-trail .sep { margin: 0 8px; opacity: 0.5; }

/* ==========================================================================
   Legal pages (terms/privacy/refund/cookie)
   ========================================================================== */
.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2.2em;
  padding-top: 0.4em;
  border-top: 1px solid var(--line);
}
.legal-content h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.legal-content p, .legal-content li { color: var(--charcoal-soft); font-size: 0.98rem; }
.legal-content strong { color: var(--ink); }
.legal-meta {
  display: inline-block;
  font-size: 0.85rem;
  color: var(--charcoal-soft);
  background: var(--parchment);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 16px;
  margin-bottom: 40px;
}
.legal-toc {
  background: var(--parchment);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 44px;
}
.legal-toc h4 { margin-bottom: 12px; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brick); }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2; gap: 24px; }
.legal-toc li { font-size: 0.92rem; margin-bottom: 8px; }
.legal-toc a { color: var(--charcoal); }
.legal-toc a:hover { color: var(--brick); }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } }

.legal-layout { display: grid; grid-template-columns: 1fr; max-width: 780px; margin: 0 auto; }

/* ==========================================================================
   FAQ (support page)
   ========================================================================== */
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.faq-item summary {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .toggle-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  color: var(--brick);
}
.faq-item[open] summary .toggle-icon::before { content: "\2212"; }
.faq-item:not([open]) summary .toggle-icon::before { content: "\002B"; }
.faq-item p { margin-top: 14px; color: var(--charcoal-soft); }

.support-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 860px) { .support-tiles { grid-template-columns: 1fr; } }
.support-tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: left;
}
.support-tile .icon-mark { margin-bottom: 16px; }
.support-tile a.tile-link { font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-card {
  background: var(--ink);
  color: #f2efe5;
  border-radius: var(--radius);
  padding: 40px;
}
.contact-info-card .eyebrow { color: var(--brass); }
.contact-info-card .eyebrow::before { background: var(--brass); }
.contact-info-card ul { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-info-card li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px dashed var(--line-light); }
.contact-info-card li:first-child { border-top: none; }
.contact-info-card i { color: var(--brass); margin-top: 3px; }
.contact-info-card strong { display: block; color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; }

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 24px;
}
.map-frame iframe { width: 100%; height: 260px; border: 0; display: block; }

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: #fff;
  color: var(--charcoal);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--brick);
  outline-offset: 1px;
  border-color: var(--brick);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.85rem; color: var(--charcoal-soft); margin-top: 8px; }

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--brick);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 998;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { background: var(--brick-dark); color: #fff; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card-service, .back-to-top { transition: none; }
}

/* Focus visibility */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--brick);
  outline-offset: 2px;
}

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
