/**********
SITEWIDE STYLES
**********/

:root {
    --primary-text: #0a0a0a;
    --white: #fff;

    --primary: #9fb8a5;
    --primary-alt: #003223;

    --secondary: #b1b9b3;
    --secondary-alt: #9fb8a5;

    --accent: #bd4b27;

    --bgblockone: #f5f5f5;
    --bgblocktwo: #fff;

    --transparent: rgba(0,0,0,0);

    --font-heading: 'Newsreader', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

body {
    color: #444;
    line-height: 1.7;
    font-size: 1.5rem;
    font-weight: 400;
    font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 4.2rem;
}
h2 {
    font-size: 3rem;
}
h3 {
    font-size: 2.5rem;
}
h4 {
    font-size: 2rem;
}
h5 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
h6 {
    font-size: 1.2rem;
}

.txt-primary {
    color: var(--primary);
}

::-moz-selection {
    background: var(--primary);
    color: var(--white);
}

::selection {
    background: var(--primary);
    color: var(--white);
}

.text-white {
    color: #fff;
}

* {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

p:last-of-type {
    margin-bottom: 0;
}

/* BLOG */
.featured-image img {
    object-fit: cover;
    transform: scale(1);
    transition: -webkit-transform 300ms ease;
    transition: transform 300ms ease;
    transition: transform 300ms ease;
    -webkit-transform: 300ms ease;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: absolute;
}

.featured-image img:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.featured-image {
    overflow: hidden;
    padding-top: 60%;
    margin-bottom: 0.625rem;
    position: relative;
}

.placeholder-image i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.5rem;
    color: var(--dark);
}

.featured-image .placeholder-image {
    position: absolute;
    width: 100%;
    background-color: #e1e1e1;
    height: 100%;
    text-align: center;
}

.breadcrumbs i {
    font-size: 0.6875rem;
    position: relative;
    top: -0.06875rem;
}

/**********
BUTTON    
**********/
.btn {
    background-color: transparent;
    box-shadow: none !important;
    padding: 1.3rem 3rem;
    transition: all .15s ease-in-out;
    border-radius: 0.25rem;
    text-transform: uppercase;
    border-width: 0;
    font-size: 1.6rem;
    font-weight: 600;
    border-style: solid;
}

.btn-small {
    font-size: 0.9rem;
    padding: 0.4375rem 1.25rem;
}

.btn.btn-primary {
    font-weight: bold;
    background-color: var(--primary);
    color: var(--white);
    position: relative;
    border-width: 0;
    border-style: solid;
}

.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active {
    background-color: var(--primary-alt);
    color: var(--white);
}

.form-container .frm_form_fields .frm_fields_container .frm_submit .frm_button_submit {
    font-weight: bold;
    background-color: var(--accent);
    color: #fff;
    position: relative;
    border-width: 0;
    border-style: solid;
}

.form-container .frm_form_fields .frm_fields_container .frm_submit .frm_button_submit:hover,
.form-container .frm_form_fields .frm_fields_container .frm_submit .frm_button_submit:focus,
.frm_button_submit:active {
    background-color: var(--secondary-alt);
    color: #fff;
}

.btn.btn-secondary {
    background-color: var(--secondary);
    color: #fff;
}

.btn.btn-secondary:hover,
.btn.btn-secondary:focus,
.btn.btn-secondary:active {
    background-color: var(--secondary-alt);
    border: 0 solid var(--transparent);
    color: var(--white);
}

.btn.btn-white {
    color: var(--primary);
    background-color: var(--white);
    opacity: 1;
}

.btn.btn-white:hover,
.btn.btn-white:focus,
.btn.btn-white:active {
    opacity: .6;
}

.btn.btn-outline-white {
    border: 1px solid #fff;
    color: #fff;
}

.btn.btn-outline-white:hover {
    border: 1px solid var(--primary);
    background-color: var(--primary);
    color: #fff;
}

/* DEFAULTS */
.object-fit-cover {
    object-position: center;
}

.list-style-none {
    list-style-type: none;
}

.nav ul {
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.nav ul li {
    display: inline-block;
}

.transition {
    transition: all 0.3s ease;
}

.bgcover {
    background-size: cover;
    background-position: center;
}

section.block {
    padding: 6.25rem 0;
}

.box-overlay:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.aspect-ratio-1 {
    aspect-ratio: 1;
}

.bradius {
    border-radius: 0.1875rem;
}

blockquote {
    padding: 0.8125rem 1.875rem 0.8125rem 1.875rem;
    border-left: 3px solid var(--primary);
    margin: 0.9375rem 0;
    font-style: italic;
    font-weight: 500;
}

/* DEFAULT GRAVITY FORMS */
.gform_wrapper.gravity-theme .gform_validation_errors {
    padding: 1.25rem 1.25rem 0.625rem;
    text-align: center;
    margin-bottom: 1.25rem;
}

.gform_wrapper.gravity-theme .gform_validation_errors>h2 {
    font-size: 1.6rem;
    font-weight: 700;
}

.gform_wrapper.gravity-theme .gfield_validation_message,
.gform_wrapper.gravity-theme .validation_message {
    border-radius: 0.625rem;
    font-weight: bold;
    margin-top: 0.75rem;
}

.gform_wrapper .gform_footer input.gform_button {
    border: 2px solid var(--primary) !important;
    padding: 1rem 3.75rem !important;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    background-color: transparent;
    margin: 0 auto;
    transition: 0.3s all ease;
}

.gform_wrapper .gform_footer input.gform_button:hover {
    background-color: var(--primary);
    color: #fff;
}

.gform_wrapper textarea {
    height: 7.5rem;
    margin-top: 0.3125rem;
    border: 1px solid #e1e1e1;
}

.gform_wrapper.gravity-theme .gfield textarea:focus {
    outline: 0;
    border-color: var(--primary) !important;
}

.gform_wrapper select {
    border-color: #e1e1e1;
    padding: 1.125rem 0.9375rem;
    outline: 0 !important;
}

.gform_wrapper input {
    border: 1px solid #e1e1e1;
    line-height: 1;
}

.gform_wrapper.gravity-theme input[type=color],
.gform_wrapper.gravity-theme input[type=date],
.gform_wrapper.gravity-theme input[type=datetime-local],
.gform_wrapper.gravity-theme input[type=datetime],
.gform_wrapper.gravity-theme input[type=email],
.gform_wrapper.gravity-theme input[type=month],
.gform_wrapper.gravity-theme input[type=number],
.gform_wrapper.gravity-theme input[type=password],
.gform_wrapper.gravity-theme input[type=search],
.gform_wrapper.gravity-theme input[type=tel],
.gform_wrapper.gravity-theme input[type=text],
.gform_wrapper.gravity-theme input[type=time],
.gform_wrapper.gravity-theme input[type=url],
.gform_wrapper.gravity-theme input[type=week],
.gform_wrapper.gravity-theme select,
.gform_wrapper.gravity-theme textarea {
    padding: 0.9375rem 0.9375rem !important;
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid #D3DEE2;
    transition: all 0.3s ease;
}

.gform_wrapper.gravity-theme input:focus {
    border-color: var(--primary);
}

.gform_validation_error.gform_wrapper.gravity-theme .gform_validation_errors {
    padding: 1rem;
    border-radius: 0;
}

.gform_validation_error.gform_wrapper.gravity-theme .gfield_validation_message,
.gform_wrapper.gravity-theme .validation_message {
    border-radius: 0;
    font-size: 0.8125rem;
    background-color: transparent;
    border: revert-layer;
    padding: 0;
}

.gform_wrapper.gravity-theme form .gform_footer,
.gform_wrapper.gravity-theme form .gform_page_footer {
    padding-bottom: 0;
}

/* MOBILE NAV */
.navbar-toggler[aria-expanded="false"] .navbar-toggler-icon {
    background: url(./images/icons/nav-closed.svg);
    background-position: center center;
    background-repeat: no-repeat;
}

.navbar-toggler .navbar-toggler-icon {
    width: 1.875rem;
    height: 1.875rem;
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    background-image: var(--bs-navbar-toggler-icon-bg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

/* -------------------------
NEW STYLES HERE 
------------------------- */

/*------------------------------------*\
    HOME HERO SLIDER
\*------------------------------------*/
/* Brand tokens copied from pittville.co.uk */
:root {
    --nuvo-accent: #829a89;
    --nuvo-main:   #1d1c23;
    --nuvo-slate:  #b1b9b3;
}

#homehero { overflow: hidden; position: relative; }
#homehero .homehero-slider { line-height: 0; }
#homehero .hero-slide { position: relative; }

/* Banner: 840px desktop, dark overlay — matches #bannerarea .banner */
#homehero .hero-banner {
    position: relative;
    width: 100%;
    height: clamp(400px, 58vw, 840px);
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    overflow: hidden;
}
#homehero .hero-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.45);
    opacity: 0.9;
    z-index: 0;
}

/* Caption: centred, anchored ~160px from the bottom */
#homehero .hero-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: clamp(40px, 12vw, 160px);
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    text-align: center;
}
#homehero .hero-caption-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    gap: 0;
    line-height: 1;
}
#homehero .caption-line {
    display: block;
    width: 100%;
    line-height: 1.2;
    text-shadow: 0.5px 0.5px 1px #000;
}
/* Line one: accent green, Newsreader */
#homehero .caption-one {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--nuvo-accent);
    letter-spacing: -2px;
    font-size: clamp(36px, 5.5vw, 80px);
}
/* Line two: white, turbinado-pro script (Typekit) */
#homehero .caption-two {
    font-family: 'turbinado-pro', var(--font-body);
    font-weight: 300;
    color: #fff;
    letter-spacing: 2px;
    font-size: clamp(36px, 5.4vw, 78px);
}

