/*
Theme Name: Quicklaunch Child
Theme URI:
Template: quicklaunch-parent-theme
Author: Quicklaunch
Author URI: https://www.quicklaunch.co.uk/
Description: Child theme.
Version: 1.0
*/


/* 
   MOTION PHYSIOTHERAPY & SPORTS THERAPY — STYLE GUIDE
   Version: 1.0
   Fonts: Inter (headings and body)
   Base font size: 18px
   Breakpoints: 1200px, 992px, 768px, 576px
    */


/* 
   1. GOOGLE FONTS IMPORT
    */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');


/* 
   2. CSS CUSTOM PROPERTIES
    */

:root {

    /* --- Colours --- */
    --color-brand-cyan:      #00BFDF;       /* Primary brand — cyan/teal */
    --color-brand-cyan-dark: #009AB8;       /* Hover state for cyan elements */
    --color-dark:            #111827;       /* Near-black — dark section BGs, stats */
    --color-dark-alt:        #1C2333;       /* Slightly lighter dark — card BGs on dark */
    --color-body-text:       #1C1C1C;       /* Default body copy */
    --color-muted:           #6B7280;       /* Secondary/muted text */
    --color-light-bg:        #F4F6F8;       /* Subtle section alternates, FAQ BG */
    --color-white:           #FFFFFF;
    --color-border:          #E2E6EA;       /* Subtle borders, dividers */

    /* --- Typography — Families --- */
    --font-heading: 'Inter', sans-serif;
    --font-body:    'Inter', sans-serif;

    /* --- Typography — Weights --- */
    --fw-regular:   400;
    --fw-medium:    500;
    --fw-bold:      700;
    --fw-extrabold: 800;

    /* --- Typography — Base --- */
    --font-size-base:   1rem;           /* = 18px */
    --line-height-body: 1.7;
    --line-height-heading: 1.15;

    /* --- Typography — Heading Scale (fluid) --- */
    --fs-h1:        clamp(1.778rem, 4vw, 3rem);         /* 32px -> 54px */
    --fs-h2:        clamp(1.444rem, 3.2vw, 2.333rem);   /* 26px -> 42px */
    --fs-h3:        clamp(1.222rem, 2.5vw, 1.778rem);   /* 22px -> 32px */
    --fs-h4:        clamp(1.111rem, 2vw, 1.333rem);     /* 20px -> 24px */
    --fs-h5:        clamp(1rem, 1.4vw, 1.111rem);       /* 18px -> 20px */
    --fs-h6:        clamp(0.889rem, 1.1vw, 1rem);       /* 16px -> 18px */

    /* --- Typography — Display / Hero (fluid) --- */
    --fs-display:       clamp(2rem, 5vw, 4rem);           /* 36px -> 72px */
    --fs-display-lg:    clamp(2.222rem, 6vw, 4.667rem);   /* 40px -> 84px */
    --fs-display-xl:    clamp(2.5rem, 7vw, 5.3rem);       /* 45px -> 84.8px */
    --fs-display-md:    clamp(2rem, 4vw, 3rem);           /* 36px -> 54px */

    /* --- Typography — Body Scale --- */
    --fs-lead:      clamp(1rem, 1.6vw, 1.222rem);   /* 18px -> 22px */
    --fs-body:      1rem;       /* 18px — default body */
    --fs-small:     0.833rem;   /* 15px — captions, meta */
    --fs-label:     0.722rem;   /* 13px — eyebrow labels, nav utility */

    /* --- Spacing --- */
    --space-xs:   0.5rem;
    --space-sm:   1rem;
    --space-md:   1.5rem;
    --space-lg:   2.5rem;
    --space-xl:   4rem;
    --space-xxl:  6rem;

    /* --- Radius --- */
    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-pill: 50px;

    /* --- Transitions --- */
    --transition-base: 0.22s ease;
    --transition-slow: 0.35s ease;

    /* --- Shadows --- */
    --shadow-sm:  0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md:  0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg:  0 8px 40px rgba(0, 0, 0, 0.16);
}


.fs-display-lg {font-size: var(--fs-display-lg);}
.fs-display-xl {font-size: var(--fs-display-xl);}
.fs-display-md {font-size: var(--fs-display-md);}

