:root {
  --navy: #1B2255;
  --navy-deep: #10153A;
  --navy-brand: #343D90;
  --yellow: #FFF130;
  --yellow-deep: #E8C700;
  --ink: #14162B;
  --muted: #5B5F7A;
  --paper: #FAFAF8;
  --panel: #F0F0F0;
  --border: #E4E4E0;
  --radius: 18px;
  --max-width: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--navy);
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.15;
}

p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--yellow);
  color: var(--navy);
  padding: 12px 20px;
  z-index: 999;
  font-weight: 700;
}
.skip-link:focus { left: 16px; top: 16px; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0.025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  color: var(--navy-brand);
  font-weight: 700;
  margin: 0 0 0.8em;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(250, 250, 248, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-solid {
  border-color: var(--border);
  box-shadow: 0 4px 24px -12px rgba(20, 22, 43, 0.15);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo img {
  height: 44px;
  width: auto;
  display: block;
  border-radius: 6px;
}

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  font-size: 0.92rem;
  font-weight: 600;
}

.main-nav a { color: var(--ink); position: relative; padding: 4px 0; transition: color 0.2s; }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: var(--yellow-deep);
  transition: right 0.25s ease;
}
.main-nav a:hover { color: var(--navy-brand); }
.main-nav a:hover::after { right: 0; }
.main-nav a.is-active, .mobile-nav a.is-active { color: var(--navy-brand); }
.main-nav a.is-active::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: none;
  font-family: inherit;
  transition: transform 0.2s ease, box-shadow 0.3s ease, filter 0.2s ease, background 0.2s ease;
}

.btn-icon { width: 16px; height: 16px; }

.btn-primary {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 6px 20px -6px rgba(255, 241, 48, 0.7);
}
.btn-primary:hover { filter: brightness(1.04); box-shadow: 0 8px 26px -6px rgba(255, 241, 48, 0.9); }

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: #fff; }

.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.6);
  color: #fff;
  backdrop-filter: blur(4px);
}
.btn-ghost-light:hover { background: #fff; color: var(--navy); }

.btn-large { padding: 15px 30px; font-size: 0.98rem; }

.nav-toggle { display: none; background: none; border: none; z-index: 60; cursor: pointer; padding: 6px; }
.nav-toggle span {
  display: block; width: 24px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 26px;
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a {
  padding: 13px 0;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
}
.mobile-nav .btn { margin-top: 16px; justify-content: center; }
.mobile-nav.is-open { display: flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.1);
  will-change: transform;
}
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16,21,58,0.88) 0%, rgba(16,21,58,0.72) 40%, rgba(16,21,58,0.85) 78%, var(--navy-deep) 100%);
}