/* Per-letter reveal: line one animates letter-by-letter, then line two
   (the cursive line) fades in. Delays are set per-slide in scripts.js.
   Uses keyframe animation (not transition) so it replays reliably each
   time slick makes a slide active. */
@keyframes heroFadeIn { from { opacity: 0; } to { opacity: 1; } }

#homehero .caption-one .ltr { display: inline-block; opacity: 0; }
#homehero .caption-two { opacity: 0; }
#homehero .hero-slide.is-animating .caption-one .ltr {
    animation: heroFadeIn .4s ease forwards;
}
#homehero .hero-slide.is-animating .caption-two {
    animation: heroFadeIn .9s ease forwards;
}

/* Nav arrows: accent circles with nuvocons glyphs, bottom corners */
#homehero .slick-prev, #homehero .slick-next {
    position: absolute;
    bottom: 14px;
    z-index: 3;
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background-color: var(--nuvo-accent);
    font-size: 0;
    transition: background-color .2s ease;
}
#homehero .slick-prev { left: 16px; }
#homehero .slick-next { right: 16px; }
#homehero .slick-prev:hover, #homehero .slick-next:hover { background-color: rgba(255,255,255,.7); }
#homehero .slick-prev:before, #homehero .slick-next:before {
    font-family: 'nuvocons' !important;
    font-size: 28px;
    line-height: 50px;
    color: rgba(255,255,255,.8);
    opacity: 1;
}
#homehero .slick-prev:before { content: "t"; }
#homehero .slick-next:before { content: "u"; }