/* 
   3. RESET & BASE
    */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;        /* Base — all rem values reference this */
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: var(--fw-regular);
    font-size: var(--fs-body);
    line-height: var(--line-height-body);
    color: var(--color-body-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* 
   4. HEADINGS
    */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: var(--fw-medium);      /* Default: Medium (500) */
    line-height: var(--line-height-heading);
    color: var(--color-body-text);
    letter-spacing: -0.01em;
}

h1 { font-size: var(--fs-h1); font-weight: var(--fw-bold); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); }
h6 { font-size: var(--fs-h6); }

/* Heading on dark backgrounds */
.dark h1, .dark h2, .dark h3,
.dark h4, .dark h5, .dark h6,
.bg-dark h1, .bg-dark h2, .bg-dark h3,
.bg-dark h4, .bg-dark h5, .bg-dark h6 {
    color: var(--color-white);
}


/* 
   5. DISPLAY / HERO TYPOGRAPHY
    */

/* Standard display heading — hero sections */
.text-display {
    font-family: var(--font-heading);
    font-size: var(--fs-display);
    font-weight: var(--fw-extrabold);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--color-white);
}

/* Large display variant */
.text-display-lg {
    font-family: var(--font-heading);
    font-size: var(--fs-display-lg);
    font-weight: var(--fw-extrabold);
    line-height: 1.0;
    letter-spacing: -0.025em;
    color: var(--color-white);
}

/* Inline cyan highlight — used within display headings
   Usage: <h1 class="text-display">Keeping people <span class="text-highlight">moving.</span></h1> */
.text-highlight {
    color: var(--color-brand-cyan);
}

/* Mixed weight within a heading — bold word within medium heading
   Usage: wrap a word in <span class="fw-bold"> or <span class="fw-extrabold"> */
.fw-medium    { font-weight: var(--fw-medium); }
.fw-bold      { font-weight: var(--fw-bold); }
.fw-extrabold { font-weight: var(--fw-extrabold); }


/* 
   6. BODY COPY & PARAGRAPH UTILITIES
    */

p {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    font-weight: var(--fw-regular);
    line-height: var(--line-height-body);
    color: var(--color-body-text);
    margin-bottom: var(--space-md);
}

/*p:last-child {
    margin-bottom: 0;
}
*/
/* Lead paragraph — intro text, about page opening copy */
.text-lead {
    font-size: var(--fs-lead);
    font-weight: var(--fw-regular);
    line-height: 1.6;
    color: var(--color-body-text);
}

/*
   7. SECTION SPACING
*/

.site-band {
    padding-top: clamp(3rem, 5vw, 5rem);
    padding-bottom: clamp(3rem, 5vw, 5rem);
}

.site-band-top {
    padding-top: clamp(3rem, 5vw, 5rem);
}

.site-band-bottom {
    padding-bottom: clamp(3rem, 5vw, 5rem);
}

.site-band-sm {
    padding-top: clamp(2rem, 3vw, 3rem);
    padding-bottom: clamp(2rem, 3vw, 3rem);
}

.site-band-lg {
    padding-top: clamp(4rem, 7vw, 7rem);
    padding-bottom: clamp(4rem, 7vw, 7rem);
}

/* Small text — captions, post dates, meta */
.text-small {
    font-size: var(--fs-small);
    line-height: 1.5;
}

/* Eyebrow / section label — e.g. "ABOUT US", "OUR SERVICES" */
.text-label {
    font-family: var(--font-body);
    font-size: var(--fs-label);
    font-weight: var(--fw-bold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-brand-cyan);
}

/* Muted / secondary text */
.text-muted {
    color: var(--color-muted);
}

/* Text colour utilities */
.text-white  { color: var(--color-white); }
.text-dark   { color: var(--color-dark); }
.text-cyan   { color: var(--color-brand-cyan); }

/* Alignment */
.text-left   { text-align: left; }
.text-center { text-align: center; }
.text-right  { text-align: right; }

/* Dark background body copy override */
.dark p,
.bg-dark p {
    color: rgba(255, 255, 255, 0.85);
}

.dark .text-muted,
.bg-dark .text-muted {
    color: rgba(255, 255, 255, 0.55);
}


/* 
   7. INLINE & BODY LINKS
    */

