/* ============================================================
   Melbourne Antique Clock Repairs — design tokens & base styles
   Standalone, dependency-free. No web fonts, no frameworks,
   no lazy-loading, no skeleton/loading states — everything
   paints immediately on first render.
   ============================================================ */

:root {
  /* Real brand palette — matches the current live site exactly:
     maroon/burgundy accent, clean white background, Open Sans. */
  --ink: #222222;
  --ink-soft: #444444;
  --cream: #ffffff;
  --paper: #ffffff;
  --line: #e7e7e7;
  --brass: #A81010;        /* maroon accent (kept var name so every file cascades) */
  --brass-dark: #7c0c0c;
  --brass-light: #c94343;
  --green: #A81010;        /* same maroon — used by CTA bands / nav accents */
  --green-dark: #7c0c0c;
  --white: #ffffff;

  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 16px;

  /* Matches the current site's Open Sans typography exactly */
  --serif: 'Open Sans', Helvetica, Arial, sans-serif;
  --sans: 'Open Sans', Helvetica, Arial, sans-serif;

  --max: 1180px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.06);
  --shadow: 0 10px 30px rgba(0,0,0,0.10);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.16);

  --ease: cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink-soft);
  background: var(--cream);
  line-height: 1.7;
  font-size: 15px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; height: auto; }
a { color: var(--brass-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 2px;
}

h1, h2, h3, h4 {
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}
h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); font-weight: 300; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); font-weight: 600; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem; letter-spacing: 0.01em;
  padding: 0.9em 1.7em; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.btn-brass { background: var(--brass); color: #fff; box-shadow: 0 4px 14px rgba(169,121,44,0.28); }
.btn-brass:hover { background: var(--brass-dark); text-decoration: none; transform: translateY(-2px); box-shadow: 0 8px 22px rgba(169,121,44,0.36); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.12); text-decoration: none; transform: translateY(-2px); }
.btn-outline-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-dark:hover { background: var(--ink); color: #fff; text-decoration: none; transform: translateY(-2px); }
.btn-sm { padding: 0.6em 1.2em; font-size: 0.85rem; }

.skip-link { position: absolute; left: 0; top: -60px; background: var(--ink); color: #fff; padding: 12px 20px; z-index: 300; transition: top 0.15s var(--ease); }
.skip-link:focus { top: 0; }

.eyebrow { display: inline-block; text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 700; color: var(--brass-dark); margin-bottom: 10px; }
.section { padding: 76px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--green); color: #e9e6da; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin: 0 0 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.center-text { text-align: center; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease), border-color 0.2s var(--ease);
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--brass-light); }

@media (max-width: 980px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .grid-3 { grid-template-columns: 1fr; }
}


/* ============================================================
   Header, mega menu, footer, forms, blog, review cards —
   the "modern, professional, more interactive" layer requested
   for everything except the homepage hero/story sections.
   ============================================================ */

/* ---------- Header ---------- */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 200;
  box-shadow: 0 1px 0 rgba(28,26,23,0.03);
}
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 24px; }
.brand { display: flex; align-items: center; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 52px; width: auto; flex: none; }

.main-nav { display: flex; align-items: center; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: flex; align-items: center; gap: 4px; padding: 12px 15px; color: var(--ink-soft);
  font-size: 0.95rem; font-weight: 600; border-radius: var(--radius-sm); position: relative;
  transition: color 0.18s var(--ease);
}
.nav-list > li > a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 6px; height: 2px;
  background: var(--brass); transform: scaleX(0); transform-origin: left; transition: transform 0.22s var(--ease);
}
.nav-list > li > a:hover, .nav-list > li > a:focus-visible { color: var(--brass-dark); text-decoration: none; }
.nav-list > li > a:hover::after, .nav-list > li > a:focus-visible::after, .nav-list > li > a[aria-current="page"]::after { transform: scaleX(1); }
.caret { width: 9px; height: 9px; transition: transform 0.18s var(--ease); }
.has-mega:hover .caret, .has-mega:focus-within .caret { transform: rotate(180deg); }