/* Dots: wide bars, accent for the active tab */
#homehero .slick-dots {
    position: absolute;
    bottom: 40px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
#homehero .slick-dots li { margin: 0 1px; width: auto; height: auto; }
#homehero .slick-dots li button {
    width: 140px;
    height: 6px;
    padding: 0;
    text-indent: -9999px;
    background-color: var(--nuvo-slate);
    border: 0;
}
#homehero .slick-dots li button:before { display: none; }
#homehero .slick-dots li.slick-active button { background-color: var(--nuvo-accent); }

@media (max-width: 767px) {
    #homehero .slick-prev, #homehero .slick-next { display: none !important; }
    #homehero .slick-dots li button { width: 60px; }
}

/*------------------------------------*\
    HEADER (absolute, overlaying hero)
\*------------------------------------*/
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 20px 0;
    background: #fff;
    transition: box-shadow .3s ease;
}
.header.scrolled {
    /* Keep the padding constant so the sticky header never changes height
       (a height change reflows the page and makes scrolling jump). Only the
       shadow changes on scroll, so the header stays visually static. */
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
/* When logged in, pin the sticky header below the WP admin bar.
   The admin bar is 32px (fixed) on desktop, 46px (fixed) on tablet,
   and scrolls away (position:absolute) at <=600px — so there we use 0. */
.admin-bar .header { top: 32px; }
@media screen and (max-width: 782px) {
    .admin-bar .header { top: 46px; }
}
@media screen and (max-width: 600px) {
    .admin-bar .header { top: 0; }
}
.header .container {
    max-width: 1280px;
}
.header .logo-img {
    transform-origin: left center;
}
/* No size/scale/font changes on scroll — only the shadow above — so the
   sticky header stays visually static and never jumps as it pins/unpins. */
body { position: relative; }
.logo-img { filter: invert(1); }
/* A logo uploaded via Theme Settings is used as-is (no colour inversion) */
.logo-img--custom { filter: none; }

/*------------------------------------*\
    HEADER NAVIGATION (desktop)
\*------------------------------------*/
.header .nav { display: flex; justify-content: flex-end; }
.header-menu-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.header-menu-list li { position: relative; }
.header-menu-list a {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 15px;
    line-height: 1;
    letter-spacing: .2px;
    color: #2d2d2d;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease, font-size .3s ease;
}
.header-menu-list a:hover { color: var(--nuvo-accent); }
.header-menu-list .current-menu-item > a,
.header-menu-list .current-menu-ancestor > a {
    background-color: var(--primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
}
.header-menu-list .current-menu-item > a:hover,
.header-menu-list .current-menu-ancestor > a:hover {
    background-color: var(--primary);
    color: #fff !important;
}

/* Parent-with-dropdown caret — handled by .menu-item-has-children::after in mediaqueries.css */

/* Dropdown */
.header-menu-list .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin: 0;
    padding: 4px 0;
    min-width: max-content !important;
    list-style: none;
    background: rgba(29, 28, 35, .95);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
    z-index: 1000;
}
/* hide the current page from within the dropdown */
.header-menu-list .sub-menu .current-menu-item,
.header-menu-list .sub-menu .current_page_item {
    display: none;
}
.header-menu-list .menu-item-has-children.sub-menu-active > .sub-menu,
.header-menu-list .menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.header-menu-list .sub-menu li { display: block; }
.header-menu-list .sub-menu a {
    display: block;
    padding: 6px 16px;
    font-size: 14px;
    white-space: nowrap;
    color: #fff;
}
.header-menu-list .sub-menu a:hover { color: var(--nuvo-accent); }

/* Header search icon */
.header-search {
    display: inline-flex;
    align-items: center;
    margin-left: 20px;
    color: #2d2d2d;
    font-size: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color .2s ease;
}
.header-search:hover { color: var(--nuvo-accent); }

/* Mobile-nav chrome — hidden on desktop, shown via mediaqueries.css */
.burger { display: none; }
.nav-panel-head { display: none; }
.nav-overlay { display: none; }
.nav-search-form { display: none; }

/* Search dropdown below header */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #4E4F57;
    z-index: 999;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0;
}
.search-dropdown.open {
    max-height: 120px;
    padding: 20px 0;
}
.search-dropdown.hidden {
    max-height: 0;
    padding: 0;
}
.search-dropdown-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 20px;
    position: relative;
}
.search-dropdown-inner form {
    display: flex;
    flex: 1;
    gap: 10px;
}
.search-dropdown-inner .sb-search-input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #555;
    background: #333;
    color: #fff;
    font-family: var(--font-body);
    font-size: 15px;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s;
}
.search-dropdown-inner .sb-search-input::placeholder {
    color: #999;
}
.search-dropdown-inner .sb-search-input:focus {
    border-color: var(--primary);
}
.search-dropdown-inner .sb-search-submit {
    padding: 12px 28px;
    background-color: var(--primary);
    color: #fff;
    border: none;
    font-family: var(--font-body);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}