a {
    color: var(--color-brand-cyan);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover,
a:focus {
    color: var(--color-brand-cyan-dark);
    text-decoration: underline;
}

/* Article / prose body link */
.prose a,
.entry-content a {
    color: var(--color-brand-cyan);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: color var(--transition-base);
}

.prose a:hover,
.entry-content a:hover {
    color: var(--color-brand-cyan-dark);
}

/* Breadcrumb / nav utility link */
.link-muted {
    color: var(--color-muted);
    font-size: var(--fs-small);
    transition: color var(--transition-base);
}

.link-muted:hover {
    color: var(--color-brand-cyan);
    text-decoration: none;
}

/* Read more / article link — "Read article >" */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    font-family: var(--font-body);
    font-size: var(--fs-small);
    font-weight: var(--fw-bold);
    color: var(--color-brand-cyan);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: gap var(--transition-base), color var(--transition-base);
}

.link-arrow::after {
    content: '›';
    font-size: 1.2em;
    line-height: 1;
    transition: transform var(--transition-base);
}

.link-arrow:hover {
    color: var(--color-brand-cyan-dark);
    gap: 0.5em;
    text-decoration: none;
}

.link-arrow:hover::after {
    transform: translateX(3px);
}


/* 
   8. BLOCK LINKS (BUTTONS) — .bl
   Usage: <a class="bl cyan">Book Now</a>
          <a class="bl dark">Book Now</a>
          <a class="bl white">Book Now</a>

   Normal state: pill, 1px border, no icon.
   Hover state:  filled circle + chevron slides in from left, fades up on right.
    */

/* --- Base — structure, spacing, typography only. No colours here. --- */
.bl,
.ol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: var(--fw-bold);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 1;
    padding: 20px 30px;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    transition:
        background-color var(--transition-base),
        color var(--transition-base),
        border-color var(--transition-base),
        padding-right var(--transition-base);
}

/* Chevron circle — hidden by default, slides in on hover */
.bl::after,
.ol::after {
    content: '\203A';               /* › single right chevron */
    position: absolute;
    right: 0.6em;
    top: 50%;
    transform: translate(-12px, -50%);
    opacity: 0;
    width: 1.6em;
    height: 1.6em;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1em;
    line-height: 1.6em;
    text-align: center;
    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}

/* On hover — expand right padding to make room, slide circle in */
.bl:hover,
.ol:hover {
    text-decoration: none;
    padding-right: 3.2em;
}

.bl:hover::after,
.ol:hover::after {
    transform: translate(0, -50%);
    opacity: 1;
}

.bl:active,
.ol:active {
    opacity: 0.85;
}


/* 
   8a. BLOCK LINK COLOUR VARIANTS — .bl
    */

/* Cyan filled — dark text. Use on dark or image backgrounds */
.bl.cyan {
    background-color: var(--color-brand-cyan);
    color: var(--color-dark);
    border-color: var(--color-brand-cyan);
}

.bl.cyan:hover,
.bl.cyan:focus-visible {
    background-color: var(--color-dark);
    border-color: var(--color-dark);
    color: var(--color-white);
}

.bl.cyan:hover::after,
.bl.cyan:focus-visible::after {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

.bl.cyan::after {
    background-color: rgba(0, 0, 0, 0.15);
    color: var(--color-dark);
}

/* Dark filled — white text. Use on light backgrounds */
.bl.dark {
    background-color: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
}

.bl.dark:hover {
    background-color: #0d1320;
    border-color: #0d1320;
}

.bl.dark::after {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}

/* White filled — dark text. Use on cyan backgrounds */
.bl.white {
    background-color: var(--color-white);
    color: var(--color-dark);
    border-color: var(--color-white);
}

.bl.white:hover {
    background-color: var(--color-light-bg);
    border-color: var(--color-light-bg);
}

.bl.white::after {
    background-color: rgba(0, 0, 0, 0.08);
    color: var(--color-dark);
}


/* 
   9. OUTLINE LINKS — .ol
   Usage: <a class="ol white">Learn More</a>
          <a class="ol cyan">Learn More</a>
          <a class="ol dark">Learn More</a>

   Normal state: pill, 1px border, transparent background.
   Hover: same slide-in chevron. Background fills on hover.
    */

.ol {
    background-color: transparent;
    border-color: currentColor;
}

/* White outline → fills white on hover. Use on dark or image backgrounds */
.ol.white {
    color: var(--color-white);
    border-color: var(--color-white);
}

.ol.white:hover {
    background-color: var(--color-white);
    color: var(--color-dark);
}

.ol.white::after {
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--color-dark);
}

