/* ==========================================================================
   Tinline Automotive — public stylesheet
   Hand-written. No framework. Bump ASSET_VERSION in app/config.php on change.
   ========================================================================== */

/* ---------- Fonts (self-hosted, OFL) ---------- */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-700.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --ink: #17191c;
  --ink-2: #23262b;
  --ink-3: #2e3238;
  --paper: #f4f1ea;
  --paper-2: #ebe7de;
  --white: #ffffff;
  --red: #c8262e;
  --red-dark: #a51d24;
  --red-soft: rgba(200, 38, 46, 0.1);
  --steel: #4a5563;
  --text: #23262b;
  --muted: #5b6270;
  --line: rgba(23, 25, 28, 0.12);
  --line-light: rgba(255, 255, 255, 0.14);
  --shadow: 0 10px 30px rgba(23, 25, 28, 0.10);
  --shadow-lg: 0 24px 60px rgba(23, 25, 28, 0.18);
  --radius: 6px;
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --header-h: 76px;
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--font-body);
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.ico { width: 1.5em; height: 1.5em; flex: none; }
.ico-sm { width: 1.1em; height: 1.1em; }
.ico-xs { width: 0.9em; height: 0.9em; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: var(--radius); z-index: 200; }
.skip-link:focus { top: 1rem; }