.search-dropdown-inner .sb-search-submit:hover {
    opacity: 0.9;
}
.search-dropdown-close {
    background: none;
    border: none;
    color: #999;
    font-size: 28px;
    cursor: pointer;
    padding: 0 0 0 15px;
    line-height: 1;
    transition: color 0.3s;
}
.search-dropdown-close:hover {
    color: #fff;
}

/*------------------------------------*\
    HOME INTRO BANNER
\*------------------------------------*/
.home-intro {
    background-color: var(--primary);
    padding: 5rem 0;
    text-align: center;
    color: #fff;
}
.home-intro-title {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: clamp(2.4rem, 4vw, 4.2rem);
    color: #fff;
    margin-bottom: 1.5rem;
}
.home-intro-text {
    max-width: 900px;
    margin: 0 auto;
    font-family: var(--font-body);
    font-size: 1.4rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
}

/*------------------------------------*\
    HOME GALLERY
\*------------------------------------*/
.home-gallery {
    background-color: #9FB8A6;
}
.home-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.home-gallery-item {
    position: relative;
    overflow: hidden;
    display: block;
    border-radius: 4px;
}
.home-gallery-thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.home-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.home-gallery-item:hover img {
    transform: scale(1.06);
}
.home-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.home-gallery-item:hover .home-gallery-overlay {
    opacity: 1;
}
@media (max-width: 991px) {
    .home-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}
@media (max-width: 575px) {
    .home-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/*------------------------------------*\
    HOME CTA BAR
\*------------------------------------*/
.home-cta-bar {
    background: #ededed;
    padding: 4.5rem 1.5rem;
    width: 100%;
}
.home-cta-inner {
    text-align: center;
}
.home-cta-heading {
    color: #333;
    font-weight: 600;
    margin-bottom: 1.25rem;
    font-size: 22px;
}
.home-cta-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}
.home-cta-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 0.5px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 16px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.home-cta-btn:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    color: #333;
}
.home-cta-btn--email {
    font-size: 13px;
    word-break: break-all;
}
.home-cta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    color: #fff;
    flex-shrink: 0;
}
.home-cta-label {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1;
}
.home-cta-sub {
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(51, 51, 51, 0.45);
    margin-bottom: 5px;
    line-height: 1;
}
@media (max-width: 575px) {
    .home-cta-buttons {
        grid-template-columns: 1fr;
    }
}

/*------------------------------------*\
    HOME TESTIMONIALS
\*------------------------------------*/
.home-testimonials {
    padding: 6rem 1.5rem;
    width: 100%;
    text-align: center;
    background: #ededed;
}
.home-testimonials-heading {
    font-size: 2.6rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 2rem;
}
.home-testimonial-slide {
    padding: 0 8px;
    height: auto;
}
.home-testcard {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 0.5px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    text-align: left;
}
.home-test-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 10px;
    color: var(--primary);
}
.home-test-stars svg {
    width: 28px;
    height: 28px;
    margin-left: -4px;
}
.home-testhead {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}
.home-testdesc,
.home-testdesc p {
    font-size: 14px;
    color: rgba(29, 28, 35, 0.6);
    line-height: 1.6;
    margin: 0 0 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.home-testauthor {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}
.home-testauthor-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.home-testauthor-name {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #333;
}
.home-testimonials-slider .slick-track {
    display: flex !important;
}
.home-testimonials-slider .slick-slide {
    height: auto;
}
.home-testimonials-slider .slick-slide > div {
    height: 100%;
}
.home-testimonials-slider .slick-slide > div > .home-testimonial-slide {
    height: 100%;
}
.home-test-arrows {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}
.home-test-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #fff;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, background 0.2s;
    padding: 0;
}
.home-test-arrow:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