/* Cyan outline → fills cyan on hover. Use on light backgrounds */
.ol.cyan {
    color: var(--color-brand-cyan);
    border-color: var(--color-brand-cyan);
}

.ol.cyan:hover {
    background-color: var(--color-brand-cyan);
    color: var(--color-dark);
}

.ol.cyan::after {
    background-color: rgba(0, 0, 0, 0.12);
    color: var(--color-dark);
}

/* Dark outline → fills dark on hover. Use on light backgrounds */
.ol.dark {
    color: var(--color-dark);
    border-color: var(--color-dark);
}

.ol.dark:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.ol.dark::after {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
}


/* 
   10. SECTION BACKGROUNDS
    */

.bg-white      { background-color: var(--color-white); }
.bg-light      { background-color: #f2f2f2 !important; }
.bg-dark       { background-color: var(--color-dark); }
.bg-dark-alt   { background-color: var(--color-dark-alt); }
.bg-cyan       { background-color: var(--color-brand-cyan); }
.bg-grey {}

/* 
   11. RESPONSIVE TYPOGRAPHY — REFINEMENTS
    */

/* ---- 768px ---- */
@media (max-width: 768px) {
    .text-display,
    .text-display-lg {
        letter-spacing: -0.015em;
    }
}

/* ---- 576px ---- */
@media (max-width: 576px) {
    /* Full-width buttons on mobile */
    .bl,
    .ol {
        width: 100%;
        justify-content: center;
    }
}

.bgimg .vc_column-inner {
	height: 100%;
	min-height: 300px;
}

/* Homepage */

#topbar {
    background-color: #262626;
    color: #fff;
    padding: 10px 0;
}

header {
    position: relative;    
}

@media (min-width: 992px) {
    header {
        position: absolute;
        top: 0;
        z-index: 20;
        width: 100%;
    }
}

.mega-menu-item p {
    color: #fff;
}

#page-title {
    color: #fff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#page-title h1 {color: #fff;}

.breadcrumb {margin: 0px;}
.breadcrumb li:after {
    content: "/";
    padding: 0 10px;
}.breadcrumb li:last-child:after {
    content: "";
    padding: 0px;
}
.breadcrumb a {
    color: var(--color-brand-cyan);
    font-weight: 600;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: none;
}

.subtitle {
    color: var(--color-brand-cyan);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 14px;
}

#page-title .page-title-inner {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 250px 0 10vh 0;
}

#hero-section {
    position: relative;
    color: #fff !important;
    padding-top: 0px;
}

@media (min-width: 992px) {
    #hero-section {
        position: relative;
        color: #fff !important;
        padding-top: 160px;
    }
}
.vc_parallax-inner::before {
    content: "";
    display: block;
    position: absolute;
    background-color: rgba(0,0,0,0.5);
    width: 100%;
    height: 100%;
}

#hero-section h1 {
    font-size: var(--fs-display-lg);
    color: #fff;
}

#hero-section p {color: #fff;}

#hero-section h1 b {
    color: var(--color-brand-cyan);
}

#intro-block > .vc_column-inner {
    padding: 30px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

#intro-block {
    position: relative;
}


.intro-block-inner {
    background: #fff;
    background: linear-gradient(0deg,rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 50%);
}

#intro-block h2 {
    font-size: var(--fs-display-md);
}

