/* A Brush With Paint - demo site styles */

:root {
  --blue: #2F63C8;
  --blue-dark: #1E4596;
  --orange: #F2793A;
  --orange-dark: #D9632A;
  --white: #FFFFFF;
  --ink: #222222;
  --muted: #717171;
  --line: #DDDDDD;
  --field-line: #B0B0B0;
  --soft: #F7F7F7;
  --blue-tint: #DCE7FA;
  --orange-tint: #FDE3D3;
  --shadow-hover: 0 6px 16px rgba(0, 0, 0, 0.12);
  --radius-card: 16px;
  --radius-panel: 24px;
  --max: 1200px;
  --gutter: 24px;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--blue-dark); outline-offset: 2px; }
.hero :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }

.skip {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--white); color: var(--ink); padding: 8px 12px; border-radius: 8px;
}
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 72px 0; }
.section.soft { background: var(--soft); }
.center { text-align: center; }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange-dark);
}

.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); font-weight: 800; }
.section-head p { color: var(--muted); margin-top: 8px; max-width: 640px; }

/* Buttons / pills */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px;
  font: 700 15px/1.2 var(--font-body); text-decoration: none; white-space: nowrap;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, box-shadow .15s;
}
.pill-orange { background: var(--orange); color: var(--ink); }
.pill-orange:hover { background: var(--orange-dark); }
.pill-blue { background: var(--blue); color: var(--white); }
.pill-blue:hover { background: var(--blue-dark); }
.pill-outline { background: var(--white); color: var(--ink); border-color: var(--ink); }
.pill-outline:hover { background: var(--soft); }
.pill-outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.pill-outline-light:hover { background: rgba(255, 255, 255, 0.14); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none;
  font: 800 20px/1 var(--font-head); color: var(--blue); white-space: nowrap; min-height: 44px;
}
.brand svg { width: 34px; height: auto; flex: none; }
.brand-text { display: inline; font-size: 16px; }
.nav { display: none; gap: 28px; margin: 0 auto; }
.nav a {
  font-weight: 500; text-decoration: none; color: var(--ink);
  padding: 8px 0; border-bottom: 2px solid transparent; min-height: 44px;
  display: inline-flex; align-items: center;
}
.nav a:hover { border-bottom-color: var(--ink); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.call-link {
  display: none; align-items: center; min-height: 44px;
  font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px;
}

/* Hero */
.hero { padding: 16px 0 0; }
.hero-panel {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--blue); color: var(--white);
  border-radius: var(--radius-panel);
  padding: 48px 20px 40px; text-align: center;
}
.blob {
  position: absolute; z-index: -1; pointer-events: none;
  background: var(--white); opacity: 0.08;
}
.blob-a {
  width: 520px; height: 380px; left: -160px; top: -120px;
  border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
}
.blob-b {
  width: 440px; height: 320px; right: -140px; bottom: -110px; opacity: 0.06;
  border-radius: 55% 45% 40% 60% / 45% 55% 45% 55%;
}
.hero-inner {
  max-width: 820px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.hero-logo { width: min(440px, 80%); height: auto; }
.tagline {
  /* Light orange reads on blue; bold and large enough for the contrast rule */
  font-size: 19px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #FFC9A8;
}
.hero h1 { color: var(--white); font-weight: 800; font-size: clamp(2.25rem, 6vw, 4rem); }
.hero .sub { font-size: 18px; max-width: 560px; }

/* Airbnb-style search bar */
.search {
  display: flex; align-items: center; width: 100%; max-width: 720px; margin-top: 12px;
  background: var(--white); color: var(--ink); border-radius: 999px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12); padding: 8px;
}
.seg {
  flex: 1; min-width: 0; min-height: 44px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
  padding: 8px 20px; border: 0; border-radius: 999px; background: transparent;
  font: inherit; color: inherit; text-align: left; cursor: pointer;
}
.seg:hover { background: var(--soft); }
.seg + .seg { border-left: 1px solid var(--line); border-radius: 0; }
.seg-label { font-size: 12px; font-weight: 700; }
.seg-value { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.go {
  flex: none; height: 52px; width: 52px; padding: 0 16px; margin-left: 4px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; background: var(--orange); color: var(--ink);
  font: 700 15px/1 var(--font-body); cursor: pointer;
}
.go:hover { background: var(--orange-dark); }
.go-label { display: none; }
.hero-actions { margin-top: 12px; }

/* Category chips */
.chips-wrap { border-bottom: 1px solid var(--line); }
.chips {
  display: flex; gap: 28px; overflow-x: auto; padding-top: 12px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-width: 72px; min-height: 44px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 6px 4px 10px; color: var(--muted); font-size: 13px; font-weight: 500;
  text-decoration: none; border-bottom: 2px solid transparent;
}
.chip svg { width: 28px; height: 28px; }
.chip:hover { color: var(--ink); }
.chip.active { color: var(--ink); font-weight: 700; border-bottom-color: var(--ink); }

/* Services listing cards */
.grid-services { display: grid; grid-template-columns: 1fr; gap: 24px; }
.listing {
  display: flex; flex-direction: column; gap: 8px;
  padding: 8px; border-radius: var(--radius-card); transition: box-shadow .2s;
}
.listing:hover { box-shadow: var(--shadow-hover); }
.tile {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--radius-card); border: 1px solid var(--line);
}
.tile svg { width: 100%; height: 100%; }
.tag {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  background: var(--white); color: var(--ink); font-size: 12px; font-weight: 700;
  padding: 6px 10px; border-radius: 999px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}
