/* Trades station demos — navy + gold · mobile-first · compact hero */
:root {
  --navy: #0B1F3A;
  --navy-deep: #071528;
  --navy-soft: #122844;
  --navy-mid: #1E3A5F;
  --gold: #C9A227;
  --gold-deep: #A8861F;
  --gold-soft: #E8D48A;
  --ink: #F5F2EA;
  --muted: #A8B4C4;
  --surface: #152A48;
  --card: #163052;
  --border: #1E3A5F;
  --ok: #3D9B6E;
  --star: #C9A227;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --radius: 14px;
  --wrap: 960px;
  --pad: max(1.25rem, env(safe-area-inset-left, 0px));
  --pad-r: max(1.25rem, env(safe-area-inset-right, 0px));
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 5.5rem;
}

.wrap {
  width: min(100% - var(--pad) - var(--pad-r), var(--wrap));
  margin-inline: auto;
}

a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(201, 162, 39, 0.55);
  outline-offset: 2px;
}

/* Nav */
.td-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 31, 58, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.td-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.4rem;
  padding: 0.45rem 0;
}
.td-logo {
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
  font-size: 1.05rem;
  color: var(--ink);
}
.td-logo span { color: var(--gold); }
.td-nav nav {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.td-nav nav > a:not(.btn) {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}
@media (max-width: 560px) {
  .td-nav nav > a:not(.btn) { display: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  letter-spacing: -0.01em;
  cursor: pointer;
  font-family: inherit;
}
.btn-call {
  background: var(--gold);
  color: var(--navy);
}
.btn-call:hover { background: var(--gold-soft); }
.btn-quote {
  background: transparent;
  border-color: rgba(201, 162, 39, 0.55);
  color: var(--ink);
}
.btn-quote:hover {
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.12);
}
.btn-block { width: 100%; margin-top: 0.55rem; }

/* Compact faded photo hero ≤320px */
section.hero.photo-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
  margin: 0;
  min-height: 0;
  height: clamp(220px, 32vh, 320px);
  max-height: 320px;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* .hero-photo retired — real photo via .hero-bg img */
/* Shop-specific hero washes via body class */






.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(7,21,40,.82) 0%, rgba(7,21,40,.45) 42%, rgba(7,21,40,.15) 68%, transparent 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 1.35rem 0 1.25rem;
  max-width: 34rem;
}
.badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.photo-hero h1 {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.45);
  margin: 0.4rem 0 0.55rem;
  font-size: clamp(1.45rem, 3.6vw, 2.1rem);
  letter-spacing: -0.03em;
  max-width: 18ch;
  line-height: 1.15;
}
.lede {
  color: rgba(245, 242, 234, .9);
  max-width: 34rem;
  font-size: 0.95rem;
  margin: 0;
}
.hero-actions {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
@media (max-width: 720px) {
  section.hero.photo-hero {
    height: auto;
    min-height: 240px;
    max-height: none;
  }
  .hero-content { padding: 1.25rem 0 1.15rem; max-width: none; }
  
}

/* Sections */
.pad { padding: 2.25rem 0; }
.pad.soft { background: var(--navy-soft); }
.section-label {
  margin: 0 0 0.25rem;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  letter-spacing: -0.025em;
  color: var(--ink);
}
.muted { color: var(--muted); margin: 0 0 1rem; }

.service-tiles, .review-cards, .package-grid, .why-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) {
  .service-tiles, .package-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .review-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 860px) {
  .service-tiles { grid-template-columns: repeat(3, 1fr); }
  .package-grid { grid-template-columns: repeat(2, 1fr); }
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.05rem;
  box-shadow: var(--shadow);
  margin: 0;
}
.card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.tile-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.65rem;
  border-radius: 12px;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.28);
}
.tile-icon svg { display: block; }

.hours-row {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 720px) {
  .hours-row { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}
.hours-list {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
}
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}
.hours-list span { color: var(--muted); }
.area { color: var(--muted); font-size: 0.92rem; margin: 0; }

.quote-panel {
  background: linear-gradient(160deg, #163052 0%, #0B1F3A 100%);
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: var(--ink);
  border-radius: calc(var(--radius) + 4px);
  padding: 1.35rem 1.2rem 1.25rem;
  box-shadow: var(--shadow);
}
.quote-panel h3 { margin: 0 0 0.4rem; font-size: 1.2rem; }
.quote-panel > p { margin: 0 0 0.85rem; color: var(--muted); font-size: 0.92rem; }

.review-cards .card .stars {
  display: block;
  color: var(--star);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}
.review-cards .card footer,
.review-cards .card .who {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--gold-soft);
}
.review-cards .card p {
  color: var(--ink);
  font-size: 0.95rem;
}

.price {
  display: inline-block;
  margin-top: 0.55rem;
  font-weight: 750;
  color: var(--gold);
  font-size: 0.95rem;
}

.form-card {
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.form-card label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--ink);
}
.form-card input,
.form-card textarea {
  font: inherit;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--navy-deep);
  color: var(--ink);
}
.form-card input::placeholder,
.form-card textarea::placeholder { color: #6B7A8F; }
.form-ok { color: var(--ok); margin: 0.35rem 0 0; font-size: 0.9rem; }
.form-ok a { color: var(--gold); font-weight: 600; }

.band {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.2rem;
  border-radius: calc(var(--radius) + 2px);
  background: var(--navy-soft);
  border: 1px solid var(--border);
}
.band h2 { margin: 0 0 0.35rem; }

.td-footer {
  padding: 1.75rem 0 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
}
.td-footer strong { color: var(--ink); }
.td-footer a { color: var(--gold); font-weight: 600; }
.by { font-size: 0.8rem; color: var(--muted); }

/* Sticky mobile CTAs + hide while typing */
.sticky {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 30;
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem max(0.85rem, env(safe-area-inset-left)) calc(0.65rem + env(safe-area-inset-bottom)) max(0.85rem, env(safe-area-inset-right));
  background: rgba(11, 31, 58, 0.94);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
}
.sticky .btn { flex: 1; }
@media (min-width: 860px) {
  .sticky { display: none; }
  body { padding-bottom: 0; }
}
html.kbd-open .sticky { display: none !important; }
html.kbd-open body { padding-bottom: 0.5rem; }
html.kbd-open input,
html.kbd-open textarea,
html.kbd-open select { scroll-margin-bottom: 1rem; }
