/* ==================================================================== */
/* TCE015 — mobile-first.                                                */
/* Base rules below are the PHONE layout. Each component's tablet/       */
/* desktop behaviour lives in a `@media (min-width: …)` nested directly  */
/* inside that component's own rule, instead of being split out into     */
/* separate breakpoint sections at the bottom of the file — so the full  */
/* responsive story for any one thing is in one place.                   */
/*                                                                        */
/* Breakpoint tiers (mirrors the previous max-width: 480/768/1024 cuts):  */
/*   (none)            phone                                             */
/*   min-width: 481px  large phone                                       */
/*   min-width: 769px  tablet                                            */
/*   min-width: 1025px desktop                                           */
/* ==================================================================== */

#wpadminbar {
  opacity: 0;

  &:hover {
    opacity: 1;
  }
}

.elementor {
  display: none !important;
}

*,
::after,
::before {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html {
  margin-top: 0 !important;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  padding-bottom: 0 !important;
}

:not(:defined) {
  visibility: hidden;
}

img {
  max-width: 100%;
}

/* ------------------------------------------------------------------ */
/* Tokens                                                              */
/* ------------------------------------------------------------------ */

.tce015 {
  --tce015-purple: #9035ea;
  --tce015-purple-dark: #711cc2;
  --tce015-coral: #fb7971;
  --tce015-coral-dark: #c35355;
  --tce015-gray: #5c5a73;
  --tce015-lavender: #efeaf3;
  --tce015-card-alt: #f8f9fa;
  --tce015-input-bg: #f5f5f5;
  --tce015-border: #b1b1b1;

  font-family: 'Inter', sans-serif;
  background: #fff;
  overflow: hidden;

  h1,
  h2,
  h3,
  h4,
  p,
  span,
  div,
  button,
  a {
    font-family: 'Inter', sans-serif;
  }

  p {
    margin: 0 0 15px;
    line-height: 1.5em;
  }
}

.tce015-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;

  /* Section heading — shared by every section that doesn't define its own */
  > h2 {
    color: var(--tce015-purple);
    font-weight: 700;
    text-align: center;
    max-width: 720px;
    line-height: 1.3em;
    font-size: 26px;
    margin: 0 auto 30px;

    @media (min-width: 769px) {
      font-size: 32px;
      margin-bottom: 40px;
    }
  }
}

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */

.tce015-btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none !important;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid var(--tce015-coral);
  background: var(--tce015-coral);
  color: #fff !important;

  &:hover {
    background: var(--tce015-coral-dark);
    border-color: var(--tce015-coral-dark);
  }
}

.tce015-btn-outline {
  background: transparent;
  color: var(--tce015-coral) !important;

  &:hover {
    background: var(--tce015-coral);
    color: #fff !important;
  }
}

.tce015-btn-outline-white {
  background: transparent;
  border-color: #fff;
  color: #fff !important;

  &:hover {
    background: #fff;
    color: var(--tce015-purple-dark) !important;
  }
}

.tce015-cta-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 0 18px;

  .tce015-btn {
    width: 100%;
    min-width: 0;

    @media (min-width: 769px) {
      width: auto;
      min-width: 260px;
    }
  }
}

/* ------------------------------------------------------------------ */
/* Trust mini rating row                                               */
/* ------------------------------------------------------------------ */

.tce015-trust-mini {
  text-align: center;
  margin: 0 0 20px;

  p {
    font-size: 12px;
    font-weight: 700;
    color: var(--tce015-gray);
    margin: 0;
  }
}