/* ---------- Type ---------- */
.h1, .h2, .h3, .h4, .hero-title { font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); }
.h2 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); }
.h3 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); }
.h4 { font-size: 1.45rem; font-weight: 600; line-height: 1.1; }
.eyebrow { font: 600 0.78rem/1.2 var(--font-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--red); margin-bottom: 0.9rem; display: inline-flex; gap: 0.5rem; align-items: center; }
.eyebrow-light { color: #ff8a90; }
.lead { font-size: 1.15rem; line-height: 1.55; color: var(--muted); max-width: 46rem; }
.muted { color: var(--muted); }
.sec-head { text-align: center; max-width: 48rem; margin: 0 auto 2.75rem; }
.sec-head .lead { margin-inline: auto; margin-top: 0.9rem; }
.sec-head-left { text-align: left; margin-left: 0; }
.sec-head-left .lead { margin-inline: 0; }
.sec-head-light .h2 { color: #fff; }
.sec-foot { text-align: center; margin-top: 2.5rem; }

.prose > * + * { margin-top: 1.1em; }
.prose h3 { font: 600 1.6rem/1.1 var(--font-display); color: var(--ink); margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.35em; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose-lg { font-size: 1.125rem; }
.prose-narrow { max-width: 46rem; }
.prose a { color: var(--red-dark); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font: 600 0.95rem/1 var(--font-display); letter-spacing: 0.09em; text-transform: uppercase;
  padding: 0.85rem 1.35rem; border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-3); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-lg { padding: 1rem 1.6rem; font-size: 1.02rem; }
.btn-sm { padding: 0.5rem 0.85rem; font-size: 0.8rem; }
.link-more { display: inline-flex; align-items: center; gap: 0.35rem; font: 600 0.95rem/1 var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--red-dark); text-decoration: none; }
.link-more .ico { transition: transform 0.15s ease; }
a:hover .link-more .ico, .link-more:hover .ico { transform: translateX(3px); }
.price-tag { display: inline-block; font: 600 0.9rem/1 var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); background: var(--paper-2); padding: 0.45rem 0.65rem; border-radius: 3px; }
.price-tag-lg { font-size: 1.1rem; background: var(--red); color: #fff; margin-top: 1.2rem; }

/* ---------- Topbar / announcement ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, 0.82); font-size: 0.85rem; }
.topbar-in { display: flex; align-items: center; gap: 1.25rem; min-height: 38px; flex-wrap: nowrap; }
.tb-item { display: inline-flex; align-items: center; gap: 0.45rem; text-decoration: none; white-space: nowrap; }
.tb-item .ico { color: var(--red); opacity: 0.95; }
a.tb-item:hover { color: #fff; }
.tb-social { margin-left: auto; display: inline-flex; gap: 0.75rem; }
.tb-social a { color: rgba(255, 255, 255, 0.7); }
.tb-social a:hover { color: #fff; }
.announce { background: var(--red); color: #fff; font-size: 0.9rem; font-weight: 500; text-align: center; }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding-block: 0.5rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper); border-bottom: 1px solid var(--line);
  /* deliberately: no transform, no filter, no backdrop-filter — a fixed drawer lives inside */
}
.site-header.menu-open { z-index: 120; }
.header-in { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; background: var(--red); color: #fff; font: 700 1.7rem/1 var(--font-display); border-radius: 4px; transform: skewX(-6deg); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font: 700 1.55rem/1 var(--font-display); letter-spacing: 0.02em; text-transform: uppercase; }
.brand-sub { font: 600 0.72rem/1 var(--font-display); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); margin-top: 0.25rem; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.5rem; }
.nav-list { display: flex; list-style: none; gap: 0.25rem; }
.nav-list a { display: block; padding: 0.55rem 0.8rem; text-decoration: none; font: 600 1rem/1 var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); border-radius: 3px; position: relative; }
.nav-list a:hover { color: var(--red); }
.nav-list a[aria-current="page"] { color: var(--red); }
.nav-list a[aria-current="page"]::after { content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 0.15rem; height: 2px; background: var(--red); }
.nav-mobile-extra { display: none; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 2px solid var(--ink); border-radius: var(--radius); padding: 0.45rem 0.7rem; align-items: center; gap: 0.5rem; font: 600 0.9rem/1 var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); z-index: 3; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle-close { display: block; }
.nav-overlay { position: fixed; inset: 0; background: rgba(23, 25, 28, 0.55); z-index: 1; }
.nav-overlay[hidden] { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(23, 25, 28, 0.94) 0%, rgba(23, 25, 28, 0.78) 38%, rgba(23, 25, 28, 0.35) 70%, rgba(23, 25, 28, 0.55) 100%); }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--red); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.8fr); gap: 3rem; align-items: end; padding-block: clamp(4rem, 9vw, 7rem) clamp(4rem, 8vw, 6rem); min-height: min(78vh, 760px); }
.hero-title { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 17ch; }
.hero-lead { font-size: 1.2rem; line-height: 1.5; color: rgba(255, 255, 255, 0.82); max-width: 36rem; margin-top: 1.4rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.hero-card { background: rgba(23, 25, 28, 0.72); border: 1px solid var(--line-light); border-radius: var(--radius); padding: 0.5rem 1.25rem; box-shadow: var(--shadow-lg); }
.hero-card-row { display: flex; align-items: center; gap: 1rem; padding: 0.95rem 0; text-decoration: none; color: #fff; border-top: 1px solid var(--line-light); }
.hero-card-row:first-child { border-top: 0; }
.hero-card-row .ico { color: var(--red); width: 1.6rem; height: 1.6rem; }
.hero-card-row div { display: flex; flex-direction: column; line-height: 1.25; }
.hero-card-row strong { font: 600 1.05rem/1.2 var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; }
.hero-card-row span { color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }
a.hero-card-row:hover span { color: #fff; }

/* ---------- Sections ---------- */
.sec { padding-block: clamp(3.25rem, 7vw, 5.5rem); }
.sec-alt { background: var(--paper-2); }
.sec-features + .sec { padding-top: clamp(1.5rem, 3vw, 2.5rem); }

/* Trust strip */
.sec-features { padding-block: 0 clamp(3rem, 6vw, 4.5rem); }
.feature-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: -2.5rem; position: relative; z-index: 2; }
.feature { background: var(--white); padding: 1.6rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); border-top: 3px solid var(--red); }
.feature-grid-plain { margin-top: 0; }
.feature-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; background: var(--red-soft); color: var(--red); border-radius: 50%; margin-bottom: 1rem; }
.feature .h4 { margin-bottom: 0.5rem; }
.feature p { color: var(--muted); font-size: 0.98rem; }

