/* ==========================================================================
   BHP Autocare — main stylesheet
   Matches the original WordPress/Elementor design (Montserrat, light greys,
   copper accents). Colours and sizes are set once here in :root.
   ========================================================================== */

:root {
  --ink: #262626;          /* headings */
  --text: #2f3131;         /* body text */
  --muted: #4c4c4c;        /* secondary text */
  --black: #000000;
  --dark: #0e0f11;
  --light: #f6f6f6;        /* header / footer / panels */
  --light-2: #f7f7f7;      /* grey sections */
  --white: #ffffff;
  --copper: #c58a64;       /* buttons */
  --copper-dark: #b3774f;
  --copper-deep: #b44d00;  /* active links, step numbers */
  --copper-metal: linear-gradient(180deg, #d9a27c 0%, #c58a64 55%, #b97c56 100%);
  --line: rgba(76, 76, 76, 0.14);
  --line-2: rgba(76, 76, 76, 0.2);

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1440px;
  --gutter: 80px;
  --header-h: 88px;
  --notice-h: 0px; /* set by main.js to the notice bar's height */
  --card-shadow: 0 2px 20px -12px rgba(0, 0, 0, 0.2);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.page-inner { padding-top: calc(var(--header-h) + var(--notice-h)); }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  color: var(--ink);
  font-weight: 400;
  line-height: 1.3;
  text-transform: capitalize;
  overflow-wrap: break-word;
}
h1, h2 { font-size: clamp(2rem, 3.2vw, 2.75rem); }   /* 44px */
h3 { font-size: 1.5rem; }

p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--copper);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 6px;
  z-index: 1000;
}
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.section { padding: 80px 0; }
.section--grey { background: var(--light-2); }

.section-head { text-align: center; max-width: 900px; margin: 0 auto 48px; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1.125rem; color: var(--muted); margin: 0; }
.section-head--left { text-align: left; margin-left: 0; max-width: none; }

.eyebrow {
  display: block;
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 6px;
  border: 2px solid transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.3;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.3s ease;
}
.btn--primary {
  /* Subtle brushed-copper finish, taken from the BHP Autocare logo */
  background: var(--copper-metal);
  border: 1px solid #a8704b;
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 238, 222, 0.45);
  transition: filter 0.2s, box-shadow 0.2s, transform 0.3s ease;
}
.btn--primary:hover { filter: brightness(1.06); box-shadow: inset 0 1px 0 rgba(255, 238, 222, 0.55), 0 4px 12px rgba(140, 85, 52, 0.25); }
.btn--primary:active { filter: brightness(0.97); box-shadow: inset 0 1px 3px rgba(70, 38, 18, 0.3); }
.btn--ghost { border-color: var(--white); color: var(--white); background: transparent; border-radius: 8px; }
.btn--ghost:hover { background: var(--white); color: var(--ink); }
.btn--outline {
  background: var(--white);
  border: 1px solid var(--text);
  color: var(--ink);
  border-radius: 5px;
  padding: 13px 20px 12px;
}
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn--sm { padding: 13px 22px 12px; border-radius: 5px; }
.btn--light { background: var(--white); border: 1px solid var(--white); color: var(--black); border-radius: 5px; padding: 17px 40px; }
.btn--light:hover { background: transparent; color: var(--white); }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--ink);
}
.link-arrow::after { content: "›"; font-size: 1.3em; line-height: 1; transition: transform 0.2s; }
.link-arrow:hover { color: var(--copper-deep); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Notice bar ("Website update in progress") ----------
   To remove it later: set  .site-notice { display: none; }  */
.site-notice {
  background: var(--copper-metal);
  color: var(--dark);
  font-size: 0.84rem;
  line-height: 1.45;
}
.site-notice .container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 9px;
  padding-bottom: 9px;
  position: relative;
}
.site-notice p { margin: 0; text-align: center; padding: 0 28px; }
.site-notice a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.site-notice__close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--dark);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.site-notice__close:hover { background: rgba(14, 15, 17, 0.1); }
.site-notice.is-hidden { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: absolute;   /* sits at the top of the page and scrolls away with it */
  inset: 0 0 auto 0;
  z-index: 100;
}
.site-header__bar { position: relative; height: var(--header-h); border-bottom: 1px solid transparent; }
.site-header__bar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img { height: 56px; width: auto; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.main-nav li a {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 400;
  color: var(--white);
  transition: color 0.2s;
}
.main-nav li a:hover,
.main-nav li a[aria-current="page"] { color: var(--copper); }

.header-cta { padding: 15px 22px; border-radius: 8px; }

/* Hover animations from the original site:
   "Get In Touch" shrinks slightly; hero buttons float up */
.header-cta:hover { transform: scale(0.9); }
.hero__actions .btn:hover { transform: translateY(-8px); }

/* Inner pages: light grey header with dark links (as the original) */
.page-inner .site-header__bar { background: var(--light); border-bottom-color: var(--line); }
.page-inner .main-nav li a { color: var(--text); }
.page-inner .main-nav li a:hover,
.page-inner .main-nav li a[aria-current="page"] { color: var(--copper-deep); }


.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  border: 0;
  background: var(--dark);
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s, background 0.25s;
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { content: ""; left: 0; top: -7px; }
.nav-toggle span::after { content: ""; left: 0; top: 7px; }
.is-open .nav-toggle span { background: transparent; }
.is-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.is-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Home hero (YouTube background) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + var(--notice-h) + 60px) 0 120px;
  color: var(--white);
  overflow: hidden;
  background: var(--black) url("../images/workshop-banner.jpg") center / cover no-repeat;
}
.hero__video { position: absolute; inset: 0; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity 1s ease; }
.hero__video.is-playing { opacity: 1; }
.hero__video iframe,
.hero__video #hero-player {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100vh;
  transform: translate(-50%, -50%) scale(1.15);
  border: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.25) 45%, rgba(0, 0, 0, 0.7) 100%);
  z-index: 1;
}
.hero__content { position: relative; z-index: 2; max-width: 900px; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 3.8vw, 3.25rem); /* 52px */
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero__lead { font-size: 1.25rem; color: var(--light); margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 20px; }