.tce015-tp-logo {
  display: inline-block;
  width: 150px;
  height: 44px;
  overflow: hidden;
  margin-bottom: 10px;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* ------------------------------------------------------------------ */
/* Header                                                               */
/* ------------------------------------------------------------------ */

.tce015-header {
  background: #fff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.14);
  position: relative;
  z-index: 100;
  padding: 12px 0;

  .tce015-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

.tce015-logo img {
  max-width: 160px;
  display: block;
}

.tce015-header-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.tce015-header-call {
  display: block;
  text-align: right;

  .tce015-header-call-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #000;
    text-align: right;
  }

  a.rulertel {
    display: block;
    font-weight: 700;
    font-size: 22px;
    color: #000;
    text-decoration: none !important;
    letter-spacing: -0.3px;
    text-align: right;
  }
}

/* ------------------------------------------------------------------ */
/* Hero                                                                 */
/* ------------------------------------------------------------------ */

.tce015-hero {
  position: relative;
  /* Always coral at the top, purple at the bottom — this base layer never
     changes, so the purple section beneath the hero always fades in
     consistently regardless of where the animated overlay below is. */
  background: linear-gradient(180deg, var(--tce015-coral) 0%, #8f35eb 100%);
  padding: 35px 0 55px;
  overflow: hidden;

  @media (min-width: 769px) {
    padding: 60px 0 90px;
  }

  &::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    /* Same top-to-bottom direction as the base gradient, just weighted more
       purple — crossfading this in/out shifts the overall balance without
       ever flipping which color sits on top. */
    background: linear-gradient(180deg, var(--tce015-coral) 0%, #8f35eb 60%);
    opacity: 0;
    animation: tce015-hero-gradient-fade 12s ease-in-out infinite alternate;
  }

  .tce015-inner {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 40px;
    align-items: start;
    justify-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    grid-template-areas:
      "h1"
      "p1"
      "trust"
      "form"
      "p2"
      "fine";

    @media (min-width: 1025px) {
      grid-template-columns: 1fr 420px;
      justify-items: stretch;
      text-align: left;
      grid-template-areas:
        "h1    form"
        "p1    form"
        "p2    form"
        "fine  form"
        "trust form";
    }
  }

  h1 {
    color: #fff;
    font-weight: 700;
    line-height: 1.1em;
    letter-spacing: -0.5px;
    margin: 0 0 20px;
    font-size: 30px;

    @media (min-width: 769px) {
      font-size: 46px;
    }
  }

  p {
    color: #fff;
    font-weight: 500;
    line-height: 1.4em;
    margin: 0 auto 15px;
    max-width: 100%;
    font-size: 16px;

    @media (min-width: 769px) {
      font-size: 18px;
    }

    @media (min-width: 1025px) {
      max-width: 520px;
      margin-left: 0;
      margin-right: 0;
    }
  }

  .tce015-fine-print {
    font-weight: 500;
    line-height: 1.5em;
    opacity: 0.9;
    font-size: 16px;

    @media (min-width: 769px) {
      font-size: 18px;
    }
  }
}

@keyframes tce015-hero-gradient-fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.tce015-hero-ring {
  position: absolute;
  pointer-events: none;
  right: -80px;
  top: 60%;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  opacity: 0.9;
  z-index: 1;

  @media (min-width: 1025px) {
    right: -120px;
    top: 65px;
    transform: none;
    width: 600px;
    height: 600px;
  }
}

.tce015-hero-h1 {
  grid-area: h1;
}

.tce015-hero-p1 {
  grid-area: p1;
}

.tce015-hero-p2 {
  grid-area: p2;
  margin-top: 30px !important;

  @media (min-width: 769px) {
    margin-top: 20px !important;
  }
}

.tce015-fine-print {
  grid-area: fine;
}

.tce015-hero-form-wrap {
  grid-area: form;
  width: 100%;
  max-width: 420px;

  @media (min-width: 1025px) {
    max-width: none;
  }
}

.tce015-hero-trust {
  grid-area: trust;
  margin-top: 25px;

  .trustpilot-widget {
    max-width: 450px;
  }
}

.tce015-hero-trust-desktop {
  display: none;

  @media (min-width: 769px) {
    display: block;
  }
}

.tce015-hero-trust-mobile {
  display: inline-block;

  @media (min-width: 769px) {
    display: none;
  }
}

/* Hero form card */

.tce015-form-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);

  .wpforms-container {
    padding: 20px 20px 24px;
    margin: 0 !important;
    opacity: 0;

    &.tce015-form-ready {
      opacity: 1;
      transition: opacity 0.2s ease;
    }
  }
}

