/* ==========================================================================
   Family Lawyers Perth WA – homepage
   Layout (containers, rows, columns) comes from Bootstrap classes in the HTML;
   this file only styles the pieces.
   1. Tokens and base
   2. Shared pieces: kicker, titles, buttons, links, slider arrows
   3. Header
   4. Page sections, top to bottom
   5. Footer
   6. Motion: hover + reveal on scroll
   ========================================================================== */

/* ==========================================================================
   1. Tokens and base
   ========================================================================== */

:root {
  --fl-red: #ba2d23;
  --fl-red-deep: #9f251c;
  --fl-ink: #0c0c0c;
  --fl-body: #222;
  --fl-dark: #212121;
  --fl-blush: #f9f3f3;
  --fl-line: #ffe4e4;
  --fl-gold: #c9ae7a;

  --fl-font-head: "Libre Caslon Text", Georgia, serif;
  --fl-font-body: "Manrope", system-ui, sans-serif;
}

/* Anchor jumps land below the fixed header */
html { scroll-behavior: smooth; scroll-padding-top: 104px; }

body {
  font-family: var(--fl-font-body);
  color: var(--fl-body);
  background: #fff;
  overflow-x: clip;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
 p a, li a {
    color: var(--fl-red);
    font-weight: 700;
    &:hover{
      color: var(--fl-red-deep);
      }
    /* text-decoration: underline; */
}
/* Wide column gaps give rows negative margins past the viewport: keep those from scrolling */
main > section,
.fl-footer { overflow-x: clip; }

/* 1240px content width at a 1440px viewport (100px side gutters) */
@media (min-width: 1200px) {
  .container { max-width: 1264px; }
  .fl-container-wide { max-width: 1288px; } /* 1264px content, as in the design */
}

/* ==========================================================================
   2. Shared pieces
   ========================================================================== */

.fl-kicker {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--fl-red);
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
  text-transform: uppercase;
}
.fl-kicker::before {
  content: "";
  flex: 0 0 30px;
  height: 2px;
  margin-top: 8px;
  background: currentColor;
}

.fl-title {
  margin: 0 0 24px;
  color: var(--fl-ink);
  font-family: var(--fl-font-head);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: .012em;
  -webkit-text-stroke: .25px currentColor; /* Google Fonts has no Medium weight for this family */
}
@media (max-width: 767.98px) {
  .fl-title { font-size: 26px; }
}

.fl-copy { margin: 0 0 24px; color: var(--fl-body); font-size: 15px; line-height: 1.55; }
.fl-small { margin: 0; color: var(--fl-body); font-size: 13px; line-height: 1.55; }

/* Filled button */
.fl-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 24px;
  border: 1px solid var(--fl-red);
  border-radius: 8px;
  background: var(--fl-red);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.fl-btn--outline { border-color: #fff; }

/* Underlined text link */
.fl-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--fl-red);
  color: #000;
  font-size: 16px;
  font-weight: 700;
  line-height: 22px;
}
.fl-link__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 15px;
}

/* Round slider arrows */
.fl-arrows { display: flex; gap: 10px; }
.fl-arrows--end { justify-content: flex-end; }
.fl-services__head .fl-arrows { gap: 26px; }
.fl-round {
  display: inline-flex;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
}
.fl-round--lg { width: 42px; height: 42px; }
.fl-round img { display: block; }
.fl-round__flip { rotate: 180deg; }
.fl-round[disabled],
.fl-round[aria-disabled="true"] { cursor: default; opacity: .45; }
.fl-round[aria-disabled="true"] { pointer-events: none; } /* a span or link standing in for a disabled button */

/* Photo that zooms a little on hover */
.fl-zoom { overflow: hidden; }
.fl-zoom img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 575.98px) {
  .fl-services__head .fl-arrows { gap: 6px; } /* keeps "Family Law Services" on one line at 360px */
  .fl-round--lg { width: 32px; height: 32px; }
  .fl-round--lg img { width: 32px; height: 32px; }
}

/* ==========================================================================
   3. Header
   ========================================================================== */

.fl-header {
  position: fixed;
  z-index: 1030;
  top: 10px;
  right: 0;
  left: 0;
}
.fl-nav {
  flex-wrap: wrap;
  padding: 12px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .12);
}
.fl-logo {
  width: 215.8px;
  height: 41px;
  margin: 0;
  padding: 0;
}

.fl-nav__list { align-items: center; gap: 22px; }
.fl-nav__list .nav-link {
  position: relative;
  padding: 0;
  color: #000;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
/* Bootstrap adds side padding at this breakpoint, and the design reserves 279px for the logo */
@media (min-width: 1200px) {
  .navbar-expand-xl .fl-nav__list .nav-link { padding-right: 0; padding-left: 0; }
  .fl-logo { margin-right: 63.2px; }
}
.fl-nav__toggle { display: flex; align-items: center; gap: 6px; }
.fl-nav__toggle::after { display: none; }
.fl-nav__menu {
  margin-top: 12px !important;
  padding: 8px;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .14);
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 8px;
  min-width: 640px;
}
header .dropdown-menu.show{
  display: grid;
}
.fl-nav__menu .dropdown-item {
  padding: 8px 12px 8px 12px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: normal;
}
header .menu-item li{
    position: relative;
    & .dropdown-item::before{
        content: '';
        background-size: 28px;
        height: 28px;
        width: 28px;
    }
    &:nth-child(1) .dropdown-item::before{
      background-image: url('../images/icons/ls-child-custody-ic.svg');
    }
    &:nth-child(2) .dropdown-item::before{
      background-image: url('../images/icons/mediation.svg');
    }
    &:nth-child(3) .dropdown-item::before{
      background-image: url('../images/icons/ls-child-consent-ic.svg');
    }
    &:nth-child(4) .dropdown-item::before{
      background-image: url('../images/icons/prenuptial.svg');
    }
    &:nth-child(5) .dropdown-item::before{
      background-image: url('../images/icons/ls-child-defacto-ic.svg');
    }
    &:nth-child(6) .dropdown-item::before{
      background-image: url('../images/icons/property.svg');
    }
    &:nth-child(7) .dropdown-item::before{
      background-image: url('../images/icons/Divorce.svg');
    }
    &:nth-child(8) .dropdown-item::before{
      background-image: url('../images/icons/Separation.svg');
    }
    &:nth-child(9) .dropdown-item::before{
      background-image: url('../images/icons/preneputial.svg');
    }
    &:nth-child(10) .dropdown-item::before{
      background-image: url('../images/icons/spousal.svg');
    }
    &:nth-child(11) .dropdown-item::before{
      background-image: url('../images/icons/Financial.svg');
    }
    
}