/* Shared enquiry controls for the hero questionnaire and CF7 landing form. */
.enquiry-form {
    color: var(--color-body-text);
}
.enquiry-form label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-md);
}
.enquiry-form :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
    display: block;
    width: 100%;
    min-height: 52px;
    margin-top: var(--space-xs);
    padding: 12px 14px;
    border: 1px solid #727b85;
    border-radius: 8px;
    background: var(--color-white);
    color: var(--color-body-text);
    font: inherit;
    font-weight: 400;
}
.enquiry-form textarea { min-height: 140px; resize: vertical; }
.enquiry-form p > label { margin-bottom: 0; }
.enquiry-honeypot { display: none; }
.enquiry-form :is(input, select, textarea):focus-visible {
    outline: 3px solid var(--color-dark);
    outline-offset: 3px;
}
.enquiry-form .wpcf7-acceptance label { font-weight: 400; }
.enquiry-form .wpcf7-list-item { margin-left: 0; }
.enquiry-form input[type="checkbox"] { margin-right: 8px; accent-color: var(--color-dark); }
.enquiry-form .wpcf7-not-valid-tip { color: #a52020; font-size: .9rem; }
.enquiry-form .wpcf7-response-output { margin: 24px 0 0; padding: 16px; border-radius: 8px; }
.enquiry-form .wpcf7 form.sent .wpcf7-response-output { border-color: #24704a; }
.enquiry-form .wpcf7 form :is(.bl, .ol) { cursor: pointer; }
#intro-block, #intro-block p, #intro-block h2, #intro-block .ql-questionnaire { color: var(--color-white); }
.enquiry-reading li a { color: var(--color-body-text); text-decoration: underline; text-underline-offset: .2em; }
.enquiry-reading li a:hover { color: #006b80; }

#image-block .intro-team-img {
    position: relative !important;
    display: block;
    margin: -150px 0 -30px 0;
}


/**/

#large-cta {
    background-color: var(--color-brand-cyan);
}

#large-cta h2 {
    font-size: var(--fs-display-md);
}

#large-cta h2 b {
    color: #fff;
}

#counters {
    background: #00BFDF;
    background: linear-gradient(180deg,rgba(0, 191, 223, 1) 50%, rgba(255, 255, 255, 0) 50%);
}

.blue-block > .vc_column-inner {
    padding: 30px;
    border-radius: 20px;
    background-color: var(--color-brand-cyan);
}

#corporate {
    background: #F2F2F2;
background: linear-gradient(0deg,rgba(242, 242, 242, 1) 50%, rgba(255, 255, 255, 0) 50%);
}

#news {
    overflow: hidden;
}

#mission p,
#corporate p {
    color: #fff;
}

/* This full-width section has no container gutters to cancel. */
#page-footer.vc_section,
#team.vc_section {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}

#ftr-stars {
    background-color: #262626;
    padding: 20px 0;
    color: #fff !important;
}
#ftr-stars p {
    color: #fff;
    font-size: 20px;
}

#ftr-stars i, #ftr-stars svg, .review-strip i, .review-strip svg {
    color: #ffd24e;
}

#ftr-cta {
    background-image: url('/wp-content/uploads/2026/05/footer-bg.png');
    background-position: right bottom;
    background-repeat: no-repeat;
}

#ftr-links {
    margin-bottom: 30px;
}

#ftr-smallprint {
    padding: 20px 0;
}

.footer-brand {
    margin-bottom: 100px !important;
}

#topbar {}
#topbar p {
    color: #fff;
    font-size: 13px;
}

footer .menu {
    margin: 0px;
    margin-bottom: 20px;
    padding: 0px;
    list-style-type: none;
}

footer .menu li {
    margin-bottom: 10px;
}

footer .menu li a {
    text-decoration: none;
    color: #000;
    padding: 0px;
    transition: padding ease 0.3s;
}

footer .menu li a:hover {
    text-decoration: none;
    color: #000;
    padding: 0 0 0 10px;
    border-left: 2px solid var(--color-brand-cyan);
    transition: padding ease 0.3s;
}

#team,
#large-cta,
.highlight-bg > .vc_column-inner {
    background-image: url('/wp-content/uploads/2026/05/highlight-bg.png');
    background-position: right;
    background-repeat: no-repeat;
    background-size: 50%;
}

#team {
    background-color: var(--color-brand-cyan);
}

#team p {color: #fff;}

.corp-menu .mega-menu-item-type-widget {
    background-color: #262626;
    padding: 20px;
}

/* Existing child overrides */




.vc_video-bg {z-index: -2;}
/* Motion footer FAQ */
/* Basic styling for FAQ items */
#ftr-faq .faq-list {
	margin: 0;
	padding: 0;
}

#ftr-faq .faq-item + .faq-item {
	margin-top: 14px;
}

#ftr-faq .faq-item {
	border: 1px solid #40c4ff;
	background-color: #fff;
	border-radius: 10px;
	overflow: hidden;
}

#ftr-faq .faq-question {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 24px;
	border: 0;
	background: transparent;
	font-size: 1.1rem;
	font-weight: 600;
	text-align: left;
}