.tce015-form-card-header {
  background: var(--tce015-purple);
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  padding: 13px 10px;
}

.tce015-form-loading-bar {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tce015-gray);
  font-size: 14px;
}

/* ------------------------------------------------------------------ */
/* WPForms overrides (forms 18969 / 18967)                             */
/* WPForms' own plugin stylesheet loads after this file and uses       */
/* class selectors of similar specificity, so every rule here is       */
/* scoped through the form wrapper IDs (#tce015-hero-form /            */
/* #tce015-steps-form) to reliably win the cascade regardless of load  */
/* order. Both forms need identical treatment for nearly everything,   */
/* so :is() carries that shared specificity in one place rather than   */
/* repeating every selector twice.                                     */
/* ------------------------------------------------------------------ */

:is(#tce015-hero-form, #tce015-steps-form) {

  .wpforms-field-label {
    text-align: center;
    font-size: 16px;
    font-weight: 500 !important;
    color: #000;
    margin: 0 0 18px !important;
    padding: 0 !important;
  }

  .wpforms-page-indicator.progress {
    margin: 0 0 20px !important;
    padding: 0 !important;
  }

  .wpforms-page-indicator-page-title,
  .wpforms-page-indicator-page-title-sep,
  .wpforms-page-indicator-steps {
    display: none !important;
  }

  .wpforms-page-indicator-page-progress-wrap {
    background: #d9d9d9 !important;
    height: 11px !important;
    border-radius: 60px !important;
    overflow: hidden;
  }

  .wpforms-page-indicator-page-progress {
    background: var(--tce015-purple) !important;
    border-radius: 60px !important;
    height: 11px;
  }

  .wpforms-field {
    padding: 0 0 12px !important;
  }

  /* No "Previous" step — matches the reference no-win-no-fee-v2 form UX */
  .wpforms-page-button.wpforms-page-prev {
    display: none !important;
  }

  .wpforms-required-label {
    display: none !important;
  }

  .list-buttons li,
  .wpforms-field-radio ul li,
  .wpforms-field-checkbox ul li {
    display: block !important;
    width: 100% !important;
    border: 1px solid var(--tce015-border) !important;
    background: var(--tce015-input-bg) !important;
    border-radius: 8px !important;
    padding: 0 !important;
    cursor: pointer !important;
    position: relative !important;
    margin-bottom: 12px !important;
    transition: all 0.3s;
  }

  .list-buttons li:hover,
  .wpforms-field-radio ul li:hover {
    border-color: var(--tce015-purple) !important;
  }

  .consent-check ul li {
    border: none !important;
    background: transparent !important;
  }

  .list-buttons ul li label,
  .wpforms-field-radio ul li label,
  .wpforms-field-checkbox ul li label {
    display: block !important;
    padding: 12px 10px 12px 25px !important;
    text-align: center !important;
    color: #000 !important;
    font-weight: 400 !important;
    font-size: 16px !important;
  }

  .consent-check ul li label {
    text-align: left !important;
    font-size: 13px !important;

    a {
      text-decoration: underline !important;
    }
  }

  input[type="radio"],
  input[type="checkbox"] {
    position: absolute !important;
    top: 16px !important;
    left: 15px !important;
  }

  .consent-check input[type="checkbox"] {
    left: 0 !important;
  }

  .wpforms-field-email input,
  .wpforms-field-text input,
  .wpforms-field-phone input,
  .wpforms-field-name input,
  .wpforms-field-select select {
    color: #000 !important;
    font-weight: 500 !important;
    text-align: center !important;
    font-size: 16px !important;
    font-family: 'Inter', sans-serif !important;
    display: block !important;
    border: 1px solid var(--tce015-border) !important;
    background: var(--tce015-input-bg) !important;
    border-radius: 8px !important;
    padding: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 0 !important;
  }

  .wpforms-field-select select {
    height: auto !important;
    min-height: 48px !important;
    line-height: 1.4 !important;
  }

  .above-button-text {
    text-align: center !important;
    color: var(--tce015-gray) !important;
    font-size: 13px !important;

    > div {
      display: flex !important;
      align-items: center;
      justify-content: center;
      gap: 5px;
    }

    i {
      display: inline-block;
      flex-shrink: 0;
      width: 13px;
      height: 13px;
      margin-right: 0;
      font-size: 0;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235c5a73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E");
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
    }
  }

  .wpforms-page-button,
  .wpforms-submit {
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #fff !important;
    text-decoration: none !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    padding: 15px !important;
    margin-top: 10px !important;
    background: var(--tce015-coral) !important;
    border: none !important;
    border-radius: 8px !important;
    text-transform: none !important;
    transition: all 0.3s;

    &:hover {
      background: var(--tce015-coral-dark) !important;
    }
  }

  .last .wpforms-field-label {
    font-weight: 700 !important;
    font-size: 18px !important;
    margin-bottom: 12px !important;
  }

  .wpforms-page.last {
    position: relative !important;
  }

  .loading-panel {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 10;
    text-align: center;
    padding-top: 20px;
    overflow: hidden;

    h4 {
      color: var(--tce015-purple);
      font-size: 18px;
      font-weight: 700;
      margin: 0 0 15px;
    }

    h5 {
      color: var(--tce015-gray);
      font-size: 15px;
      font-weight: 600;
      max-width: 90%;
      margin: 15px auto 0;
    }

    img {
      width: 140px !important;
      height: auto;
      margin: 20px auto 10px !important;
    }
  }
}