/* ---------- Inner page intro (white, left-aligned) ---------- */
.page-intro { padding: 120px 0 80px; border-bottom: 1px solid var(--line); }
.page-intro h1 { max-width: 700px; margin-bottom: 20px; }
.page-intro p { max-width: 700px; margin: 0; font-size: 1.125rem; color: var(--ink); }

/* About: photo banner with centred title */
.photo-banner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark) center / cover no-repeat;
}
.photo-banner::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.35); }
.photo-banner h1 { position: relative; color: var(--white); margin: 0; text-align: center; }

/* ---------- Our Expertise: 2 × 2 cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.card {
  background: var(--white);
  border: 1px solid var(--light);
  box-shadow: var(--card-shadow);
  padding: 20px 20px 30px;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.card img { width: 100%; aspect-ratio: 578 / 550; object-fit: cover; margin-bottom: 26px; }
.card h3 { font-size: 1.5rem; margin-bottom: 14px; text-transform: none; }
.card p { font-size: 1rem; color: var(--text); flex: 1; margin-bottom: 20px; }

/* ---------- Built For Precision: alternating rows ---------- */
.feature { display: grid; grid-template-columns: 729fr 486fr; gap: 50px; align-items: center; }
.feature + .feature { margin-top: 100px; }
.feature--reverse { grid-template-columns: 486fr 729fr; }
.feature--reverse .feature__media { order: 2; }
.feature__media img { width: 100%; aspect-ratio: 729 / 500; object-fit: cover; }
.feature h3 { font-size: clamp(1.6rem, 2.4vw, 2.125rem); margin-bottom: 18px; }  /* 34px */
.feature p { font-size: 1.125rem; color: var(--text); margin-bottom: 24px; }

/* ---------- Recent Workshop Projects: slider ---------- */
.slider__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.slider__head h2 { margin-bottom: 10px; }
.slider__head p { margin: 0; font-size: 1.125rem; color: var(--muted); }
.slider__nav { display: flex; gap: 14px; flex-shrink: 0; }
.slider__nav button {
  width: 49px;
  height: 49px;
  border: 2px solid var(--text);
  border-radius: 4px;
  background: var(--white);
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.slider__nav button:hover { background: var(--text); color: var(--white); }
.slider__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 60px) / 4);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slide {
  position: relative;
  aspect-ratio: 301 / 650;
  border-radius: 6px;
  overflow: hidden;
  scroll-snap-align: start;
  background: var(--dark);
}
.slide img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.slide:hover img { transform: scale(1.05); }
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.7) 100%);
}
.slide span {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 22px;
  z-index: 1;
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 500;
}
.center-cta { text-align: center; margin-top: 44px; }
.center-cta .btn--outline { padding: 14px 36px; border-radius: 6px; }

/* ---------- Manufacturers: grey panel with scrolling logos ---------- */
.brands-panel {
  background: var(--light);
  border-radius: 20px;
  padding: 72px 0 110px;
  overflow: hidden;
  text-align: center;
}
.brands-panel h2 { padding: 0 24px; margin-bottom: 40px; }
.marquee { overflow: hidden; padding: 14px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; align-items: center; gap: 80px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img {
  height: 65px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.35;
  transition: filter 0.3s, opacity 0.3s, transform 0.3s;
}
.marquee img:hover { filter: none; opacity: 1; transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(calc(-50% - 40px)); } }