.hero-content { position: relative; z-index: 2; max-width: 780px; color: #fff; }
.hero-content .eyebrow { color: var(--yellow); }
.hero-content h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4.2rem); }
.hero-content h1 .hl { color: var(--yellow); }
.hero-sub { color: rgba(255,255,255,0.82); max-width: 56ch; margin: 0 auto 36px; font-size: 1.1rem; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.scroll-cue {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  z-index: 2;
}
.scroll-cue-line {
  width: 1px; height: 40px;
  background: linear-gradient(rgba(255,255,255,0.6), transparent);
  overflow: hidden;
  position: relative;
}
.scroll-cue-line::after {
  content: ''; position: absolute; top: -40px; left: 0; width: 100%; height: 40px;
  background: linear-gradient(var(--yellow), transparent);
  animation: drip 1.8s ease-in-out infinite;
}
@keyframes drip { 0% { top: -40px; } 100% { top: 40px; } }

/* ---------- Inner page hero banner ---------- */
.page-hero {
  position: relative;
  padding: 168px 24px 96px;
  overflow: hidden;
}
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.page-hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,21,58,0.9) 0%, rgba(16,21,58,0.84) 100%);
}
.page-hero-noimg {
  background: var(--navy-deep);
  background-image: radial-gradient(circle at 18% 20%, rgba(255,241,48,0.12), transparent 45%),
                     radial-gradient(circle at 85% 85%, rgba(52,61,144,0.5), transparent 50%);
}
.page-hero-content { position: relative; z-index: 2; max-width: 760px; color: #fff; }
.page-hero-content .eyebrow { color: var(--yellow); }
.page-hero-content h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: 0.4em; }
.page-hero-content p { color: rgba(255,255,255,0.82); max-width: 60ch; margin: 0; font-size: 1.05rem; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(.16,.84,.44,1), transform 0.8s cubic-bezier(.16,.84,.44,1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Trust strip ---------- */
.trust { background: var(--navy); padding: 40px 24px; position: relative; z-index: 2; }
.trust-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}
.trust-facts { display: flex; gap: clamp(20px, 4vw, 48px); flex-wrap: wrap; }
.trust-facts li { display: flex; flex-direction: column; gap: 2px; }
.trust-facts strong { color: var(--yellow); font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.05rem; font-weight: 700; }
.trust-facts span { color: rgba(255,255,255,0.7); font-size: 0.8rem; }

.trust-brands { display: flex; align-items: center; gap: 18px; }
.trust-label { color: rgba(255,255,255,0.55); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; margin-right: 4px; }
.brand-logo { height: 40px; width: auto; border-radius: 6px; background: #fff; padding: 4px 8px; }
.brand-logo-rda { height: 40px; }

/* ---------- Sections ---------- */
.section-inner { max-width: var(--max-width); margin: 0 auto; padding: 110px 24px; }
.section-heading { max-width: 66ch; margin-bottom: 52px; }
.section-heading p:last-child { color: var(--muted); font-size: 1.05rem; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  padding-bottom: 24px;
}
.service-card:hover { box-shadow: 0 20px 44px -18px rgba(20,22,43,0.22); border-color: transparent; }

.service-media { aspect-ratio: 4/3; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .service-media img { transform: scale(1.06); }

.service-card h3 { font-size: 1.15rem; margin: 20px 24px 8px; }
.service-card p { color: var(--muted); font-size: 0.95rem; margin: 0 24px; }

.services-extra {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-weight: 600;
  color: var(--navy);
}
.chip {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy-brand);
}

/* ---------- Home: compact service tiles (teaser grid) ---------- */
.tiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-tile {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.service-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-tile:hover img { transform: scale(1.07); }
.service-tile-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 18px;
  background: linear-gradient(0deg, rgba(16,21,58,0.88), transparent);
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
}
.section-footer-link { margin-top: 40px; text-align: center; }

/* ---------- Home: About / Workshop teasers ---------- */
.teaser {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 30px 24px 110px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.teaser-reverse { grid-template-columns: 1.1fr 0.9fr; }
.teaser-reverse .teaser-visual { order: 2; }
.teaser-visual {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 30px 60px -30px rgba(20,22,43,0.35);
}
.teaser-visual img { width: 100%; height: 100%; object-fit: cover; }
.obj-top { object-position: top; }
.teaser-text p { color: var(--muted); max-width: 54ch; }

/* ---------- About ---------- */
.about {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 30px 24px 110px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(20,22,43,0.35);
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-text p { color: var(--muted); max-width: 58ch; }

/* ---------- Workshop / Gallery ---------- */
.workshop { background: var(--panel); }
.workshop-gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
}
.workshop-feature, .workshop-side { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.workshop-feature img, .workshop-side img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.workshop-feature { aspect-ratio: 4/3; }
.workshop-side { aspect-ratio: 4/3; }
.workshop-feature:hover img, .workshop-side:hover img { transform: scale(1.05); }

figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px;
  background: linear-gradient(0deg, rgba(16,21,58,0.85), transparent);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  text-align: center;
  padding: 120px 24px;
  background: var(--navy-deep);
  background-image: radial-gradient(circle at 20% 20%, rgba(255,241,48,0.12), transparent 45%),
                     radial-gradient(circle at 85% 80%, rgba(52,61,144,0.5), transparent 50%);
  overflow: hidden;
}
.cta-band-inner { position: relative; max-width: 720px; margin: 0 auto; }
.cta-band h2 { color: #fff; font-size: clamp(1.9rem, 4.4vw, 2.8rem); }
.cta-band p { color: rgba(255,255,255,0.78); margin-bottom: 32px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.info-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 28px; }
.info-list li { display: flex; flex-direction: column; gap: 2px; }
.info-label { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); font-weight: 700; }
.info-list a { font-size: 1.05rem; font-weight: 600; color: var(--navy); transition: color 0.2s; }
.info-list a:hover { color: var(--navy-brand); }
.info-value { font-size: 1.05rem; font-weight: 600; color: var(--navy); }
.info-value span { display: block; font-weight: 500; font-size: 0.95rem; color: var(--ink); }

.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 4/3; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Testimonials (real Google reviews) ---------- */
.testimonials { background: var(--panel); }
.rating-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.rating-stars { display: flex; gap: 2px; }
.rating-stars svg { width: 20px; height: 20px; fill: var(--yellow-deep); }
.rating-score { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--navy); }
.rating-count { color: var(--muted); font-size: 0.92rem; }
.rating-count a { color: var(--navy-brand); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.testimonial-card:hover { box-shadow: 0 20px 44px -18px rgba(20,22,43,0.22); transform: translateY(-3px); }
.testimonial-stars { display: flex; gap: 2px; }
.testimonial-stars svg { width: 16px; height: 16px; fill: var(--yellow-deep); }
.testimonial-quote { color: var(--ink); font-size: 0.98rem; line-height: 1.65; margin: 0; flex: 1; }
.testimonial-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--border); }
.testimonial-name { font-weight: 700; color: var(--navy); font-size: 0.92rem; }
.testimonial-when { color: var(--muted); font-size: 0.82rem; }
.testimonial-source { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 0.78rem; }

/* ---------- Booking widget (MechanicDesk) ---------- */
.book-section { background: var(--panel); }
.book-embed {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 50px -30px rgba(20,22,43,0.25);
  height: 900px;
  max-height: 80vh;
}
.book-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.book-note { margin-top: 16px; color: var(--muted); font-size: 0.88rem; text-align: center; }

.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 24px 50px -30px rgba(20,22,43,0.25);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.field input, .field textarea, .field select {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s ease;
  resize: vertical;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B5F7A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.field select:invalid { color: var(--muted); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--navy-brand);
}
.hp-field { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.7);
  padding: 64px 24px 28px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
}
.footer-logo { height: 44px; width: auto; margin-bottom: 14px; border-radius: 6px; }
.footer-brand p { font-size: 0.9rem; max-width: 34ch; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 4px;
}
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.94rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  margin: 52px 0 0;
  color: rgba(255,255,255,0.4);
}

/* ---------- Sticky mobile call bar ---------- */
.sticky-call-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--navy);
  padding: 12px 16px;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.2);
}
.sticky-call-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--yellow);
  color: var(--navy);
  font-weight: 700;
  padding: 13px;
  border-radius: 999px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-actions .btn-ghost { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .tiles-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-visual { order: -1; aspect-ratio: 16/9; }
  .teaser, .teaser-reverse { grid-template-columns: 1fr; gap: 32px; }
  .teaser-reverse .teaser-visual { order: -1; }
  .teaser-visual { aspect-ratio: 16/9; }
  .workshop-gallery { grid-template-columns: 1fr; }
  .workshop-feature, .workshop-side { aspect-ratio: 16/9; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .sticky-call-bar { display: block; }
  body { padding-bottom: 68px; }
}

@media (max-width: 640px) {
  .services-grid { grid-template-columns: 1fr; }
  .tiles-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 148px 20px 72px; }
  .book-embed { height: 760px; max-height: none; }
  .form-row { grid-template-columns: 1fr; }
  .trust-inner { flex-direction: column; align-items: flex-start; }
  .section-inner { padding: 80px 20px; }
  .cta-band { padding: 80px 20px; }
  .footer-inner { grid-template-columns: 1fr; }
}

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