/* The radio-list question auto-advances on click (see tce015-scripts.js),
   so its own Next button stays hidden rather than shown as a dead click
   target. Hero-form-only: form 18967 doesn't have this field. */
#tce015-hero-form #wpforms-18969-field_3-container .wpforms-page-next {
  display: none !important;
}

/* Next / Previous / Submit always span the full card width. Scoped to
   .tce015 rather than the two wrapper IDs so the popup form (18971) picks
   this up too. Kept clear of `display` so the buttons hidden above
   (the "Previous" step and the auto-advancing Next) stay hidden. */
.tce015 .wpforms-page-button,
.tce015 .wpforms-page-next,
.tce015 .wpforms-page-prev,
.tce015 .wpforms-submit {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* ------------------------------------------------------------------ */
/* Why choose block                                                    */
/* ------------------------------------------------------------------ */

.tce015-why {
  background: var(--tce015-purple);
  margin-top: -40px;
  position: relative;
  z-index: 1;
  border-radius: 0 0 30px 30px;
  padding: 40px 0 25px;

  @media (min-width: 769px) {
    border-radius: 0 0 40px 40px;
    padding: 55px 0 60px;
  }

  h2 {
    color: #fff;
    text-align: center;
    font-weight: 700;
    line-height: 1.2em;
    margin: 0 auto 40px;
    font-size: 24px;

    @media (min-width: 769px) {
      font-size: 32px;
    }
  }
}

.tce015-tick-grid {
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;

  @media (min-width: 769px) {
    display: flex;
  }
}

.tce015-tick-card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
  padding: 39px 17px 18px;
  text-align: left;
  position: relative;
  width: 100%;

  @media (min-width: 481px) {
    width: calc(50% - 10px);
  }

  @media (min-width: 769px) {
    width: 205px;
  }

  .tce015-tick-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--tce015-coral);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -21px;
    left: 17px;

    svg {
      width: 22px;
      height: 22px;
    }
  }

  h3 {
    color: var(--tce015-purple);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.15em;
  }

  p {
    color: var(--tce015-gray);
    font-size: 15px;
    margin: 0;
    line-height: 1.3em;
  }
}

/* ------------------------------------------------------------------ */
/* Claim value / specialise block                                      */
/* ------------------------------------------------------------------ */

.tce015-claims {
  padding: 40px 0;
  position: relative;
  overflow: hidden;

  @media (min-width: 769px) {
    padding: 70px 0 55px;
  }
}

.tce015-claims-ring {
  position: absolute;
  pointer-events: none;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  height: 220px;
  opacity: 0.5;

  @media (min-width: 1025px) {
    right: -220px;
    top: 40px;
    transform: none;
    width: 480px;
    height: 480px;
  }
}