/* Mega menu */
.mega-panel {
  position: absolute; left: 50%; top: 100%; transform: translate(-50%, 8px);
  width: min(760px, 86vw); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 28px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 50;
}
.has-mega:hover .mega-panel, .has-mega:focus-within .mega-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }
.mega-col h4 { font-family: var(--sans); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brass-dark); margin: 0 0 14px; }
.mega-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mega-links a {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm);
  color: var(--ink); font-weight: 600; font-size: 0.93rem; transition: background 0.15s var(--ease), padding-left 0.15s var(--ease);
}
.mega-links a:hover { background: var(--cream); text-decoration: none; padding-left: 16px; color: var(--brass-dark); }
.mega-links .mega-icon { width: 20px; height: 20px; flex: none; color: var(--brass); }
.mega-links small { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.8rem; }
.mega-feature {
  background: linear-gradient(160deg, var(--green) 0%, var(--green-dark) 100%); border-radius: var(--radius);
  padding: 22px; color: #f2efe6; display: flex; flex-direction: column; gap: 10px; justify-content: center;
}
.mega-feature h4 { color: #fff; font-family: var(--serif); font-size: 1.1rem; margin: 0; }
.mega-feature p { color: #d9d5c8; font-size: 0.88rem; margin: 0; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-phone { display: flex; align-items: center; gap: 8px; font-family: var(--serif); font-weight: 700; color: var(--ink); white-space: nowrap; font-size: 1rem; }
.header-phone:hover { text-decoration: none; color: var(--brass-dark); }
.header-phone svg { width: 18px; height: 18px; color: var(--brass); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 9px 11px; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: 0.2s var(--ease); }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }

@media (max-width: 980px) {
  .mega-panel { grid-template-columns: 1fr; width: min(420px, 86vw); }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); height: 100vh; background: var(--paper);
    box-shadow: -14px 0 34px rgba(0,0,0,0.18); transform: translateX(100%); transition: transform 0.25s var(--ease);
    overflow-y: auto; z-index: 250; padding: 22px;
  }
  .main-nav.open { transform: translateX(0); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li > a { padding: 15px 10px; border-bottom: 1px solid var(--line); }
  .nav-list > li > a::after { display: none; }
  .mega-panel {
    position: static; transform: none; box-shadow: none; border: none; opacity: 1; visibility: visible; pointer-events: auto;
    width: auto; display: none; grid-template-columns: 1fr; padding: 10px 0 10px 14px; border-left: 2px solid var(--brass);
  }
  .has-mega.open .mega-panel { display: grid; }
  .mega-feature { display: none; }
  .header-phone { display: none; }
  .nav-scrim { display: none; position: fixed; inset: 0; background: rgba(20,18,15,0.45); z-index: 240; }
  .nav-scrim.show { display: block; }
}

/* ---------- Review cards ---------- */
.review-rating-badge {
  display: inline-flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 20px; box-shadow: var(--shadow-sm);
}
.review-rating-badge .stars { color: var(--brass); letter-spacing: 2px; font-size: 1rem; }
.review-rating-badge strong { font-family: var(--serif); font-size: 1.15rem; color: var(--ink); }
.review-rating-badge span { font-size: 0.85rem; color: var(--ink-soft); }

.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease); }
.review-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.review-card .stars { color: var(--brass); letter-spacing: 2px; margin-bottom: 10px; display: block; }
.review-card p { font-style: italic; color: var(--ink-soft); }
.review-card .reviewer { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.review-avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-weight: 700; flex: none; }
.review-meta strong { display: block; font-size: 0.92rem; color: var(--ink); }
.review-meta span { font-size: 0.78rem; color: var(--ink-soft); }