/*------------------------------------*\
    HOME LATEST ARTICLES
\*------------------------------------*/
.home-articles {
    background-color: #fff;
}
.home-articles-heading {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 3rem;
}
.home-articles-slider .slick-slide {
    padding: 0 12px;
    height: auto;
}
.home-articles-slider .slick-track {
    display: flex;
}
.home-articles-slider .slick-slide > div {
    height: 100%;
}
.home-article-slide {
    height: 100%;
}
.home-articles-slider .slick-list {
    margin: 0 -12px;
}
.home-article-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s, transform 0.25s;
    height: 100%;
}
.home-article-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}
.home-article-img-wrap {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f0f0f0;
}
.home-article-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.home-article-card:hover .home-article-img-wrap img {
    transform: scale(1.04);
}
.home-article-img-placeholder {
    width: 100%;
    height: 100%;
    background: #e8e8e8;
}
.home-article-body {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.home-article-cats {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 0.7rem;
}
.home-article-cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    text-decoration: none;
}
.home-article-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.7rem;
    color: #333;
}
.home-article-title a {
    color: inherit;
    text-decoration: none;
}
.home-article-title a:hover {
    color: var(--primary);
}
.home-article-excerpt {
    font-size: 13px;
    color: rgba(0, 0, 0, 0.7);
    line-height: 1.6;
    margin: 0 0 1.2rem !important;
    flex: 1;
}
.home-article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    padding-top: 0.9rem;
    margin-top: auto;
}
.home-article-date {
    font-size: 11px;
    color: rgba(0, 0, 0, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.home-article-read {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}
.home-article-read:hover {
    color: #333;
}
/* Slider dots */
.home-articles-slider .slick-dots {
    position: relative;
    bottom: auto;
    margin-top: 40px;
    margin-bottom: 0;
    display: flex !important;
    justify-content: center;
    gap: 6px;
    padding: 0;
    list-style: none;
}
.home-articles-slider .slick-dots li button {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #ccc;
    text-indent: -9999px;
    transition: background 0.2s;
}
.home-articles-slider .slick-dots li button:before {
    display: none;
}
.home-articles-slider .slick-dots li.slick-active button {
    background: var(--primary);
}

/*------------------------------------*\
    HOME ABOUT SECTION
\*------------------------------------*/
.home-about-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: clamp(2rem, 3vw, 2.6rem);
    color: var(--primary-text);
    margin-bottom: 1.5rem;
}
.home-about p {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #444;
}
.home-about img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.home-about .mt-3 {
    margin-top: 1.5rem;
    display: inline-block;
}

/*------------------------------------*\
    HOME GALLERY STRIP
\*------------------------------------*/
.home-gallery-strip {
    display: flex;
    width: 100%;
    overflow: hidden;
}
.home-gallery-strip img {
    width: calc(100% / 6);
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
    flex-shrink: 0;
}
@media (max-width: 991px) {
    .home-gallery-strip img {
        width: calc(100% / 3);
    }
}
@media (max-width: 575px) {
    .home-gallery-strip img {
        width: 50%;
    }
}

/*------------------------------------*\
    HOME PARTNERS
\*------------------------------------*/
.home-partners {
    background: #1d1c23;
    padding: 5rem 1.5rem;
    text-align: center;
    color: #fff;
}
.home-partners h3 {
    color: #fff;
    font-size: 2.6rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.home-partners p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 2.5rem;
}
.home-partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.home-partner-logo {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.home-partner-logo img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%) brightness(2);
    opacity: 0.7;
    transition: opacity 0.3s;
}
.home-partner-logo:hover img {
    opacity: 1;
}
@media (max-width: 991px) {
    .home-partners-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
    .home-partners-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 479px) {
    .home-partners-grid { grid-template-columns: repeat(2, 1fr); }
}

/*------------------------------------*\
    FOOTER
\*------------------------------------*/
.footer-main {
    background-color: #4E4F57;
    color: #fff;
    text-align: center;
    padding: 50px 0 40px;
}
.footer-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    transition: border-color 0.3s, color 0.3s;
}
.footer-social a:hover {
    border-color: var(--primary);
    background-color: var(--primary);
    color: #fff;
}
.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
}
.footer-logo-img {
    max-width: 200px;
    height: auto;
}
.footer-address {
    font-family: var(--font-body);
    font-size: 14px;
    margin: 0 0 10px;
    color: rgba(255,255,255,0.85);
}
.footer-contact {
    font-family: var(--font-body);
    font-size: 14px;
    margin: 0 0 6px;
}
.footer-contact a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.3s;
}
.footer-contact a:hover {
    color: #fff;
}
.footer-contact i {
    margin-right: 6px;
}
.footer-bottom {
    background-color: #43444b;
    text-align: center;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-bottom p {
    font-family: var(--font-body);
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

/**********
PAGE SECTIONS
**********/

.pit-page-wrapper {
    padding: 8rem 0;
}
.pit-page-content > section {
    padding: 45px 0;
}
.pit-page-content > section:first-child {
    padding-top: 0;
}
.pit-page-content > section:last-child {
    padding-bottom: 0;
}
.pit-page-content .pit-textandimage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.pit-page-content .pit-textandimage + .pit-textandimage {
    border-top: 1px solid rgba(0,0,0,0.1);
}
.pit-page-content .pit-textandimage.right .pit-insetimage {
    order: 2;
}
.pit-page-content .pit-textandimage.left .pit-insetimage {
    order: -1;
}
.pit-page-content .pit-textandimage .pit-insetimage {
    min-height: 300px;
    height: calc(100% + 40px);
    overflow: hidden;
    border-radius: 6px;
}
.pit-page-content .pit-textandimage .pit-insetimage img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    display: block;
    border-radius: 6px;
}
.pit-page-content .pit-textandimage.right .pit-insetvideo { order: 2; }
.pit-page-content .pit-textandimage.left .pit-insetvideo { order: -1; }
.pit-page-content .pit-textandimage .pit-insetvideo {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
}
.pit-page-content .pit-textandimage .pit-insetvideo iframe,
.pit-page-content .pit-textandimage .pit-insetvideo video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}
.pit-textblock h2 {
    margin-bottom: 1rem;
    color: #697c6e;
}
.pit-textblock p {
    line-height: 1.7;
}
.pit-textblock ul:first-of-type {
    margin-top: 14px;
}
.pit-textblock ul {
    padding-left: 1.2rem;
    margin-bottom: 1.5rem;
}
.pit-textblock li {
    margin-bottom: 0.8rem;
}
.pit-minicta {
    margin-top: 30px;
    clear: both;
}
.pit-minicta a {
    display: inline-block;
    padding: 12px 15px;
    border: 2px solid var(--nuvo-accent);
    background: var(--nuvo-accent);
    border-radius: 6px;
    color: #fff;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.pit-minicta a:hover {
    background: #5e7a64;
    border-color: #5e7a64;
    color: #fff;
}
.pit-minilogo {
    margin: 1rem 0;
}
.pit-minilogo img {
    max-height: 40px;
    width: auto;
}

