:root {
  --ink: #08202f;
  --ink-soft: #46596a;
  --paper: #fff;
  --white: #fff;
  --tint: #edf5f6;
  --teal: #0a6f7e;
  --cyan: #5fd0e2;
  --sign: #ffb81c;
  --madder: #b0382c;
  --wool: #b9ad93;
  --on-teal: #d3ecef;
  --wa: #0f7d46;
  --line: #dbe5e7;
  --gutter: 20px;
  --dock: 64px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", "Arial Narrow", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
  padding-bottom: calc(var(--dock) + env(safe-area-inset-bottom));
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
section[id] { scroll-margin-top: 16px; }

:focus-visible {
  outline: 3px solid var(--sign);
  outline-offset: 2px;
}

h1, h2 {
  margin: 0;
  font-stretch: 75%;
  font-weight: 800;
  line-height: .98;
  text-transform: uppercase;
  letter-spacing: -.005em;
}

h1, h2 { word-spacing: .08em; text-wrap: balance; }
h1 { font-size: clamp(2.75rem, 12.8vw, 5.75rem); }
h2 { font-size: clamp(2.5rem, 10.5vw, 4rem); }

.ico { width: 1.25em; height: 1.25em; flex: none; }

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px var(--gutter);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.top__logo img { width: 124px; }
.top__nav { display: none; }

.top__tel {
  font-weight: 700;
  font-stretch: 85%;
  font-size: 1.125rem;
  text-decoration: none;
  white-space: nowrap;
  padding: 12px 0;
}

/* Buttons */
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 20px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  transition: background-color .15s, transform .1s;
}

.btn:active { transform: translateY(1px); }
.btn--wa { background: var(--wa); color: var(--white); }
.btn--wa:hover { background: #0b6638; }
.btn--line { border: 2px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light .ico { color: var(--wa); }
.btn--light:hover { background: #e3f3ec; }

/* Hero */
.hero__text { padding: 28px var(--gutter) 28px; }

.hero__place {
  margin: 0 0 14px;
  font-weight: 600;
  color: var(--teal);
}

.hero__lead {
  margin: 18px 0 24px;
  font-size: 1.1875rem;
  line-height: 1.4;
  max-width: 34em;
}

.hero__actions { display: grid; gap: 10px; }
/* The dock already offers calling on phones; this leaves room for the photo */
.hero__actions .btn--line { display: none; }

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin-top: 18px;
  font-weight: 600;
}

.facts li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  background: var(--sign);
}

.hero__photo img { width: 100%; }

/* Services */
.services { padding: 52px var(--gutter) 40px; }
.services__head p { margin: 12px 0 22px; color: var(--ink-soft); }

.rows { border-top: 2px solid var(--ink); }
.rows li { border-bottom: 1px solid var(--line); }

.rows a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: 12px;
  padding: 14px 0;
  min-height: 72px;
  text-decoration: none;
}

.rows strong {
  font-size: 1.75rem;
  font-stretch: 80%;
  font-weight: 700;
  line-height: 1.1;
}

.rows span {
  grid-row: 2;
  color: var(--ink-soft);
  font-size: 1rem;
}

.rows .ico {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--teal);
  transition: transform .15s;
}

.rows a:hover .ico { transform: translateX(4px); }

/* Quote: drawn as a rug laid across the page, with kilim borders and wool fringe */
.quote {
  --kilim: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='24'%3E%3Crect width='40' height='24' fill='%2308202f'/%3E%3Crect width='40' height='3' fill='%23b0382c'/%3E%3Crect y='21' width='40' height='3' fill='%23b0382c'/%3E%3Cpath d='M20 5l7 7-7 7-7-7z' fill='%23ffb81c'/%3E%3Cpath d='M20 9l3 3-3 3-3-3z' fill='%23b0382c'/%3E%3Cpath d='M0 8l4 4-4 4zM40 8l-4 4 4 4z' fill='%235fd0e2'/%3E%3C/svg%3E");
  position: relative;
  margin: 30px 0 24px;
  padding: 68px var(--gutter);
  background:
    var(--kilim) repeat-x left top / 40px 24px,
    var(--kilim) repeat-x left bottom / 40px 24px,
    var(--teal);
  color: var(--white);
}

.quote::before,
.quote::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 12px;
  background: repeating-linear-gradient(90deg, var(--wool) 0 2px, transparent 2px 6px);
}

.quote::before { top: -12px; }
.quote::after { bottom: -12px; }

.quote__intro p { margin: 12px 0 26px; color: var(--on-teal); }

fieldset { margin: 0 0 22px; padding: 0; border: 0; }
legend, .field > span { display: block; padding: 0; margin-bottom: 10px; font-weight: 600; }
.field em { font-style: normal; font-weight: 400; color: var(--on-teal); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }

.chips input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.chips span {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1.5px solid rgba(255, 255, 255, .6);
  border-radius: 4px;
  font-weight: 600;
  transition: background-color .12s, color .12s, border-color .12s;
}

.chips input:checked + span {
  background: var(--sign);
  border-color: var(--sign);
  color: var(--ink);
}

.chips input:focus-visible + span {
  outline: 3px solid var(--white);
  outline-offset: 2px;
}

.field { display: block; margin-bottom: 22px; }

.field input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1.5px solid rgba(255, 255, 255, .6);
  border-radius: 4px;
  background: rgba(8, 32, 47, .18);
  color: var(--white);
  font: inherit;
  font-size: 1.0625rem;
}