/* ---------- Footer (modern redesign) ---------- */
.site-footer { background: linear-gradient(180deg, #181818 0%, #0f0f0f 100%); color: #c7c3bd; border-top: 3px solid var(--brass); }
.footer-cta {
  background: linear-gradient(180deg, #181818 0%, #0f0f0f 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 56px 0;
}
.footer-cta-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.footer-cta h2 { color: #fff; margin-bottom: 8px; }
.footer-cta p { color: #a9a496; margin: 0; }
.footer-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

.footer-grid { display: grid; grid-template-columns: 1.3fr 0.85fr 1fr 1.2fr; gap: 44px; padding: 68px 0 44px; }
.footer-brand { display: inline-flex; align-items: center; background: #fff; padding: 10px 16px; border-radius: var(--radius-sm); margin-bottom: 20px; box-shadow: 0 6px 20px rgba(0,0,0,0.35); }
.footer-logo { height: 46px; width: auto; display: block; }
.site-footer h4 {
  color: #fff; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 20px; font-family: var(--sans); font-weight: 700;
  position: relative; padding-bottom: 10px;
}
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--brass); }
.site-footer p { margin: 0 0 8px; font-size: 0.93rem; line-height: 1.7; color: #a9a49b; }
.site-footer a { color: #c7c3bd; transition: color 0.15s var(--ease); }
.site-footer a:hover { color: var(--brass-light); }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 11px; }
.footer-list a { font-size: 0.92rem; }
.footer-contact-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 14px; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.93rem; color: #a9a49b; line-height: 1.5; }
.footer-contact-list svg { width: 17px; height: 17px; color: var(--brass-light); flex: none; margin-top: 2px; }
.footer-review-link { font-size: 0.88rem; font-weight: 700; color: var(--brass-light); }
.social-links { display: flex; gap: 10px; margin-top: 4px; }
.social-links a { width: 38px; height: 38px; border: 1px solid #333; border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: border-color 0.15s var(--ease), background 0.15s var(--ease), transform 0.15s var(--ease); color: #c7c3bd; }
.social-links a:hover { border-color: var(--brass); background: var(--brass); color: #fff; transform: translateY(-2px); }
.social-links-light a { border-color: var(--line); color: var(--ink-soft); }

/* Footer enquiry form */
.footer-form .field { margin-bottom: 12px; }
.footer-form label { display: block; font-size: 0.8rem; color: #a9a496; margin-bottom: 5px; }
.footer-form input, .footer-form textarea {
  width: 100%; font-family: var(--sans); font-size: 0.92rem; padding: 11px 13px; border-radius: var(--radius-sm);
  border: 1px solid #3a362c; background: rgba(255,255,255,0.04); color: #f2efe6;
}
.footer-form input::placeholder, .footer-form textarea::placeholder { color: #7e7a6c; }
.footer-form input:focus, .footer-form textarea:focus { outline: 2px solid var(--brass); border-color: var(--brass); background: rgba(255,255,255,0.07); }
.footer-form textarea { resize: vertical; min-height: 80px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; font-size: 0.83rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; color: #817d74; background: #0a0a0a;
}
.footer-bottom-links { display: flex; gap: 22px; align-items: center; }
.footer-bottom-links a { color: #a9a49b; font-size: 0.83rem; }
.footer-bottom-links a:hover { color: var(--brass-light); }
.back-to-top { color: #a9a49b; font-size: 0.83rem; }

@media (max-width: 980px) {
  .footer-cta-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-cta-actions { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
}

/* ---------- Generic form (contact page) ---------- */
.contact-form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 6px; }
.form-row label { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.form-row input, .form-row textarea, .form-row select {
  font-family: var(--sans); font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--paper); color: var(--ink); transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { border-color: var(--brass); box-shadow: 0 0 0 3px rgba(169,121,44,0.15); outline: none; }
.form-row textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); }
.form-status { padding: 14px 16px; border-radius: var(--radius-sm); font-size: 0.95rem; display: none; }
.form-status.show { display: block; }
.form-status.success { background: #eaf3e6; color: #2f5a2f; border: 1px solid #bcd9b3; }
.form-status.error { background: #fbeaea; color: #7a2323; border: 1px solid #eec0c0; }

/* ---------- Blog ---------- */
.blog-hero { background: linear-gradient(160deg, var(--green) 0%, var(--green-dark) 100%); color: #f2efe6; padding: 70px 0; }
.blog-hero .eyebrow { color: #c9b98a; }
.blog-hero h1 { color: #fff; max-width: 18ch; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease); display: flex; flex-direction: column; }
.blog-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.blog-card-media { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--brass-dark), var(--ink)); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.4); }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-media svg { width: 30%; height: 30%; }
.blog-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.blog-card-cat { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--brass-dark); font-weight: 700; margin-bottom: 8px; }
.blog-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.blog-card p { font-size: 0.93rem; color: var(--ink-soft); flex: 1; }
.blog-card-meta { font-size: 0.78rem; color: #a39d8c; margin-top: 10px; }
.blog-card-link { margin-top: 14px; font-weight: 700; font-size: 0.88rem; }

.article-hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: 52px 0 40px; }
.article-hero .eyebrow-row { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.article-meta-row { display: flex; gap: 18px; flex-wrap: wrap; color: var(--ink-soft); font-size: 0.9rem; margin-top: 18px; }
.article-body { max-width: 760px; margin: 0 auto; padding: 52px 24px; }
.article-body h2 { margin-top: 1.6em; }
.article-body h3 { margin-top: 1.3em; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin-bottom: 0.5em; }
.article-cta { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin: 36px 0; text-align: center; }
.article-cta h3 { margin-bottom: 8px; }
.related-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: var(--max); margin: 0 auto; padding: 0 24px 60px; }

@media (max-width: 980px) { .blog-grid, .related-posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .blog-grid, .related-posts { grid-template-columns: 1fr; } }

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--brass-dark); }
.breadcrumb .sep { margin: 0 6px; color: var(--line); }


/* Homepage — faithfully matches the current live site's layout, copy and
   white/maroon styling. Only the header and footer (components.css) were
   modernized; every section below mirrors melbourneantiqueclocks.com. */

.hero { background: var(--white); text-align: center; padding: 56px 0 44px; border-bottom: 1px solid var(--line); }
.hero-inner { max-width: 760px; margin: 0 auto; }
.hero h1 { margin-bottom: 14px; }
.hero-sub { font-size: 1.05rem; margin-bottom: 26px; }
.hero-sub a { color: var(--brass); font-weight: 600; }
.hero-quote {
  display: inline-block; border: 2px solid var(--brass); border-radius: var(--radius);
  padding: 20px 32px; background: var(--paper);
}
.hero-quote p { font-weight: 700; color: var(--brass); font-size: 1.1rem; margin: 0 0 6px; text-transform: uppercase; letter-spacing: 0.02em; }
.hero-quote span { font-size: 0.85rem; color: var(--ink-soft); }

.team-promo { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; }
.team-promo-photo { border-radius: var(--radius); width: 100%; height: auto; object-fit: cover; box-shadow: var(--shadow-sm); }

.apart-quote { margin: 0; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.apart-quote p { font-style: italic; color: var(--ink-soft); margin: 0 0 12px; }
.apart-quote footer { font-weight: 700; color: var(--ink); font-size: 0.92rem; }
.apart-quote footer span { font-weight: 400; color: var(--ink-soft); font-size: 0.85rem; margin-left: 6px; }

.not-repair-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.not-repair-list li {
  font-weight: 600; color: var(--ink); padding: 10px 16px; background: var(--paper); border: 1px solid var(--line);
  border-left: 3px solid var(--brass); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.cta-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; text-align: center; }
.cta-card h2 { font-size: 1.3rem; }

/* ---------- Green Workshop parallax banner ---------- */
.parallax-banner {
  position: relative; min-height: 380px; display: flex; align-items: center;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  background-attachment: fixed; padding: 60px 0; overflow: hidden;
}
.parallax-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0.82) 55%, #fff 85%);
}
.parallax-content { position: relative; z-index: 2; max-width: 620px; margin-left: auto; margin-right: 6%; text-align: left; }
.parallax-content h2 { color: var(--brass); text-transform: uppercase; letter-spacing: 0.04em; }
.accent-rule { width: 54px; height: 3px; background: var(--brass); margin: 10px 0 18px; }
.parallax-content p { color: var(--ink-soft); }
@media (max-width: 760px) {
  .parallax-banner { background-attachment: scroll; min-height: 280px; }
  .parallax-overlay { background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.92) 60%, #fff 100%); }
  .parallax-content { margin: 0 24px; max-width: none; text-align: center; }
  .accent-rule { margin: 10px auto 18px; }
}

/* ---------- Photo carousel (Quality Antique Clocks Restoration Service) ---------- */
.photo-carousel { position: relative; max-width: var(--max); margin: 36px auto 0; padding: 0 24px; }
.photo-carousel-track {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; padding-bottom: 6px;
}
.photo-carousel-track::-webkit-scrollbar { height: 6px; }
.photo-carousel-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.photo-carousel-track img {
  width: 220px; height: 220px; object-fit: cover; border-radius: var(--radius); flex: none; scroll-snap-align: start;
  box-shadow: var(--shadow-sm);
}
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: var(--brass); font-size: 1.1rem; z-index: 3;
  transition: background 0.15s var(--ease), transform 0.15s var(--ease);
}
.carousel-btn:hover { background: var(--brass); color: #fff; }
.carousel-prev { left: 4px; }
.carousel-next { right: 4px; }
@media (max-width: 760px) {
  .team-promo { grid-template-columns: 1fr; text-align: center; }
  .photo-carousel-track img { width: 150px; height: 150px; }
}

/* ---------- Scroll-reveal (content is already in the DOM/HTML; this only
   animates it into place as it scrolls into view — no lazy-loading) ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}


/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(160deg, var(--green) 0%, var(--green-dark) 100%); color: #f2efe6; padding: 58px 0 64px; }
.page-hero .eyebrow { color: #c9b98a; }
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p { color: #d9d5c8; max-width: 60ch; margin: 0; }
.page-hero .breadcrumb { color: #a9a496; }
.page-hero .breadcrumb a { color: #c9b98a; }

/* ---------- Service cards ---------- */
.service-card { display: flex; flex-direction: column; height: 100%; }
.service-card .mega-icon-lg { width: 46px; height: 46px; color: var(--brass); margin-bottom: 14px; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { flex: 1; color: var(--ink-soft); }
.service-card .btn { align-self: flex-start; margin-top: 10px; }

.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; border-left: 3px solid var(--brass); padding: 10px 0 10px 18px; background: var(--paper); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; transition: padding-left 0.18s var(--ease), background 0.18s var(--ease); }
.feature-list li:hover { padding-left: 22px; background: var(--cream); }
.feature-list strong { color: var(--ink); font-family: var(--serif); display: block; margin-bottom: 2px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.team-card { text-align: left; }
.team-photo { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; background: linear-gradient(135deg, var(--brass-dark), var(--ink)); display: flex; align-items: center; justify-content: center; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo .placeholder-mark { width: 38%; height: 38%; color: rgba(255,255,255,0.5); }
.team-card h3 { margin-bottom: 2px; }
.team-role { color: var(--brass-dark); font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.team-bio { font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Gallery ---------- */
.gallery-filter { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.gallery-filter button {
  font-family: var(--sans); font-size: 0.85rem; font-weight: 600; padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--paper); color: var(--ink-soft); cursor: pointer; transition: all 0.15s var(--ease);
}
.gallery-filter button:hover { border-color: var(--brass); color: var(--brass-dark); }
.gallery-filter button.active { background: var(--green); border-color: var(--green); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--brass-dark), var(--ink)); display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s var(--ease); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .placeholder-mark { width: 30%; height: 30%; color: rgba(255,255,255,0.5); }

/* ---------- FAQs ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 22px 4px; font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: 1.05rem; display: flex; justify-content: space-between; align-items: center; gap: 16px; transition: color 0.15s var(--ease); }
.faq-item summary:hover { color: var(--brass-dark); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--brass); flex: none; transition: transform 0.2s var(--ease); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-answer { padding: 0 4px 24px; color: var(--ink-soft); max-width: 74ch; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; }
.info-card { display: grid; gap: 22px; }
.info-block { display: flex; gap: 14px; align-items: flex-start; }
.info-block .info-icon { width: 22px; height: 22px; color: var(--brass); flex: none; margin-top: 3px; }
.info-block h3 { margin-bottom: 4px; font-size: 1.05rem; }
.info-block p { margin: 0; }
.map-embed { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.map-embed iframe { width: 100%; height: 280px; border: 0; display: block; }
.qr-box { display: flex; gap: 16px; align-items: center; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.qr-box img, .qr-box svg { width: 84px; height: 84px; flex: none; }

@media (max-width: 980px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .team-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/*footer-cta-fix*/
.footer-cta .btn-outline-dark{background:transparent;color:#fff;border-color:rgba(255,255,255,0.5)}
.footer-cta .btn-outline-dark:hover{background:rgba(255,255,255,0.12);color:#fff}
