/* ==========================================================================
   Clearance Solutions Australia - site styles
   Rebuilt from the GoDaddy Website Builder theme (measured values).
   ========================================================================== */

/* ---------- Fonts (self-hosted, same files the original site used) ------- */
@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/libre-baskerville-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Libre Baskerville";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/libre-baskerville-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Montserrat (variable weight) */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/montserrat-4.woff2") format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/montserrat-1.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/montserrat-5.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/montserrat-2.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/montserrat-3.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens --------------------------------------------------------- */
:root {
  --bg: #161616;
  --green: #90c691;
  --green-hover: #a6e3a7;
  --text-light: #f7f7f7;
  --text-body: #a4a4a4;
  --text-muted: #a9a9a9;
  --text-label: #bfbfbf;
  --footer-text: #202220;
  --rule: #2a2a2a;
  --white: #fff;
  --black: #000;
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "Montserrat", Arial, sans-serif;
  --header-h: 136px;
  --container: 1160px;
}

/* ---------- Reset / base --------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--green);
}
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 400;
}
h1,
h2 {
  font-family: var(--serif);
}
h4 {
  font-family: var(--sans);
  font-size: 22px;
  line-height: 1.25;
  color: var(--text-light);
}
button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 1000;
  padding: 8px 16px;
  background: var(--green);
  color: var(--black);
  border-radius: 4px;
}
.skip-link:focus {
  left: 8px;
}

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

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 8px 32px;
  border: 0;
  border-radius: 4px;
  background: var(--green);
  color: var(--black);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: normal;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.btn:hover,
.btn:focus-visible {
  background: var(--green-hover);
  color: var(--black);
}
.btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}
.btn[disabled] {
  opacity: 0.7;
  cursor: default;
}
.btn--block {
  display: flex;
  width: 100%;
}

/* ---------- Header / navigation ------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  transition: background-color 0.25s ease;
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  max-width: none;
  transition: height 0.25s ease;
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 0 24px;
}
.nav--left {
  grid-column: 1;
  justify-content: flex-start;
}
.nav--right {
  grid-column: 3;
  justify-content: flex-end;
}
.nav a {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 24px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 6px;
  margin: -6px;
  transition: color 0.2s ease;
}
.nav a:hover,
.nav a:focus-visible {
  color: var(--green);
}
.nav a.is-active {
  font-weight: 700;
}
.header-logo {
  grid-column: 2;
  display: block;
  margin: 0 auto;
  line-height: 0;
}
.nav-toggle {
  grid-column: 1;
}
.header-logo img {
  height: 104px;
  width: auto;
  transition: height 0.25s ease;
}
.site-header.is-scrolled .header-inner {
  height: 104px;
}
.site-header.is-scrolled .header-logo img {
  height: 72px;
}

/* Hamburger (mobile only) */
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  margin-left: -12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(100%, 480px);
  z-index: 100;
  background: var(--bg);
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
  padding: 0 0 48px;
}
.mobile-nav.is-open {
  transform: translateX(0);
}
.mobile-nav__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: var(--text-light);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-nav__close svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.mobile-nav ul {
  list-style: none;
  margin: 64px 24px 0;
  padding: 0;
}
.mobile-nav li {
  border-bottom: 1px solid var(--rule);
}
.mobile-nav a {
  display: block;
  padding: 16px 24px;
  color: var(--text-light);
  font-size: 22px;
  line-height: 28px;
  text-decoration: none;
}
.mobile-nav a.is-active {
  font-weight: 700;
}
.mobile-nav__backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.mobile-nav__backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}
body.nav-open {
  overflow: hidden;
}

/* ---------- Home: hero header ---------------------------------------------- */
.page-home .site-header {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  background: rgba(22, 22, 22, 0.25);
}
.page-home .site-header .header-inner {
  height: 72px;
}
.page-home .site-header .header-logo {
  display: none;
}
.page-home .site-header.is-scrolled {
  position: fixed;
  background: var(--bg);
}
.page-home .site-header.is-scrolled .header-logo {
  display: block;
}
.page-home .site-header.is-scrolled .header-logo img {
  height: 56px;
}

