/* Minimal fallback rules for every class in the shared contract.
 *
 * Always prepended to the model-generated stylesheet, which overrides it via the normal
 * later-wins cascade. This exists because the stylesheet and the pages are generated by
 * separate model calls, so the stylesheet can omit a contract class -- which used to fail
 * the whole build (a real business, find-dog, died on a missing `btn-primary`). With this
 * in place a missed rule degrades to plain-but-styled instead of destroying the build.
 *
 * Keep these deliberately neutral and low-specificity: they are a safety net, not a design.
 */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; line-height: 1.6; }
img { max-width: 100%; height: auto; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 1rem; }

/* Owner-uploaded pictures. Without explicit sizing an <img> renders at its natural size,
 * so a phone photo used as a logo would fill the whole header. */
.logo-mark { height: 2.5rem; width: auto; object-fit: contain; }
.hero-image { width: 100%; max-height: 420px; object-fit: cover; border-radius: .5rem; }
.gallery-image { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .5rem; }
.about-image { width: 100%; max-width: 420px; border-radius: .5rem; }

.site-header { padding: 1rem 0; }
.header-inner { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; gap: .5rem; text-decoration: none; font-weight: 700; }
.logo-text { font-weight: 700; }
.main-nav { display: block; }
.nav-list { display: flex; flex-wrap: wrap; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.nav-link { text-decoration: none; }
.nav-link:hover, .nav-link:focus { text-decoration: underline; }
.is-current { font-weight: 700; }

.hero, .page-hero { padding: 3rem 0; }

/* A photo sitting BEHIND the hero text instead of above it. The picture itself is set as
 * an inline `background-image` on the element, because it is per-business data the
 * stylesheet cannot know; these rules supply the darkening overlay and the stacking that
 * keep the heading readable over any photo, light or dark.
 *
 * Exists because an owner asked twice for exactly this and there was no way to express
 * it -- the only picture vocabulary was `.hero-image`, an <img> in the normal page flow. */
.hero-bg { position: relative; background-size: cover; background-position: center;
  padding: 5rem 0; overflow: hidden; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.hero-bg > * { position: relative; z-index: 1; }
.hero-bg .hero-title, .hero-bg .hero-subtitle { color: #fff; }
.hero-inner { display: flex; flex-direction: column; gap: 1rem; }
.hero-title { margin: 0; font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.15; }
.hero-subtitle { margin: 0; font-size: 1.125rem; }

.section { padding: 3rem 0; }
.section-alt { padding: 3rem 0; }
.section-title { margin: 0 0 1rem; font-size: clamp(1.4rem, 3vw, 2rem); }
.section-intro { margin: 0 0 1.5rem; max-width: 60ch; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.card { padding: 1.25rem; border: 1px solid rgba(0, 0, 0, .12); border-radius: .5rem; }
.card-title { margin: 0 0 .5rem; font-size: 1.125rem; }
.card-text { margin: 0; }

.steps { display: grid; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step-number { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid currentColor; font-weight: 700; }
.step-title { margin: 0 0 .25rem; font-size: 1.05rem; }
.step-text { margin: 0; }

/* FAQ items are <details>/<summary>: they expand on click with no JavaScript. */
html { scroll-behavior: smooth; }
.faq-list { display: grid; gap: 1rem; margin: 0; padding: 0; }
.faq-item { padding: 1rem; border: 1px solid rgba(0, 0, 0, .12); border-radius: .5rem; }
.faq-question { margin: 0; font-size: 1.05rem; font-weight: 700; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after { content: "+"; font-weight: 700; flex: 0 0 auto; }
details[open] > .faq-question::after { content: "\2212"; }
.faq-answer { margin: .75rem 0 0; }

.cta-band { padding: 3rem 0; text-align: center; }
.cta-title { margin: 0 0 .5rem; font-size: clamp(1.3rem, 3vw, 1.9rem); }
.cta-text { margin: 0 0 1.25rem; }

.btn { display: inline-block; padding: .7rem 1.4rem; border-radius: .4rem; text-decoration: none;
  border: 1px solid currentColor; cursor: pointer; }
.btn:hover, .btn:focus { opacity: .85; }
.btn-primary { font-weight: 600; }
.btn-secondary { font-weight: 500; background: transparent; }

.contact-list { display: grid; gap: .75rem; list-style: none; margin: 0; padding: 0; }
.contact-item { display: flex; flex-wrap: wrap; gap: .5rem; }
.contact-label { font-weight: 600; }
.contact-value { }

.site-footer { padding: 2rem 0; }
.footer-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.footer-col { }
.footer-title { margin: 0 0 .5rem; font-size: 1rem; }
.footer-note { margin: 0; font-size: .9rem; }

@media (max-width: 640px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
  .step { flex-direction: column; }
}

/* ---- generated ---- */
:root {
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Inter", sans-serif;
  --color-bg: #0d0d0d;
  --color-surface: #1a1a1a;
  --color-ink: #ffffff;
  --color-muted: #929292;
  --color-border: #313131;
  --color-accent: #ff5f00;
  --color-accent-ink: #111111;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-ink);
}

h1, h2, h3,
.hero-title, .section-title, .card-title, .cta-title, .step-title, .footer-title, .logo-text {
  font-family: var(--font-display);
}

:root {
  --bg: #0d0d0d;
  --raised: #1a1a1a;
  --text: #ffffff;
  --secondary: #929292;
  --border: #313131;
  --accent: #ff5f00;
  --accent-ink: #111111;
  --font-heading: "Bebas Neue", sans-serif;
  --font-body: "Inter", sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 8px rgba(0,0,0,0.3);
  --fs-body: 1rem;
  --fs-lg: clamp(1.25rem, 2vw, 1.75rem);
  --fs-heading: clamp(2.5rem, 6vw, 4.5rem);
  --fs-section-title: clamp(2rem, 4vw, 3rem);
  --line-height-body: 1.6;
  --line-height-heading: 1.2;
  --letter-spacing-heading: 0.05em;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--line-height-body);
}
*, *::before, *::after { box-sizing: inherit; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Header */
.site-header {
  background-color: var(--raised);
  border-bottom: 1px solid var(--border);
  padding: var(--space-sm) 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}
.logo-text {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--accent);
  margin: 0;
}
.main-nav { }
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.nav-link {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  transition: background-color 0.2s, color 0.2s;
}
.nav-link:hover,
.nav-link:focus {
  background-color: var(--accent);
  color: var(--accent-ink);
}
.is-current {
  background-color: var(--accent);
  color: var(--accent-ink);
}

/* Hero */
.hero,
.page-hero {
  position: relative;
  color: var(--text);
  padding: var(--space-lg) 0;
  overflow: hidden;
}
.hero-inner,
.page-hero .hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.hero-title,
.page-hero .hero-title {
  font-family: var(--font-heading);
  font-size: var(--fs-heading);
  margin: 0 0 var(--space-sm) 0;
  line-height: var(--line-height-heading);
  letter-spacing: var(--letter-spacing-heading);
  position: relative;
  display: inline-block;
}
.hero-title::after,
.page-hero .hero-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 4px;
  background-color: var(--accent);
}
.hero-subtitle,
.page-hero .hero-subtitle {
  font-size: var(--fs-lg);
  margin: 0;
  color: var(--secondary);
}

/* Sections */
.section {
  padding: var(--space-lg) 0;
}
.section-alt {
  background-color: var(--raised);
}
.section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-section-title);
  margin: 0 0 var(--space-sm) 0;
  color: var(--text);
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 4px;
  background-color: var(--accent);
}
.section-intro {
  font-size: var(--fs-lg);
  color: var(--secondary);
  margin-bottom: var(--space-lg);
}

/* Cards */
.card-grid {
  display: grid;
  gap: var(--space-md);
}
@media (min-width: 640px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background-color: var(--raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover,
.card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  margin: 0 0 var(--space-xs) 0;
  color: var(--text);
}
.card-text {
  font-size: var(--fs-body);
  color: var(--secondary);
  margin: 0;
}

/* Process steps */
.steps {
  display: grid;
  gap: var(--space-lg);
}
@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
}
.step-number {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.step-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  margin: 0 0 var(--space-xs) 0;
  color: var(--text);
}
.step-text {
  font-size: var(--fs-body);
  color: var(--secondary);
  margin: 0;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: var(--space-sm);
}
.faq-item {
  background-color: var(--raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}
.faq-question {
  padding: var(--space-md);
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::after {
  content: "▾";
  font-size: 0.75em;
  transition: transform 0.2s;
}
.faq-item[open] .faq-question::after {
  transform: rotate(180deg);
}
.faq-answer {
  padding: 0 var(--space-md) var(--space-md);
  color: var(--secondary);
  font-size: var(--fs-body);
}

/* CTA band */
.cta-band {
  background-color: var(--accent);
  color: var(--accent-ink);
  text-align: center;
  padding: var(--space-lg) 0;
}
.cta-title {
  font-family: var(--font-heading);
  font-size: var(--fs-heading);
  margin: 0 0 var(--space-sm) 0;
}
.cta-text {
  font-size: var(--fs-lg);
  margin: 0 0 var(--space-lg) 0;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: var(--space-sm) var(--space-lg);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover,
.btn:focus {
  transform: translateY(-2px);
}
.btn-primary {
  background-color: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #ff7b26;
}
.btn-secondary {
  background-color: var(--raised);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover,
.btn-secondary:focus {
  background-color: var(--bg);
  color: var(--text);
}

/* Contact details */
.contact-list {
  display: grid;
  gap: var(--space-sm);
}
.contact-item {
  display: flex;
  align-items: flex-start;
}
.contact-label {
  flex: 0 0 80px;
  color: var(--secondary);
  font-size: var(--fs-body);
}
.contact-value {
  color: var(--text);
  font-size: var(--fs-body);
  word-break: break-word;
}

/* Footer */
.site-footer {
  background-color: var(--raised);
  border-top: 1px solid var(--border);
  padding: var(--space-lg) 0;
  color: var(--secondary);
}
.footer-inner {
  display: grid;
  gap: var(--space-md);
}
@media (min-width: 640px) {
  .footer-inner { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.footer-title {
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  margin: 0 0 var(--space-xs) 0;
  color: var(--text);
}
.footer-note {
  font-size: var(--fs-body);
  line-height: 1.5;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .container { width: 95%; }
  .hero-inner,
  .page-hero .hero-inner { padding: 0 var(--space-sm); }
  .section { padding: var(--space-md) 0; }
}