/* Start custom CSS *//* ===== VAT switch on Pricing: edit these values ===== */
:root {
  --fg-vat-navy: #062440;      /* selected button background, text and border of the unselected button, focus ring, small VAT labels */
  --fg-vat-white: #FFFFFF;     /* selected button text and unselected button background */
  --fg-vat-hover-bg: #F8F8F8;  /* unselected button background while the pointer is over it (mouse devices only) */
  --fg-vat-btn-height: 44px;   /* minimum button height, 44px is the accessibility minimum for touch */
  --fg-vat-btn-pad: 24px;      /* left and right padding inside each button on desktop */
  --fg-card-hover-title: #FFFFFF; /* price card title colour wherever the card header is orange: Leak Detection cards always, Plumbing and Drainage cards while hovered or focused */
}

/* No flash: while the script has not yet applied the default view, the nine prices and the note are hidden.
   The script adds the class fg-vat-pending to the html element, then removes it. If the script has not run after 1 second,
   this animation reveals them anyway. With JavaScript off the class is never added, so everything shows at once. */
html.fg-vat-pending body.elementor-kit-6 :is(
  [data-id="4b1c6e3e"], [data-id="9ade83a"], [data-id="1173ed81"], [data-id="66dfe991"], [data-id="15d9867e"],
  [data-id="306dbf5e"], [data-id="180e6a9d"], [data-id="55a003a7"], [data-id="2345e9c7"], [data-id="31be390"], [data-id="b527b2b"]
) {
  visibility: hidden;
  animation: fg-vat-reveal 0.01s linear 1s forwards;
}
@keyframes fg-vat-reveal { to { visibility: visible; } }

/* Price card titles on an orange header. The card style turns the top of the Plumbing and Drainage cards orange on hover and focus,
   and their title is orange too, so it disappeared. The Leak Detection cards are orange at rest. */
/* Leak Detection card titles (Standard 236e70ce, Evening 47c3668, Night 4bcd02e1): white in every state */
html body.elementor-kit-6 :is([data-id="236e70ce"], [data-id="47c3668"], [data-id="4bcd02e1"]),
html body.elementor-kit-6 :is([data-id="3f790690"], [data-id="7d6a1f96"], [data-id="4066fd7c"]):is(:hover, :focus, :focus-visible, :focus-within) :is([data-id="236e70ce"], [data-id="47c3668"], [data-id="4bcd02e1"]) {
  color: var(--fg-card-hover-title) !important;
  -webkit-text-fill-color: var(--fg-card-hover-title) !important;
  text-decoration-color: var(--fg-card-hover-title) !important;
}
/* Plumbing and Drainage card titles: orange at rest on the light card, white while the card is focused */
html body.elementor-kit-6 :is([data-id="5a28be38"], [data-id="5e18a47f"], [data-id="1dd13c01"], [data-id="4d7c9a48"], [data-id="445a4481"], [data-id="7f8886b8"]):is(:focus, :focus-visible, :focus-within) :is([data-id="36847860"], [data-id="4bb983b3"], [data-id="607cee58"], [data-id="4e072d64"], [data-id="39b1a1d1"], [data-id="15414fe0"]) {
  color: var(--fg-card-hover-title) !important;
  -webkit-text-fill-color: var(--fg-card-hover-title) !important;
  text-decoration-color: var(--fg-card-hover-title) !important;
}
/* Same cards while the pointer is over them: mouse devices only */
@media (hover: hover) {
  html body.elementor-kit-6 :is([data-id="5a28be38"], [data-id="5e18a47f"], [data-id="1dd13c01"], [data-id="4d7c9a48"], [data-id="445a4481"], [data-id="7f8886b8"]):hover :is([data-id="36847860"], [data-id="4bb983b3"], [data-id="607cee58"], [data-id="4e072d64"], [data-id="39b1a1d1"], [data-id="15414fe0"]) {
    color: var(--fg-card-hover-title) !important;
    -webkit-text-fill-color: var(--fg-card-hover-title) !important;
    text-decoration-color: var(--fg-card-hover-title) !important;
  }
}

/* FG-CARD-TITLE-TOUCH */
/* Touch screens have no real hover. A tap leaves the card in the hover state until the user taps somewhere else, so the card header stays orange and the orange title disappeared. The same rule covers the pressed state on every device. */
@media (hover: none) {
  html body.elementor-kit-6 :is([data-id="5a28be38"], [data-id="5e18a47f"], [data-id="1dd13c01"], [data-id="4d7c9a48"], [data-id="445a4481"], [data-id="7f8886b8"]):is(:hover, :active, :focus-within) :is([data-id="36847860"], [data-id="4bb983b3"], [data-id="607cee58"], [data-id="4e072d64"], [data-id="39b1a1d1"], [data-id="15414fe0"]) {
    color: var(--fg-card-hover-title) !important;
    -webkit-text-fill-color: var(--fg-card-hover-title) !important;
    text-decoration-color: var(--fg-card-hover-title) !important;
    fill: var(--fg-card-hover-title) !important;
  }
}
/* Pressed (mouse down or touch down) on devices that also have hover */
html body.elementor-kit-6 :is([data-id="5a28be38"], [data-id="5e18a47f"], [data-id="1dd13c01"], [data-id="4d7c9a48"], [data-id="445a4481"], [data-id="7f8886b8"]):active :is([data-id="36847860"], [data-id="4bb983b3"], [data-id="607cee58"], [data-id="4e072d64"], [data-id="39b1a1d1"], [data-id="15414fe0"]) {
    color: var(--fg-card-hover-title) !important;
    -webkit-text-fill-color: var(--fg-card-hover-title) !important;
    text-decoration-color: var(--fg-card-hover-title) !important;
    fill: var(--fg-card-hover-title) !important;
}
/* No colour transition on any price card title, so the title never fades through orange. */
html body.elementor-kit-6 :is([data-id="36847860"], [data-id="4bb983b3"], [data-id="607cee58"], [data-id="4e072d64"], [data-id="39b1a1d1"], [data-id="15414fe0"], [data-id="236e70ce"], [data-id="47c3668"], [data-id="4bcd02e1"]) { transition: none !important; }
/* FG-CARD-TITLE-TOUCH-END */