.hero {
  position: relative;
  min-height: 765px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 24px 150px;
  color: var(--white);
  background-color: var(--bg);
  background-image: linear-gradient(rgba(0, 0, 0, 0.48), rgba(0, 0, 0, 0.48)), url("/img/hero-ship-plane.jpg");
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
.hero__logo img {
  height: 200px;
  width: auto;
  margin: 0 auto;
}
.hero__title {
  margin-top: 110px;
  font-size: 62px;
  line-height: 1.2;
  color: var(--white);
  /* The original tagline box is ~800px of text width, which wraps the name onto two lines. */
  max-width: 800px;
}
.hero__tagline {
  margin-top: 8px;
  font-size: 22px;
  line-height: 1.5;
  color: var(--white);
  max-width: 720px;
}
.hero .btn {
  margin-top: 32px;
}

/* ---------- Home: intro split ---------------------------------------------- */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
}
.intro__image img {
  width: 100%;
  height: 536px;
  object-fit: cover;
}
.intro__panel {
  padding: 117px 56px 32px;
}
.intro__panel h2 {
  font-size: 44px;
  line-height: 1.25;
  color: var(--text-light);
}
.intro__panel p {
  margin-top: 24px;
  font-size: 22px;
  line-height: 1.5;
  color: var(--text-body);
}
.intro__panel .btn {
  margin-top: 32px;
}

/* ---------- Inner pages: banner ------------------------------------------- */
.banner {
  position: relative;
  min-height: 200px;
  padding: 56px 0;
  display: flex;
  align-items: center;
  background-color: var(--bg);
  background-image: linear-gradient(rgba(0, 0, 0, 0.31), rgba(0, 0, 0, 0.31)), url("/img/banner-crane.jpg");
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
.banner .container {
  padding: 24px 48px;
  text-align: center;
}
.banner h1 {
  font-size: 44px;
  line-height: 1.125;
  color: var(--white);
}

/* ---------- Generic content section --------------------------------------- */
.section {
  padding: 56px 0;
  background: var(--bg);
}
.text-block {
  max-width: 773px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-body);
}
.text-block p + p {
  margin-top: 24px;
}
.section__cta {
  margin-top: 24px;
  text-align: center;
}

/* ---------- Services: split ----------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
}
.split__content {
  display: flex;
  align-items: center;
  padding: 56px 24px;
}
.split__inner {
  width: 100%;
  max-width: 448px;
  margin: 0 auto;
}
.split__inner h4 {
  margin-bottom: 24px;
}
.split__inner ul {
  margin: 16px 0;
  padding: 0 0 0 16px;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-body);
}
.split__inner li {
  margin: 0;
}
.split__image {
  min-height: 575px;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
}
.split__image--port {
  background-image: url("/img/port-truck.jpg");
}

/* ---------- Contact --------------------------------------------------------- */
.section-heading {
  margin: 0 0 40px;
  text-align: center;
}
.section-heading h2 {
  font-size: 32px;
  line-height: 1.4;
  color: var(--green);
}
.section-heading hr {
  width: 50px;
  height: 0;
  margin: 24px auto 0;
  border: 0;
  border-bottom: 2px solid var(--rule);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* The original grid spans the full 1160px container (cells 580px, 24px inner padding). */
  margin: 0 -24px;
}
.contact-grid > * {
  padding: 0 24px;
}
.contact-form-col {
  padding-top: 24px;
}
.form-field {
  position: relative;
  padding-bottom: 24px;
}
.form-field input,
.form-field textarea {
  display: block;
  width: 100%;
  border: 1px solid var(--white);
  border-radius: 4px;
  background: transparent;
  color: var(--text-label);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 28px;
  outline: none;
  transition: border-color 0.2s ease;
}
.form-field input {
  height: 51px;
  padding: 14px 16px 0;
}
.form-field textarea {
  height: 202px;
  padding: 16px;
  resize: vertical;
}
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--green);
}
.form-field textarea::placeholder {
  color: var(--text-label);
  opacity: 1;
}
.form-field label {
  position: absolute;
  left: 17px;
  top: 16px;
  color: var(--text-label);
  font-size: 16px;
  line-height: 19px;
  pointer-events: none;
  transition: top 0.15s ease, font-size 0.15s ease;
}
.form-field input:focus + label,
.form-field input:not(:placeholder-shown) + label {
  top: 5px;
  font-size: 11px;
  line-height: 14px;
}
.form-field--turnstile {
  padding-bottom: 24px;
}
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}
.form-submit {
  margin-top: 4px;
}
.form-legal {
  margin-top: 32px;
  font-size: 12px;
  line-height: 18px;
  color: var(--text-muted);
  text-align: center;
}
.form-legal a {
  color: var(--green);
  text-decoration: none;
}
.form-status {
  margin-top: 16px;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-light);
}
.form-status--error {
  color: #f0a5a5;
}
.form-status--success {
  color: var(--green);
}
.form-success {
  padding: 24px 0;
  font-size: 18px;
  line-height: 27px;
  color: var(--text-light);
}
.form-success strong {
  color: var(--green);
}