/* ---------- Services: alternating rows ---------- */
.service { display: grid; grid-template-columns: 729fr 486fr; gap: 50px; align-items: center; }
.service + .service { margin-top: 100px; }
.service--reverse { grid-template-columns: 486fr 729fr; }
.service--reverse .service__media { order: 2; }
.service__media img { width: 100%; aspect-ratio: 729 / 486; object-fit: cover; }
.service__num { font-size: 1.375rem; color: var(--ink); margin-bottom: 18px; }
.service h2 { font-size: 1.625rem; font-weight: 500; margin-bottom: 20px; }  /* 26px */
.service p { font-size: 1.125rem; color: var(--ink); margin-bottom: 28px; }

/* Dark photo call-to-action band */
.cta-band {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  background: var(--dark) url("../images/workshop-banner.jpg") center / cover no-repeat fixed;
  border-bottom: 1px solid var(--line-2);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #000000 0%, #0a2549 100%);
  opacity: 0.77;
}
.cta-band .inner { position: relative; max-width: 800px; }
.cta-band h2 { color: var(--white); font-weight: 500; margin-bottom: 40px; }

/* ---------- About ---------- */
.intro-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.intro-split p { font-size: 1.125rem; color: var(--ink); margin-top: 38px; }
.full-photo { height: 650px; background: var(--dark) center / cover no-repeat; }
.years { display: grid; grid-template-columns: 490fr 588fr; gap: 70px; align-items: center; }
.years__num { font-size: clamp(3.5rem, 6vw, 5.5rem); font-weight: 400; color: var(--ink); line-height: 1; margin-bottom: 14px; }
.years__label { font-size: 1.5rem; color: var(--ink); text-transform: capitalize; }
.years h2 { font-size: clamp(1.6rem, 2.4vw, 2.125rem); }
.years p { font-size: 1.125rem; color: var(--ink); margin: 0; }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 16px; }
.step { padding: 30px; border-left: 1px solid var(--line-2); }
.step:first-child { border-left: 0; }
.step__num { font-size: 1.375rem; color: var(--copper-deep); margin-bottom: 18px; }
.step h3 { font-size: 1.0625rem; font-weight: 500; margin-bottom: 14px; }
.step p { font-size: 0.94rem; color: var(--ink); margin: 0; }

/* ---------- Portfolio ---------- */
.filters {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 0;
  margin: 0 0 60px;
}
.filter-btn {
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 5px;
  border: 1px solid rgba(76, 76, 76, 0.1);
  background: var(--light-2);
  color: var(--black);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.filter-btn:hover { background: #ececec; }
.filter-btn.is-active { background: var(--copper-metal); border-color: #a8704b; color: var(--white); box-shadow: inset 0 1px 0 rgba(255, 238, 222, 0.45); }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0 10px; }
.gallery__item {
  margin: 0;
  position: relative;
  aspect-ratio: 407 / 280;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--dark);
}
.gallery__item[hidden] { display: none; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 18px 14px;
  color: var(--white);
  font-weight: 500;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.75));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
}
.gallery__item:hover figcaption,
.gallery__item:focus-visible figcaption { opacity: 1; transform: none; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(8, 8, 10, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1200px, 100%); max-height: 86vh; }
.lightbox button {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
}
.lightbox button:hover { background: var(--copper); }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- Reviews ---------- */
.reviews-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  color: var(--ink);
}
.reviews-summary strong { font-size: 1.1rem; letter-spacing: 0.08em; }
.stars { color: #f5b301; letter-spacing: 2px; font-size: 1.05rem; }
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.review {
  background: var(--white);
  padding: 26px 22px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--light);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.review__head { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--copper);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 600;
  flex-shrink: 0;
}
.review__name { font-weight: 600; color: var(--ink); line-height: 1.3; text-transform: capitalize; }
.review__source { font-size: 0.8rem; color: var(--muted); }
.review p { font-size: 0.92rem; margin: 0; }
.reviews-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 40px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.contact-info h2 { font-size: 1.75rem; margin-bottom: 30px; }
.info-list { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 22px; }
.info-list li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; color: var(--text); }
.info-list svg { width: 20px; height: 20px; color: var(--copper); margin-top: 3px; }
.info-list strong { display: block; color: var(--ink); font-weight: 500; }
.info-list a:hover { color: var(--copper-deep); }
.hours { margin: 0; }
.hours div { display: flex; gap: 12px; }
.hours dt { min-width: 80px; }
.hours dd { margin: 0; }
.contact-photo { width: 100%; max-width: 577px; border-radius: 6px; aspect-ratio: 577 / 413; object-fit: cover; }

.form-panel { background: var(--light-2); padding: 40px; }
.form-panel h2 { font-size: 1.75rem; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.9rem; font-weight: 500; color: var(--ink); }
.field label .req { color: var(--copper-deep); }
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 13px 14px;
  border: 1px solid rgba(76, 76, 76, 0.2);
  border-radius: 5px;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(197, 138, 100, 0.18); }