/* HTML widget 3d055892 holds the control and the script. Without JavaScript the control stays hidden (hidden attribute). */
html body.elementor-kit-6 [data-id="3d055892"] {
  width: 100%; max-width: 100%; align-self: stretch;
}
/* Desktop and tablet: label and buttons centred on the same centre line as the tab bar, control as wide as its content */
html body.elementor-kit-6 [data-id="3d055892"] .fg-vat-switch {
  display: flex; flex-direction: column; flex-wrap: nowrap; gap: 8px; align-items: center; width: 100%;
}
html body.elementor-kit-6 [data-id="3d055892"] .fg-vat-switch[hidden] { display: none !important; }
html body.elementor-kit-6 [data-id="3d055892"] .fg-vat-label {
  font-family: Outfit, Arial, sans-serif; font-size: 15px; font-weight: 600; line-height: 1.3; text-align: center; color: var(--fg-vat-navy);
}
html body.elementor-kit-6 [data-id="3d055892"] .fg-vat-buttons { display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: center; width: auto; }
html body.elementor-kit-6 [data-id="3d055892"] .fg-vat-btn {
  min-height: var(--fg-vat-btn-height); padding: 0 var(--fg-vat-btn-pad); margin: 0;
  font-family: Outfit, Arial, sans-serif; font-size: 16px; font-weight: 400; line-height: 1.2; text-transform: none; letter-spacing: 0;
  border: 2px solid var(--fg-vat-navy); border-radius: 0; cursor: pointer;
  background-color: var(--fg-vat-white); color: var(--fg-vat-navy);
}
html body.elementor-kit-6 [data-id="3d055892"] .fg-vat-btn + .fg-vat-btn { margin-left: -2px; }

/* Unselected button: always white with navy text, including the theme button hover and focus colours */
html body.elementor-kit-6 [data-id="3d055892"] .fg-vat-btn[aria-pressed="false"],
html body.elementor-kit-6 [data-id="3d055892"] .fg-vat-btn[aria-pressed="false"]:hover,
html body.elementor-kit-6 [data-id="3d055892"] .fg-vat-btn[aria-pressed="false"]:focus,
html body.elementor-kit-6 [data-id="3d055892"] .fg-vat-btn[aria-pressed="false"]:active {
  background-color: var(--fg-vat-white) !important; color: var(--fg-vat-navy) !important; border-color: var(--fg-vat-navy) !important; font-weight: 400;
}
/* Selected button: navy with white bold text */
html body.elementor-kit-6 [data-id="3d055892"] .fg-vat-btn[aria-pressed="true"],
html body.elementor-kit-6 [data-id="3d055892"] .fg-vat-btn[aria-pressed="true"]:hover,
html body.elementor-kit-6 [data-id="3d055892"] .fg-vat-btn[aria-pressed="true"]:focus,
html body.elementor-kit-6 [data-id="3d055892"] .fg-vat-btn[aria-pressed="true"]:active {
  background-color: var(--fg-vat-navy) !important; color: var(--fg-vat-white) !important; border-color: var(--fg-vat-navy) !important; font-weight: 700;
}
/* Hover effect for mouse devices only */
@media (hover: hover) {
  html body.elementor-kit-6 [data-id="3d055892"] .fg-vat-btn[aria-pressed="false"]:hover {
    background-color: var(--fg-vat-hover-bg) !important; color: var(--fg-vat-navy) !important;
  }
}
/* Visible keyboard focus ring: 2px navy, 2px offset */
html body.elementor-kit-6 [data-id="3d055892"] .fg-vat-btn:focus-visible {
  outline: 2px solid var(--fg-vat-navy); outline-offset: 2px;
}
/* Small label under each price (added by the script) */
html body.elementor-kit-6 .fg-vat-tag {
  margin: 2px 0 0 0; font-family: Arial, sans-serif; font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--fg-vat-navy);
}
/* Mobile: control full width, buttons share the width equally, label centred */
@media (max-width: 767px) {
  html body.elementor-kit-6 [data-id="3d055892"] .fg-vat-switch { align-items: stretch; }
  html body.elementor-kit-6 [data-id="3d055892"] .fg-vat-label { text-align: center; }
  html body.elementor-kit-6 [data-id="3d055892"] .fg-vat-buttons { width: 100%; }
  html body.elementor-kit-6 [data-id="3d055892"] .fg-vat-btn { flex: 1 1 0; padding: 0 12px; }
}
/* Colour change animation only when the visitor has not asked for reduced motion */
@media (prefers-reduced-motion: no-preference) {
  html body.elementor-kit-6 [data-id="3d055892"] .fg-vat-btn { transition: background-color 0.15s ease, color 0.15s ease; }
}/* End custom CSS */