/* ============================================
   Deck Hoss — deckhoss.com
   Clean, premium. Black + rust on white.
   ============================================ */

:root {
  --ink: #1c1814;
  --paper: #ffffff;
  --cream: #f8f5f0;
  --rust: #b25b28;
  --rust-dark: #93481d;
  --line: #e7e0d6;
  --muted: #6e655b;
  --max: 1140px;
  --radius: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--rust); text-decoration: none; }
a:hover { color: var(--rust-dark); }

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

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }

.eyebrow {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 14px;
}

.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 38em;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--rust);
  color: #fff;
}
.btn-primary:hover { background: var(--rust-dark); color: #fff; }

.btn-ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn-ghost:hover { border-color: #fff; color: #fff; }

.btn-outline {
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 56px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 30px; }

.main-nav a {
  color: var(--ink);
  font-weight: 600;
  font-size: 0.97rem;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--rust); }

.nav-phone {
  background: var(--ink);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  white-space: nowrap;
}
.nav-phone:hover { background: var(--rust); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.2s;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: #fff;
  isolation: isolate;
}

.hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(18, 14, 10, 0.78) 0%, rgba(18, 14, 10, 0.45) 55%, rgba(18, 14, 10, 0.2) 100%);
  z-index: -1;
}

.hero .wrap { padding-top: 90px; padding-bottom: 90px; }

.hero .eyebrow { color: #e8b389; }

.hero h1 { max-width: 13em; }

.hero p {
  margin: 22px 0 34px;
  font-size: 1.2rem;
  max-width: 32em;
  color: rgba(255, 255, 255, 0.92);
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Page hero (interior pages) */
.page-hero {
  background: var(--ink);
  color: #fff;
  padding: 72px 0 64px;
}
.page-hero .eyebrow { color: #e8b389; }
.page-hero p {
  margin-top: 18px;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 40em;
}

/* ---------- Sections ---------- */

section { padding: 88px 0; }
section.tight { padding: 56px 0; }
.alt { background: var(--cream); }

.section-head { max-width: 44em; margin-bottom: 48px; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.1rem; }

/* Trust bar */
.trustbar {
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
}
.trustbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.trustbar span {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.trustbar span::before {
  content: "—";
  color: var(--rust);
  margin-right: 10px;
}

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
}
.card img { height: 230px; width: 100%; object-fit: cover; }
.card .card-body { padding: 26px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }
.card .card-link {
  display: inline-block;
  margin-top: 14px;
  font-weight: 700;
  font-size: 0.95rem;
}

/* Feature split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split img {
  border-radius: var(--radius);
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.split h2 { margin-bottom: 18px; }
.split p { color: var(--muted); margin-bottom: 16px; }
.split ul { list-style: none; margin-top: 8px; }
.split li {
  padding: 10px 0 10px 30px;
  position: relative;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.split li:last-child { border-bottom: none; }
.split li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 14px;
  height: 3px;
  background: var(--rust);
}

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
}
.gallery figcaption {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Testimonial */
.testimonial {
  background: var(--ink);
  color: #fff;
  padding: 96px 0;
}
.testimonial blockquote {
  max-width: 50em;
  margin: 0 auto;
  text-align: center;
}
.testimonial .stars {
  color: var(--rust);
  font-size: 1.4rem;
  letter-spacing: 0.25em;
  margin-bottom: 26px;
}
.testimonial p {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.01em;
}
.testimonial cite {
  display: block;
  margin-top: 28px;
  font-style: normal;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* Process steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.step {
  counter-increment: step;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  background: var(--paper);
}
.step::before {
  content: "0" counter(step);
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--rust);
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.98rem; }

/* Service areas */
.areas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.areas span {
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  background: var(--paper);
}

/* FAQ */
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 18px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--rust);
  flex-shrink: 0;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 46em; }

/* Values list */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.value {
  border-left: 3px solid var(--rust);
  padding: 6px 0 6px 24px;
}
.value h3 { margin-bottom: 8px; }
.value p { color: var(--muted); font-size: 0.98rem; }

/* CTA band */
.cta-band {
  background: var(--rust);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band p {
  font-size: 1.15rem;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.92);
}
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--ink); color: #fff; }
.cta-band .btn-ghost { margin-left: 12px; }

/* ---------- Contact / form ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 { margin: 28px 0 6px; }
.contact-info h3:first-child { margin-top: 0; }
.contact-info p { color: var(--muted); }
.contact-info a.big {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--ink);
}
.contact-info a.big:hover { color: var(--rust); }

form.consult {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px;
  background: var(--paper);
}

.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 7px;
}

input, select, textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--rust);
}
textarea { resize: vertical; min-height: 130px; }

form .btn { width: 100%; border: none; cursor: pointer; font-size: 1.05rem; }

.form-note {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  padding: 70px 0 36px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255, 255, 255, 0.75); }
.site-footer a:hover { color: #fff; }

.footer-brand img { height: 70px; width: auto; margin-bottom: 18px; background: #fff; border-radius: var(--radius); padding: 6px; }
.footer-brand p { max-width: 26em; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Responsive ---------- */

@media (max-width: 920px) {
  .grid-3, .gallery, .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split img { height: 340px; }
}

@media (max-width: 680px) {
  section { padding: 60px 0; }

  .nav-toggle { display: block; }

  .main-nav {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 24px 26px;
    gap: 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .main-nav .nav-phone {
    margin-top: 18px;
    text-align: center;
    border-bottom: none;
  }

  .grid-3, .grid-2, .gallery, .steps, .values, .field-row, .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero { min-height: 540px; }
  .card img { height: 200px; }
  form.consult { padding: 26px 20px; }
}

/* Hero consultation form (home) */
.hero .wrap.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 56px;
}
.hero-form { color: var(--ink); border: none; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35); padding: 30px 28px; }
.hero-form h2 { font-size: 1.35rem; margin-bottom: 18px; }
.hero-form .field { margin-bottom: 14px; }
.hero-form textarea { min-height: 88px; }
@media (max-width: 920px) {
  .hero .wrap.hero-grid { grid-template-columns: 1fr; gap: 36px; }
}

/* Phone visible at the top on mobile (design-system rule) */
.header-phone { display: none; }
@media (max-width: 680px) {
  .header-phone {
    display: inline-block;
    font-weight: 800;
    font-size: 1rem;
    color: var(--ink);
    margin-left: auto;
  }
}
  

/* ---------- Service-page extras ---------- */

/* Areas chips */
.areas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* ---------- Cost tables (this page only) ---------- */

.table-scroll { overflow-x: auto; margin: 28px 0 12px; }
.costtable {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 1rem;
}
.costtable th,
.costtable td {
  text-align: left;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}
.costtable thead th {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom-width: 2px;
}
.costtable td:not(:first-child),
.costtable th:not(:first-child) { text-align: right; white-space: nowrap; }
.costtable tbody tr:last-child td { border-bottom: none; }
.costtable tbody tr.total td { font-weight: 700; border-top: 2px solid var(--line); }
.costtable td:first-child { font-weight: 600; }
.note { font-size: 0.92rem; color: var(--muted); }

/* ---------- Legal pages (Terms / Privacy) ---------- */
.legal { max-width: 46em; }
.legal h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.legal p { color: var(--muted); margin-bottom: 14px; }
.legal ul { color: var(--muted); padding-left: 22px; margin-bottom: 14px; }
.legal li { margin-bottom: 6px; }
.legal-hero .eyebrow + h1 + p { font-size: 0.95rem; }
