/*-- -------------------------- -->
<---             Hero             -->
<--- -------------------------- -*/
/* Ported from the Tradie Landing Page v2.0 template. The home hero has a background photo ({% heroImage %} with the
   .tlp-hero--photo modifier, styled at the end of each breakpoint below); the inner page heroes are navy only. */
/* Mobile - 360px */
@media only screen and (min-width: 0em) {
  #tlp-hero {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 2.75rem var(--tlpGutter) 4rem;
    /* fine dot texture over a deep navy gradient (separate properties: LESS math would divide a "0 0 / 22px" shorthand) */
    background-color: var(--tlpInk);
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1.5px), linear-gradient(160deg, #0A1A2E 0%, #06121F 60%, #071B33 100%);
    background-size: 22px 22px, auto;
    /* dark wash (sits over a photo if one is added) */
    /* fades the bottom into the next section */
    /* kicker above the home H1: same sentence-case style as .tlp-eyebrow, a step larger */
    /* the buttons keep their own space above them, whatever sits before them
           (lead, checklist, guide dates or the area pages' "Local facts checked" line) */
    /* Glass card with a gradient edge: the quote form (home) or the call card (inner pages) */
    /* inner page call card */
  }
  #tlp-hero:before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(6, 18, 31, 0.55) 0%, rgba(6, 18, 31, 0.25) 45%, rgba(6, 18, 31, 0.7) 100%);
  }
  #tlp-hero:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    height: 8.75rem;
    background: linear-gradient(to top, var(--tlpInk), rgba(6, 18, 31, 0));
  }
  #tlp-hero .tlp-glow--blue {
    top: -16.25rem;
    left: -13.75rem;
  }
  #tlp-hero .tlp-glow--aqua {
    right: -16.25rem;
    bottom: -12.5rem;
  }
  #tlp-hero .tlp-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.75rem;
    align-items: center;
  }
  #tlp-hero .tlp-hero-badge {
    font-family: var(--tlpFontHead);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.3em;
    letter-spacing: -0.01em;
    color: var(--tlpAquaLight);
    margin-bottom: 1rem;
  }
  #tlp-hero .tlp-hero-title {
    font-family: var(--tlpFontHead);
    /* 40px - 68px */
    font-size: clamp(2.5rem, 5.2vw, 4.25rem);
    font-weight: 800;
    line-height: 1.04em;
    letter-spacing: -0.04em;
    color: #fff;
    text-wrap: balance;
    margin-bottom: 1.25rem;
  }
  #tlp-hero .tlp-hero-sub {
    /* 17px - 19px */
    font-size: clamp(1.0625rem, 1.5vw, 1.1875rem);
    line-height: 1.6em;
    color: rgba(255, 255, 255, 0.82);
    max-width: 37.5rem;
    margin-bottom: 1.5rem;
    /* no single word left alone on the last line */
    text-wrap: pretty;
  }
  #tlp-hero .tlp-hero-sub strong {
    font-weight: 600;
    color: var(--tlpAquaLight);
  }
  #tlp-hero .tlp-hero-points {
    list-style: none;
    display: grid;
    gap: 0.625rem;
    margin-bottom: 1.875rem;
  }
  #tlp-hero .tlp-hero-points li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.4em;
    color: rgba(255, 255, 255, 0.92);
  }
  #tlp-hero .tlp-hero-points .tlp-icon {
    width: 1.375rem;
    height: 1.375rem;
    padding: 0.3125rem;
    border-radius: 50%;
    color: #fff;
    background: var(--tlpGrad);
    box-shadow: 0 0 12px rgba(14, 165, 233, 0.55);
  }
  #tlp-hero .tlp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
  }
  #tlp-hero .tlp-hero-actions .tlp-btn {
    flex: 1 1 auto;
  }
  #tlp-hero .tlp-quote-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    background-color: rgba(10, 26, 46, 0.82);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 60px rgba(11, 99, 206, 0.2);
  }
  #tlp-hero .tlp-quote-card:before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(160deg, rgba(92, 208, 247, 0.8), rgba(255, 255, 255, 0.08) 45%, rgba(255, 159, 28, 0.55));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
  }
  #tlp-hero .tlp-quote-title {
    font-family: var(--tlpFontHead);
    /* 26px - 30px */
    font-size: clamp(1.625rem, 2.4vw, 1.875rem);
    font-weight: 700;
    line-height: 1.15em;
    color: #fff;
    margin-bottom: 0.5rem;
  }
  #tlp-hero .tlp-call-number {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.375rem 0 1.125rem;
    font-family: var(--tlpFontHead);
    /* 28px - 36px */
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1em;
    color: #fff;
    text-decoration: none;
  }
  #tlp-hero .tlp-call-number .tlp-icon {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.6875rem;
    border-radius: 50%;
    color: var(--tlpInk);
    background: var(--tlpCallGrad);
  }
  #tlp-hero .tlp-call-list {
    list-style: none;
    display: grid;
    gap: 0.625rem;
    margin-top: 1.25rem;
    padding-top: 1.125rem;
    border-top: 1px solid var(--tlpLineDark);
  }
  #tlp-hero .tlp-call-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    line-height: 1.5em;
    color: rgba(255, 255, 255, 0.82);
  }
  #tlp-hero .tlp-call-list .tlp-icon {
    width: 1rem;
    height: 1rem;
    margin-top: 0.1875rem;
    color: var(--tlpAquaLight);
  }
  /* Inner page hero: tighter, with breadcrumbs */
  #tlp-hero.tlp-hero--page {
    padding-top: 2rem;
    padding-bottom: 3.5rem;
  }
  #tlp-hero.tlp-hero--page .tlp-hero-title {
    /* 36px - 56px */
    font-size: clamp(2.25rem, 4.4vw, 3.5rem);
  }
  /* the call card repeats the hero buttons, so it only shows on desktop */
  #tlp-hero.tlp-hero--page .tlp-quote-card {
    display: none;
  }
  #tlp-hero.tlp-hero--simple .tlp-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  #tlp-hero.tlp-hero--simple .tlp-hero-sub {
    max-width: 47.5rem;
    margin-bottom: 0;
  }
  /* Home hero photo. Phones and tablets: the hero is one tall column (copy, then the form), so stretching the photo
       over all of it would blow it up. Instead it sits at the top behind the headline, in its own shape (the 4:5
       phone crop here), and fades out into the navy before the form. Desktop fills the whole hero (see 1024px). */
  #tlp-hero.tlp-hero--photo {
    /* the photo carries its own wash (:after below), so the section's general wash is off */
  }
  #tlp-hero.tlp-hero--photo:before {
    display: none;
  }
  #tlp-hero.tlp-hero--photo .tlp-hero-bg {
    height: auto;
    aspect-ratio: 4 / 5;
    max-height: 36rem;
    -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent);
    mask-image: linear-gradient(to bottom, #000 62%, transparent);
    /* dark wash so the white copy reads over faces and sky */
  }
  #tlp-hero.tlp-hero--photo .tlp-hero-bg img {
    object-position: 50% 20%;
  }
  #tlp-hero.tlp-hero--photo .tlp-hero-bg:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 18, 31, 0.62) 0%, rgba(6, 18, 31, 0.5) 50%, rgba(6, 18, 31, 0.7) 100%);
  }
  .tlp-breadcrumbs {
    margin-bottom: 1.25rem;
  }
  .tlp-breadcrumbs ol {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
  }
  .tlp-breadcrumbs li {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.72);
  }
  .tlp-breadcrumbs li + li:before {
    content: '/';
    margin-right: 0.375rem;
    opacity: 0.6;
  }
  .tlp-breadcrumbs a {
    font-size: inherit;
    color: #fff;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48em) {
  #tlp-hero .tlp-hero-points {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.25rem;
  }
  #tlp-hero .tlp-hero-actions .tlp-btn {
    flex: none;
  }
  /* the landscape photo, cropped a little at the sides */
  #tlp-hero.tlp-hero--photo .tlp-hero-bg {
    aspect-ratio: 4 / 3;
    max-height: 40rem;
  }
}
/* Desktop - 1024px: copy left, card right */
@media only screen and (min-width: 64em) {
  #tlp-hero {
    padding: 4.5rem var(--tlpGutter) 6rem;
  }
  #tlp-hero .tlp-hero-inner {
    grid-template-columns: minmax(0, 1fr) 29rem;
    gap: 3.5rem;
  }
  #tlp-hero .tlp-hero-points {
    grid-template-columns: 1fr;
  }
  #tlp-hero .tlp-quote-card {
    margin-top: 0.5rem;
  }
  #tlp-hero.tlp-hero--page {
    padding-top: 3rem;
    padding-bottom: 5rem;
  }
  #tlp-hero.tlp-hero--page .tlp-hero-inner {
    grid-template-columns: minmax(0, 1fr) 25rem;
  }
  #tlp-hero.tlp-hero--page .tlp-quote-card {
    display: block;
  }
  /* phone off: the side card holds the enquiry form, so it gets the home page card width */
  #tlp-hero.tlp-hero--page.tlp-hero--form .tlp-hero-inner {
    grid-template-columns: minmax(0, 1fr) 29rem;
  }
  #tlp-hero.tlp-hero--simple .tlp-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  /* the photo fills the hero; the wash is heaviest on the left, behind the copy, and lighter towards the form card
       (which has its own glass background) */
  #tlp-hero.tlp-hero--photo .tlp-hero-bg {
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  #tlp-hero.tlp-hero--photo .tlp-hero-bg img {
    object-position: 50% 30%;
  }
  #tlp-hero.tlp-hero--photo .tlp-hero-bg:after {
    background: linear-gradient(90deg, rgba(6, 18, 31, 0.92) 0%, rgba(6, 18, 31, 0.84) 38%, rgba(6, 18, 31, 0.58) 62%, rgba(6, 18, 31, 0.5) 100%), linear-gradient(180deg, rgba(6, 18, 31, 0.35) 0%, rgba(6, 18, 31, 0) 30%);
  }
}
/* Large Desktop - 1200px: two-column checklist */
@media only screen and (min-width: 75em) {
  #tlp-hero .tlp-hero-inner {
    grid-template-columns: minmax(0, 1fr) 30rem;
    gap: 4.5rem;
  }
  #tlp-hero .tlp-hero-points {
    grid-template-columns: 1fr 1fr;
  }
  #tlp-hero.tlp-hero--page .tlp-hero-inner {
    grid-template-columns: minmax(0, 1fr) 26rem;
  }
  #tlp-hero.tlp-hero--page.tlp-hero--form .tlp-hero-inner {
    grid-template-columns: minmax(0, 1fr) 30rem;
  }
  #tlp-hero.tlp-hero--simple .tlp-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}