/* Intro Block */
.pit-intro-block {
    background: var(--nuvo-accent);
    padding: 4rem 0 4rem;
    text-align: center;
    color: #fff;
}
.pit-intro-block h1,
.pit-intro-block h2 {
    color: #fff;
    margin-bottom: 0;
}
.pit-intro-text {
    color: rgba(255,255,255,0.85);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.7;
}
.pit-intro-text p:last-child {
    margin-bottom: 0;
}

/* Featured Block */
.pit-featured-block {
    padding: 5rem 0;
    color: #fff;
}
.pit-featured-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.pit-featured-block h2 {
    color: var(--accent);
}
.pit-featured-text p {
    color: rgba(255,255,255,0.85);
}
.pit-featured-image img {
    width: 100%;
    border-radius: 6px;
    object-fit: cover;
}
.pit-featured-image.circular img {
    border-radius: 50%;
}

/* CTA Bar */
.pit-cta-bar {
    background: var(--primary-alt);
    padding: 4rem 0;
    text-align: center;
    color: #fff;
}
.pit-cta-bar h2 {
    color: #fff;
}
.pit-cta-bar p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 1.5rem;
}
.pit-cta-btn {
    display: inline-block;
    padding: 14px 28px;
    background: var(--accent);
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}
.pit-cta-btn:hover {
    background: var(--primary);
}

/* Gallery Strip */
.pit-gallery-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0;
}
.pit-gallery-strip-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/**********
INNER HERO
**********/

.pit-inner-hero {
    position: relative;
    background: var(--primary-alt) center / cover no-repeat;
    padding: 8rem 2rem 4rem;
    text-align: center;
    color: #fff;
    min-height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pit-inner-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}
.pit-inner-hero-content {
    position: relative;
    z-index: 1;
}
.pit-inner-hero h1 {
    font-size: 42px;
    font-weight: 600;
    margin: 0 0 0.5rem;
    color: #fff;
}
.pit-inner-hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.85);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/**********
BLOG
**********/

.pit-blog-wrap {
    padding: 3rem 2rem;
    max-width: 1280px;
    margin: 70px auto;
    background: #f7f7f7;
    clear: both;
    border-radius: 8px;
    width: 95%;
}
.pit-blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    width: 100%;
}
.pit-blog-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s, transform 0.25s;
}
.pit-blog-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
.pit-blog-card-img-wrap {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f0f0f0;
}
.pit-blog-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.pit-blog-card:hover .pit-blog-card-img-wrap img {
    transform: scale(1.04);
}
.pit-blog-card-img-placeholder {
    width: 100%;
    height: 100%;
    background: #e8e8e8;
}
.pit-blog-card-body {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.pit-blog-card-cats {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 0.7rem;
}
.pit-blog-card-cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    text-decoration: none;
}
.pit-blog-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.7rem;
    color: var(--primary-text);
}
.pit-blog-card-title a {
    color: inherit;
    text-decoration: none;
}
.pit-blog-card-title a:hover {
    color: var(--primary);
}
.pit-blog-card-excerpt {
    font-size: 13px;
    color: rgba(0,0,0,0.7);
    line-height: 1.6;
    margin: 0 0 1.2rem;
    flex: 1;
}
.pit-blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(0,0,0,0.07);
    padding-top: 0.9rem;
    margin-top: 1.2rem;
}
.pit-blog-card-date {
    font-size: 11px;
    color: rgba(0,0,0,0.35);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.pit-blog-card-read {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.2s;
}
.pit-blog-card-read:hover {
    color: var(--primary-text);
}
.pit-blog-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}
.pit-blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.12);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-text);
    line-height: 2;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    padding-top: 4px;
}
.pit-blog-pagination a.next.page-numbers,
.pit-blog-pagination a.prev.page-numbers {
    padding-top: 0;
}
.pit-blog-pagination .page-numbers.current,
.pit-blog-pagination .page-numbers:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.pit-blog-intro {
    background: var(--primary-alt);
    padding: 2rem 0;
    text-align: center;
}
.pit-blog-intro h2 {
    color: #fff;
    margin-bottom: 0.5rem;
}
.pit-blog-intro .intro-text {
    color: rgba(255,255,255,0.8);
}