.contact-info h4 {
  margin-bottom: 24px;
  color: var(--green);
}
.contact-info p {
  font-size: 18px;
  line-height: 27px;
  color: var(--text-body);
}
.contact-info strong {
  font-weight: 700;
}
.contact-info a {
  color: var(--green);
  text-decoration: underline;
}
.contact-hours {
  margin-top: 40px;
}
.hours {
  font-size: 18px;
  line-height: 27px;
  color: var(--text-body);
}
.hours__toggle {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-align: left;
}
.hours__toggle .hours__time {
  color: var(--green);
}
.hours__toggle svg {
  width: 16px;
  height: 16px;
  fill: var(--green);
  transition: transform 0.2s ease;
}
.hours__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}
.hours__table {
  border-spacing: 0;
  text-align: left;
}
.hours__table td {
  padding: 0 16px 0 0;
  vertical-align: top;
}
.hours__table tr.is-today {
  font-weight: 700;
  color: var(--text-light);
}
.hours__table[hidden] {
  display: none;
}
.hours--js .hours__table {
  margin-top: 4px;
}

/* ---------- Footer --------------------------------------------------------- */
.site-footer {
  background: var(--green);
  padding: 32px 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.footer-inner p {
  font-size: 14px;
  line-height: 21px;
  color: var(--footer-text);
}
.footer-inner p + p {
  text-align: right;
}

/* ---------- 404 --------------------------------------------------------------- */
.not-found {
  padding: 96px 0;
  text-align: center;
}
.not-found h1 {
  font-size: 44px;
  color: var(--text-light);
}
.not-found p {
  margin-top: 24px;
  font-size: 18px;
}
.not-found .btn {
  margin-top: 32px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1023px) {
  .intro__panel {
    padding: 64px 40px 48px;
  }
  .intro__panel h2 {
    font-size: 36px;
  }
  .intro__panel p {
    font-size: 18px;
  }
  .hero__title {
    font-size: 52px;
  }
}

@media (max-width: 767px) {
  :root {
    --header-h: 136px;
  }
  .header-inner {
    grid-template-columns: auto 1fr auto;
  }
  .nav {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .header-inner::after {
    content: "";
    grid-column: 3;
    width: 48px;
  }

  /* Home hero */
  .page-home .site-header .header-inner {
    height: 56px;
  }
  .hero {
    min-height: 0;
    padding: 24px 24px 48px;
  }
  .hero__logo img {
    height: 104px;
  }
  .hero__title {
    margin-top: 24px;
    font-size: 40px;
  }
  .hero__tagline {
    margin-top: 16px;
    font-size: 20px;
  }
  .hero .btn {
    margin-top: 40px;
    width: 100%;
  }

  /* Intro */
  .intro {
    grid-template-columns: 1fr;
  }
  .intro__image img {
    height: auto;
    aspect-ratio: 3 / 2;
  }
  .intro__panel {
    padding: 48px 24px;
  }
  .intro__panel h2 {
    font-size: 32px;
  }
  .intro__panel .btn {
    width: 100%;
  }

  /* Banner */
  .banner {
    min-height: 160px;
    padding: 40px 0;
  }
  .banner h1 {
    font-size: 34px;
  }

  /* Services */
  .split {
    grid-template-columns: 1fr;
  }
  .split__content {
    padding: 48px 24px;
  }
  .split__image {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }
  .section__cta .btn {
    width: 100%;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-col {
    padding-top: 0;
  }
  .contact-info {
    padding-top: 40px;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: center;
  }
  .footer-inner p + p {
    text-align: center;
  }
}

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