/*-- -------------------------- -->
<---    Quote Card (shared)     -->
<--- -------------------------- -*/
/* Mobile - 360px: ribbon, body and note are shared by the hero card and the final card */
@media only screen and (min-width: 0em) {
  .tlp-quote-ribbon {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 1.3em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
    padding: 0.6875rem 1rem;
    background: var(--tlpGrad);
  }
  .tlp-quote-ribbon .tlp-icon {
    width: 0.9375rem;
    height: 0.9375rem;
    color: var(--tlpOrange);
  }
  .tlp-quote-body {
    padding: 1.625rem 1.25rem 1.375rem;
  }
  .tlp-quote-sub {
    font-size: 0.9375rem;
    line-height: 1.5em;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 1.375rem;
  }
  .tlp-quote-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    line-height: 1.4em;
    color: rgba(255, 255, 255, 0.66);
    margin-top: 0.875rem;
  }
  .tlp-quote-note .tlp-icon {
    width: 0.8125rem;
    height: 0.8125rem;
  }
}
/* Tablet - 768px */
@media only screen and (min-width: 48em) {
  .tlp-quote-body {
    padding: 1.875rem 1.875rem 1.5rem;
  }
}
/*-- -------------------------- -->
<---         USP Strip          -->
<--- -------------------------- -*/
/* Mobile - 360px: 2-column grid, last point centred */
@media only screen and (min-width: 0em) {
  #tlp-usps {
    padding: 1.125rem var(--tlpGutter);
    background-color: var(--tlpInk);
    border-top: 1px solid var(--tlpLineDark);
    border-bottom: 1px solid var(--tlpLineDark);
  }
  #tlp-usps .tlp-usps-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  #tlp-usps .tlp-usps-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.3em;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
  }
  #tlp-usps .tlp-usps-list li:last-child {
    grid-column: 1 / -1;
    justify-content: center;
  }
  #tlp-usps .tlp-usps-list .tlp-icon {
    width: 1.125rem;
    height: 1.125rem;
    color: var(--tlpAquaLight);
  }
}
/* Tablet - 768px: centred wrapping row */
@media only screen and (min-width: 48em) {
  #tlp-usps .tlp-usps-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.875rem 2.25rem;
  }
  #tlp-usps .tlp-usps-list li {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
  }
}
/* Desktop - 1024px: one row edge to edge */
@media only screen and (min-width: 64em) {
  #tlp-usps {
    padding: 1.375rem var(--tlpGutter);
  }
  #tlp-usps .tlp-usps-list {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 1.5rem;
  }
  #tlp-usps .tlp-usps-list li {
    font-size: 0.8125rem;
    letter-spacing: 0.14em;
    white-space: nowrap;
  }
  #tlp-usps .tlp-usps-list .tlp-icon {
    width: 1.25rem;
    height: 1.25rem;
  }
}