.tce015-claim-grid {
  display: none;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 35px;
  position: relative;
  z-index: 1;

  @media (min-width: 1025px) {
    display: flex;
  }
}

.tce015-claim-carousel {
  display: block;
  --slide-spacing: 0px;
  margin-bottom: 35px;
  position: relative;
  z-index: 1;

  @media (min-width: 1025px) {
    display: none;
  }

  &::part(base) {
    overflow: visible;
  }

  &::part(pagination-item) {
    background-color: #d9d9d9;
  }

  &::part(pagination-item--active) {
    background-color: var(--tce015-purple);
  }

  sl-carousel-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px 30px;
  }

  .tce015-claim-card {
    width: 100%;
    max-width: 320px;
  }
}

.tce015-claim-card {
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  width: calc(50% - 6px);
  padding: 20px 14px;

  @media (min-width: 481px) {
    width: 100%;
    max-width: 340px;
    padding: 32px 30px;
  }

  @media (min-width: 769px) {
    width: 335px;
    max-width: none;
  }

  span {
    display: block;
    font-size: 14px;
    color: #000;
    margin-bottom: 4px;
  }

  h3 {
    color: var(--tce015-purple);
    font-weight: 700;
    margin: 4px 0 8px;
    font-size: 26px;

    @media (min-width: 481px) {
      font-size: 39px;
    }
  }

  .tce015-claim-label {
    font-weight: 500;
    color: #000;
    display: block;
    margin-bottom: 10px;
    font-size: 14px;

    @media (min-width: 481px) {
      font-size: 19px;
    }
  }
}

.tce015-claims .tce015-claims-disclaimer {
  text-align: center;
  font-size: 11px;
  color: var(--tce015-gray);
  max-width: 900px;
  margin: 15px auto;
}

/* ------------------------------------------------------------------ */
/* Why get in touch today (mobile only)                                 */
/* ------------------------------------------------------------------ */

.tce015-why-touch {
  display: block;
  background: var(--tce015-purple);
  padding: 30px 0;

  @media (min-width: 769px) {
    display: none;
  }
}

.tce015-why-touch-card {
  background: #fff;
  border-radius: 10px;
  padding: 30px 25px;

  h2 {
    color: var(--tce015-purple);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25em;
    margin: 0 0 20px;
    text-align: left;
  }
}

.tce015-why-touch-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #e5e0ec;

  &:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  span {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--tce015-purple);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  p {
    color: var(--tce015-gray);
    font-size: 16px;
    line-height: 1.4em;
    margin: 3px 0 0;
  }
}

/* ------------------------------------------------------------------ */
/* Types block                                                         */
/* ------------------------------------------------------------------ */

.tce015-types {
  background: var(--tce015-lavender);
  padding: 65px 0 55px;
}