/* Services */
.service-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.service-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.service-card-media { position: relative; aspect-ratio: 16 / 10; background: var(--ink-3); }
.service-card-img { width: 100%; height: 100%; object-fit: cover; }
.service-card-icon { position: absolute; left: 1rem; bottom: -22px; display: grid; place-items: center; width: 46px; height: 46px; background: var(--red); color: #fff; border-radius: 4px; box-shadow: var(--shadow); }
.service-card-body { padding: 2rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.service-card-body p { color: var(--muted); font-size: 0.97rem; flex: 1; }
.service-card-foot { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; margin-top: 0.5rem; flex-wrap: wrap; }

/* About */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-media { position: relative; padding-bottom: 3rem; padding-right: 3rem; }
.about-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-img-main { width: 78%; aspect-ratio: 3 / 4; object-fit: cover; }
.about-img-second { position: absolute; right: 0; bottom: 0; width: 55%; aspect-ratio: 4 / 3; object-fit: cover; border: 6px solid var(--paper); }
.about-badge { position: absolute; left: 0; bottom: 1rem; background: var(--red); color: #fff; padding: 0.9rem 1.1rem; border-radius: var(--radius); font: 600 0.8rem/1.15 var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; box-shadow: var(--shadow); }
.about-badge strong { display: block; font-size: 2.4rem; font-weight: 700; line-height: 1; letter-spacing: 0; }
.about-copy .h2 { margin-bottom: 1.2rem; }
.check-list { list-style: none; margin: 1.5rem 0 2rem; display: grid; gap: 0.6rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 500; }
.check-list .ico { color: var(--red); margin-top: 0.15em; }

/* Process */
.process-list { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.process-step { position: relative; background: var(--white); border-radius: var(--radius); padding: 2rem 1.5rem 1.5rem; box-shadow: var(--shadow); }
.process-num { position: absolute; top: -0.9rem; left: 1.25rem; font: 700 3rem/1 var(--font-display); color: var(--red); opacity: 0.18; }
.process-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; margin-bottom: 1rem; }
.process-step .h4 { margin-bottom: 0.45rem; }
.process-step p { color: var(--muted); font-size: 0.97rem; }

/* Counters */
.sec-counters { position: relative; background: var(--ink); color: #fff; isolation: isolate; overflow: hidden; }
.counters-bg { position: absolute; inset: 0; z-index: -1; opacity: 0.18; }
.counters-img { width: 100%; height: 100%; object-fit: cover; }
.counter-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.counter { padding: 1.5rem 1rem; border: 1px solid var(--line-light); border-radius: var(--radius); background: rgba(255, 255, 255, 0.03); }
.counter-icon { display: inline-grid; place-items: center; color: var(--red); margin-bottom: 0.5rem; }
.counter-value { display: block; font: 700 clamp(2.6rem, 5vw, 3.6rem)/1 var(--font-display); }
.counter-label { display: block; margin-top: 0.4rem; font-size: 0.95rem; color: rgba(255, 255, 255, 0.72); }

/* Testimonials */
.review-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review { position: relative; background: var(--white); padding: 1.75rem 1.5rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 0.9rem; }
.review-quote { position: absolute; top: 1rem; right: 1.25rem; color: var(--red); opacity: 0.18; }
.review-quote .ico { width: 2.5rem; height: 2.5rem; }
.stars { display: inline-flex; gap: 0.15rem; }
.ico-star { width: 1.05rem; height: 1.05rem; color: rgba(23, 25, 28, 0.18); }
.ico-star.is-on { color: var(--red); fill: var(--red); }
.review blockquote p { font-size: 1.02rem; line-height: 1.55; flex: 1; }
.review-who { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; }
.review-who span { display: flex; flex-direction: column; line-height: 1.2; }
.review-who strong { font: 600 1.05rem/1.2 var(--font-display); letter-spacing: 0.03em; text-transform: uppercase; }
.review-who small { color: var(--muted); }
.avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }

/* Pricing */
.price-list { list-style: none; display: grid; gap: 0.9rem; max-width: 60rem; margin-inline: auto; }
.price-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.25rem; align-items: center; background: var(--white); padding: 1.25rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.price-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--red-soft); color: var(--red); }
.price-copy p { color: var(--muted); font-size: 0.97rem; margin-top: 0.25rem; }
.price-fine { font-size: 0.88rem !important; }
.price-amount { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; text-align: right; }
.price-value { font: 700 1.9rem/1 var(--font-display); color: var(--ink); white-space: nowrap; }

/* Makes */
.sec-makes { background: var(--ink); color: #fff; padding-block: clamp(2.5rem, 5vw, 4rem); }
.makes-in { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 2.5rem; align-items: center; }
.sec-makes .sec-head { margin-bottom: 0; }
.sec-makes .h3 { color: #fff; }
.sec-makes p { color: rgba(255, 255, 255, 0.72); margin-top: 0.6rem; }
.makes-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.makes-list li { font: 600 1.05rem/1 var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; padding: 0.7rem 1rem; border: 1px solid var(--line-light); border-radius: 3px; color: rgba(255, 255, 255, 0.88); }

/* Gallery */
.gallery-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.gallery-item { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); }
.gallery-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover .gallery-img { transform: scale(1.04); }
.gallery-item figcaption { position: absolute; inset: auto 0 0; padding: 2rem 0.9rem 0.8rem; background: linear-gradient(to top, rgba(23, 25, 28, 0.85), rgba(23, 25, 28, 0)); color: #fff; font: 600 0.9rem/1.2 var(--font-display); letter-spacing: 0.05em; text-transform: uppercase; }

/* FAQ */
.faq-in { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq-in .sec-head { position: sticky; top: calc(var(--header-h) + 1.5rem); margin-bottom: 0; }
.faq-in .sec-head .btn { margin-top: 1.5rem; }
.faq-list { display: grid; gap: 0.75rem; }
.faq { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.35rem; font: 600 1.2rem/1.2 var(--font-display); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--red); transition: transform 0.2s ease; }
.faq[open] summary .ico { transform: rotate(180deg); }
.faq-body { padding: 0 1.35rem 1.25rem; color: var(--text); }

/* Blog */
.post-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s ease, box-shadow 0.2s ease; position: relative; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.post-card-media { aspect-ratio: 16 / 10; background: var(--ink-3); }
.post-card-img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.post-card-body time { font: 600 0.78rem/1 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); }
.post-card-body p { color: var(--muted); font-size: 0.97rem; flex: 1; }

/* Booking */
.booking-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.booking-head { margin-bottom: 1.75rem; }
.booking-head .lead { margin-top: 0.75rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field-full { grid-column: 1 / -1; }
.field label { font: 600 0.82rem/1.2 var(--font-display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); }
.req { color: var(--red); }
.field input, .field select, .field textarea { width: 100%; padding: 0.8rem 0.9rem; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color 0.15s ease; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.field textarea { resize: vertical; min-height: 7rem; }
.form-note { font-size: 0.9rem; color: var(--muted); margin: 1.1rem 0 1.25rem; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.notice { display: flex; align-items: flex-start; gap: 0.6rem; padding: 0.9rem 1.1rem; border-radius: var(--radius); margin-bottom: 1.5rem; font-weight: 500; }
.notice-success { background: #e6f4ea; color: #1e5a30; border: 1px solid #b9dfc4; }
.notice-error { background: #fdecec; color: #8a1a1f; border: 1px solid #f3c1c4; }
.notice .ico { margin-top: 0.15em; }
.booking-aside { display: grid; gap: 1.25rem; }
.info-card { background: var(--white); border-radius: var(--radius); padding: 1.4rem 1.5rem; box-shadow: var(--shadow); }
.info-card .h4 { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.info-card .h4 .ico { color: var(--red); }
.info-card p + p { margin-top: 0.5rem; }
.info-card .link-more { margin-top: 0.75rem; }
.info-card-dark { background: var(--ink); color: rgba(255, 255, 255, 0.85); }
.info-card-dark .h4 { color: #fff; }
.big-link { font: 700 1.9rem/1 var(--font-display); color: var(--ink); text-decoration: none; }
.big-link:hover { color: var(--red); }
.hours-table th, .hours-table td { padding: 0.45rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours-table th { font-weight: 500; }
.hours-table td { text-align: right; white-space: nowrap; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table .is-today th, .hours-table .is-today td { color: var(--red-dark); font-weight: 600; }

/* ---------- Inner pages ---------- */
.page-head { position: relative; background: var(--ink); color: #fff; isolation: isolate; overflow: hidden; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--red); }
.page-head-bg { position: absolute; inset: 0; z-index: -2; }
.page-head-img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.page-head-media::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(23, 25, 28, 0.95) 0%, rgba(23, 25, 28, 0.75) 50%, rgba(23, 25, 28, 0.45) 100%); }
.page-head-in { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 6vw, 4.5rem); max-width: 52rem; margin-left: 0; }
.page-head-narrow { max-width: 46rem; }
.page-head .h1 { color: #fff; }
.page-head .lead { color: rgba(255, 255, 255, 0.8); margin-top: 1rem; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); margin-bottom: 1.4rem; }
.crumbs a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs .ico { opacity: 0.6; }

.service-rows { list-style: none; display: grid; gap: 1.5rem; }
.service-row { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 0; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.service-row:nth-child(even) { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr); }
.service-row:nth-child(even) .service-row-media { order: 2; }
.service-row-media { display: block; aspect-ratio: 16 / 10; background: var(--ink-3); }
.service-row-img { width: 100%; height: 100%; object-fit: cover; }
.service-row-body { padding: 1.75rem 2rem; display: flex; flex-direction: column; gap: 0.7rem; justify-content: center; }
.service-row-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; background: var(--red); color: #fff; border-radius: 4px; }
.service-row-body .h3 a { text-decoration: none; }
.service-row-body .h3 a:hover { color: var(--red); }
.service-row-body p { color: var(--muted); }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.7fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.detail-aside { display: grid; gap: 1.25rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.detail-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem !important; }
.aside-list { list-style: none; display: grid; gap: 0.3rem; }
.aside-list a { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line); }
.aside-list li:last-child a { border-bottom: 0; }
.aside-list a:hover { color: var(--red); }
.aside-list .ico { color: var(--red); }

.story-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.story-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 3 / 4; object-fit: cover; width: 100%; }
.story-copy .h2 { margin-bottom: 1.2rem; }
.team-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 320px)); justify-content: center; gap: 1.5rem; }
.team-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); padding-bottom: 1.5rem; text-align: center; }
.team-img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; margin-bottom: 1.1rem; }
.team-role { color: var(--red-dark); font-weight: 500; font-size: 0.95rem; margin: 0.3rem 0 0.6rem; }
.team-card p { padding-inline: 1.25rem; color: var(--muted); font-size: 0.97rem; }

.post-hero { margin-top: -3rem; position: relative; z-index: 2; }
.post-hero-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 16 / 8; object-fit: cover; width: 100%; }
.post-body { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.post-body h3 { margin-top: 2em; }

.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 0.4rem; background: var(--white); padding: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform 0.15s ease; }
a.contact-card:hover { transform: translateY(-3px); }
.contact-card .ico { color: var(--red); width: 1.8rem; height: 1.8rem; margin-bottom: 0.4rem; }
.contact-card strong { font: 600 0.8rem/1 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-card span { font-weight: 500; line-height: 1.35; }

.notfound-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; }
.notfound-links { list-style: none; display: grid; gap: 0.5rem; margin: 1.75rem 0; }
.notfound-links a { display: inline-flex; align-items: center; gap: 0.4rem; text-decoration: none; font-weight: 500; }
.notfound-links a:hover { color: var(--red); }
.notfound-links .ico { color: var(--red); }
.notfound-copy .lead { margin-top: 1rem; }
.notfound-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; background: var(--ink); color: #fff; isolation: isolate; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; z-index: -2; }
.cta-img { width: 100%; height: 100%; object-fit: cover; }
.cta-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(23, 25, 28, 0.94), rgba(23, 25, 28, 0.7)); }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: clamp(3rem, 6vw, 4.5rem); flex-wrap: wrap; }
.cta-heading { font: 700 clamp(2rem, 4vw, 2.9rem)/1.05 var(--font-display); color: #fff; }
.cta-text { color: rgba(255, 255, 255, 0.78); margin-top: 0.6rem; max-width: 34rem; }
.cta-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.78); border-top: 5px solid var(--red); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.footer-heading { font: 600 1rem/1 var(--font-display); letter-spacing: 0.16em; text-transform: uppercase; color: #fff; margin-bottom: 1.1rem; }
.brand-footer { color: #fff; margin-bottom: 1rem; }
.brand-footer .brand-name { font-size: 1.35rem; }
.footer-about p { font-size: 0.97rem; max-width: 28rem; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.1rem; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-light); border-radius: 50%; color: #fff; }
.footer-social a:hover { background: var(--red); border-color: var(--red); }
.footer-list { list-style: none; display: grid; gap: 0.45rem; }
.footer-list a { text-decoration: none; font-size: 0.97rem; }
.footer-list a:hover { color: #fff; text-decoration: underline; }
.footer-address { display: grid; gap: 0.7rem; }
.footer-address a { display: flex; gap: 0.6rem; align-items: flex-start; text-decoration: none; font-size: 0.97rem; }
.footer-address a:hover { color: #fff; }
.footer-address .ico { color: var(--red); margin-top: 0.15em; }
.footer-area { font-size: 0.85rem; margin-top: 1rem; color: rgba(255, 255, 255, 0.55); }
.site-footer .hours-table th, .site-footer .hours-table td { border-color: var(--line-light); font-size: 0.95rem; padding: 0.35rem 0; }
.site-footer .hours-table .is-today th, .site-footer .hours-table .is-today td { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-block: 1.25rem; border-top: 1px solid var(--line-light); font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }
.footer-links { list-style: none; display: flex; gap: 1.25rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: #fff; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 300; max-width: min(92vw, 34rem); padding: 0.9rem 1.2rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); font-weight: 500; }
.toast-success { background: #1e5a30; color: #fff; }
.toast-error { background: var(--red-dark); color: #fff; }
.is-admin .toast { bottom: 4.5rem; }

/* ---------- Admin inline editing ---------- */
.ltk-edit { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; pointer-events: none; }
.is-admin .ltk-editable { position: relative; }
.is-admin .ltk-editable.ltk-hover { outline: 2px dashed rgba(200, 38, 46, 0.7); outline-offset: -2px; }
.ltk-pencil {
  position: fixed; z-index: 2147483647; display: none; align-items: center; gap: 0.4rem;
  background: var(--red); color: #fff; text-decoration: none; padding: 0.45rem 0.7rem; border-radius: 999px;
  font: 600 0.8rem/1 var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; box-shadow: var(--shadow-lg);
}
.ltk-pencil.is-visible { display: inline-flex; }
.ltk-pencil svg { width: 1rem; height: 1rem; }
.ltk-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2147483000; display: flex; align-items: center; gap: 0.25rem; flex-wrap: wrap; padding: 0.4rem 0.75rem; background: var(--ink); color: #fff; border-top: 2px solid var(--red); font-size: 0.85rem; }
.ltk-bar a, .ltk-bar button { display: inline-flex; align-items: center; gap: 0.35rem; color: #fff; text-decoration: none; background: none; border: 0; padding: 0.45rem 0.6rem; border-radius: 4px; font-weight: 500; }
.ltk-bar a:hover, .ltk-bar button:hover { background: rgba(255, 255, 255, 0.1); }
.ltk-bar-brand { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.6rem; color: #ff8a90; font-weight: 600; margin-right: 0.5rem; }
.ltk-bar-form { display: inline; margin-left: auto; }
.ltk-bar-form + .ltk-bar-form { margin-left: 0; }
.ltk-bar-mini { left: auto; right: 1rem; bottom: 1rem; border-radius: 999px; border: 0; padding: 0.15rem 0.4rem; }
.is-admin { padding-bottom: 52px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .service-grid, .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid, .process-list, .counter-grid, .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: auto; z-index: 2;
    width: min(86vw, 360px); margin: 0; padding: 5.5rem 1.5rem 2rem;
    flex-direction: column; align-items: stretch; gap: 1.5rem;
    background: var(--paper); box-shadow: var(--shadow-lg);
    transform: translateX(105%); visibility: hidden; transition: transform 0.25s ease, visibility 0s linear 0.25s;
    overflow-y: auto;
  }
  .site-nav.is-open { transform: none; visibility: visible; transition: transform 0.25s ease; }
  /* header has no transform/filter, so this fixes to the viewport and clears the drawer's first item */
  .site-header.menu-open .nav-toggle { position: fixed; top: 0.9rem; right: 1rem; background: var(--paper); }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { padding: 0.85rem 0.25rem; font-size: 1.35rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-list a[aria-current="page"]::after { display: none; }
  .nav-cta { justify-content: center; }
  .nav-mobile-extra { display: grid; gap: 0.7rem; font-size: 0.95rem; color: var(--muted); }
  .nav-mobile-extra a, .nav-mobile-extra span { display: flex; gap: 0.5rem; align-items: flex-start; text-decoration: none; }
  .nav-mobile-extra .ico { color: var(--red); margin-top: 0.15em; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; padding-top: clamp(3rem, 8vw, 5rem); }
  .hero-card { max-width: 32rem; }
  .about-grid, .story-grid, .faq-in, .makes-in, .detail-grid, .booking-grid, .notfound-grid { grid-template-columns: 1fr; }
  .faq-in .sec-head, .detail-aside { position: static; }
  .review-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .service-row, .service-row:nth-child(even) { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-row-media { order: 0; }
  .about-media { max-width: 34rem; }
  .story-media { max-width: 26rem; }
}

@media (max-width: 760px) {
  .tb-mail { display: none; }
  .service-grid, .gallery-grid, .review-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .price-row { grid-template-columns: auto minmax(0, 1fr); }
  .price-amount { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
  .cta-in { display: grid; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 600px) {
  .tb-social { display: none; }
  .topbar { font-size: 0.8rem; }
  .announce { font-size: 0.82rem; }
  .announce .ico { display: none; }
  .announce .wrap { padding-block: 0.4rem; }
  .topbar-in { justify-content: space-between; gap: 0.75rem; }
  .service-grid, .review-grid, .post-grid, .feature-grid, .process-list, .contact-cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .counter-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions .btn { width: 100%; }
  .feature-grid { margin-top: -1.5rem; }
  .brand-name { font-size: 1.35rem; }
  .nav-toggle-label { display: none; }
  .post-hero { margin-top: -1.5rem; }
  .about-media { padding-right: 2rem; }
  .about-badge { bottom: 0.5rem; padding: 0.7rem 0.9rem; }
  .about-badge strong { font-size: 1.9rem; }
}

@media (max-width: 400px) {
  .tb-hours span { font-size: 0.74rem; }
}

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

@media print {
  .topbar, .announce, .nav-toggle, .site-nav, .cta-banner, .ltk-bar, .ltk-pencil, .toast, .booking-form { display: none !important; }
  .site-header { position: static; }
  body { background: #fff; color: #000; }
}