.fl-nav__menu .dropdown-item:active { background: var(--fl-red); }
.fl-nav__actions { display: flex; gap: 10px; }
.fl-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px;
  border: 1px solid #fff;
  border-radius: 6px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.fl-nav__btn--quote { background: var(--fl-red); }
.fl-nav__btn--call { border-color: var(--fl-dark); background: var(--fl-dark); }
.fl-nav__phone { display: inline-flex; justify-content: center; width: 24px; }

/* Mobile menu button */
.fl-toggler {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--fl-blush);
}
.fl-toggler:focus { box-shadow: 0 0 0 2px var(--fl-red); }
.fl-toggler__bars { position: relative; display: block; width: 20px; height: 14px; margin: 0 auto; }
.fl-toggler__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--fl-red);
  transition: top .3s ease, transform .3s ease, opacity .2s ease;
}
.fl-toggler__bars span:nth-child(1) { top: 0; }
.fl-toggler__bars span:nth-child(2) { top: 6px; }
.fl-toggler__bars span:nth-child(3) { top: 12px; }
.fl-toggler[aria-expanded="true"] .fl-toggler__bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.fl-toggler[aria-expanded="true"] .fl-toggler__bars span:nth-child(2) { opacity: 0; }
.fl-toggler[aria-expanded="true"] .fl-toggler__bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (max-width: 1199.98px) {
  .fl-nav {
    max-height: calc(100vh - 15px);
    overflow-y: auto;
}
  .fl-nav__list { align-items: stretch; gap: 0; padding-top: 12px; }
  .fl-nav__list .nav-link { padding: 10px 4px; }
  .fl-nav__menu { margin-top: 0 !important; box-shadow: none; background: var(--fl-blush); }
  .fl-nav__actions { flex-wrap: wrap; padding: 8px 0 4px; }
  .fl-nav__btn { flex: 1 1 200px; }
}
@media (max-width: 991.98px) {
  .fl-nav__menu{
    grid-template-columns: 1fr;
    min-width: 0; 
  }
  
}
@media (max-width: 575.98px) {
  .fl-logo { width: 170px; height: 32.3px; }
}

/* ==========================================================================
   4. Page sections
   ========================================================================== */