.listing h3 { font-size: 18px; font-weight: 700; margin-top: 6px; }
.listing p { color: var(--muted); font-size: 15px; }
.cta {
  align-self: flex-start; margin-top: 4px; min-height: 44px;
  display: inline-flex; align-items: center;
  font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px;
}

/* How it works */
.steps { list-style: none; display: grid; grid-template-columns: 1fr; gap: 32px; }
.step .num {
  width: 48px; height: 48px; border-radius: 50%; margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange); color: var(--ink);
  font: 800 22px/1 var(--font-head);
}
.step h3 { font-size: 20px; margin-bottom: 8px; }
.step p { color: var(--muted); }

/* Why us (host card) */
.host { display: grid; gap: 40px; align-items: center; }
.why-title { font-size: clamp(1.75rem, 3.5vw, 2.25rem); font-weight: 800; margin-top: 8px; }
.host-wrap { margin-top: 32px; }
.host-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 32px; box-shadow: var(--shadow-hover); text-align: center;
}
.avatar {
  width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 50%;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font: 800 32px/1 var(--font-head);
}
.host-card h3 { font-size: 24px; }
.host-card .role { color: var(--muted); margin-top: 4px; }
.host-card .note { margin-top: 16px; }
.points { list-style: none; display: grid; gap: 24px; }
.point { display: flex; gap: 16px; align-items: flex-start; }
.point-icon {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--blue-tint); display: flex; align-items: center; justify-content: center;
}
.point-icon svg { width: 22px; height: 22px; }
.point h3 { font-size: 18px; margin-bottom: 4px; }
.point p { color: var(--muted); }

/* Service area */
.area-card {
  display: grid; overflow: hidden; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-card);
}
.area-map { background: var(--blue-tint); min-height: 220px; }
.area-map svg { width: 100%; height: 100%; }
.area-text { padding: 28px; }
.area-text h3 { font-size: 22px; }
.area-text p { color: var(--muted); margin-top: 6px; }

/* Contact */
.contact { display: grid; gap: 32px; }
.form-card {
  border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 28px; background: var(--white); box-shadow: var(--shadow-hover);
}
.form-grid { display: grid; gap: 16px; }
.row2 { display: grid; gap: 16px; }
.field {
  position: relative; background: var(--white);
  border: 1px solid var(--field-line); border-radius: 8px; padding: 10px 12px 8px;
}
.field:focus-within { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.field label { display: block; font-size: 12px; font-weight: 500; color: var(--muted); line-height: 1.2; }
.field input, .field select, .field textarea {
  display: block; width: 100%; margin-top: 4px; padding: 4px 0 2px;
  border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink);
  outline: none;
}
.field textarea { min-height: 96px; resize: vertical; }
.form-card .pill { margin-top: 4px; }
.contact-card {
  background: var(--soft); border-radius: var(--radius-card); padding: 28px;
}
.contact-list { display: grid; gap: 20px; margin-bottom: 24px; }
.contact-list dt {
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--orange-dark);
}
.contact-list dd { margin: 4px 0 0; font-size: 18px; font-weight: 500; word-break: break-word; }
.contact-list dd a { display: inline-flex; align-items: center; min-height: 44px; }

/* Footer */
.site-footer { background: var(--blue); color: var(--white); padding: 56px 0 32px; }
.footer-top { display: flex; flex-direction: column; gap: 24px; }
.footer-logo { width: 260px; max-width: 100%; height: auto; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-links a {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--white); text-decoration: none; font-weight: 500;
}
.footer-links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-fine {
  margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.3);
  display: flex; flex-direction: column; gap: 6px; font-size: 14px;
}

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60;
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px;
  background: var(--ink); color: var(--white); font-size: 15px; text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  opacity: 0; pointer-events: none; transform: translate(-50%, 16px);
  transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Mobile sticky bar (phones only) */
.mobile-bar { display: none; }

/* ---------- Breakpoints ---------- */

@media (min-width: 400px) {
  .brand-text { display: inline; font-size: inherit; }
}

@media (min-width: 480px) {
  .call-link { display: inline-flex; }
}

@media (min-width: 600px) {
  .row2 { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 768px) {
  :root { --gutter: 24px; }
  .section { padding: 96px 0; }
  .brand { font-size: 20px; }
  .nav { display: flex; }
  .hero { padding-top: 20px; }
  .hero-panel { padding: 72px 40px 56px; }

  /* Search bar becomes a single pill with a text button */
  .search { padding: 8px 8px 8px 8px; }
  .go { width: auto; padding: 0 22px; }
  .go-label { display: inline; }

  .grid-services { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .chips { gap: 40px; }
  .chip { min-width: 84px; }
}

@media (min-width: 900px) {
  .host { grid-template-columns: 5fr 6fr; gap: 64px; }
  .area-card { grid-template-columns: 1.2fr 1fr; }
  .contact { grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
}

@media (min-width: 1024px) {
  .grid-services { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  body { padding-bottom: 92px; }

  /* Search bar becomes a stacked rounded card */
  .search {
    flex-direction: column; align-items: stretch; padding: 0;
    border-radius: var(--radius-card); max-width: 420px;
  }
  .seg { width: 100%; border-radius: 0; padding: 12px 20px; }
  .seg:first-child { border-radius: var(--radius-card) var(--radius-card) 0 0; }
  .seg + .seg { border-left: 0; border-top: 1px solid var(--line); }
  .go { align-self: flex-end; margin: 0 12px 12px 0; }
  .toast { bottom: 100px; }

  .mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--white); border-top: 1px solid var(--line);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
  }
  .mb-title { font-weight: 700; font-size: 16px; line-height: 1.2; }
  .mb-sub { font-size: 13px; color: var(--muted); }
}

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