.tce015-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
  justify-content: center;
  gap: 20px;
  max-width: 700px;
  margin: 0 auto 35px;

  @media (min-width: 769px) {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tce015-type-card {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  text-align: center;
  min-height: 0;
  padding: 18px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  @media (min-width: 481px) {
    min-height: 183px;
    padding: 25px 15px;
  }

  img {
    width: 55px;
    height: 55px;
    flex: 0 0 auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 14px;
  }

  h3 {
    color: var(--tce015-gray);
    font-weight: 700;
    margin: 0;
    line-height: 1.25em;
    font-size: 14px;

    @media (min-width: 481px) {
      font-size: 17px;
    }
  }
}

/* ------------------------------------------------------------------ */
/* 3 step process block                                                 */
/* ------------------------------------------------------------------ */

.tce015-steps {
  background: #fafafa;
  padding: 65px 0 70px;
}

.tce015-steps-row {
  display: flex;
  flex-direction: column;
  gap: 50px;
  align-items: flex-start;
  flex-wrap: wrap;

  @media (min-width: 1025px) {
    flex-direction: row;
  }
}

.tce015-steps-list {
  flex: 1;
  min-width: 0;

  h2 {
    color: var(--tce015-purple);
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 30px;
  }
}

.tce015-step-item {
  display: flex;
  align-items: center;
  gap: 15px;

  .tce015-step-num {
    flex-shrink: 0;
    width: 85px;
    height: 85px;
    border-radius: 50%;
    border: 8px solid var(--tce015-purple);
    color: var(--tce015-purple);
    font-size: 27px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.tce015-step-text {
  h3 {
    color: var(--tce015-purple);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
  }

  p {
    color: var(--tce015-gray);
    font-size: 16px;
    margin: 0;
    line-height: 1.35em;
  }
}

.tce015-step-divider {
  height: 1px;
  background: #d0cdcd;
  margin: 20px 0;
}

.tce015-steps-form-wrap {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  flex-shrink: 0;

  @media (min-width: 1025px) {
    width: 400px;
    max-width: none;
    margin: 0;
  }
}

/* ------------------------------------------------------------------ */
/* Testimonials block                                                  */
/* ------------------------------------------------------------------ */

.tce015-testimonials {
  background: var(--tce015-lavender);
  padding: 55px 0 60px;
  text-align: center;

  .tce015-tp-slider {
    max-width: 1000px;
    margin: 0 auto 25px;

    .trustpilot-widget,
    .trustpilot-widget iframe {
      height: 250px !important;
    }
  }
}

/* ------------------------------------------------------------------ */
/* About block                                                         */
/* ------------------------------------------------------------------ */

.tce015-about {
  padding: 65px 0;
  background: #fff;
  overflow: hidden;
  position: relative;
}

.tce015-about-row {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 50px;

  @media (min-width: 769px) {
    gap: 100px;
  }

  @media (min-width: 1025px) {
    flex-direction: row;
    text-align: left;
  }
}

.tce015-about-photo {
  width: 100%;
  flex-shrink: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  @media (min-width: 1025px) {
    width: 500px;
  }
}

.tce015-about-ring {
  display: none;
  position: absolute;
  pointer-events: none;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 90%;
  width: auto;
  aspect-ratio: 210 / 400;
  z-index: 0;

  @media (min-width: 1025px) {
    display: block;
  }
}

.tce015-photo-circle {
  position: relative;
  z-index: 1;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;

  @media (min-width: 769px) {
    width: 480px;
    height: 480px;
  }

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
}

.tce015-about-copy {
  flex: 1;
  min-width: 0;
  position: relative;
  z-index: 1;

  h2 {
    color: var(--tce015-purple);
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 18px;
    text-align: center;

    @media (min-width: 1025px) {
      text-align: left;
    }
  }

  p {
    color: var(--tce015-gray);
    font-size: 17px;
    line-height: 1.5em;
  }

  .tce015-cta-row {
    justify-content: center;
    text-align: center;
    margin-top: 20px;

    @media (min-width: 1025px) {
      justify-content: flex-start;
      text-align: left;
    }
  }
}

.tce015-about .tce015-trust-mini {
  margin-top: 45px;
  position: relative;
  z-index: 1;
}

/* ------------------------------------------------------------------ */
/* FAQ block                                                            */
/* ------------------------------------------------------------------ */

.tce015-faq {
  padding: 60px 0 70px;
  background: #fff;
  position: relative;

  &::before {
    content: '';
    display: block;
    width: 90%;
    height: 1px;
    background: #d0cdcd;
    margin: 0 auto 50px;
  }
}

.tce015-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.tce015-accordion-item {
  margin: 0 0 12px;
  border: 1px solid #5c5a73;
  border-radius: 6px;
  overflow: hidden;

  &.tce015-accordion-active {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);

    .tce015-accordion-arrow {
      transform: translateY(-50%) rotate(45deg);
    }
  }
}

.tce015-accordion-title {
  position: relative;
  display: block;
  padding: 20px 60px 20px 20px;
  margin: 0;
  color: var(--tce015-gray);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
}

.tce015-accordion-arrow {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%) rotate(0deg);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 1px solid var(--tce015-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 300;
  color: var(--tce015-gray);
  transition: transform 0.2s ease-out;
}

.tce015-accordion-content {
  padding: 0 20px 20px;
  display: none;
  font-size: 16px;
  line-height: 1.6em;
  color: var(--tce015-gray);

  p,
  li {
    font-size: 16px;
    line-height: 1.6em;
  }

  ul {
    margin: 0;
    padding: 0 0 10px 20px;
  }

  p:last-child {
    margin-bottom: 0;
  }
}

/* ------------------------------------------------------------------ */
/* Final CTA block                                                      */
/* ------------------------------------------------------------------ */

.tce015-final-cta {
  background: var(--tce015-purple-dark);
  padding: 55px 0 60px;
  text-align: center;

  h2 {
    color: #fff;
    font-weight: 700;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.3em;
    font-size: 24px;

    @media (min-width: 769px) {
      font-size: 32px;
    }
  }
}

/* ------------------------------------------------------------------ */
/* Footer                                                               */
/* ------------------------------------------------------------------ */

.tce015-footer {
  background: #fff;
  text-align: center;
  padding: 40px 0 90px;

  @media (min-width: 769px) {
    padding-bottom: 30px;
  }

  img {
    max-width: 175px;
    margin: 0 auto 22px;
    display: block;
  }

  p {
    color: var(--tce015-gray);
    font-size: 13px;
    font-weight: 400;
    margin: 0;
  }

  a {
    color: var(--tce015-gray);
    text-decoration: none;
    font-size: 13px;
    margin: 0 6px;

    &:hover {
      text-decoration: underline;
    }
  }
}

/* Scoped through .tce015-footer so it outweighs the `p { margin: 0 }`
   reset above, which was cancelling the top margin. */
.tce015-footer .tce015-legal-disclaimer {
  max-width: 820px;
  margin: 28px auto 0;
  color: var(--tce015-gray);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.tce015-sra-badge {
  max-width: 175px;
  max-height: 163px;
  margin: 22px auto 0;

  > div {
    position: relative;
    padding-bottom: 59.1%;
    height: auto;
    overflow: hidden;
  }

  iframe {
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
  }
}

/* ------------------------------------------------------------------ */
/* Mobile sticky call bar                                               */
/* ------------------------------------------------------------------ */

.tce015-float-call {
  display: flex;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: #fff;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.25);
  padding: 10px 16px;
  align-items: center;
  gap: 10px;

  @media (min-width: 769px) {
    display: none;
  }

  .tce015-btn {
    flex: 1 1 50%;
    padding: 12px 16px;
    font-size: 13px;
    min-width: 0;
    text-align: center;
  }

  .tce015-header-call {
    flex: 1 1 50%;
    text-align: right;
    white-space: nowrap;

    .tce015-header-call-label {
      text-align: right;
      font-size: 11px;
    }

    a.rulertel {
      text-align: right;
      font-size: 17px;
    }
  }
}

/* ------------------------------------------------------------------ */
/* Modal (Call Me Back)                                                 */
/* ------------------------------------------------------------------ */

.tce015-download-form-modal {
  &::part(panel) {
    max-width: 480px;
    border-radius: 10px;
  }

  h2 {
    color: var(--tce015-purple);
    font-size: 22px;
    margin: 0 0 15px;
    text-align: center;
  }
}

/* ------------------------------------------------------------------ */
/* Global theme patch — narrow viewports only.                         */
/* Unlike everything above, this isn't one of our own components with  */
/* a natural "mobile vs desktop" value of its own — it's zeroing out a  */
/* sitewide #page margin that only misbehaves below 1025px, so it stays */
/* a targeted max-width patch rather than a mobile-first base rule.     */
/* ------------------------------------------------------------------ */

@media only screen and (max-width: 1024px) {
  #page {
    margin: 0 !important;
  }
}

/* Hide the floating Cookiebot widget on this template only (scoped via the
   body template class so other pages are unaffected) — a footer link
   triggers Cookiebot.renew() for anyone who wants to revisit consent. */
body.page-template-page_tce_015-php #CookiebotWidget:not(.CookiebotWidget-inactive) {
  display: none !important;
}
