/* =============================================================
   KwikFix Mechanical — hand-written static clone
   Design tokens (retheme by editing this :root block)
   ============================================================= */
:root {
  --gold-topbar: #d29d29;
  --gold-band: #f2c96d;
  --gold-btn: #e1ab2f;
  --dark-header: #25292e;
  --dark-footer: #001a33;
  --text-body: #222;
  --text-muted: #555;
  --white: #ffffff;
  --gray-banner: #ececec;
  --gray-line: #dcdcdc;

  --font-body: "Roboto-Regular", "Roboto", Arial, sans-serif;
  --font-bold: "Roboto-Bold", "Roboto", Arial, sans-serif;
  --font-cond: "RobotoCondensed-Bold", "Roboto Condensed", Impact, Arial, sans-serif;
  --font-cond-italic: "RobotoCondensed-BoldItalic", "Roboto Condensed", Impact, Arial, sans-serif;
  --font-banner: "HelveticaNeueLT-Light", "Helvetica Neue", "Segoe UI Light", Arial, sans-serif;

  --wrap: 1130px;
  --topbar-h: 30px;
  --header-h: 150px;
  --nav-h: 46px;
}

/* =============================================================
   @font-face — mirror source's family names verbatim
   ============================================================= */
@font-face {
  font-family: "Roboto-Regular";
  src: url("../fonts/robotoregular.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Roboto-Bold";
  src: url("../fonts/robotobold.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "RobotoCondensed-Bold";
  src: url("../fonts/robotocondensedbold.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "RobotoCondensed-BoldItalic";
  src: url("../fonts/robotocondensedbolditalic.ttf") format("truetype");
  font-display: swap;
}

/* =============================================================
   Reset + base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-body);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* =============================================================
   Topbar — thin gold strip with phone + hours
   ============================================================= */
.topbar {
  background: var(--gold-topbar);
  color: var(--dark-header);
  font-size: 13px;
  font-family: var(--font-bold);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--topbar-h);
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar__phone a { color: inherit; }
.topbar__phone a:hover { text-decoration: underline; }
.topbar__hours { text-align: right; }
.topbar__burger { display: none; }

/* Close button lives inside .site-nav — hidden on desktop */
.site-nav__close {
  display: none;
}

/* =============================================================
   Header — dark band with logo left + Enquiry button right
   ============================================================= */
.site-header {
  background: var(--dark-header);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  padding: 15px 0;
}
.site-header__logo img {
  height: 120px;
  width: auto;
}
.btn-enquiry {
  display: inline-block;
  background: var(--gold-btn);
  color: var(--dark-header);
  padding: 16px 30px;
  border-radius: 4px;
  font-family: var(--font-cond);
  font-size: 18px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background 0.15s ease;
}
.btn-enquiry:hover { background: #cf9a24; }

/* =============================================================
   Nav — yellow band with underline links
   ============================================================= */
.site-nav {
  background: var(--gold-band);
  border-bottom: 3px solid #000;
}
.site-nav .wrap {
  display: flex;
  align-items: center;
  gap: 36px;
  min-height: var(--nav-h);
}
.site-nav a {
  display: inline-block;
  padding: 14px 0;
  font-family: var(--font-cond);
  font-size: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dark-header);
  transition: color 0.15s ease;
}
.site-nav a.is-active,
.site-nav a:hover {
  color: var(--white);
}

/* =============================================================
   Hero slider — real Nivo Slider (v3.2), directionNav+controlNav off.
   Wrapper holds the aspect ratio (1920:650); Nivo positions images
   absolutely inside it. `width: 100% !important; height: auto !important`
   overrides on img are required to make Nivo images render responsively
   (Nivo's own CSS pins width/height to natural dimensions on tablet+).
   ============================================================= */
.slider-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 650;
  overflow: hidden;
  background: #000;
}
.slider-wrapper .nivoSlider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.slider-wrapper .nivoSlider > img {
  width: 100% !important;
  height: auto !important;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Nivo hides the initial images with display:none; the first one gets
   nivo-main-image applied at init. Belt-and-braces for older browsers: */
.slider-wrapper .nivoSlider .nivo-main-image {
  display: block !important;
  position: absolute !important;
  inset: 0;
}
/* Slice/box effect layers Nivo generates for fade transitions */
.slider-wrapper .nivo-slice,
.slider-wrapper .nivo-box {
  overflow: hidden;
}

/* =============================================================
   Welcome section
   ============================================================= */
.welcome {
  padding: 56px 20px 40px;
  text-align: center;
}
.welcome__title {
  font-family: var(--font-cond);
  font-size: 39px;
  font-weight: normal;
  color: #000;
  margin: 0 0 24px;
  letter-spacing: 0.01em;
}
.welcome__body {
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.5;
  color: #000;
  max-width: 950px;
  margin: 0 auto;
}

/* =============================================================
   Tiles section — "A little about us" 2x2 grid
   ============================================================= */
.tiles {
  padding: 30px 20px 60px;
}
.tiles__title {
  font-family: var(--font-cond);
  font-size: 39px;
  font-weight: normal;
  color: #000;
  margin: 0 0 40px;
  text-align: center;
  letter-spacing: 0.01em;
}
.tiles__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tile__title {
  font-family: var(--font-cond);
  font-size: 22px;
  font-weight: normal;
  color: #000;
  margin: 0;
  min-height: 2.4em;
  text-align: center;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.tile__image {
  position: relative;
  aspect-ratio: 700 / 420;
  overflow: hidden;
  border-radius: 2px;
}
.tile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile__cta {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: #f2c96d;
  color: var(--dark-header);
  padding: 6px 14px;
  border-radius: 0;
  font-family: var(--font-cond-italic);
  font-size: 14px;
  letter-spacing: 0.03em;
  transition: background 0.15s ease, color 0.15s ease;
}
.tile__cta:hover {
  background: #494949;
  color: var(--white);
}

/* =============================================================
   CTA band — yellow strip above footer
   ============================================================= */
.cta-band {
  background: var(--gold-band);
  color: var(--white);
  text-align: center;
  padding: 22px 20px;
}
.cta-band p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 18px;
}
.cta-band__phone,
.cta-band__phone a {
  font-family: var(--font-bold);
  color: #000;
  text-decoration: none;
}
.cta-band__enquire {
  font-family: var(--font-cond-italic);
  color: #000;
  text-decoration: none;
}
.cta-band__phone a:hover,
.cta-band__enquire:hover { text-decoration: underline; }

/* =============================================================
   Footer — dark navy strip
   ============================================================= */
.site-footer {
  background: var(--dark-footer);
  color: var(--white);
  text-align: center;
  padding: 14px 20px;
  font-size: 13px;
}

/* =============================================================
   Page banner — "About Us" / "Contact Us"
   ============================================================= */
.page-banner {
  background: var(--gray-banner);
  padding: 46px 20px;
  text-align: center;
  border-bottom: 1px solid var(--gray-line);
}
.page-banner h1 {
  font-family: var(--font-banner);
  font-size: 58px;
  font-weight: 300;
  color: #000;
  margin: 0;
  letter-spacing: 0.005em;
}

/* =============================================================
   About page — feature blocks + brand row
   ============================================================= */
.about-intro {
  padding: 60px 20px 20px;
}
.about-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.6fr);
  gap: 60px;
  max-width: var(--wrap);
  margin: 0 auto;
  align-items: center;
}
.about-intro__photo img {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: 2px;
}
.feature-block {
  text-align: center;
}
.feature-block__icon {
  width: 130px;
  height: 130px;
  margin: 0 auto 22px;
  object-fit: contain;
}
.feature-block__title {
  font-family: var(--font-cond);
  font-size: 18px;
  color: #000;
  margin: 0 0 14px;
  letter-spacing: 0.03em;
}
.feature-block__body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-body);
  margin: 0 0 10px;
}