.field input::placeholder { color: #a9d3d9; }
.field input:focus { outline: 3px solid var(--sign); outline-offset: 1px; }

.quote__preview {
  margin: 16px 0 0;
  font-size: .9375rem;
  color: var(--on-teal);
}

.quote__preview span { font-weight: 600; }
.quote__preview q { quotes: none; }

/* How it works */
.how { padding: 52px var(--gutter) 12px; }
.how ol { margin-top: 22px; counter-reset: step; }

.how li {
  position: relative;
  padding: 0 0 24px 46px;
  counter-increment: step;
}

.how li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -3px;
  font-size: 2rem;
  font-stretch: 75%;
  font-weight: 800;
  line-height: 1;
  color: var(--teal);
}

.how strong { display: block; font-size: 1.1875rem; line-height: 1.25; margin-bottom: 2px; }

/* Workshop */
.shop { padding: 40px 0 16px; }
.shop__head { padding: 0 var(--gutter); margin-bottom: 22px; }
.shop__grid { display: grid; gap: 8px; }
.shop__grid img { width: 100%; }

/* FAQ */
.faq { padding: 44px var(--gutter) 52px; background: var(--tint); }
.faq__list { margin-top: 22px; border-top: 2px solid var(--ink); }
details { border-bottom: 1px solid var(--line); }

summary {
  position: relative;
  padding: 17px 36px 17px 0;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 10px;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.3;
  color: var(--teal);
}

details[open] summary::after { content: "\2013"; }
details p { margin: -4px 0 18px; padding-right: 24px; color: var(--ink-soft); }

/* Contact */
.contact { background: var(--white); }
.contact__text { padding: 44px var(--gutter) 30px; }

.contact__tel {
  display: block;
  margin: 16px 0 14px;
  font-size: clamp(2.75rem, 13.4vw, 4.5rem);
  font-stretch: 75%;
  font-weight: 800;
  line-height: 1;
  color: var(--teal);
  text-decoration: none;
  white-space: nowrap;
}

address { font-style: normal; font-size: 1.125rem; line-height: 1.4; }
.contact__links { margin-top: 14px; }

.contact__links a {
  display: inline-block;
  padding: 10px 0;
  font-weight: 600;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.contact__map {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
  background: #e8e6df;
}

.foot {
  padding: 18px var(--gutter);
  background: var(--ink);
  color: #c6d3db;
  font-size: .9375rem;
}

.foot p { margin: 0; }

/* Thumb-reach action bar on phones */
.dock {
  position: fixed;
  z-index: 10;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 2fr 3fr;
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--ink);
}

.dock a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: var(--dock);
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
}

.dock__tel { color: var(--white); }
.dock__wa { background: var(--wa); color: var(--white); }

@media (min-width: 560px) {
  .shop__grid { grid-template-columns: 1fr 1fr; }
  .shop__van { grid-column: 1 / -1; }
}

@media (min-width: 900px) {
  :root { --gutter: max(40px, calc((100vw - 1240px) / 2)); }
  body { padding-bottom: 0; }
  .dock { display: none; }
  .hero__actions { grid-template-columns: auto auto; justify-content: start; }
  .hero__actions .btn--line { display: flex; }

  .top { padding-top: 10px; padding-bottom: 10px; }
  .top__logo img { width: 148px; }

  .top__nav {
    display: flex;
    gap: 28px;
    margin-left: auto;
    font-weight: 600;
  }

  .top__nav a { text-decoration: none; padding: 8px 0; }
  .top__nav a:hover { color: var(--teal); }
  .top__tel { margin-left: 16px; font-size: 1.3125rem; }
  .top__tel:hover { color: var(--teal); }

  .hero {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: stretch;
  }

  .hero__text {
    align-self: center;
    padding: 56px 48px 56px var(--gutter);
  }

  h1 { font-size: clamp(4.25rem, 6.6vw, 6.25rem); }
  h2 { font-size: 4rem; }

  .hero__photo { position: relative; min-height: 620px; }

  .hero__photo img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
    object-position: 38% 50%;
  }

  .services {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 48px;
    padding-top: 88px;
    padding-bottom: 72px;
  }

  .rows a {
    grid-template-columns: 220px 1fr auto;
    min-height: 76px;
  }

  .rows a:hover strong { color: var(--teal); }
  .rows strong { font-size: 2rem; }
  .rows span { grid-row: 1; grid-column: 2; font-size: 1.0625rem; }
  .rows .ico { grid-column: 3; grid-row: 1; }

  .quote { padding-top: 72px; padding-bottom: 72px; }

  .quote__inner {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 48px;
  }

  .quote__form { max-width: 620px; }
  .quote__form .btn { display: inline-flex; min-width: 280px; }

  .how {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 48px;
    padding-top: 88px;
    padding-bottom: 48px;
  }

  .how ol { margin-top: 0; }

  .shop { padding: 48px var(--gutter) 40px; }
  .shop__head { padding: 0; }

  .shop__grid {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
  }

  .shop__van { grid-column: 1; grid-row: 1 / span 2; position: relative; }

  .shop__van img {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
  }

  .faq {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 48px;
    padding-top: 72px;
    padding-bottom: 88px;
  }

  .faq__list { margin-top: 0; }

  .contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .contact__text { padding: 72px 48px 72px var(--gutter); }
  .contact__tel { font-size: 4.5rem; }
  .contact__map { height: 100%; min-height: 420px; }
}

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