.field .is-invalid { border-color: var(--copper-deep); }
.reg-input { text-transform: uppercase; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.82rem; margin: 16px 0 0; color: var(--muted); }
.form-status { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 5px; font-size: 0.93rem; }
.form-status.is-success { display: block; background: #eaf6ee; color: #1d6b3a; }
.form-status.is-error { display: block; background: #fbeee6; color: #8a3a00; }

/* ---------- Footer (light grey, laid out as the original) ---------- */
.site-footer { background: var(--light); color: var(--text); }
.footer-inner { padding: 96px 24px 24px; }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 561fr) 230fr 303fr 274fr;
  align-items: start;
}
.footer-about { max-width: 436px; }
.footer-logo img { height: 72px; width: auto; margin-bottom: 10px; }
.footer-about p { font-size: 1.125rem; line-height: 1.42; color: var(--text); margin: 0; }
.footer-grid h4 {
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  text-transform: none;
  margin: 24px 0 24px;
}
.footer-links,
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; font-size: 1.125rem; line-height: 1.4; }
.footer-contact li { display: flex; align-items: center; gap: 6px; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--ink); }
.site-footer address { font-style: normal; font-size: 1rem; line-height: 1.4; }
.footer-links a,
.footer-contact a { transition: color 0.2s; }
.footer-links a:hover,
.footer-contact a:hover { color: var(--copper-deep); }
.socials { display: flex; gap: 20px; margin-top: 24px; }
.socials a { color: var(--ink); display: grid; place-items: center; width: 25px; height: 25px; transition: color 0.3s, transform 0.3s; }
.socials a:hover { color: var(--copper); transform: scale(0.7); }
.socials svg { width: 25px; height: 25px; }
.footer-bottom { margin: 110px 0 0; font-size: 1rem; color: var(--muted); }

@media (max-width: 1024px) {
  .footer-inner { padding: 40px 24px 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-grid h4 { margin-top: 0; }
  .footer-bottom { margin-top: 30px; font-size: 0.875rem; }
  .socials svg, .socials a { width: 22px; height: 22px; }
}
@media (max-width: 600px) {
  .footer-inner { padding: 40px 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .cta-band { background-attachment: scroll; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  :root { --gutter: 40px; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .step:nth-child(4) { border-left: 0; }
  .reviews { grid-template-columns: repeat(2, 1fr); }
  .slider__track { grid-auto-columns: calc((100% - 40px) / 3); }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .section { padding: 64px 0; }
  .logo img { height: 48px; }

  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 28px;
    box-shadow: 0 16px 30px rgba(14, 15, 17, 0.08);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s;
  }
  .is-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li a,
  .page-inner .main-nav li a,
  .site-header .main-nav li a { color: var(--text); padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .main-nav li a[aria-current="page"] { color: var(--copper-deep) !important; }
  .main-nav .mobile-cta { display: flex; margin-top: 20px; }
  .site-header.is-open .site-header__bar { background: var(--white); border-bottom-color: var(--line); }

  .card-grid,
  .feature,
  .feature--reverse,
  .service,
  .service--reverse,
  .intro-split,
  .years,
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .feature--reverse .feature__media,
  .service--reverse .service__media { order: 0; }
  .feature + .feature,
  .service + .service { margin-top: 64px; }
  .intro-split p { margin-top: 0; }
  .full-photo { height: 380px; }
  .gallery { grid-template-columns: repeat(2, 1fr); padding: 0; }
  .slider__track { grid-auto-columns: calc((100% - 20px) / 2); }
  .cta-band { background-attachment: scroll; min-height: 400px; }
  .page-intro { padding: 70px 0 56px; }
  .photo-banner { min-height: 300px; }
}

@media (max-width: 600px) {
  :root { --gutter: 20px; }
  .site-notice__long { display: none; }
  .site-notice { font-size: 0.8rem; }
  .hero { padding-bottom: 70px; }
  .hero__actions .btn { width: 100%; }
  .gallery,
  .reviews,
  .steps,
  .form-grid,
  .step { border-left: 0; border-top: 1px solid var(--line-2); padding: 24px 0; }
  .step:first-child { border-top: 0; }
  .slider__head { flex-direction: column; align-items: flex-start; }
  .slider__track { grid-auto-columns: 78%; }
  .marquee__track { gap: 48px; }
  .marquee img { height: 48px; max-width: 96px; }
  .brands-panel { padding: 44px 0; border-radius: 14px; }
  .form-panel { padding: 28px 20px; }
  .lightbox .lb-prev,
  .lightbox .lb-next { top: auto; bottom: 20px; transform: none; }
}

@media (min-width: 901px) {
  .main-nav .mobile-cta { display: none; }
}