.about-features {
  padding: 20px 20px 60px;
}
.about-features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 45px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.about-features .feature-block__body {
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.brand-row {
  background: var(--white);
  padding: 40px 20px 70px;
  border-top: 1px solid var(--gray-line);
}
.brand-row__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: var(--wrap);
  margin: 0 auto;
  flex-wrap: wrap;
}
.brand-row__list img {
  height: 100px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: grayscale(0);
  transition: transform 0.2s ease;
}
.brand-row__list img:hover { transform: scale(1.05); }

/* =============================================================
   Contact page — address block + form
   ============================================================= */
.contact-body {
  padding: 60px 20px;
}
.contact-body__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 80px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.contact-info h3 {
  font-family: var(--font-bold);
  font-size: 22px;
  margin: 26px 0 8px;
  color: #000;
}
.contact-info h3:first-child { margin-top: 0; }
.contact-info p {
  margin: 0 0 5px;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.55;
}
.contact-info a { color: inherit; }
.contact-info a:hover { text-decoration: underline; }

.contact-form h2 {
  font-family: var(--font-bold);
  font-size: 26px;
  margin: 0 0 12px;
  color: #000;
}
.contact-form__intro {
  font-family: var(--font-body);
  font-size: 18px;
  color: #000;
  margin: 0 0 26px;
}
.contact-form__group {
  margin-bottom: 20px;
}
.contact-form__label {
  display: block;
  font-family: var(--font-body);
  font-size: 17px;
  margin-bottom: 8px;
  color: #000;
}
.contact-form__label .required {
  color: #d33;
  margin-left: 4px;
}
.contact-form input[type=text],
.contact-form input[type=email],
.contact-form input[type=tel],
.contact-form textarea {
  width: 100%;
  border: 1px solid #999;
  padding: 11px 12px;
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--white);
  color: var(--text-body);
  border-radius: 2px;
  transition: border-color 0.15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold-topbar);
}
.contact-form textarea {
  min-height: 130px;
  resize: vertical;
  font-family: var(--font-body);
}
.contact-form__submit {
  display: inline-block;
  background: var(--gold-btn);
  color: var(--dark-header);
  border: none;
  padding: 16px 46px;
  font-family: var(--font-cond);
  font-size: 18px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background 0.15s ease;
}
.contact-form__submit:hover { background: #cf9a24; }
.contact-form__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form__status {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 3px;
  font-size: 14px;
  display: none;
}
.contact-form__status.is-error {
  background: #fbe4e4;
  color: #7a1c1c;
  border: 1px solid #e0b5b5;
  display: block;
}
.contact-form__status.is-loading {
  background: #f6f2e4;
  color: #6b5610;
  border: 1px solid #e4d9a2;
  display: block;
}

/* =============================================================
   Contact page — map embed
   ============================================================= */
.contact-map {
  width: 100%;
  border-top: 1px solid var(--gray-line);
  background: #eee;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}
@media (max-width: 720px) {
  .contact-map iframe { height: 320px; }
}

/* =============================================================
   Thanks page
   ============================================================= */
.thanks-body {
  padding: 80px 20px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.thanks-body h1 {
  font-family: var(--font-banner);
  font-size: 46px;
  font-weight: 300;
  margin: 0 0 16px;
  color: #000;
}
.thanks-body p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: #000;
  margin: 0 0 24px;
}
.thanks-body .btn-return {
  display: inline-block;
  background: var(--gold-btn);
  color: var(--dark-header);
  padding: 12px 32px;
  border-radius: 3px;
  font-family: var(--font-cond);
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =============================================================
   Mobile — burger nav, stacked layouts
   ============================================================= */
@media (max-width: 900px) {
  :root {
    --header-h: 100px;
  }

  /* Topbar: phone (left) + hours (center-ish) + burger (right) — all visible */
  .topbar { position: relative; }
  .topbar .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-right: 48px; /* leave room for the burger button */
    font-size: 10px;
  }
  .topbar__phone,
  .topbar__hours {
    display: block;
    text-align: left;
    line-height: 1.2;
    white-space: nowrap;
  }
  .topbar__burger {
    display: block;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    background: transparent;
    border: none;
    padding: 6px;
    z-index: 250;
  }
  body.menu-open .topbar__burger { display: none; }
  .topbar__burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dark-header);
    margin: 4px auto;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .site-header .wrap {
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 12px;
  }
  .site-header__logo img { height: 58px; }
  .btn-enquiry {
    padding: 10px 14px;
    font-size: 13px;
    white-space: nowrap;
  }

  /* Menu overlay — full-viewport, hidden by default */
  .site-nav {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: var(--white);
    z-index: 240;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    border-bottom: none;
  }
  body.menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  body.menu-open { overflow: hidden; }

  .site-nav .wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    width: 100%;
    max-width: 480px;
    min-height: 0;
  }
  .site-nav a {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0,0,0,0.12);
    text-align: center;
    font-size: 24px;
    color: var(--dark-header);
    background: transparent;
    transition: background 0.15s ease, color 0.15s ease;
  }
  .site-nav a:last-child { border-bottom: none; }
  .site-nav a.is-active,
  .site-nav a:hover {
    background: var(--gold-band);
    color: var(--dark-header);
  }

  /* Explicit close X inside the overlay, top-right */
  .site-nav__close {
    display: block;
    position: absolute;
    top: 16px;
    right: 18px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    font-size: 40px;
    line-height: 1;
    color: var(--dark-header);
    cursor: pointer;
    padding: 0;
    z-index: 260;
  }
  .site-nav__close:hover { color: #000; }
}

@media (max-width: 720px) {
  .welcome { padding: 34px 20px 20px; }
  .welcome__title { font-size: 30px; }
  .welcome__body { font-size: 17px; }
  .tiles__title { font-size: 30px; margin-bottom: 24px; }
  .tiles__grid { gap: 20px; }
  .tile__title { font-size: 20px; }

  .page-banner { padding: 32px 20px; }
  .page-banner h1 { font-size: 42px; }

  .about-intro { padding: 40px 20px 10px; }
  .about-intro__grid { grid-template-columns: 1fr; gap: 30px; }
  .about-intro__photo img { aspect-ratio: 4 / 3; }
  .about-features__grid { grid-template-columns: 1fr; gap: 40px; }
  .brand-row__list { gap: 25px; }
  .brand-row__list img { height: 44px; }

  .contact-body { padding: 40px 20px; }
  .contact-body__grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 480px) {
  .tiles__grid { grid-template-columns: 1fr; }
  .site-header__logo img { height: 46px; }
  .btn-enquiry {
    padding: 8px 10px;
    font-size: 11px;
    letter-spacing: 0.02em;
  }
  .hero-slider__arrow { display: none; }
  .topbar__phone { font-size: 12px; }
}
