/* ============================================================================
   NTK Works design system - mobile-first
   ----------------------------------------------------------------------------
   COLOR SYSTEM (approved NTK Works brand: deep forest green + warm cream)
     --forest / --forest-deep .... primary: headers, nav, primary CTAs, footer
     --sage / --sage-deep ........ secondary: badges, highlights, icons
     --cream / --cream-deep ....... backgrounds: warm off-white page, sections
     --charcoal / --warm-gray ..... text: body copy, secondary copy
     --white ...................... cards, clean sections, contrast
   Brand colors are set at runtime from site-config.js (the --primary,
   --accent, --light, --text, --muted aliases below are the theming seam and
   are overridden per client). Layout, spacing, and components live here.
   ============================================================================ */

:root {
  /* ---- Brand tokens (fixed: the NTK Works visual identity) ---- */
  --forest: #1B2A21;
  --forest-deep: #101914;
  --sage: #788C6E;
  --sage-deep: #5C7260;
  --sage-dark: #48604C;
  --cream: #F7F4ED;
  --cream-deep: #EFE8D8;
  --charcoal: #252A27;
  --warm-gray: #5B655E;
  --white: #ffffff;
  --line: #E2DCCB;
  --input-line: #D8D1BC;

  /* ---- Component tokens ---- */
  --radius: 10px;
  --shadow: 0 2px 12px rgba(27, 42, 33, 0.10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* ---- Runtime brand seam (site-config.js overrides per client) ---- */
  --primary: var(--forest);
  --primary-dark: var(--forest-deep);
  --accent: var(--sage-deep);
  --accent-dark: var(--sage-dark);
  --light: var(--cream);
  --text: var(--charcoal);
  --muted: var(--warm-gray);
}

* { box-sizing: border-box; }

html, body { overflow-x: clip; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  background: var(--cream);
  -webkit-text-size-adjust: 100%;
}

/* Extra bottom space on mobile so the sticky call bar never covers content */
@media (max-width: 767px) {
  body.has-callbar { padding-bottom: 76px; }
}

img { max-width: 100%; height: auto; }

h1, h2, h3 { line-height: 1.25; color: var(--primary-dark); margin-top: 0; letter-spacing: -0.01em; }
h1, h2 { text-wrap: balance; }
h1 { font-size: 2.1rem; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.2rem; }

p { margin-top: 0; }

a { color: var(--primary); }
a:hover { color: var(--accent-dark); }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.section { padding: 56px 0; }
.section.light { background: var(--light); }

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ================= Header / nav ================= */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 12px;
}

.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-name {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--primary-dark);
}
.brand-tag {
  font-size: 0.8rem;
  color: var(--muted);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: none;
  border: 2px solid var(--primary);
  border-radius: 8px;
  cursor: pointer;
  color: var(--primary-dark);
}
.nav-toggle svg { width: 24px; height: 24px; }

.main-nav { display: none; }
.main-nav.open {
  display: block;
  /* Drops below the brand row instead of squeezing inside the flex header */
  flex: 0 0 100%;
  order: 5;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 8px 0 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.main-nav a {
  display: block;
  padding: 12px 4px;
  text-decoration: none;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--line);
}
.main-nav a[aria-current="page"] { color: var(--accent-dark); }

.header-call { display: none; }

/* ================= Buttons ================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s ease, transform 0.05s ease;
}
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 2px 8px rgba(27, 42, 33, 0.28); }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }

.btn-secondary {
  background: var(--white);
  color: var(--primary-dark);
  border: 2px solid var(--primary);
}
.btn-secondary:hover { background: var(--light); color: var(--primary-dark); }

.btn-light { background: var(--white); color: var(--primary-dark); }
.btn-light:hover { background: var(--light); color: var(--primary-dark); }

.btn-block { display: flex; width: 100%; }

.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ================= Hero ================= */