/* ---- Hero ---- */
.fl-hero { position: relative; overflow: hidden; }
.fl-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fl-hero__inner { position: relative; }
.fl-hero__content { max-width: 652px; }
.fl-hero__content .fl-kicker { margin-bottom: 16px; }
.fl-hero__title {
  margin: 0 0 16px;
  color: #000;
  font-family: var(--fl-font-head);
  font-size: 54px;
  font-weight: 700; /* SemiBold is not on Google Fonts; tightened to match its width */
  letter-spacing: -.02em;
  line-height: 1.2;
}
.fl-hero__title span { color: var(--fl-red); }
.fl-hero__text {
  max-width: 485px;
  margin: 0 0 52px;
  color: #000;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}
@media (min-width: 992px) {
  .fl-hero { min-height: 751px; padding: 210px 0 180px; }
  .fl-hero__media { position: absolute; inset: 0; }
}
@media (max-width: 991.98px) {
  /* The photo fades to white on its left, so text sits above it on small screens */
  .fl-hero { display: flex; flex-direction: column; padding-top: 110px; }
  .fl-hero__inner { order: 1; margin-bottom: 32px; }
  .fl-hero__media { order: 2; aspect-ratio: 16 / 10; }
  .fl-hero__media img { object-position: 85% center; }
  .fl-hero__title { font-size: 40px; }
  .fl-hero__text { margin-bottom: 28px; max-width: 100%;}
}

/* ---- Trust bar ---- */
.fl-trust { position: relative; z-index: 3; margin-top: -68px; }
.fl-trust__bar {
  padding: 38px 40px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
}
.fl-trust__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  text-transform: capitalize;
}
.fl-trust__title { margin-bottom: 0px; color: #000; font-size: 17px; font-weight: 600; line-height: 1.7; }
.fl-trust__text { margin: 0; color: #454545; font-size: 15px; line-height: 1.7; }
@media (min-width: 992px) {
  .fl-trust__item + .fl-trust__item { padding-left: 34px; }
  .fl-trust__item + .fl-trust__item::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 1px;
    height: 66px;
    background: #d9d9d9;
    transform: translateY(-50%);
  }
}
@media (max-width: 991.98px) {
  .fl-trust { margin-top: -28px; }
  .fl-trust__bar { padding: 24px; }
  .fl-trust__item { padding: 10px 0; }
}

/* Exact column splits from the design, once the container is at full width */
@media (min-width: 1264px) {
  .fl-trust__item { flex: 0 0 312px; width: auto; padding-left: 49px !important; }
  .fl-trust__item:first-child { flex-basis: 267.5px; padding-left: 4.5px !important; }
  .fl-trust__item:last-child { flex-basis: 264px; }
  .fl-intro__row > :first-child { flex: 0 0 668px; width: auto; }
  .fl-intro__row > :last-child { flex: 1; width: auto; }
  .fl-intro__row .fl-intro__visual { margin-right: 0; }
}
@media (min-width: 1288px) {
  .fl-personal__row > :first-child,
  .fl-cta__row > :first-child { flex: 0 0 642px; width: auto; }
  .fl-personal__row > :last-child,
  .fl-cta__row > :last-child { flex: 1; width: auto; }
}

/* ---- Legal assistance ---- */
.fl-intro { padding: 67px 0 92px; }
.fl-intro__row { --bs-gutter-x: 88px; --bs-gutter-y: 56px; }
.fl-intro__visual { position: relative; margin-right: 20px; }
.fl-intro__frame {
  position: absolute;
  top: 21.95%;
  right: -20px;
  bottom: -30px;
  left: 37.6%;
  border: 1px solid var(--fl-red);
  background: #fff;
}
.fl-intro__photo { position: relative; aspect-ratio: 580 / 492; }
.fl-intro__copy .fl-kicker { margin-bottom: 24px; }
@media (max-width: 991.98px) {
  .fl-intro { padding: 56px 0 72px; }
}

/* ---- Services ---- */
.fl-services { padding: 60px 0; background: var(--fl-blush); }
.fl-services__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.fl-services__head > div:first-child { align-self: center; }
.fl-services__head .fl-title { margin: 0; }
/* Swiper clips its slides: the padding leaves room for the card lift and shadow */
.fl-services__track {
  width: calc(100% + 16px);
  margin: -8px;
  padding: 8px;
}
.fl-service {
  height: auto; /* equal heights: Swiper's default is 100% */
  min-height: 373px;
  padding: 40px 34px 34px;
  border: 1px solid transparent;
  background: #fff;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
}
.fl-service__icon { display: block; margin: 0 auto 20px; }
.fl-service__title {
  margin: 0;
  color: #1f2937;
  font-size: 18px;
  font-weight: 600;
  line-height: 34px;
}
.fl-service__rule {
  display: block;
  width: 60px;
  height: 2px;
  margin: 17px auto 24px;
  background: var(--fl-red);
}
.fl-service__text { margin: 0; color: #4b5563; font-size: 14px; line-height: 24px; }
@media (max-width: 575.98px) {
  .fl-service { min-height: 0; padding: 40px 24px; }
  .fl-services__head{gap: 8px;}
}

/* ---- Personalised service ---- */
.fl-personal { padding: 60px 0; background: var(--fl-dark); }
.fl-personal__row { --bs-gutter-x: 80px; --bs-gutter-y: 32px; }
.fl-personal .fl-kicker { margin-bottom: 18px; }
.fl-personal .fl-title { margin-bottom: 18px; color: #fff; }
.fl-personal__photo { height: 310px; }
.fl-personal__right { padding-top: 50px; color: #f7f4ee; font-size: 16px; line-height: 1.75; }
.fl-personal__right p { margin: 0 0 28px; }
.fl-personal__rule { margin: 0 0 28px; border: 0; border-top: 1px solid #4a514b; opacity: 1; }
.fl-personal__tel {
  color: var(--fl-gold);
  font-family: var(--fl-font-head);
  font-size: 28px;
  line-height: 1.2;
}
@media (max-width: 991.98px) {
  .fl-personal__photo { height: auto; aspect-ratio: 562 / 310; }
  .fl-personal__right { padding-top: 0; }
}

/* ---- When to hire ---- */
.fl-hire { padding: 60px 0; }
.fl-hire__row { --bs-gutter-x: 80px; --bs-gutter-y: 40px; }
.fl-hire__left { display: flex; flex-direction: column; justify-content: center; gap: 32px; min-height: 510px; }
.fl-hire__head .fl-title { margin-bottom: 14px; }
.fl-point__title {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 15px;
  color: #000;
  font-family: var(--fl-font-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: capitalize;
}
.fl-point__text {
  margin: 0;
  color: var(--fl-body);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: .13px;
  a{
    color: var(--fl-red);
    font-weight: 700;
  }
}
.fl-small a{
    color: var(--fl-red);
  }

.fl-hire__left .fl-point__text { max-width: 580px; }
.fl-hire__visual { position: relative; padding-bottom: 191px; }
.fl-hire__photo { height: 348px; border-radius: 26px; }
.fl-hire__box {
  position: absolute;
  top: 280.86px;
  right: 6.55%;
  left: 6.55%;
  min-height: 259px;
  padding: 35px 35px 30px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .04);
}
.fl-hire__box .fl-point__title { margin-bottom: 10px; }
@media (max-width: 991.98px) {
  .fl-hire__left { min-height: 0; }
  .fl-hire__visual { padding-bottom: 0; }
  .fl-hire__head .fl-small {max-width: 100%;}
  .fl-hire__left .fl-point__text{max-width: 100%;}
  .fl-hire__box { position: relative; top: auto; right: auto; left: auto; width: 87%; margin: -68px auto 0; }
}
@media (max-width: 575.98px) {
  .fl-hire__photo { height: 260px; }
  .fl-hire__box { width: 94%; padding: 24px 20px; }
}

/* ---- Local understanding ---- */
.fl-local { padding: 60px 0; background: var(--fl-blush); }
.fl-local__row { --bs-gutter-x: 22px; --bs-gutter-y: 32px; }
.fl-local .fl-title { max-width: 560px; margin-bottom: 14px; }
.fl-local__text { margin-bottom: 37px; }
.fl-pills { --bs-gutter-x: 16.7px; --bs-gutter-y: 16.7px; }
.fl-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  height: 50px;
  padding: 0 22px;
  border-radius: 100px;
  background: #fff;
  color: #111827;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  box-shadow: 0 1.4px 1.4px rgba(0, 0, 0, .05);
}
.fl-pill__arrow {
  position: relative;
  flex: 0 0 12.17px;
  height: 10.44px;
  background: url("../images/icons/pill-arrow.svg") center / contain no-repeat;
}
/* Red arrow fades in over the dark one */
.fl-pill__arrow::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: url("../images/icons/pill-arrow-red.svg") center / contain no-repeat;
}
.fl-pill.is-active .fl-pill__arrow::after { opacity: 1; }
@media (min-width: 992px) and (max-width: 1199.98px) {
  .fl-pill { padding: 0 16px; font-size: 14px; }
}
@media (max-width: 991.98px) {
  .fl-local .fl-title{max-width: 100%;}
}
/* ---- Testimonials + quote form ---- */
.fl-voices { padding: 60px 0; }
.fl-voices__row { --bs-gutter-x: 50px; --bs-gutter-y: 40px; }
.fl-voices__left { display: flex; flex-direction: column; gap: 40px; }
.fl-voices__left .fl-title { margin-bottom: 14px; }
.fl-quote {
  position: relative;
  padding: 28px 20px 28px 70px;
  border: 1px solid var(--fl-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .52);
}
.fl-quote__mark { position: absolute; top: 24px; left: 16px; }
.fl-quote__slide { margin: 0; }
.fl-quote blockquote { margin: 0 0 22px; color: var(--fl-body); font-size: 15px; line-height: 1.8; }
.fl-quote figcaption {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-bottom: 22px;
  color: #000;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
}
/* Contact page map, under the intro in place of the testimonial */
.fl-map { overflow: hidden; aspect-ratio: 555 / 415; border: 1px solid #d6def3; border-radius: 10px; background: #e5e3df; }
.fl-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.fl-form-card {
  padding: 30px;
  border: 1px solid var(--fl-line);
  border-radius: 12px;
  background: #fff;
}
.fl-form__lead {
  margin: 2px 0 26px;
  color: #797979;
  font-size: 15.5px;
  line-height: 1.671;
}
.fl-form__row { --bs-gutter-x: 24px; --bs-gutter-y: 26px; }
.fl-label {
  display: block;
  margin-bottom: 10px;
  line-height: 16px;
  color: #29312e;
  font-size: 13px;
  font-weight: 500;
}
.fl-input {
  height: 50px;
  padding: 0 16px;
  border: 1px solid var(--fl-line);
  border-radius: 3px;
  background-color: var(--fl-blush);
  color: #000;
  font-size: 14px;
}
.fl-input::placeholder { color: #666c65; opacity: 1; }
.fl-input:focus { border-color: var(--fl-red); background-color: #fff; box-shadow: 0 0 0 3px rgba(186, 45, 35, .12); }
.fl-select {
  background-image: url("../images/icons/chevron-down.svg");
  background-position: right 16px center;
  background-size: 16px;
  color: #666c65;
}
.fl-select:not(.is-empty) { color: #000; }
#flTime { color: #666c65; }
.fl-textarea { height: 102px; padding: 16px; resize: vertical; }
.fl-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.fl-form__note { color: #666c65; font-size: 12px; }
.fl-form-success { padding: 60px 0; text-align: center; }
.fl-form-success .fl-title { margin: 12px 0 8px; }
.fl-form-success a { color: var(--fl-red); font-weight: 700; }

/* Thank-you page */
.fl-thanks {
  background-color: var(--fl-blush);
  background-image: radial-gradient(rgba(186, 45, 35, .12) 1px, transparent 1.5px);
  background-size: 22px 22px;
}
.fl-thanks .fl-copy a { color: var(--fl-red); font-weight: 700; text-decoration: none; }
/* The SVG draws its own circle and tick; this adds a soft ripple once it's drawn */
.fl-thanks__icon { position: relative; width: 56px; height: 56px; }
.fl-thanks__icon::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--fl-red);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .fl-thanks__icon::after { animation: fl-thanks-ripple 2.4s ease-out 1.2s infinite; }
}
@keyframes fl-thanks-ripple {
  0% { opacity: .35; transform: scale(1); }
  60%, 100% { opacity: 0; transform: scale(1.6); }
}
.was-validated .fl-input:invalid { border-color: var(--fl-red); background-image: none; }
.was-validated .fl-input:valid { border-color: var(--fl-line); background-image: none; }
.was-validated .fl-select:valid { background-image: url("../images/icons/chevron-down.svg"); }
.invalid-feedback { color: var(--fl-red); font-size: 12px; }
.fl-side-form .fl-input.error{
   border-color: var(--fl-red); background-image: none; 
}
label.error{
color: var(--fl-red); font-size: 12px; 
}
@media (max-width: 575.98px) {
  .fl-form-card { padding: 22px 18px; }
  .fl-quote { padding: 70px 18px 22px; }
  .fl-quote__mark { top: 16px; left: 16px; }
  .fl-quote figcaption { flex-wrap: wrap; }
}

/* ---- Blog ---- */
.fl-blog { padding: 60px 0; background: var(--fl-blush); }
.fl-blog__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 35px; }
.fl-post {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #d6def3;
  border-radius: 10px;
}
.fl-post__media { height: 225px; border: 1px solid #eaeaea; border-radius: 10px 10px 0 0; }
.fl-post__body { display: flex; flex: 1; flex-direction: column; padding: 23px 20px 20px; }
.fl-post__date {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: var(--fl-red);
  font-size: 15px;
  line-height: 25px;
}
.fl-post__cal { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; }
.fl-post__title { margin: 0 0 6px; color: #000; font-family: var(--fl-font-body); font-size: 16px; font-weight: 700; line-height: 1.4; }
.fl-post__text { margin: 0 0 20px; color: rgba(0, 0, 0, .8); font-size: 14px; line-height: 25px; }
.fl-post__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: #d81210;
  font-size: 15px;
  font-weight: 600;
  line-height: 28px;
}
@media (max-width: 575.98px) {
  .fl-post__media { height: auto; aspect-ratio: 390 / 225; }
}

/* Blog list pagination. Arrows reuse .fl-round, page numbers match their size and grey ring */
.fl-pager { margin-top: 50px; }
.fl-pager__list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.fl-pager__list > li { display: flex; }
.fl-pager__link,
.fl-pager__gap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--fl-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}
.fl-pager__link { border: 1px solid #929ea9; border-radius: 50%; background: #fff; }
.fl-pager__link.is-active { border-color: var(--fl-red); background: var(--fl-red); color: #fff; pointer-events: none; }
.fl-pager__gap { width: auto; color: #929ea9; }
@media (max-width: 575.98px) {
  .fl-pager { margin-top: 36px; }
  .fl-pager__list { gap: 6px; }
  .fl-pager__link { width: 32px; height: 32px; font-size: 14px; }
  .fl-pager__gap { height: 32px; }
}

/* ---- More about our lawyers ---- */
.fl-cta {
  position: relative;
  min-height: 356px;
  padding: 68px 0;
  overflow: hidden;
  background: var(--fl-red);
  color: #fff;
}
.fl-cta__pattern {
  position: absolute;
  top: -605px;
  left: 50%;
  width: 1894px;
  max-width: none;
  height: auto;
  margin-left: -946px;
  pointer-events: none;
}
.fl-cta .container { position: relative; }
.fl-cta__row { --bs-gutter-x: 80px; --bs-gutter-y: 24px; }
.fl-cta .fl-title { color: #fff; }
.fl-cta__lead { margin: 0; font-family: var(--fl-font-head); font-size: 20px; line-height: 1.5; }
.fl-cta__lead a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; color: #fff;}
.fl-cta__text { margin: 0 0 24px; color: #f7f4ee; font-size: 16px; line-height: 1.75; }

/* ---- FAQs ---- */
.fl-faq { padding: 60px 0 120px; }
.fl-faq__row { --bs-gutter-x: 40px; --bs-gutter-y: 40px; }
/* One image: the photo and the gavel card are cut into the file */
.fl-faq__visual img { display: block; width: 100%; height: auto; }
.fl-faq__title { margin-bottom: 30px; }
.fl-accordion { display: flex; flex-direction: column; gap: 10px; }
.fl-faq__item { border: 1px solid #eaeaea; border-radius: 8px; background: #fff; }
.fl-faq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 24px 24px 8px;
  border: 0;
  background: transparent;
  color: #000;
  font-family: var(--fl-font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
}
.fl-faq__q.collapsed { padding: 16px 20px; }
.fl-faq__icon {
  position: relative;
  flex: 0 0 24px;
  height: 24px;
  margin-top: 2px;
  background: url("../images/icons/plus-circle.svg") center / contain no-repeat;
}
.fl-faq__q:not(.collapsed) .fl-faq__icon { background-image: url("../images/icons/minus-circle.svg"); }
/* .fl-faq__a {
  margin: 0;
  padding: 0 72px 24px 24px;
  color: rgba(0, 0, 0, .8);
  font-size: 15px;
  line-height: 24px;
} */
.faq-body{
  margin: 0;
  padding: 0 72px 4px 24px;
  color: rgba(0, 0, 0, .8);
  font-size: 15px;
  line-height: 1.8;
  p{
    margin-bottom: 16px;
  }
  ul{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    color: var(--fl-body);
    font-size: 15px;
    line-height: 1.8;
    list-style: none;
    padding: 0px 0px 0px 24px;
    margin-bottom: 20px;
    li{
      position: relative;
    }
    li::before {
    content: "";
    flex: none;
    width: 24px;
    height: 24px;
    background: url(../images/icons/check.svg) center / contain no-repeat;
    background-repeat: no-repeat;
    left: -28px;
    top: 0px;
    position: absolute;
  }
}
}
@media (max-width: 575.98px) {
  .fl-faq__q { font-size: 16px; }
  /* .fl-faq__a { padding-right: 24px; } */
  .faq-body{
    padding-right: 24px;
  }
}

/* ---- Service page: hero ---- */
.fl-svc-hero {
  position: relative;
  min-height: 438px;
  padding: 170px 0 20px;
  overflow: hidden;
  background: var(--fl-dark);
  color: #fff;
}
.fl-svc-hero__media { position: absolute; inset: 0; }
.fl-svc-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fl-svc-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, .5), rgba(186, 45, 35, .5));
}
.fl-svc-hero__inner { position: relative; display: flex; flex-direction: column; min-height: 248px; }
.fl-svc-hero__title {
  max-width: 652px;
  margin: 0 0 16px;
  color: #fff;
  font-family: var(--fl-font-head);
  font-size: 50px;
  font-weight: 700; /* SemiBold is not on Google Fonts; tightened to match its width */
  letter-spacing: -.02em;
  line-height: 1.2;
}
.fl-svc-hero__inner nav { margin-top: auto; }
.fl-crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: normal;
  list-style: none;
}
.fl-crumbs img { display: block; }
.fl-crumbs [aria-current] { font-weight: 800; }
@media (max-width: 991.98px) {
  .fl-svc-hero { min-height: 0; padding: 120px 0 28px; }
  .fl-svc-hero__inner { min-height: 0; }
  .fl-svc-hero__title { font-size: 40px; }
}
@media (max-width: 575.98px) {
  .fl-svc-hero__title { font-size: 34px; }
  .fl-crumbs { gap: 8px; font-size: 15px; }
  .fl-crumbs img { width: 20px; height: 20px; }
  .fl-svc-hero__media img{object-position: right 40% top 0px;}
}

/* ---- Inner pages: the shared trust bar as a flat strip under the hero ---- */
.fl-inner-page .fl-trust { margin-top: 0; border-bottom: 1px solid #d8d8d8; background: #fff; }
.fl-inner-page .fl-trust__bar { padding: 20px 0; border-radius: 0; box-shadow: none; }
.fl-inner-page .fl-trust__title,
.fl-inner-page .fl-trust__text { color: var(--fl-body); }
@media (min-width: 992px) {
  .fl-inner-page .fl-trust__bar .row { align-items: center; min-height: 66px; }
  .fl-inner-page .fl-trust__item + .fl-trust__item { padding-left: 20px; }
  .fl-inner-page .fl-trust__item + .fl-trust__item::before { background: rgba(143, 143, 143, .2); }
}
@media (min-width: 992px) and (max-width: 1263.98px) {
  .fl-inner-page .fl-trust__item { gap: 12px; }
}
/* The design's spacing, once the container is at full width */
@media (min-width: 1264px) {
  .fl-inner-page .fl-trust__bar .row { justify-content: space-between; }
  .fl-inner-page .fl-trust__item:nth-child(n) { flex: 0 0 215px; padding-left: 0 !important; white-space: nowrap; }
  .fl-inner-page .fl-trust__item + .fl-trust__item::before { left: -63px; }
}
@media (max-width: 991.98px) {
  .fl-inner-page .fl-trust__bar { padding: 10px 0; }
}

/* ---- Service page: content ---- */
.fl-svc { padding: 50px 0 70px; }
.fl-svc__row { --bs-gutter-x: 30px; --bs-gutter-y: 40px; }
.fl-svc__photo { aspect-ratio: 856 / 450; }
.fl-svc__text:last-child,
.fl-svc__main > .fl-svc__text { margin-bottom: 0; }
.fl-svc__check {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 20px;
  border: 1px dashed #9f9f9f;
  border-radius: 10px;
  color: #282828;
  font-size: 15px;
  font-weight: 700;
  line-height: 24px;
  list-style: none;
}
.fl-svc__main{
  h2, h3{
    margin: 0 0 10px;
    color: #000;
    font-family: var(--fl-font-body);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: capitalize;
    margin-top: 32px;
    &.fl-title{
      margin: 0 0 24px;
      color: var(--fl-ink);
      font-family: var(--fl-font-head);
      font-size: 32px;
      font-weight: 400;
      line-height: 1.4;
      letter-spacing: .012em;
      -webkit-text-stroke: .25px currentColor;
      margin-top: 0px;
    }
  }
  h3{
    font-size: 20px;
  }
  .fl-svc__title { margin-bottom: 14px; }
  p{
    margin: 0 0 10px;
    color: var(--fl-body);
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: .14px;
    &:last-child{margin-bottom: 0px;}
    a{
       color: var(--fl-red); 
       font-weight: 700;
       &:hover{
        color: var(--fl-red-deep);
       }
    }
  }
  .first-h3{margin-top: 32px;}
  .first-h3 h3:first-of-type {
      margin-top: 32px;
  }
  ul{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 20px;
    color: var(--fl-body);
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: .14px;
    list-style: none;
    padding: 8px 20px 0px 24px;
    margin-bottom: 24px;
    li{
      position: relative;
    }
    li::before{
      content: "";
      flex: none;
      width: 24px;
      height: 24px;
      background: url(../images/icons/check.svg) center / contain no-repeat;
      background-repeat: no-repeat;
      left: -28px;
      top: 0px;
      position: absolute;
    }
  }
  .fl-kicker{
    color: var(--fl-red);
    font-size: 16px;
    line-height: 22px;
  }
}

.fl-svc__check li { display: flex; align-items: flex-start; gap: 10px; }
.fl-svc__check li::before { content: ""; flex: none; width: 24px; height: 24px; background: url("../images/icons/check.svg") center / contain no-repeat; }
.fl-svc__point { display: flex; align-items: flex-start; gap: 15px; }
.fl-svc__point > img { flex: none; }
.fl-svc__point > div { min-width: 0; }
@media (max-width: 991.98px) {
  .fl-svc { padding: 40px 0 56px; }
}
@media (max-width: 575.98px) {
  .fl-svc__heading { font-size: 20px; }
}

/* ---- Service page: sidebar ---- */
.fl-svc__side { display: flex; flex-direction: column; gap: 20px; }
.fl-side-nav { padding: 20px; border-radius: 10px; background: var(--fl-dark); }
.fl-side-nav__title {
  margin: 0 0 15px;
  color: #fff;
  font-family: var(--fl-font-body);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.6px;
}
.fl-side-nav ul { display: flex; flex-direction: column; gap: 7px; margin: 0; padding: 0; list-style: none; }
.fl-side-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 15px;
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: normal;
}
.fl-side-nav a::after { content: ""; flex: none; width: 17px; height: 17px; background: url("../images/icons/arrow-up-right.svg") center / contain no-repeat; }
.fl-side-nav a.is-active { background: var(--fl-red); }
.fl-form-card.fl-side-form { padding: 20px; border: 0; border-radius: 10px; background: #f4f2f0; }
.fl-side-form__title {
  margin: 0 0 10px;
  color: #18181b;
  font-family: var(--fl-font-body);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.4px;
}
.fl-side-form__lead { margin: 0 0 20px; color: #666; font-size: 14px; line-height: 1.4; }
.fl-side-form__fields { display: flex; flex-direction: column; gap: 10px; }
.fl-side-form .fl-input {
  height: 40px;
  border-color: #dfdfdf;
  border-radius: 4px;
  background-color: #fff;
  letter-spacing: -.08px;
}
.fl-side-form .fl-input::placeholder,
.fl-side-form .fl-select.is-empty { color: rgba(60, 60, 67, .8); }
.fl-side-form .fl-select,
.fl-side-form .was-validated .fl-select:valid { padding-right: 40px; background-image: url("../images/icons/chevron-down-black.svg"); }
.fl-side-form .fl-textarea { height: 80px; padding: 12px 16px; }
.fl-side-form .fl-btn { justify-content: center; width: 100%; margin-top: 40px; border-color: #fff; border-radius: 6px; }
/* The quote form stays in view beside long content. The whole sidebar is too tall to fit most screens. */
@media (min-width: 992px) {
  .fl-side-form { position: sticky; top: 90px; }
}
/* The design's column widths, once the container is at full width */
@media (min-width: 1264px) {
  .fl-svc__side { flex: 0 0 417px; width: auto; }
  .fl-svc__main { flex: 1; width: auto; }
}

/* ---- About page: hero ---- */
.fl-about-hero { position: relative; padding: 150px 0 80px; background: #f6f7f8; }
.fl-about-hero__ring { position: absolute; top: 80px; left: calc(50% + 469px); pointer-events: none; }
.fl-about-hero__row { position: relative; --bs-gutter-x: 60px; --bs-gutter-y: 32px; }
.fl-about-hero__title { margin-top: 16px; }
.fl-about-hero__text { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.5; }

.fl-about-hero__photo { aspect-ratio: 590 / 330; }
.fl-crumbs--dark { gap: 6px; color: #484848; }
.fl-crumbs--dark [aria-current] { color: #000; }
.fl-crumbs.fl-crumbs--dark a:hover { color: var(--fl-red); }
@media (max-width: 991.98px) {
  .fl-about-hero { padding: 120px 0 56px; }
}

/* ---- About page: our approach ---- */
.fl-approach { padding: 70px 0; }
.fl-approach__row { --bs-gutter-x: 80px; --bs-gutter-y: 40px; }
.fl-approach__img { display: block; width: 100%; max-width: 478px; height: auto; margin: 0 auto; }
.fl-approach__title { margin-bottom: 30px; text-transform: uppercase; }
.fl-approach__list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 0 0 30px;
  padding: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 23px;
  list-style: none;
}
.fl-approach__list li { display: flex; align-items: flex-start; gap: 13px; }
.fl-approach__list li::before { content: ""; flex: none; width: 24px; height: 24px; background: url("../images/icons/check-circle.svg") center / contain no-repeat; }
.fl-counts { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 664px; margin: 0; border: 1px solid #c4c4c4; }
.fl-counts__item { padding: 19px 15px; text-align: center; }
.fl-counts__item + .fl-counts__item { border-left: 1px solid #c4c4c4; }
.fl-counts dt { color: #000; font-size: 40px; font-weight: 700; line-height: 64px; }
.fl-counts dd { margin: 0; color: var(--fl-body); font-size: 14px; line-height: 32px; }
@media (min-width: 1264px) {
  .fl-approach__row > :first-child { flex: 0 0 558px; width: auto; }
  .fl-approach__row > :last-child { flex: 1; width: auto; }
}
@media (max-width: 991.98px) {
  .fl-approach { padding: 56px 0; }
}
@media (max-width: 575.98px) {
  .fl-counts__item { padding: 14px 8px; }
  .fl-counts dt { font-size: 30px; line-height: 48px; }
  .fl-counts dd { font-size: 13px; line-height: 20px; }
}

/* ---- About page: areas we deal with (the service card, without its text) ---- */
.fl-areas { padding: 70px 0; background: var(--fl-blush); }
.fl-areas__title { margin-bottom: 30px; }
.fl-areas__row { --bs-gutter-x: 30px; --bs-gutter-y: 30px; }
.fl-service--area { height: 100%; min-height: 0; padding: 35px; border-radius: 8px; text-align: left; box-shadow: 0 4px 18px rgba(0, 0, 0, .06); }
.fl-service--area .fl-service__icon { margin: 0 0 11px; }
.fl-service--area .fl-service__title { font-weight: 700; text-transform: uppercase; }
.fl-areas__note { margin-top: 30px; }
.fl-areas__note p { margin: 0 0 10px; color: var(--fl-body); font-size: 15px; line-height: 26px; }
.fl-areas__note p:last-child { margin-bottom: 0; }
.fl-areas__note a { color: var(--fl-red); text-decoration: underline; }
/* The shared blog section sits on white here, with room for the footer's contact band */
.fl-areas + .fl-blog {  background: #fff; }
.fl-blog + .fl-voices { padding: 60px 0 120px; background: var(--fl-blush); }
@media (max-width: 991.98px) {
  .fl-areas { padding: 56px 0; }
  .fl-service--area{padding: 20px;display: flex;align-items: center;text-align: center;flex-direction: column;}
}
/* request a quote page  */
@media (min-width: 767.98px) {
.quote-page-form{
    .fl-side-form__fields{
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: space-between;
    }
    .fl-side-form__fields > div:nth-child(1), .fl-side-form__fields > div:nth-child(2), .fl-side-form__fields > div:nth-child(3), .fl-side-form__fields > div:nth-child(4){
        width: 47%;
        margin-bottom: 10px;
    }
    .fl-side-form__fields > div:nth-child(5), .fl-side-form__fields > div:nth-child(6) {
        width: 100%;
        margin-bottom: 10px;
    }
}
}
/* ==========================================================================
   5. Footer
   ========================================================================== */

.fl-footer { padding-bottom: 20px; background: var(--fl-dark); color: #fff; }
.fl-contact {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px 90px;
  min-height: 136px;
  margin-top: 0px;
  top: -60px;
  padding: 24px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--fl-red) url("../images/contact-bg.svg") 35px 0 no-repeat;
}
.fl-contact__item { display: flex; align-items: center; gap: 12px; color: #fff; }
.fl-contact__icon { display: flex; flex: 0 0 48px; align-items: center; justify-content: center; height: 48px; }
.fl-contact__item strong { display: block; font-size: 20px; font-weight: 500; line-height: 28px; }
.fl-contact__item small { display: block; font-size: 14px; font-weight: 300; line-height: 24px; }
.fl-contact__address { max-width: 325px; margin: 0; font-size: 18px; font-weight: 500; line-height: 22px; }
.fl-footer__main { --bs-gutter-x: 30px; --bs-gutter-y: 32px; padding: 0px 0 10px; }
.fl-footer__logo { display: inline-block; padding: 6px 0; }
.fl-footer__logo img { display: block; width: 215.8px; height: auto; }
.fl-footer__tag { margin: 30px 0; font-family: var(--fl-font-head); font-size: 24px; line-height: 1.3; }
.fl-social { display: flex; gap: 12px; }
.fl-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1.2px solid #fff;
  border-radius: 50%;
}
.fl-footer__head { margin: 0 0 11px; color: #fff; font-family: var(--fl-font-body); font-size: 20px; font-weight: 600; line-height: 28px; }
.fl-footer__links { display: flex; flex-direction: column; gap: 11px; margin: 0; padding: 0; list-style: none; }
.fl-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #d5d5d5;
  font-size: 16px;
  line-height: 32px;
  letter-spacing: .32px;
  text-decoration: none;
}
.fl-footer__links a::before {
  content: "";
  flex: 0 0 13px;
  height: 13px;
  background: url("../images/icons/footer-chevron.svg") center / contain no-repeat;
  rotate: -90deg;
}
.fl-footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 16px;
  line-height: 24px;
}
/* The bar sits 60px up with `top`, but keeps its height in the layout: that leaves the 60px gap below it */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Stay on one line: the address wraps to two lines instead of dropping to its own row */
  .fl-contact { flex-wrap: nowrap; gap: 32px; }
  a.fl-contact__item { flex-shrink: 0; }
}
@media (max-width: 991.98px) {
  .fl-contact { justify-content: flex-start; gap: 20px 40px; }
  .fl-footer__tag{
    margin: 10px 0px 30px 0px;
  }
}
@media (max-width: 575.98px) {
  /* The email address has to fit small phones */
  .fl-contact { padding: 24px 16px; }
  .fl-contact__item strong { font-size: 18px; overflow-wrap: anywhere; }
  .fl-contact__address { font-size: 16px; }
}

/* ==========================================================================
   6. Motion
   ========================================================================== */

.fl-btn,
.fl-nav__btn,
.fl-pill,
.fl-round,
.fl-pager__link,
.fl-social a { transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease; }
.fl-btn__arrow,
.fl-link__arrow,
.fl-post__more img,
.fl-pill__arrow,
.fl-trust__item > img,
.fl-round img,
.fl-side-nav a::after { transition: transform .25s ease, filter .2s ease; }
.fl-side-nav a { transition: background-color .2s ease; }
.fl-pill__arrow::after { transition: opacity .2s ease; }
.fl-zoom img { transition: transform .8s ease; }
.fl-service,
.fl-post,
.fl-faq__item,
.fl-hire__box { transition: transform .35s ease, box-shadow .35s ease, border-color .25s ease; }
.fl-service__rule { transition: width .35s ease; }
.fl-service__icon { transition: transform .35s ease; }
.fl-intro__frame { transition: transform .45s ease; }
.fl-faq__q { transition: padding .25s ease, color .2s ease; }
.fl-faq__icon { transition: transform .35s ease; }
.fl-input { transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.fl-header .nav-link,
.fl-personal__tel,
.fl-footer__links a,
.fl-contact__item,
.fl-point__title,
.fl-post__title,
.fl-footer__bottom a { transition: color .2s ease, transform .2s ease, opacity .2s ease; }
.fl-footer__links a::before { transition: transform .2s ease; }
.fl-nav { transition: box-shadow .25s ease, padding .25s ease; }
.fl-link::after,
.fl-header .nav-link::after { transition: transform .3s ease; }
.fl-cta__lead a { transition: background-size .3s ease; }

/* Scrolled header */
.fl-header.is-scrolled .fl-nav { padding-block: 8px; box-shadow: 0 10px 28px rgba(0, 0, 0, .16); }

/* Link underlines that draw in */
.fl-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--fl-red);
  transform: scaleX(0);
  transform-origin: left;
}
@media (min-width: 1200px) {
  .fl-nav__list > .nav-item > .nav-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -4px;
    left: 0;
    display: block;
    width: auto;
    height: 2px;
    margin: 0;
    border: 0;
    background: var(--fl-red);
    transform: scaleX(0);
    transform-origin: left;
  }
  /* Services opens on hover as well as click */
  .fl-nav__list .dropdown:hover > .dropdown-menu { 
    /* display: block; */
     animation: fl-drop .2s ease; 
    display: grid;
    
  }
  .fl-nav__list .dropdown::after { content: ""; position: absolute; top: 100%; right: 0; left: 0; height: 14px; }
  .fl-nav__toggle img { transition: transform .25s ease; }
  .fl-nav__list .dropdown:hover .fl-nav__toggle img { transform: rotate(180deg); }
}
@keyframes fl-drop { from { opacity: 0; translate: 0 6px; } to { opacity: 1; translate: none; } }

/* Colour feedback that does not move anything, for every pointer type */
.fl-header .nav-link:hover,
.fl-header .nav-link:focus-visible,
.fl-point:hover .fl-point__title { color: var(--fl-red); }
.fl-nav__menu .dropdown-item:hover { background: var(--fl-blush); color: var(--fl-red); }
.fl-footer__links a:hover,
.fl-footer__bottom a:hover { color: #fff; }
.fl-personal__tel:hover { color: #e2ca99; }
.fl-faq__q:hover { color: var(--fl-red); }
.fl-input:hover:not(:focus) { border-color: #f2b9b5; }
.fl-btn:hover { background: var(--fl-red-deep); border-color: var(--fl-red-deep); color: #fff; }
.fl-btn--outline:hover { background: #fff; border-color: #fff; color: var(--fl-red); }
.fl-btn--outline:hover .fl-btn__arrow { filter: brightness(0) saturate(100%) invert(22%) sepia(60%) saturate(3300%) hue-rotate(353deg) brightness(90%); }
.fl-nav__btn:hover { color: #fff; }
.fl-nav__btn--quote:hover { background: var(--fl-red-deep); }
.fl-nav__btn--call:hover { background: #000; border-color: #000; }
/* Slider arrows are neutral until used. Touch screens keep :hover after a tap, so they only get the press state */
.fl-round:not([disabled]):active { background: var(--fl-red); }
.fl-round:not([disabled]):active img { filter: brightness(0) invert(1); }
@media (hover: hover) {
  .fl-round:not([disabled]):hover { background: var(--fl-red); }
  .fl-round:not([disabled]):hover img { filter: brightness(0) invert(1); }
}
.fl-social a:hover { border-color: var(--fl-red); background: var(--fl-red); }
.fl-link:hover { color: var(--fl-red); }
.fl-link:hover::after,
.fl-header .nav-link:hover::after { transform: scaleX(1); }
.fl-pill:hover { color: var(--fl-red); }
.fl-pill:hover .fl-pill__arrow::after { opacity: 1; }
.fl-pills:hover .fl-pill.is-active:not(:hover) .fl-pill__arrow::after { opacity: 0; }
.fl-faq__item:hover,
.fl-faq__item:has(.collapse.show) { border-color: #f2b9b5; }
.fl-post:hover .fl-post__title { color: var(--fl-red); }
.fl-pager__link:hover { border-color: var(--fl-red); color: var(--fl-red); }
.fl-cta__lead a:hover { background-size: 100% 1px; color: #fff; }
.fl-contact a.fl-contact__item:hover { opacity: .85; }
.fl-service:hover { border-color: var(--fl-red); }
.fl-service:hover .fl-service__rule { width: 110px; }
.fl-crumbs a:hover { color: #fff; text-decoration: underline; }
.fl-svc__text a:hover,
.fl-areas__note a:hover { color: var(--fl-red-deep); }
.fl-side-nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.fl-side-nav a.is-active:hover { background: var(--fl-red-deep); }

/* Movement only on devices with a real pointer, and only when motion is welcome */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .fl-btn:hover,
  .fl-nav__btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(186, 45, 35, .28); }
  .fl-nav__btn--call:hover { box-shadow: 0 8px 18px rgba(0, 0, 0, .25); }
  .fl-btn:hover .fl-btn__arrow { transform: translate(2px, -2px); }
  .fl-link:hover .fl-link__arrow { transform: translateX(4px); }
  .fl-zoom:hover img,
  .fl-post:hover .fl-zoom img,
  .fl-hire__visual:hover .fl-zoom img,
  .fl-intro__visual:hover .fl-zoom img { transform: scale(1.04); }
  .fl-intro__visual:hover .fl-intro__frame { transform: translate(8px, 8px); }
  .fl-trust__item:hover > img { transform: translateY(-3px) scale(1.1); }
  .fl-service:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(0, 0, 0, .08); }
  .fl-service:hover .fl-service__icon { transform: translateY(-3px) scale(1.06); }
  .fl-round:not([disabled]):hover { transform: scale(1.06); }
  .fl-pager__link:hover { transform: translateY(-2px); }
  .fl-hire__visual:hover .fl-hire__box { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(0, 0, 0, .09); }
  .fl-pill:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, .08); }
  .fl-pill:hover .fl-pill__arrow { transform: translateX(4px); }
  .fl-post:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0, 0, 0, .08); }
  .fl-post:hover .fl-post__more img { transform: translateX(4px); }
  .fl-faq__q:hover .fl-faq__icon { transform: rotate(90deg); }
  .fl-social a:hover { transform: translateY(-3px); }
  .fl-footer__links a:hover { transform: translateX(4px); }
  .fl-contact a.fl-contact__item:hover { transform: translateY(-2px); }
  .fl-side-nav a:hover::after { transform: translate(2px, -2px); }

  /* Slow drift on the hero photo and the red band's contour lines */
  .fl-hero__media img { animation: fl-drift 18s ease-out both; }
  .fl-cta__pattern { animation: fl-pattern 26s ease-in-out infinite alternate; }
}
@keyframes fl-drift { from { transform: scale(1.05); } to { transform: none; } }
@keyframes fl-pattern { from { transform: translate3d(-14px, -8px, 0); } to { transform: translate3d(14px, 8px, 0); } }

/* Reveal: main.js adds .fl-reveal-ready to <html> and .is-visible to each
   [data-fl-reveal] as it scrolls in. Uses `translate` so card hover `transform` still works. */
.fl-reveal-ready [data-fl-reveal] {
  opacity: 0;
  translate: 0 16px;
  transition:
    opacity .7s ease var(--fl-delay, 0s),
    translate .7s ease var(--fl-delay, 0s),
    transform .35s ease,
    box-shadow .35s ease,
    border-color .25s ease;
}
.fl-reveal-ready [data-fl-reveal].is-visible { opacity: 1; translate: none; }

/* Kicker rule draws in with its section */
.fl-reveal-ready [data-fl-reveal] .fl-kicker::before { transform: scaleX(0); transform-origin: left; transition: transform .6s ease .2s; }
.fl-reveal-ready [data-fl-reveal].is-visible .fl-kicker::before { transform: none; }

/* Small stagger inside card rows and split sections */
.col:nth-child(2) > [data-fl-reveal],
[class*="col-"] + [data-fl-reveal] { --fl-delay: .1s; }
.col:nth-child(3) > [data-fl-reveal] { --fl-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