#ftr-faq .faq-icon {
	flex: 0 0 auto;
	font-size: 1.5rem;
	line-height: 1;
	color: #40c4ff;
}

#ftr-faq .faq-answer {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	padding: 0 24px;
	transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
}

#ftr-faq .faq-item.is-open .faq-answer {
	opacity: 1;
	padding: 0 24px 22px;
}

/* Brand defaults consumed by reusable Quicklaunch components. */
:root { --color-component-cyan: #12b8e6; --ql-icon-focus-ring: rgba(18,184,230,0.15); --ql-team-social-hover-bg: rgba(0,191,223,0.14); }

/* Let a sole icon card fill its existing stretched grid column. */
.vc_column-inner:has(> .wpb_wrapper > .ql-icon-block:only-child) {
    display: flex;
    height: 100%;
}

.vc_column-inner > .wpb_wrapper:has(> .ql-icon-block:only-child) {
    display: flex;
    flex: 1;
    min-width: 0;
}

.vc_column-inner > .wpb_wrapper > .ql-icon-block:only-child {
    flex: 1;
    min-width: 0;
}

/* Keep adjacent builder text/actions in the same rhythm as prose paragraphs.
   Preserve explicit spacing saved in WPBakery Design Options. */
.wpb_wrapper > .wpb_text_column:not([class*="vc_custom_"]) + .wpb_text_column {
    margin-top: var(--space-md);
}
.wpb_wrapper > .wpb_text_column + :is(.vc_btn3-container, .enquiry-reading):not([class*="vc_custom_"]) {
    margin-top: var(--space-md);
}
.vc_row.vc_inner.content-panel {
    margin: 0;
    padding: clamp(24px, 3vw, 40px) 12px;
    border-radius: 18px;
}
.content-panel.text-white :is(h2, h3, p, a:not(.bl):not(.ol)) { color: inherit; }
.content-panel a:not(.bl):not(.ol) { text-decoration: underline; text-underline-offset: .2em; }
@media (min-width: 992px) {
    .sticky-panel > .vc_column-inner { position: sticky; top: 24px; }
}
.wpb_wrapper > .vc_custom_heading:has(+ .wpb_text_column) {
    margin-bottom: var(--space-md);
}

/* Reserve the footer artwork for the open side of the CTA. */
#ftr-cta {
    background-size: auto 100%;
}
@media (max-width: 991px) {
    #ftr-cta {
        background-image: none;
    }
}

/* Keep the basic grid's item gutters inside its box so cards cannot cover
   following links. WPBakery's negative bottom margin otherwise overlaps them. */
.vc_grid-container.vc_basic_grid > .vc_grid.vc_row {
    margin-bottom: 0;
}

.bl:focus-visible,
.ol:focus-visible {
    outline: 2px solid var(--color-dark);
    outline-offset: 4px;
    box-shadow: 0 0 0 4px var(--color-white);
    text-decoration: none;
}

/* The homepage hero has no visible background playback control. */
#hero-section .ql-background-toggle {
    display: none;
}