.hero {
  background: var(--primary-dark);
  color: #fff;
  padding: 64px 0;
}
.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { color: #fff; font-size: 2.2rem; margin-bottom: 14px; }
.hero p.lead { font-size: 1.15rem; color: #CBD4C9; max-width: 640px; }
.hero-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.hero-note { margin-top: 16px; font-size: 0.95rem; color: #9AA79B; }

/* Hero with device visual: headline + CTAs beside a desktop/phone mockup
   of the business owner's professional website. */
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero-visual { margin: 0; position: relative; }
.hero-visual .hm-browser {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}
.hero-visual .hm-bar {
  display: flex; align-items: center; gap: 8px;
  background: #ECE7D6; padding: 10px 12px;
}
.hero-visual .hm-dots { display: flex; gap: 6px; }
.hero-visual .hm-dots i { width: 10px; height: 10px; border-radius: 50%; background: #C9CFC6; display: block; }
.hero-visual .hm-url {
  flex: 1; background: #fff; border-radius: 999px;
  font-size: 0.72rem; color: var(--muted); padding: 3px 12px;
  white-space: nowrap; overflow: hidden;
}
.hero-visual .hm-screen { padding: 18px; display: grid; gap: 10px; background: #F7F4ED; }
.hero-visual .hm-nav { display: flex; justify-content: space-between; align-items: center; }
.hero-visual .hm-links { display: flex; gap: 6px; }
.hero-visual .hm-line { display: block; height: 9px; border-radius: 5px; background: #D8D1BC; }
.hero-visual .hm-hero { background: var(--forest); border-radius: 8px; padding: 16px 14px; display: grid; gap: 8px; }
.hero-visual .hm-headline { font-size: 0.9rem; font-weight: 800; color: #fff; line-height: 1.3; }
.hero-visual .hm-sub { font-size: 0.68rem; color: rgba(255, 255, 255, 0.85); line-height: 1.4; }
.hero-visual .hm-ctas { display: flex; gap: 8px; flex-wrap: wrap; }
.hero-visual .hm-cta {
  display: inline-block; background: var(--sage-deep); color: #fff;
  font-size: 0.7rem; font-weight: 800; border-radius: 8px; padding: 6px 14px;
}
.hero-visual .hm-cta.ghost { background: transparent; border: 1.5px solid rgba(255, 255, 255, 0.8); }
.hero-visual .hm-trust { display: flex; gap: 10px; flex-wrap: wrap; font-size: 0.62rem; font-weight: 700; color: var(--primary-dark); }
.hero-visual .hm-services { display: grid; gap: 6px; }
.hero-visual .hm-service {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: 7px; padding: 7px 10px; font-size: 0.72rem; font-weight: 700; color: var(--primary-dark);
}
.hero-visual .hm-phone {
  position: absolute; right: 2px; bottom: -6px; width: 118px;
  border: 3px solid #20262B; border-radius: 20px; background: #fff;
  padding: 10px 8px 12px; box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}
.hero-visual .hm-notch { width: 52px; height: 6px; border-radius: 3px; background: #D8D1BC; margin: 0 auto 10px; }
.hero-visual .hm-phone-screen { display: grid; gap: 8px; }
.hero-visual .hm-sticky { display: flex; border-radius: 8px; overflow: hidden; }
.hero-visual .hm-sticky span {
  flex: 1; text-align: center; font-size: 0.6rem; font-weight: 800;
  padding: 7px 4px; color: #fff; background: var(--forest);
}
.hero-visual .hm-sticky span:last-child { background: var(--forest-deep); }
.hero-caption {
  margin-top: 22px; text-align: center;
  color: #CBD4C9; font-size: 0.98rem; font-weight: 600;
}

/* ================= Trust signals ================= */

.trust-bar { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 28px 0;
}
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item svg { width: 28px; height: 28px; color: var(--accent-dark); flex-shrink: 0; margin-top: 2px; }
.trust-item strong { display: block; color: var(--primary-dark); font-size: 1rem; }
.trust-item span { font-size: 0.9rem; color: var(--muted); }

/* ================= Cards / grids ================= */

.grid { display: grid; gap: 20px; }
.grid.services-grid, .grid.reviews-grid { grid-template-columns: 1fr; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.card-icon svg { width: 28px; height: 28px; color: var(--primary); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; }
.card ul { margin: 12px 0 0; padding-left: 20px; color: var(--text); }
.card li { margin-bottom: 6px; }

/* Service detail rows on the Services page */
.service-detail {
  display: grid;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.service-detail:last-child { border-bottom: none; }
.service-detail h3 { margin-bottom: 6px; }
.service-detail ul { margin: 10px 0 0; padding-left: 20px; }

/* ================= Reviews ================= */

.stars { color: #A8823C; font-size: 1.15rem; letter-spacing: 2px; }
.review-card p.quote { font-style: italic; color: var(--text); }
.review-card .reviewer { margin-top: 14px; font-weight: 700; color: var(--primary-dark); font-size: 0.95rem; }
.rating-summary { text-align: center; margin-bottom: 30px; }
.rating-summary .big { font-size: 3rem; font-weight: 800; color: var(--primary-dark); }

/* ================= CTA band ================= */

.cta-band { background: var(--primary); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #CBD4C9; max-width: 600px; margin: 0 auto 24px; }
.cta-band .btn-row { display: flex; flex-direction: column; gap: 12px; align-items: center; }

/* ================= Footer ================= */

.site-footer { background: var(--primary-dark); color: #B9C2B8; }
.footer-grid {
  display: grid; gap: 28px;
  padding: 48px 0 28px;
  grid-template-columns: 1fr;
}
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 12px; }
.site-footer a { color: #B9C2B8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: #93A094; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 18px 0;
  font-size: 0.85rem;
  color: #93A094;
  display: flex; flex-direction: column; gap: 6px;
}

/* ================= Sticky mobile call bar ================= */

.callbar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: flex;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -2px 12px rgba(27, 42, 33, 0.14);
}
.callbar a {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 60px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
}
.callbar .callbar-call { background: var(--primary); color: #fff; }
.callbar .callbar-estimate { background: var(--primary-dark); color: #fff; }
.callbar.callbar-quote-only .callbar-estimate { background: var(--primary); }
.callbar svg { width: 22px; height: 22px; }

/* ================= Forms ================= */

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 6px; color: var(--primary-dark); }
.form-group input,
.form-group textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: var(--font);
  border: 2px solid var(--input-line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input:focus,
.form-group textarea:focus {
  outline: 3px solid rgba(120, 140, 110, 0.45);
  border-color: var(--accent);
}
.form-note { font-size: 0.9rem; color: var(--muted); margin-top: 12px; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius); display: none; }
.form-status.success { display: block; background: #e6f4ea; color: #1c6b32; border: 1px solid #a9d8b6; }
.form-status.error { display: block; background: #fdecea; color: #9c2b2b; border: 1px solid #f3b8b3; }
.hp-field { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ================= Contact page ================= */

.contact-grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
.contact-card { background: var(--light); border-radius: var(--radius); padding: 26px; }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: 10px 4px; border-bottom: 1px solid var(--line); }
.hours-table th { color: var(--primary-dark); }
.area-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.area-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-dark);
}
.map-fallback {
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
}
.map-fallback-inner { display: flex; align-items: center; justify-content: center; gap: 12px; }
.map-fallback-icon { display: inline-flex; color: var(--accent-dark); flex: 0 0 auto; }
.map-fallback-icon svg { width: 26px; height: 26px; }
.map-fallback p { margin: 0; color: var(--text); font-size: 1.05rem; }
.map-fallback p + p { margin-top: 6px; color: var(--muted); font-size: 0.95rem; }
.map-embed iframe { width: 100%; min-height: 320px; border: 0; border-radius: var(--radius); }
.emergency-box {
  background: #F6F1E2;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 28px;
}
.emergency-box strong { color: var(--accent-dark); }

/* ================= About page ================= */

.photo-placeholder {
  background: var(--light);
  border: 2px dashed #CBC3AC;
  border-radius: var(--radius);
  min-height: 220px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-weight: 600;
  text-align: center;
  padding: 24px;
}
.about-grid { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }
.owner-card { text-align: center; }
.owner-card .photo-placeholder { border-radius: 50%; width: 200px; height: 200px; min-height: 0; margin: 0 auto 14px; }

/* ================= Pricing page ================= */

.price-card {
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.price-card.featured { border-color: var(--accent); }
.price-flag {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}
.price { font-size: 3rem; font-weight: 800; color: var(--primary-dark); }
.price span { font-size: 1.1rem; font-weight: 600; color: var(--muted); }
.check-list { list-style: none; margin: 20px 0; padding: 0; }
.check-list li { display: flex; gap: 10px; margin-bottom: 10px; align-items: flex-start; }
.check-list svg { width: 22px; height: 22px; color: var(--accent-dark); flex-shrink: 0; margin-top: 3px; }
.guarantee-box {
  background: var(--light);
  border-left: 5px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px;
  margin: 32px 0;
}
.process-steps { counter-reset: step; list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.process-steps li {
  counter-increment: step;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 20px 20px 76px;
  position: relative;
  box-shadow: var(--shadow);
}
.process-steps li::before {
  content: counter(step);
  position: absolute; left: 20px; top: 18px;
  width: 40px; height: 40px;
  background: var(--primary); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem;
}
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 18px 20px;
}
.faq summary { font-weight: 700; color: var(--primary-dark); cursor: pointer; font-size: 1.05rem; }
.faq summary:focus-visible { outline: 3px solid rgba(120, 140, 110, 0.55); border-radius: 6px; }
.faq details p { margin: 12px 0 0; color: var(--text); }

/* ================= Desktop ================= */

@media (min-width: 768px) {
  h1 { font-size: 2.6rem; }
  .hero h1 { font-size: 3rem; }
  .hero { padding: 96px 0; }
  .hero-ctas { flex-direction: row; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 48px; }
  .hero-visual .hm-phone { width: 132px; right: 10px; }

  .nav-toggle { display: none; }
  .main-nav { display: block; }
  .main-nav ul { flex-direction: row; gap: 4px; padding: 0; align-items: center; }
  .main-nav a { border-bottom: none; padding: 10px 14px; border-radius: 8px; }
  .main-nav a:hover { background: var(--light); }
  .header-call {
    display: inline-flex;
    align-items: center; gap: 8px;
    background: var(--primary); color: #fff;
    font-weight: 800; text-decoration: none;
    padding: 12px 22px; border-radius: var(--radius);
    min-height: 48px;
  }
  .header-call:hover { background: var(--primary-dark); color: #fff; }
  .header-call svg { width: 20px; height: 20px; }

  .trust-grid { grid-template-columns: repeat(4, 1fr); }
  .grid.services-grid { grid-template-columns: repeat(3, 1fr); }
  .grid.reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .grid.two-col { grid-template-columns: 1fr 1fr; }

  .service-detail { grid-template-columns: 80px 1fr; }
  .service-detail .card-icon { margin-bottom: 0; }

  .cta-band .btn-row { flex-direction: row; justify-content: center; }

  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }

  .contact-grid { grid-template-columns: 1.1fr 1fr; }
  .about-grid { grid-template-columns: 1fr 320px; }

  .callbar { display: none; }
  body.has-callbar { padding-bottom: 0; }

  .process-steps { grid-template-columns: repeat(4, 1fr); }
  .process-steps li { padding: 76px 18px 22px; }
  .process-steps li::before { left: 18px; top: 18px; }
}

/* ================= Smart quote form ================= */

.form-group select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: var(--font);
  border: 2px solid var(--input-line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
}
.form-group select:focus {
  outline: 3px solid rgba(120, 140, 110, 0.45);
  border-color: var(--accent);
}
.choice-group { border: none; margin: 0 0 18px; padding: 0; }
.choice-group legend { font-weight: 700; margin-bottom: 10px; color: var(--primary-dark); padding: 0; }
.choice-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--input-line);
  border-radius: 999px;
  padding: 10px 18px;
  margin: 0 10px 10px 0;
  font-weight: 600;
  cursor: pointer;
  min-height: 48px;
  background: #fff;
}
.choice-pill input { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.choice-pill:has(input:checked) { border-color: var(--accent); background: #EBEEE3; }
.field-error input, .field-error textarea, .field-error select { border-color: #c0392b; }
.field-error legend, .field-error label { color: #c0392b; }

/* ================= Before / after gallery ================= */

.gallery-grid { grid-template-columns: 1fr; }
.gallery-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.gallery-pair figure { margin: 0; }
.gallery-frame {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--light);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-frame .photo-placeholder { border: none; min-height: 0; width: 100%; height: 100%; border-radius: 0; }
.gallery-pair figcaption {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.gallery-caption { margin-top: 14px; color: var(--muted); }

/* ================= Demo mode ================= */

.demo-banner {
  background: var(--forest);
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 16px;
}
.demo-banner a { color: #fff; text-decoration: underline; }
.sample-tag {
  display: inline-block;
  background: var(--light);
  border: 1px solid var(--input-line);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

/* ================= Why choose us ================= */

.why-card h3 { margin-bottom: 8px; }

@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* NTK Works company site: header logo visibility (Travis, 2026-09-21) */
.brand-logo { height: 60px; width: auto; display: block; }
.site-header .header-inner { min-height: 88px; gap: 16px; }
@media (max-width: 767px) {
  .site-header .header-inner { position: relative; justify-content: center; min-height: 100px; padding: 12px 76px; }
  .site-header .brand { margin: 0 auto; }
  .site-header .brand-logo { height: 64px; }
  .site-header .nav-toggle { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); }
}
@media (min-width: 768px) {
  .site-header .brand-logo { height: 58px; }
  .site-header .header-inner { gap: 20px; }
  .site-header .main-nav { margin-left: 8px; }
  .site-header .main-nav a { padding: 10px 8px; }
}
@media (min-width: 960px) {
  .site-header .header-right { gap: 14px; }
  .site-header .header-cta { padding: 12px 16px; }
}