/**********
CONTACT INFO BLOCK
**********/
.pit-contact { clear: both; padding: 6rem 0; }
.pit-contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    border-radius: 11px;
    overflow: hidden;
}
.pit-contact-left {
    background: #4E4F58;
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.pit-contact-heading {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin: 0;
    line-height: 1.2;
}
.pit-contact-details { display: flex; flex-direction: column; gap: 14px; }
.pit-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    line-height: 1.55;
}
.pit-contact-row a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: color 0.2s;
}
.pit-contact-row a:hover { color: #829B89; }
.pit-contact-icon {
    width: 20px;
    flex-shrink: 0;
    color: #829B89;
    margin-top: 2px;
    display: flex;
    align-items: flex-start;
}
.pit-contact-icon--w3w {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.4;
}
.pit-contact-section { display: flex; flex-direction: column; gap: 6px; }
.pit-contact-subheading {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #829B89;
    margin: 0;
}
.pit-contact-section > p {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    margin: 0;
    line-height: 1.6;
}
.pit-contact-hours { display: flex; flex-direction: column; gap: 6px; }
.pit-contact-hours-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pit-contact-hours-day { font-weight: 500; color: var(--white); }
.pit-contact-right { position: relative; overflow: hidden; background: #4E4F58; padding: 2rem; }
.pit-contact-map { width: 100%; height: 100%; min-height: 520px; border-radius: 12px; overflow: hidden; }
.pit-contact-map iframe { width: 100%; height: 100%; min-height: 520px; display: block; border: 0; }
@media (max-width: 900px) {
    .pit-contact { padding: 3.5rem 0; }
    .pit-contact-inner { grid-template-columns: 1fr; min-height: 0; width: 92%; }
    .pit-contact-left { padding: 3rem 1.75rem; }
    .pit-contact-heading { font-size: 28px; }
    .pit-contact-right { padding: 0; }
    .pit-contact-map, .pit-contact-map iframe { min-height: 340px; border-radius: 0; }
}

/**********
CONTACT FORM BLOCK
**********/
.pit-form-section {
    padding: 6rem 0;
    background: var(--bgblockone);
    clear: both;
}
.pit-form-inner {
    max-width: 100%;
    width: 620px;
    margin: 0 auto;
    padding: 0 2rem;
}
.pit-form-heading {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    color: #4E4F58;
    margin-bottom: 1.5rem;
    text-align: center;
}
.pit-form-section .gform_wrapper { height: auto !important; overflow: hidden; }
.pit-form-section .gform_wrapper form { float: none !important; }
.pit-form-section .gform_wrapper.gravity-theme .gfield_label {
    color: #4E4F58;
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin-bottom: 0.5rem;
}
.pit-form-section .gform_wrapper.gravity-theme .gfield_required { color: var(--primary); }
.pit-form-section .gform_wrapper.gravity-theme input[type=text],
.pit-form-section .gform_wrapper.gravity-theme input[type=email],
.pit-form-section .gform_wrapper.gravity-theme input[type=tel],
.pit-form-section .gform_wrapper.gravity-theme input[type=url],
.pit-form-section .gform_wrapper.gravity-theme input[type=number],
.pit-form-section .gform_wrapper.gravity-theme input[type=password],
.pit-form-section .gform_wrapper.gravity-theme select,
.pit-form-section .gform_wrapper.gravity-theme textarea {
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    color: var(--primary-text) !important;
    padding: 1rem 1.1rem !important;
    font-size: 1.1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.pit-form-section .gform_wrapper.gravity-theme input:focus,
.pit-form-section .gform_wrapper.gravity-theme textarea:focus,
.pit-form-section .gform_wrapper.gravity-theme select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(159, 184, 165, 0.3) !important;
    outline: none;
}
.pit-form-section .gform_wrapper.gravity-theme textarea {
    min-height: 9rem;
    height: 9rem;
    resize: vertical;
}
.pit-form-section .gform_wrapper .gform_footer { text-align: center; padding-top: 1rem; }
.pit-form-section .gform_wrapper .gform_footer input.gform_button {
    border: 0 !important;
    color: var(--white);
    background: #829B89;
    padding: 1.6rem 0 !important;
    width: 100%;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.pit-form-section .gform_wrapper .gform_footer input.gform_button:hover { background: #4E4F58; }
.pit-form-section .gform_wrapper.gravity-theme .gform_confirmation_message {
    color: #4E4F58;
    text-align: center;
    font-size: 1.1rem;
    padding: 2rem 0;
}
.pit-form-section .gform_wrapper.gravity-theme .gform_fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 1.5rem;
}
.pit-form-section .gform_wrapper.gravity-theme .gfield--type-textarea,
.pit-form-section .gform_wrapper.gravity-theme .gfield--width-full,
.pit-form-section .gform_wrapper.gravity-theme .gform_footer { grid-column: 1 / -1; }
@media (max-width: 768px) {
    .pit-form-section { padding: 4rem 0; }
    .pit-form-inner { padding: 0 1.5rem; }
    .pit-form-heading { font-size: 28px; }
    .pit-form-section .gform_wrapper.gravity-theme .gform_fields { grid-template-columns: 1fr; }
}

/**********
PARTNER BRANDS BLOCK
**********/
.pit-brands { padding: 5rem 0; clear: both; }
.pit-brands-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.pit-brands-head h2 { color: #697c6e; margin-bottom: 1rem; }
.pit-brands-intro { color: rgba(0,0,0,0.7); font-size: 1.6rem; line-height: 1.6; }
.pit-brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.pit-brand-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}
.pit-brand-logo {
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pit-brand-logo img { max-height: 90px; max-width: 180px; width: auto; height: auto; object-fit: contain; }
.pit-brand-name { font-size: 2rem; margin: 0.5rem 0 0; color: var(--primary-text); }
.pit-brand-desc { font-size: 1.4rem; line-height: 1.6; color: rgba(0,0,0,0.65); margin: 0; }
@media (max-width: 900px) { .pit-brands-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (max-width: 560px) { .pit-brands-grid { grid-template-columns: 1fr; } .pit-brands { padding: 3.5rem 0; } }

/**********
TESTIMONIALS BLOCK
**********/
.pit-testimonials { padding: 5rem 0; clear: both; background: var(--bgblockone); }
.pit-testimonials-heading { text-align: center; color: #697c6e; margin-bottom: 3rem; }
.pit-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.pit-testimonial-card {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.pit-testimonial-quote {
    margin: 0;
    padding: 0;
    border: 0;
    font-style: italic;
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--primary-text);
}
.pit-testimonial-quote::before { content: "\201C"; color: #829B89; font-size: 2.4rem; line-height: 0; vertical-align: -0.4rem; margin-right: 0.15rem; }
.pit-testimonial-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.pit-testimonial-author { font-weight: 700; color: #556359; font-size: 1.45rem; }
.pit-testimonial-date { font-size: 1.2rem; color: rgba(0,0,0,0.4); }
@media (max-width: 900px) { .pit-testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (max-width: 560px) { .pit-testimonials-grid { grid-template-columns: 1fr; } .pit-testimonials { padding: 3.5rem 0; } }

/**********
SINGLE POST
**********/
.pit-single-hero { min-height: 380px; padding: 7rem 2rem 4rem; }
.pit-single-cats {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.pit-single-cats a {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    padding: 5px 12px;
    border-radius: 999px;
    transition: all 0.2s ease;
}
.pit-single-cats a:hover { background: #829B89; border-color: #829B89; }
.pit-single-hero .pit-single-date {
    display: block;
    margin-top: 1rem;
    font-size: 13px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
}
.pit-single-body { padding: 4.5rem 2rem 5rem; }
.pit-single-content {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.7rem;
    line-height: 1.8;
    color: #444;
}
.pit-single-content > *:first-child { margin-top: 0; }
.pit-single-content h2,
.pit-single-content h3,
.pit-single-content h4 { color: #556359; margin: 2.4rem 0 1rem; }
.pit-single-content h2 { font-size: 2.8rem; }
.pit-single-content h3 { font-size: 2.2rem; }
.pit-single-content p { margin-bottom: 1.6rem; }
.pit-single-content ul,
.pit-single-content ol { margin: 0 0 1.6rem 1.5rem; }
.pit-single-content li { margin-bottom: 0.6rem; }
.pit-single-content a { color: #829B89; text-decoration: underline; }
.pit-single-content a:hover { color: #556359; }
.pit-single-content img { border-radius: 8px; height: auto; margin: 1.5rem 0; }
.pit-single-content blockquote {
    border-left: 3px solid #829B89;
    background: var(--bgblockone);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
    border-radius: 0 8px 8px 0;
}
.pit-single-footer {
    max-width: 760px;
    margin: 3.5rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.pit-single-back {
    font-weight: 600;
    color: #556359;
    font-size: 1.5rem;
    transition: color 0.2s ease;
}
.pit-single-back:hover { color: #829B89; }
.pit-single-edit { font-size: 1.2rem; opacity: 0.6; }
@media (max-width: 767px) {
    .pit-single-hero { min-height: 300px; padding: 6rem 1.5rem 3rem; }
    .pit-single-body { padding: 3rem 1.5rem 4rem; }
    .pit-single-content { font-size: 1.6rem; }
}

/**********
VIDEO HERO BLOCK
**********/
.pit-video-hero {
    position: relative;
    width: 100%;
    min-height: 82vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: var(--primary-alt) center / cover no-repeat;
}
.pit-video-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
/* scale the 16:9 iframe to always cover the section */
.pit-video-hero-media iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;      /* 16:9 based on width */
    min-height: 100%;
    min-width: 177.78vh;  /* 16:9 based on height */
    transform: translate(-50%, -50%);
    border: 0;
}
.pit-video-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0,0,0,0.4);
}
.pit-video-hero-content {
    position: relative;
    z-index: 2;
    padding: 2rem;
}
.pit-video-hero-content h1 {
    color: #fff;
    font-size: 5rem;
    margin: 0 0 1rem;
}
.pit-video-hero-sub {
    font-size: 2rem;
    color: rgba(255,255,255,0.9);
    max-width: 760px;
    margin: 0 auto;
    line-height: 1.5;
}
@media (max-width: 767px) {
    .pit-video-hero { min-height: 70vh; }
    .pit-video-hero-content h1 { font-size: 3.4rem; }
    .pit-video-hero-sub { font-size: 1.7rem; }
}

/**********
FEATURE LINK BOXES (modern minimalist)
**********/
.pit-featurelinks { padding: 5rem 0; clear: both; }
.pit-featurelinks-heading { text-align: center; color: #556359; margin-bottom: 3rem; }
.pit-featurelinks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}
.pit-featurelink {
    display: block;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    transition: transform .35s ease, box-shadow .35s ease;
}
.pit-featurelink:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,0.12); }
.pit-featurelink-media { aspect-ratio: 16 / 10; overflow: hidden; background: #eee; }
.pit-featurelink-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.pit-featurelink:hover .pit-featurelink-media img { transform: scale(1.05); }
.pit-featurelink-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.6rem 1.8rem;
}
.pit-featurelink-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 500;
    color: var(--primary-text);
}
.pit-featurelink-arrow {
    font-size: 1.8rem;
    color: #829B89;
    transition: transform .3s ease;
}
.pit-featurelink:hover .pit-featurelink-arrow { transform: translateX(5px); }
@media (max-width: 560px) { .pit-featurelinks { padding: 3.5rem 0; } }