/* Reusable editorial checklist and review summary. */
.list-check, .list-check .wpb_wrapper > ul { list-style: none; padding-left: 0; }
.list-check > li, .list-check .wpb_wrapper > ul > li { position: relative; padding-left: 26px !important; }
.list-check > li::before, .list-check .wpb_wrapper > ul > li::before { content: '\2713'; position: absolute; left: 0; color: #007b91; font-weight: 700; }
.list-check .wpb_wrapper > ul > li { padding-top: 8px; padding-bottom: 8px; border-bottom: 1px solid #dee2e6; }
.review-summary, .vc_row.vc_inner.review-summary { max-width: 680px; margin: 32px auto 0; padding: 32px 24px; border-radius: 18px; background: var(--color-light-bg); text-align: center; }
.review-summary .review-stars { color: #906600; font-size: 24px; letter-spacing: 5px; margin-bottom: 8px; }
.review-summary a { color: var(--color-body-text); }

/* Reusable linked cards built from native WPBakery headings and text. */
.navigation-card { margin-bottom: 24px; display: flex; }
.navigation-card > .vc_column-inner { display: flex; width: 100%; }
.navigation-card > .vc_column-inner > .wpb_wrapper {
    position: relative; width: 100%; padding: 28px 24px;
    border-radius: 18px; background: var(--color-white);
    transition: background-color .15s ease;
}
.navigation-card .text-label { color: #007f96; padding-right: 32px; margin-bottom: 24px; }
.navigation-card .vc_custom_heading:not(.text-label) { color: inherit; font-size: 1.3rem; font-weight: 600; line-height: 1.25; margin-bottom: 12px; }
.navigation-card .vc_custom_heading a { color: inherit; text-decoration: none; }
.navigation-card .vc_custom_heading a::after { content: ''; position: absolute; inset: 0; border-radius: 18px; }
.navigation-card > .vc_column-inner > .wpb_wrapper::after { content: '\2197'; position: absolute; top: 26px; right: 24px; color: #007f96; pointer-events: none; }
.navigation-card .wpb_text_column p { color: inherit; font-size: .875rem; line-height: 1.6; margin-bottom: 0; }
.navigation-card .wpb_text_column { margin-bottom: 0; }
.navigation-card > .vc_column-inner > .wpb_wrapper:hover,
.navigation-card > .vc_column-inner > .wpb_wrapper:focus-within { background: var(--color-brand-cyan); color: var(--color-dark); }
.navigation-card a:focus-visible { outline: none; }
.navigation-card a:focus-visible::after { outline: 3px solid var(--color-brand-cyan-dark); outline-offset: 4px; }
.navigation-card-dark > .vc_column-inner > .wpb_wrapper { background: #242424; color: var(--color-white); padding-right: 56px; }
.navigation-card-dark .vc_custom_heading:not(.text-label) { margin-bottom: 0; }
.navigation-card-dark > .vc_column-inner > .wpb_wrapper::after { color: var(--color-brand-cyan); }
.navigation-card-dark > .vc_column-inner > .wpb_wrapper:hover::after,
.navigation-card-dark > .vc_column-inner > .wpb_wrapper:focus-within::after { color: var(--color-dark); }
@media (prefers-reduced-motion: reduce) {
    .navigation-card > .vc_column-inner > .wpb_wrapper { transition: none; }
}
.vc_row.vc_inner:has(> .navigation-card) { margin-left: 0; margin-right: 0; }
@media (max-width: 991px) {
    .vc_row.vc_inner.vc_row-fluid > .navigation-card.col-lg-3 { width: 50%; max-width: 50%; flex: 0 0 50%; }
}
@media (max-width: 575px) {
    .navigation-card { padding-left: 6px; padding-right: 6px; margin-bottom: 12px; }
    .navigation-card > .vc_column-inner > .wpb_wrapper { padding: 22px 14px; }
    .navigation-card .vc_custom_heading:not(.text-label) { font-size: 1.125rem; }
    .navigation-card .text-label { font-size: .65rem; padding-right: 16px; letter-spacing: .07em; }
    .navigation-card > .vc_column-inner > .wpb_wrapper::after { right: 12px; top: 20px; }
    .navigation-card-dark > .vc_column-inner > .wpb_wrapper { padding-right: 40px; }
}

/* Primary option in a reusable contact/navigation card group. */
.navigation-card-cyan > .vc_column-inner > .wpb_wrapper { background: var(--color-brand-cyan); }
.navigation-card-cyan .text-label,
.navigation-card-cyan > .vc_column-inner > .wpb_wrapper::after { color: var(--color-dark); }
.navigation-card-cyan > .vc_column-inner > .wpb_wrapper:hover,
.navigation-card-cyan > .vc_column-inner > .wpb_wrapper:focus-within { background: var(--color-dark); color: var(--color-white); }
.navigation-card-cyan > .vc_column-inner > .wpb_wrapper:hover .text-label,
.navigation-card-cyan > .vc_column-inner > .wpb_wrapper:focus-within .text-label,
.navigation-card-cyan > .vc_column-inner > .wpb_wrapper:hover::after,
.navigation-card-cyan > .vc_column-inner > .wpb_wrapper:focus-within::after { color: var(--color-white); }

/* Outline interaction for secondary navigation choices. */
.navigation-card-outline > .vc_column-inner > .wpb_wrapper:hover,
.navigation-card-outline > .vc_column-inner > .wpb_wrapper:focus-within {
    background: var(--color-white);
    color: var(--color-body-text);
    box-shadow: inset 0 0 0 2px var(--color-brand-cyan);
}
