/* =========================================================
   TUNA PLUMBING INC
   FINAL HERO SLIDER CSS
   Palette: Blue + Light Blue + White
   Notes:
   - H1 appears from left to right
   - Text / buttons / badges appear from bottom to top
   - Hero height = viewport minus header height
   - Arrows centered vertically
   - Dots bottom center
   - Full width without horizontal overflow
========================================================= */

:root {
    --tp-header-h: 108px;
    /* Adjust this if your header height is different */
    --tp-navy: #0b2340;
    --tp-navy-soft: #163a61;
    --tp-blue: #2f7fbe;
    --tp-sky: #7fd4ff;
    --tp-sky-soft: #dff5ff;
    --tp-white: #ffffff;
    --tp-ice: #f5fbff;
    --tp-text: rgba(255, 255, 255, 0.96);
    --tp-text-soft: rgba(255, 255, 255, 0.84);
    --tp-line: rgba(255, 255, 255, 0.24);
    --tp-glass: rgba(255, 255, 255, 0.14);
    --tp-shadow: 0 20px 60px rgba(8, 24, 42, 0.18);
    --tp-shadow-soft: 0 10px 30px rgba(16, 76, 131, 0.12);
    --tp-radius-xl: 28px;
    --tp-radius-lg: 20px;
    --tp-container: 1280px;
    --tp-slide-speed: 7000ms;
}

/* ===== Prevent horizontal overflow ===== */

html,
body {
    overflow-x: hidden;
}

[data-vertical-spacing*=bottom] {
    padding-bottom: 0 !important;
}

[data-vertical-spacing*=top] {
    padding-top: 0 !important;
}

section {
    margin-bottom: 0 !important;
}

/* ===== Full-width alignfull fix ===== */

.tp-hero-slider.alignfull {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    max-width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* ===== Container ===== */

.tp-container {
    width: min(100% - 56px, var(--tp-container));
    margin-inline: auto;
}







/* =========================================================
   TUNA PLUMBING INC - HEADER POLISH
   Platform: Blocksy
========================================================= */

/* ===== Header base ===== */
.ct-header {
    z-index: 9999;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(11, 35, 64, 0.06);
    box-shadow: 0 10px 28px rgba(11, 35, 64, 0.05);
    transition:
        background 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

/* Slightly stronger when sticky */
.ct-header.is-sticky,
.ct-header.scrolled,
.ct-header[data-sticky*="yes"] {
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: rgba(11, 35, 64, 0.08);
    box-shadow: 0 14px 34px rgba(11, 35, 64, 0.08);
}

/* ===== Row spacing ===== */
.ct-header .ct-container,
.ct-header [data-row]>div {
    min-height: 86px;
}

@media (max-width: 999px) {

    .ct-header .ct-container,
    .ct-header [data-row]>div {
        min-height: 74px;
    }
}

/* ===== Logo / site title ===== */
.site-title,
.site-title a,
.custom-logo-link {
    display: inline-flex;
    align-items: center;
}

.site-title a {
    color: #0b2340 !important;
    font-size: clamp(1.45rem, 1.7vw, 2rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-decoration: none !important;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.site-title a:hover {
    color: #2f7fbe !important;
}

/* ===== Main navigation ===== */
.ct-header [data-id="menu"] .menu,
.ct-header .menu {
    gap: 6px;
}

.ct-header .menu>li>a {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 12px;
    color: #0b2340 !important;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition:
        color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.ct-header .menu>li>a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 7px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #2f7fbe, #7fd4ff);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.ct-header .menu>li:hover>a,
.ct-header .menu>li.current-menu-item>a,
.ct-header .menu>li.current-menu-ancestor>a {
    color: #2f7fbe !important;
    background: rgba(47, 127, 190, 0.05);
}

.ct-header .menu>li:hover>a::after,
.ct-header .menu>li.current-menu-item>a::after,
.ct-header .menu>li.current-menu-ancestor>a::after {
    transform: scaleX(1);
}

/* ===== Dropdown ===== */
.ct-header .sub-menu {
    padding: 10px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(11, 35, 64, 0.06);
    box-shadow: 0 20px 46px rgba(11, 35, 64, 0.10);
    backdrop-filter: blur(10px);
}

.ct-header .sub-menu li a {
    display: block;
    padding: 11px 14px;
    border-radius: 12px;
    color: #0b2340 !important;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    transition: background 0.3s ease, color 0.3s ease;
}

.ct-header .sub-menu li a:hover {
    background: rgba(47, 127, 190, 0.08);
    color: #2f7fbe !important;
}

/* ===== Header button ===== */
/* If your header button already has a class, keep it.
   This targets common Blocksy header button markup. */
.ct-header .ct-button,
.ct-header .button,
.ct-header [data-id="button"] a,
.ct-header .header-button a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2f7fbe 0%, #66c7ff 100%);
    color: #ffffff !important;
    border: none;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none !important;
    box-shadow: 0 14px 30px rgba(47, 127, 190, 0.18);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        filter 0.35s ease;
}

.ct-header .ct-button:hover,
.ct-header .button:hover,
.ct-header [data-id="button"] a:hover,
.ct-header .header-button a:hover {
    transform: translateY(-2px);
    filter: brightness(1.03);
    box-shadow: 0 18px 36px rgba(47, 127, 190, 0.24);
}

/* ===== Mobile toggle ===== */
.ct-header .ct-toggle-close,
.ct-header .ct-toggle-dropdown-mobile,
.ct-header .mobile-menu-toggle,
.ct-header .ct-header-trigger {
    border-radius: 12px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.ct-header .mobile-menu-toggle:hover,
.ct-header .ct-header-trigger:hover {
    background: rgba(47, 127, 190, 0.08);
}

.ct-header .mobile-menu-toggle svg,
.ct-header .ct-header-trigger svg {
    color: #0b2340;
}

/* обычное состояние */
/* =========================================
STICKY HEADER SHADOW - EXACT BLOCKSY TARGET
========================================= */

/* Плавный переход */
#header [data-row="middle"] {
    transition:
        box-shadow 0.35s ease,
        background-color 0.35s ease;
}

/* Когда шапка становится sticky */
#header [data-sticky="yes:shrink"]>[data-row="middle"] {
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow:
        0 20px 42px rgba(11, 35, 64, 0.16),
        0 1px 0 rgba(11, 35, 64, 0.06) !important;
}

/* ===== Mobile offcanvas ===== */
/* #offcanvas,
.ct-panel,
.ct-header-account-modal,
.ct-drawer-canvas {
    backdrop-filter: blur(10px);
} */

.ct-panel .menu>li>a,
#offcanvas .menu>li>a {
    color: #0b2340 !important;
    font-weight: 700;
    border-bottom: 1px solid rgba(11, 35, 64, 0.06);
}

.ct-panel .sub-menu,
#offcanvas .sub-menu {
    background: transparent;
    box-shadow: none;
    border: none;
}

/* ===== Small refinements ===== */
.ct-header .menu>li {
    display: flex;
    align-items: center;
}

@media (max-width: 999px) {
    .site-title a {
        font-size: 1.3rem;
    }

    .ct-header .ct-button,
    .ct-header .button,
    .ct-header [data-id="button"] a,
    .ct-header .header-button a {
        min-height: 42px;
        padding: 0 16px;
        font-size: 0.8rem;
    }
}







/* ===== Hero base ===== */

.tp-hero-slider {
    position: relative;
    overflow: hidden;
    height: calc(100vh - var(--tp-header-h));
    min-height: calc(100vh - var(--tp-header-h));
    background:
        radial-gradient(circle at 15% 18%, rgba(127, 212, 255, 0.28), transparent 30%),
        radial-gradient(circle at 84% 18%, rgba(223, 245, 255, 0.34), transparent 28%),
        linear-gradient(135deg, #f6fcff 0%, #e8f8ff 24%, #bfe6ff 52%, #7fc7f4 100%);
    isolation: isolate;
}

.tp-hero-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(9, 35, 64, 0.48) 0%, rgba(9, 35, 64, 0.22) 42%, rgba(9, 35, 64, 0.36) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.00) 28%, rgba(9, 35, 64, 0.08) 100%);
    z-index: 1;
    pointer-events: none;
}

.tp-hero-slider__track {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100%;
}

.tp-hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 1s ease, visibility 1s ease;
}

.tp-hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 2;
}

.tp-hero-slide__bg,
.tp-hero-slide__bg img,
.tp-hero-slide__overlay,
.tp-hero-slide__content {
    position: absolute;
    inset: 0;
}

.tp-hero-slide__bg {
    overflow: hidden;
}

.tp-hero-slide__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.03);
    transition: transform 7s ease;
    filter: saturate(1.02) contrast(1.02) brightness(0.94);
}

.tp-hero-slide.is-active .tp-hero-slide__bg img {
    transform: scale(1.08);
}

.tp-hero-slide__overlay {
    background:
        linear-gradient(90deg, rgba(10, 35, 64, 0.46) 0%, rgba(10, 35, 64, 0.18) 44%, rgba(10, 35, 64, 0.30) 100%),
        radial-gradient(circle at 76% 22%, rgba(255, 255, 255, 0.22), transparent 22%);
    z-index: 0;
}

.tp-hero-slide__content {
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: 100%;
}

.tp-hero-slide__inner {
    position: relative;
    width: 100%;
    max-width: 760px;
    padding-top: clamp(48px, 6vh, 72px);
    padding-bottom: clamp(72px, 9vh, 96px);
}

/* ===== Decorative accents ===== */

.tp-hero-slide__inner::before {
    content: "";
    position: absolute;
    top: 20px;
    left: -26px;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(223, 245, 255, 0.42) 0%, rgba(127, 212, 255, 0.14) 42%, transparent 72%);
    filter: blur(14px);
    pointer-events: none;
}

.tp-hero-slide__inner::after {
    content: "";
    position: absolute;
    left: 0;
    top: 98px;
    width: 92px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(127, 212, 255, 0.16));
    opacity: 0.9;
}

/* ===== Eyebrow ===== */

.tp-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(14px);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    box-shadow: var(--tp-shadow-soft);
}

/* ===== Title ===== */

.tp-hero-title,
.tp-about-hero__title {
    margin: 0;
    max-width: 720px;
    color: var(--tp-white);
    font-size: clamp(2.4rem, 4vw, 4.8rem);
    line-height: 1.13;
    letter-spacing: -0.05em;
    font-weight: 800;
    text-shadow: 0 10px 24px rgba(7, 22, 38, 0.14);
}

/* ===== Text ===== */

.tp-hero-text {
    max-width: 620px;
    margin: 24px 0 0;
    color: var(--tp-text-soft);
    font-size: clamp(1rem, 1.25vw, 1.16rem);
    line-height: 1.8;
    text-shadow: 0 4px 18px rgba(8, 24, 42, 0.08);
}

/* ===== Buttons ===== */

.tp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 34px;
}

.tp-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 28px;
    border-radius: 999px;
    font-size: 0.96rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none !important;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        color 0.35s ease;
    will-change: transform;
}

.tp-btn:hover {
    transform: translateY(-3px);
}

/* .tp-btn--gold {
    color: #0b3256;
    background: linear-gradient(135deg, #ffffff 0%, #ecf9ff 34%, #9edfff 100%);
    border: 1px solid rgba(255, 255, 255, 0.76);
    box-shadow:
        0 16px 38px rgba(72, 167, 220, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.tp-btn--gold:hover {
    background: linear-gradient(135deg, #d9efff, #bfe3ff);
    transform: translateY(-3px);
    box-shadow:
        0 10px 30px rgba(0, 120, 255, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.3) inset;
} */

/* ===== Hero Primary Button ===== */

.tp-btn--primary {

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 30px;

    border-radius: 40px;

    font-weight: 600;
    letter-spacing: 0.02em;

    background: #dff1ff;
    color: #0b2a42;

    border: 1px solid rgba(255, 255, 255, 0.35);

    transition:
        background .35s ease,
        color .35s ease,
        box-shadow .35s ease;

}


/* ===== Luxury Hover ===== */

.tp-btn--primary:hover {

    background: #1e6bff;
    color: #ffffff;

    /* box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.2),
        0 8px 20px rgba(0, 60, 150, 0.25); */

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.25),
        0 0 20px rgba(74, 163, 223, 0.4);

}

.tp-btn--glass {
    color: var(--tp-white);
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 14px 34px rgba(10, 35, 64, 0.10);
}

.tp-btn--glass:hover {
    color: #ffffff;
    border-color: rgba(223, 245, 255, 0.78);
    background: rgba(255, 255, 255, 0.16);
}

/* ===== Badges ===== */

.tp-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 42px;
}

.tp-hero-badge {
    min-width: 150px;
    padding: 16px 16px 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--tp-radius-lg);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.10) 100%);
    backdrop-filter: blur(16px);
    box-shadow: var(--tp-shadow);
}

.tp-hero-badge__num {
    display: block;
    color: #ffffff;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.tp-hero-badge__label {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.92rem;
    line-height: 1.45;
}

/* ===== Arrows centered vertically ===== */

.tp-hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 8;
    transform: translateY(-50%);
    width: 58px;
    height: 58px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(12px);
    cursor: pointer;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.tp-hero-arrow:hover {
    transform: translateY(-50%) scale(1.04);
    border-color: rgba(255, 255, 255, 0.68);
    background: rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 24px rgba(16, 76, 131, 0.14);
}

.tp-hero-arrow--prev {
    left: 24px;
}

.tp-hero-arrow--next {
    right: 24px;
}

.tp-hero-arrow span {
    position: relative;
    display: block;
    width: 12px;
    height: 12px;
    margin: auto;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
}

.tp-hero-arrow--prev span {
    transform: rotate(-135deg);
}

.tp-hero-arrow--next span {
    transform: rotate(45deg);
}

/* ===== Dots ===== */

.tp-hero-dots {
    position: absolute;
    left: 50%;
    bottom: 26px;
    z-index: 8;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
}

.tp-hero-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.34);
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.tp-hero-dot:hover {
    transform: scale(1.12);
}

.tp-hero-dot.is-active {
    background: #ffffff;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.18);
}

/* ===== Progress ===== */

.tp-hero-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 7;
    height: 4px;
    background: rgba(255, 255, 255, 0.16);
}

.tp-hero-progress__bar {
    display: block;
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #ffffff 0%, #dff5ff 45%, #7fd4ff 100%);
}

.tp-hero-progress__bar.is-animating {
    animation: tpHeroProgress var(--tp-slide-speed) linear forwards;
}

@keyframes tpHeroProgress {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* ===== Animation system ===== */

.tp-anim-left,
.tp-anim-up {
    opacity: 0;
    will-change: transform, opacity;
}

.tp-anim-left {
    transform: translateX(-72px);
}

.tp-anim-up {
    transform: translateY(42px);
}

.tp-hero-slide.is-active .tp-anim-left {
    animation: tpFadeLeft 1s cubic-bezier(.22, .61, .36, 1) forwards;
    animation-delay: var(--delay, 0s);
}

.tp-hero-slide.is-active .tp-anim-up {
    animation: tpFadeUp 0.92s cubic-bezier(.22, .61, .36, 1) forwards;
    animation-delay: var(--delay, 0s);
}

@keyframes tpFadeLeft {
    0% {
        opacity: 0;
        transform: translateX(-72px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes tpFadeUp {
    0% {
        opacity: 0;
        transform: translateY(42px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== Tablet ===== */

@media (max-width: 991px) {
    :root {
        --tp-header-h: 92px;
    }

    .tp-container {
        width: min(100% - 40px, var(--tp-container));
    }

    .tp-hero-slider {
        height: calc(100svh - var(--tp-header-h));
        min-height: calc(100svh - var(--tp-header-h));
    }

    .tp-hero-slide__inner {
        max-width: 100%;
        padding-top: 36px;
        padding-bottom: 82px;
    }

    .tp-hero-slide__inner::before {
        left: -10px;
        width: 130px;
        height: 130px;
    }

    .tp-hero-slide__inner::after {
        top: 88px;
        width: 72px;
    }

    .tp-hero-title {
        font-size: clamp(2.25rem, 8vw, 4.15rem);
        line-height: 1.02;
    }

    .tp-hero-text {
        max-width: 100%;
    }

    .tp-hero-badge {
        min-width: calc(50% - 8px);
    }

    .tp-hero-arrow {
        width: 50px;
        height: 50px;
    }

    .tp-hero-arrow--prev {
        left: 14px;
    }

    .tp-hero-arrow--next {
        right: 14px;
    }
}

/* ===== Mobile ===== */

@media (max-width: 767px) {
    :root {
        --tp-header-h: 84px;
    }

    .tp-container {
        width: min(100% - 28px, var(--tp-container));
    }

    .tp-hero-slide__bg img {
        object-position: center center;
    }

    .tp-hero-slide__content {
        align-items: center;
    }

    .tp-hero-slide__inner {
        padding-top: 24px;
        padding-bottom: 92px;
        max-width: 100%;
    }

    .tp-hero-slide__inner::before {
        left: -4px;
        top: 10px;
        width: 92px;
        height: 92px;
    }

    .tp-hero-slide__inner::after {
        top: 72px;
        width: 58px;
    }

    .tp-hero-eyebrow {
        font-size: 10px;
        letter-spacing: 0.12em;
        padding: 8px 12px;
        margin-bottom: 16px;
    }

    .tp-hero-title {
        font-size: clamp(2rem, 11vw, 3rem);
        line-height: 1.02;
        letter-spacing: -0.045em;
    }

    .tp-hero-text {
        margin-top: 18px;
        font-size: 0.97rem;
        line-height: 1.68;
    }

    .tp-hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 26px;
    }

    .tp-btn {
        width: 100%;
        min-height: 54px;
    }

    .tp-hero-badges {
        flex-direction: column;
        gap: 12px;
        margin-top: 24px;
    }

    .tp-hero-badge {
        min-width: 100%;
        padding: 16px 16px 14px;
    }

    .tp-hero-arrow {
        width: 44px;
        height: 44px;
    }

    .tp-hero-arrow--prev {
        left: 10px;
    }

    .tp-hero-arrow--next {
        right: 10px;
    }

    .tp-hero-dots {
        bottom: 18px;
        gap: 10px;
    }

    .tp-hero-dot {
        width: 10px;
        height: 10px;
    }
}

/* ===== Very small mobile ===== */

@media (max-width: 480px) {
    .tp-hero-title {
        font-size: clamp(1.8rem, 10.5vw, 2.55rem);
    }

    .tp-hero-text {
        font-size: 0.94rem;
    }
}







/* =========================================
Services Section
========================================= */

.tp-services {
    padding: 120px 0;
    background: #f6fbff;
}


.tp-services-head {
    text-align: center;
    margin-bottom: 70px;
}


.tp-section-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 16px;
}


.tp-section-subtitle {
    max-width: 640px;
    margin: auto;
    color: #5c6f82;
}


/* Grid */

.tp-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}


/* Card */

.tp-service-card {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all .35s ease;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.05);
}


/* Icon */
.tp-service-icon {
    font-size: 34px;
    margin-bottom: 18px;
}


/* Hover */
.tp-service-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.08);
}





/* =========================================
SECTION: Why Choose Us
========================================= */

.tp-why {
    padding: 120px 0;
    background:
        linear-gradient(180deg, #f6fbff 0%, #eef8ff 100%);
}

.tp-why__grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 44px;
    align-items: center;
}

.tp-why__content {
    max-width: 720px;
}

.tp-why__eyebrow {
    display: inline-block;
    margin: 0 0 16px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(49, 122, 214, 0.08);
    border: 1px solid rgba(49, 122, 214, 0.12);
    color: #2e6fb9;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tp-why__title {
    margin: 0 0 18px;
    color: #0b2340;
    font-size: clamp(2rem, 3vw, 3.3rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.tp-why__text {
    margin: 0;
    max-width: 620px;
    color: #5d6c7d;
    font-size: 1.04rem;
    line-height: 1.8;
}

.tp-why__list {
    display: grid;
    gap: 18px;
    margin-top: 34px;
}

.tp-why__item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 22px 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(33, 89, 153, 0.08);
    box-shadow: 0 14px 34px rgba(17, 62, 110, 0.06);
}

.tp-why__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #2f7fbe 0%, #7fd4ff 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(47, 127, 190, 0.18);
}

.tp-why__info h3 {
    margin: 0 0 6px;
    color: #0b2340;
    font-size: 1.08rem;
    font-weight: 700;
}

.tp-why__info p {
    margin: 0;
    color: #657385;
    line-height: 1.7;
}

.tp-why__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.tp-why__card {
    min-height: 200px;
    padding: 28px 26px;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(236, 247, 255, 0.92) 100%);
    border: 1px solid rgba(47, 127, 190, 0.10);
    box-shadow: 0 18px 40px rgba(16, 76, 131, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.tp-why__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 50px rgba(16, 76, 131, 0.12);
}

.tp-why__card--accent {
    background:
        linear-gradient(135deg, #2f7fbe 0%, #66c7ff 100%);
}

.tp-why__card--accent .tp-why__number,
.tp-why__card--accent .tp-why__label {
    color: #ffffff;
}

.tp-why__number {
    display: block;
    color: #0b2340;
    font-size: clamp(1.7rem, 2.2vw, 2.5rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.tp-why__label {
    display: block;
    margin-top: 12px;
    color: #5f7080;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 600;
}

.tp-services {
    padding: 120px 0;

    background:
        linear-gradient(90deg, #f6fbff 55%, rgba(246, 251, 255, 0.4)),
        url("/wp-content/uploads/bg-services.jpg");

    background-position: right center;
    background-size: cover;
}

@media (max-width: 991px) {
    .tp-why {
        padding: 90px 0;
    }

    .tp-why__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .tp-why__content {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .tp-why {
        padding: 74px 0;
    }

    .tp-why__stats {
        grid-template-columns: 1fr;
    }

    .tp-why__item {
        padding: 18px 18px;
        border-radius: 18px;
    }

    .tp-why__card {
        min-height: 170px;
        padding: 22px 20px;
        border-radius: 22px;
    }

    .tp-why__card--large {
        min-height: 190px;
    }

    .tp-why__title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .tp-why__text {
        font-size: 0.98rem;
    }
}










/* =========================================
SECTION: Process - Math Cell Layout
========================================= */

.tp-process {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    overflow: hidden;
}

.tp-process-head {
    text-align: center;
    margin-bottom: 72px;
}

/* Grid */
.tp-process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 520px));
    grid-template-rows: repeat(4, auto);
    column-gap: 90px;
    row-gap: 0;
    justify-content: center;
    align-items: start;
    max-width: 1180px;
    margin-inline: auto;
}

/* Vertical center line */
.tp-process-grid::before {
    content: "";
    position: absolute;
    top: 90px;
    bottom: 90px;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: linear-gradient(180deg,
            rgba(111, 196, 255, 0) 0%,
            rgba(111, 196, 255, 0.30) 12%,
            rgba(111, 196, 255, 0.18) 50%,
            rgba(111, 196, 255, 0.30) 88%,
            rgba(111, 196, 255, 0) 100%);
    z-index: 0;
}

/* Cards */
.tp-process-card {
    position: relative;
    z-index: 1;
    min-height: 230px;
    padding: 38px 32px 34px;
    border-radius: 28px;
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #f4faff 100%);
    border: 1px solid rgba(31, 99, 170, 0.08);
    box-shadow: 0 18px 40px rgba(10, 53, 102, 0.06);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

/* Perfect math layout */
.tp-process-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
}

.tp-process-card:nth-child(2) {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
}

.tp-process-card:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
    align-self: end;
}

.tp-process-card:nth-child(4) {
    grid-column: 2;
    grid-row: 4;
    align-self: start;
}

/* Left-right alignment */
.tp-process-card:nth-child(odd) {
    justify-self: start;
}

.tp-process-card:nth-child(even) {
    justify-self: end;
}

/* Small side connectors */
.tp-process-card::before {
    content: "";
    position: absolute;
    top: 50%;
    width: 44px;
    height: 2px;
    background: rgba(111, 196, 255, 0.26);
}

.tp-process-card:nth-child(odd)::before {
    right: -44px;
}

.tp-process-card:nth-child(even)::before {
    left: -44px;
}

/* Individual card tones */
.tp-process-card:nth-child(1) {
    background: linear-gradient(180deg, #ffffff 0%, #f5fbff 100%);
}

.tp-process-card:nth-child(2) {
    background: linear-gradient(180deg, #f7fbff 0%, #eef8ff 100%);
}

.tp-process-card:nth-child(3) {
    background: linear-gradient(180deg, #ffffff 0%, #f3f9ff 100%);
}

.tp-process-card:nth-child(4) {
    background: linear-gradient(135deg, #2f7fbe 0%, #71cfff 100%);
    box-shadow: 0 24px 50px rgba(38, 118, 194, 0.18);
}

.tp-process-card:nth-child(4) h3,
.tp-process-card:nth-child(4) p {
    color: #ffffff;
}

/* Hover */
.tp-process-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 50px rgba(10, 53, 102, 0.10);
    border-color: rgba(64, 145, 230, 0.16);
}

/* Numbers */
.tp-process-number {
    width: 66px;
    height: 66px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 22px;
    line-height: 1;
    letter-spacing: 0.02em;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.tp-process-card:nth-child(1) .tp-process-number {
    background: linear-gradient(135deg, #2f7fbe, #7fd4ff);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(47, 127, 190, 0.18);
}

.tp-process-card:nth-child(2) .tp-process-number {
    background: linear-gradient(135deg, #4b91ff, #7dc8ff);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(75, 145, 255, 0.18);
}

.tp-process-card:nth-child(3) .tp-process-number {
    background: linear-gradient(135deg, #0f4f92, #5ebeff);
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(15, 79, 146, 0.18);
}

.tp-process-card:nth-child(4) .tp-process-number {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.24);
    box-shadow: none;
}

.tp-process-card:hover .tp-process-number {
    transform: scale(1.06);
}

/* Typography */
.tp-process-card h3 {
    margin: 0 0 14px;
    color: #0b2340;
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.tp-process-card p {
    margin: 0;
    color: #627385;
    font-size: 1rem;
    line-height: 1.8;
}

/* Tablet */
@media (max-width: 991px) {
    .tp-process {
        padding: 95px 0;
    }

    .tp-process-head {
        margin-bottom: 52px;
    }

    .tp-process-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        max-width: 640px;
        row-gap: 22px;
        column-gap: 0;
    }

    .tp-process-grid::before {
        left: 32px;
        transform: none;
        width: 2px;
        top: 30px;
        bottom: 30px;
    }

    .tp-process-card,
    .tp-process-card:nth-child(1),
    .tp-process-card:nth-child(2),
    .tp-process-card:nth-child(3),
    .tp-process-card:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
        justify-self: stretch;
        align-self: auto;
        min-height: auto;
        text-align: left;
        padding: 28px 24px 26px 92px;
    }

    .tp-process-card::before {
        display: none;
    }

    .tp-process-card:hover {
        transform: translateY(-6px);
    }

    .tp-process-number {
        position: absolute;
        top: 24px;
        left: 20px;
        margin: 0;
        width: 54px;
        height: 54px;
        font-size: 19px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .tp-process {
        padding: 78px 0;
    }

    .tp-process-head {
        margin-bottom: 40px;
    }

    .tp-process-card {
        border-radius: 22px;
        padding: 24px 18px 22px 84px !important;
    }

    .tp-process-card h3 {
        font-size: 1.45rem;
    }

    .tp-process-card p {
        font-size: 0.97rem;
        line-height: 1.7;
    }

    .tp-process-number {
        top: 18px;
        left: 16px;
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}









/* =========================================================
   TUNA PLUMBING INC
   MOBILE FIX PACK
   Put this at the VERY END of your CSS
========================================================= */

@media (max-width: 767px) {

    /* ===== Global ===== */
    .tp-container {
        width: calc(100% - 24px);
        max-width: 100%;
    }

    .alignfull {
        overflow: hidden;
    }

    /* =====================================================
     HERO
  ===================================================== */

    .tp-hero-slider {
        height: auto !important;
        min-height: auto !important;
    }

    .tp-hero-slide__bg,
    .tp-hero-slide__bg img,
    .tp-hero-slide__overlay,
    .tp-hero-slide__content {
        position: absolute;
        inset: 0;
    }

    .tp-hero-slide__bg img {
        object-fit: cover;
        object-position: 68% center;
        transform: none !important;
        filter: saturate(1.02) contrast(1.02) brightness(0.82);
    }

    .tp-hero-slide__overlay {
        background:
            linear-gradient(180deg, rgba(8, 26, 46, 0.34) 0%, rgba(8, 26, 46, 0.40) 36%, rgba(8, 26, 46, 0.64) 100%),
            linear-gradient(90deg, rgba(8, 26, 46, 0.40) 0%, rgba(8, 26, 46, 0.10) 45%, rgba(8, 26, 46, 0.18) 100%);
    }

    .tp-hero-slide__inner {
        max-width: 100%;
        padding-top: 96px;
        padding-bottom: 94px;
    }

    .tp-hero-slide__inner::before,
    .tp-hero-slide__inner::after {
        display: none;
    }

    .tp-hero-eyebrow {
        margin: 0 0 14px;
        padding: 8px 12px;
        font-size: 10px;
        letter-spacing: 0.10em;
        line-height: 1.2;
    }

    .tp-hero-title {
        max-width: 100%;
        font-size: clamp(2rem, 9vw, 2.8rem) !important;
        line-height: 0.98 !important;
        letter-spacing: -0.04em;
        margin: 0 0 14px;
    }

    .tp-hero-text {
        max-width: 100%;
        margin-top: 0;
        font-size: 0.96rem;
        line-height: 1.62;
    }

    .tp-btn {
        width: 100%;
        min-height: 52px;
        padding: 0 18px;
        font-size: 0.88rem;
        letter-spacing: 0.03em;
    }

    .tp-hero-badge__num {
        font-size: 1rem;
    }

    .tp-hero-badge__label {
        font-size: 0.84rem;
        margin-top: 4px;
    }

    .tp-hero-arrow {
        width: 40px;
        height: 40px;
        top: 50%;
    }

    .tp-hero-arrow--prev {
        left: 8px;
    }

    .tp-hero-arrow--next {
        right: 8px;
    }

    .tp-hero-arrow span {
        width: 10px;
        height: 10px;
    }

    .tp-hero-dots {
        bottom: 14px;
        gap: 8px;
    }

    .tp-hero-dot {
        width: 8px;
        height: 8px;
    }

    .tp-hero-progress {
        height: 3px;
    }

    /* =====================================================
     SERVICES
  ===================================================== */

    .tp-services {
        padding: 72px 0;
        background-position: center center !important;
        background-size: cover !important;
    }

    .tp-services-head {
        margin-bottom: 32px;
        text-align: center;
    }

    .tp-section-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        line-height: 1.08;
        margin-bottom: 12px;
    }

    .tp-section-subtitle {
        max-width: 100%;
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .tp-services-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tp-service-card {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .tp-service-icon {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .tp-service-card h3 {
        margin: 0 0 10px;
        font-size: 1.55rem;
        line-height: 1.08;
    }

    .tp-service-card p {
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.65;
    }

    /* =====================================================
     WHY CHOOSE US
  ===================================================== */

    .tp-why {
        padding: 74px 0;
    }

    .tp-why__grid {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .tp-why__content {
        max-width: 100%;
    }

    .tp-why__eyebrow {
        margin-bottom: 12px;
        padding: 8px 12px;
        font-size: 10px;
        letter-spacing: 0.10em;
    }

    .tp-why__title {
        font-size: clamp(1.9rem, 8vw, 2.45rem);
        line-height: 1.05;
        margin-bottom: 14px;
    }

    .tp-why__text {
        max-width: 100%;
        font-size: 0.96rem;
        line-height: 1.7;
    }

    .tp-why__list {
        gap: 12px;
        margin-top: 22px;
    }

    .tp-why__item {
        padding: 16px 16px;
        border-radius: 18px;
        gap: 12px;
    }

    .tp-why__icon {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        font-size: 15px;
    }

    .tp-why__info h3 {
        font-size: 1rem;
        margin-bottom: 4px;
    }

    .tp-why__info p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .tp-why__stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tp-why__card {
        min-height: auto;
        padding: 20px 18px;
        border-radius: 18px;
    }

    .tp-why__card--large {
        min-height: auto;
    }

    .tp-why__number {
        font-size: 1.7rem;
    }

    .tp-why__label {
        margin-top: 8px;
        font-size: 0.94rem;
    }

    /* =====================================================
     PROCESS
  ===================================================== */

    .tp-process {
        padding: 74px 0;
    }

    .tp-process-head {
        margin-bottom: 34px;
        text-align: center;
    }

    .tp-process-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: none !important;
        max-width: 100%;
        row-gap: 14px !important;
        column-gap: 0 !important;
    }

    .tp-process-grid::before {
        display: none;
    }

    .tp-process-card,
    .tp-process-card:nth-child(1),
    .tp-process-card:nth-child(2),
    .tp-process-card:nth-child(3),
    .tp-process-card:nth-child(4) {
        grid-column: auto !important;
        grid-row: auto !important;
        justify-self: stretch !important;
        align-self: auto !important;
        min-height: auto;
        text-align: left;
        padding: 18px 16px 18px 72px !important;
        border-radius: 18px;
        margin-top: 0 !important;
    }

    .tp-process-card::before {
        display: none !important;
    }

    .tp-process-card h3 {
        font-size: 1.22rem;
        line-height: 1.08;
        margin-bottom: 8px;
    }

    .tp-process-card p {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .tp-process-number {
        position: absolute;
        top: 16px;
        left: 14px;
        margin: 0;
        width: 42px;
        height: 42px;
        font-size: 15px;
    }

    /* =====================================================
     EXTRA SAFE FIXES
  ===================================================== */

    .tp-services-grid,
    .tp-why__stats,
    .tp-process-grid {
        overflow: visible;
    }

    .tp-service-card,
    .tp-why__card,
    .tp-process-card {
        width: 100%;
        max-width: 100%;
    }



    /* =========================================================
   MOBILE HERO FIX - slider works correctly again
========================================================= */



    /* ===== HERO SLIDER ===== */
    .tp-hero-slider {
        height: calc(100svh - var(--tp-header-h));
        min-height: calc(100svh - var(--tp-header-h));
        overflow: hidden;
    }

    .tp-hero-slider__track {
        position: relative;
        height: 100%;
        min-height: 100%;
    }

    .tp-hero-slide {
        position: absolute !important;
        inset: 0;
        width: 100%;
        height: 100%;
        min-height: 100%;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .tp-hero-slide.is-active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        z-index: 2;
    }

    .tp-hero-slide__bg,
    .tp-hero-slide__bg img,
    .tp-hero-slide__overlay,
    .tp-hero-slide__content {
        position: absolute;
        inset: 0;
    }

    .tp-hero-slide__bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: right center;
        transform: none !important;
        filter: saturate(1.02) contrast(1.02) brightness(0.82);
    }

    .tp-hero-slide__overlay {
        background:
            linear-gradient(180deg, rgba(8, 26, 46, 0.24) 0%, rgba(8, 26, 46, 0.34) 38%, rgba(8, 26, 46, 0.64) 100%),
            linear-gradient(90deg, rgba(8, 26, 46, 0.50) 0%, rgba(8, 26, 46, 0.12) 48%, rgba(8, 26, 46, 0.10) 100%);
    }

    .tp-hero-slide__content {
        z-index: 2;
        display: flex;
        align-items: center;
        min-height: 100%;
    }

    .tp-hero-slide__inner {
        width: 100%;
        max-width: 100%;
        padding-top: 26px;
        padding-bottom: 84px;
    }

    .tp-hero-slide__inner::before,
    .tp-hero-slide__inner::after {
        display: none;
    }

    .tp-hero-eyebrow {
        margin: 0 0 12px;
        padding: 8px 12px;
        font-size: 10px;
        letter-spacing: 0.10em;
        line-height: 1.2;
    }

    .tp-hero-title {
        max-width: 100%;
        font-size: clamp(2rem, 8.6vw, 2.75rem) !important;
        line-height: 0.98 !important;
        letter-spacing: -0.04em;
        margin: 0 0 12px;
    }

    .tp-hero-text {
        max-width: 100%;
        margin: 0;
        font-size: 0.92rem;
        line-height: 1.52;
    }

    /* ===== BUTTONS: ONE ROW ===== */
    .tp-hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 18px;
    }

    .tp-btn {
        width: 100%;
        min-width: 0;
        min-height: 48px;
        padding: 0 10px;
        font-size: 0.74rem;
        letter-spacing: 0.02em;
        text-align: center;
        white-space: nowrap;
    }

    /* ===== BADGES: ONE ROW ===== */
    .tp-hero-badges {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-top: 14px;
    }

    .tp-hero-badge {
        min-width: 0;
        padding: 10px 8px 9px;
        border-radius: 14px;
        backdrop-filter: blur(8px);
    }

    .tp-hero-badge__num {
        font-size: 0.82rem;
        line-height: 1.1;
    }

    .tp-hero-badge__label {
        margin-top: 4px;
        font-size: 0.70rem;
        line-height: 1.25;
    }

    /* ===== ARROWS / DOTS ===== */
    .tp-hero-arrow {
        width: 40px;
        height: 40px;
        top: 50%;
    }

    .tp-hero-arrow--prev {
        left: 8px;
    }

    .tp-hero-arrow--next {
        right: 8px;
    }

    .tp-hero-arrow span {
        width: 10px;
        height: 10px;
    }

    .tp-hero-dots {
        bottom: 12px;
        gap: 8px;
    }

    .tp-hero-dot {
        width: 8px;
        height: 8px;
    }

    .tp-hero-progress {
        height: 3px;
    }



}



/* =========================================================
   TUNA PLUMBING INC
   FINAL MOBILE OVERRIDES
   Added after audit to resolve mobile conflicts cleanly
========================================================= */

@media (max-width: 767px) {
    :root {
        --tp-header-h: 84px;
    }

    .tp-container {
        width: calc(100% - 24px) !important;
        max-width: 100% !important;
    }

    /* ===== HERO: keep real slider behavior ===== */
    .tp-hero-slider {
        position: relative !important;
        height: calc(100svh - var(--tp-header-h)) !important;
        min-height: calc(100svh - var(--tp-header-h)) !important;
        overflow: hidden !important;
    }

    .tp-hero-slider__track {
        position: relative !important;
        height: 100% !important;
        min-height: 100% !important;
    }

    .tp-hero-slide {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 1s ease, visibility 1s ease;
    }

    .tp-hero-slide.is-active {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        z-index: 2 !important;
    }

    .tp-hero-slide__bg,
    .tp-hero-slide__bg img,
    .tp-hero-slide__overlay,
    .tp-hero-slide__content {
        position: absolute !important;
        inset: 0 !important;
    }

    .tp-hero-slide__bg img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: 72% center !important;
        transform: none !important;
        filter: saturate(1.02) contrast(1.02) brightness(0.82) !important;
    }

    .tp-hero-slide__overlay {
        background:
            linear-gradient(180deg, rgba(8, 26, 46, .22) 0%, rgba(8, 26, 46, .34) 38%, rgba(8, 26, 46, .66) 100%),
            linear-gradient(90deg, rgba(8, 26, 46, .52) 0%, rgba(8, 26, 46, .14) 48%, rgba(8, 26, 46, .12) 100%) !important;
    }

    .tp-hero-slide__content {
        z-index: 2 !important;
        display: flex !important;
        align-items: center !important;
        min-height: 100% !important;
    }

    .tp-hero-slide__inner {
        width: 100% !important;
        max-width: 100% !important;
        padding-top: 22px !important;
        padding-bottom: 82px !important;
    }

    .tp-hero-slide__inner::before,
    .tp-hero-slide__inner::after {
        display: none !important;
    }

    .tp-hero-eyebrow {
        margin: 0 0 10px !important;
        padding: 8px 12px !important;
        font-size: 10px !important;
        letter-spacing: .10em !important;
        line-height: 1.2 !important;
    }

    .tp-hero-title {
        max-width: 100% !important;
        font-size: clamp(1.95rem, 8.6vw, 2.7rem) !important;
        line-height: .98 !important;
        letter-spacing: -.04em !important;
        margin: 0 0 10px !important;
    }

    .tp-hero-text {
        max-width: 100% !important;
        margin: 0 !important;
        font-size: .9rem !important;
        line-height: 1.5 !important;
    }

    /* Buttons: one row */
    .tp-hero-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
        margin-top: 16px !important;
    }

    .tp-btn {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 48px !important;
        padding: 0 10px !important;
        font-size: .74rem !important;
        letter-spacing: .02em !important;
        text-align: center !important;
        white-space: nowrap !important;
    }

    /* Badges: one row */
    .tp-hero-badges {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px !important;
        margin-top: 12px !important;
    }

    .tp-hero-badge {
        min-width: 0 !important;
        padding: 10px 8px 9px !important;
        border-radius: 14px !important;
        backdrop-filter: blur(8px) !important;
    }

    .tp-hero-badge__num {
        font-size: .82rem !important;
        line-height: 1.1 !important;
    }

    .tp-hero-badge__label {
        margin-top: 4px !important;
        font-size: .70rem !important;
        line-height: 1.25 !important;
    }

    .tp-hero-arrow {
        width: 40px !important;
        height: 40px !important;
        top: 85% !important;
        margin: 0 15px;
    }

    .tp-hero-arrow--prev {
        left: 8px !important;
    }

    .tp-hero-arrow--next {
        right: 8px !important;
    }

    .tp-hero-arrow span {
        width: 10px !important;
        height: 10px !important;
    }

    .tp-hero-dots {
        bottom: 12px !important;
        gap: 8px !important;
    }

    .tp-hero-dot {
        width: 8px !important;
        height: 8px !important;
    }

    .tp-hero-progress {
        height: 3px !important;
    }

    /* ===== SERVICES ===== */
    .tp-services {
        padding: 72px 0 !important;
        background-position: center center !important;
        background-size: cover !important;
    }

    .tp-services-head {
        margin-bottom: 28px !important;
        text-align: center !important;
    }

    .tp-section-title {
        font-size: clamp(2rem, 8vw, 2.45rem) !important;
        line-height: 1.08 !important;
        margin-bottom: 12px !important;
    }

    .tp-section-subtitle {
        max-width: 100% !important;
        font-size: .95rem !important;
        line-height: 1.7 !important;
    }

    .tp-services-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 14px !important;
    }

    .tp-service-card {
        padding: 22px 14px !important;
        border-radius: 18px !important;
    }

    .tp-service-icon {
        font-size: 24px !important;
        margin-bottom: 10px !important;
    }

    .tp-service-card h3 {
        margin: 0 0 8px !important;
        font-size: 1.15rem !important;
        line-height: 1.08 !important;
    }

    .tp-service-card p {
        margin: 0 !important;
        font-size: .85rem !important;
        line-height: 1.55 !important;
    }

    /* ===== WHY CHOOSE US: make it visually different from process ===== */
    .tp-why {
        padding: 74px 0 !important;
    }

    .tp-why__grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .tp-why__content {
        max-width: 100% !important;
    }

    .tp-why__eyebrow {
        margin-bottom: 12px !important;
        padding: 8px 12px !important;
        font-size: 10px !important;
        letter-spacing: .10em !important;
    }

    .tp-why__title {
        font-size: clamp(1.9rem, 8vw, 2.4rem) !important;
        line-height: 1.05 !important;
        margin-bottom: 14px !important;
    }

    .tp-why__text {
        max-width: 100% !important;
        font-size: .96rem !important;
        line-height: 1.7 !important;
    }

    .tp-why__list {
        gap: 12px !important;
        margin-top: 20px !important;
    }

    .tp-why__item {
        padding: 16px !important;
        border-radius: 18px !important;
        gap: 12px !important;
    }

    .tp-why__icon {
        width: 34px !important;
        height: 34px !important;
        flex: 0 0 34px !important;
        font-size: 15px !important;
    }

    .tp-why__info h3 {
        font-size: 1rem !important;
        margin-bottom: 4px !important;
    }

    .tp-why__info p {
        font-size: .9rem !important;
        line-height: 1.58 !important;
    }

    /* key difference on mobile: compact 2x2 stat dashboard */
    .tp-why__stats {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }

    .tp-why__card,
    .tp-why__card--large {
        min-height: 122px !important;
        padding: 16px 14px !important;
        border-radius: 18px !important;
        justify-content: center !important;
    }

    .tp-why__number {
        font-size: 1.1rem !important;
        line-height: 1.05 !important;
    }

    .tp-why__label {
        margin-top: 6px !important;
        font-size: .78rem !important;
        line-height: 1.28 !important;
    }

    /* ===== PROCESS: keep as timeline list ===== */
    .tp-process {
        padding: 74px 0 !important;
    }

    .tp-process-head {
        margin-bottom: 30px !important;
        text-align: center !important;
    }

    .tp-process-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: none !important;
        max-width: 100% !important;
        row-gap: 14px !important;
        column-gap: 0 !important;
    }

    .tp-process-grid::before {
        display: none !important;
    }

    .tp-process-card,
    .tp-process-card:nth-child(1),
    .tp-process-card:nth-child(2),
    .tp-process-card:nth-child(3),
    .tp-process-card:nth-child(4) {
        grid-column: auto !important;
        grid-row: auto !important;
        justify-self: stretch !important;
        align-self: auto !important;
        min-height: auto !important;
        text-align: left !important;
        padding: 18px 16px 18px 72px !important;
        border-radius: 18px !important;
        margin-top: 0 !important;
    }

    .tp-process-card::before {
        display: none !important;
    }

    .tp-process-card h3 {
        font-size: 1.22rem !important;
        line-height: 1.08 !important;
        margin-bottom: 8px !important;
    }

    .tp-process-card p {
        font-size: .9rem !important;
        line-height: 1.55 !important;
    }

    .tp-process-number {
        position: absolute !important;
        top: 16px !important;
        left: 14px !important;
        margin: 0 !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 15px !important;
    }

    .tp-service-card,
    .tp-why__card,
    .tp-process-card {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    .tp-services-grid {
        grid-template-columns: 1fr !important;
    }

    .tp-why__stats {
        grid-template-columns: 1fr !important;
    }

    .tp-why__card,
    .tp-why__card--large {
        min-height: 110px !important;
    }

    .tp-hero-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .tp-btn {
        font-size: .7rem !important;
        min-height: 46px !important;
        padding: 0 8px !important;
    }

    .tp-hero-badges {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .tp-hero-badge__num {
        font-size: .76rem !important;
    }

    .tp-hero-badge__label {
        font-size: .66rem !important;
    }
}










/* =========================================
SECTION: Featured Plumbing Solutions
========================================= */

.tp-featured {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    isolation: isolate;
}

.tp-featured__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 31, 56, 0.82) 0%, rgba(8, 31, 56, 0.74) 100%),
        /* linear-gradient(rgba(8,31,56,0.85), rgba(8,31,56,0.75)) */
        url("/wp-content/uploads/bg-solu.jpg");
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.tp-featured::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(127, 212, 255, 0.12), transparent 30%),
        radial-gradient(circle at 80% 18%, rgba(127, 212, 255, 0.08), transparent 24%);
    z-index: -1;
}

.tp-featured__head {
    max-width: 760px;
    margin: 0 auto 56px;
    text-align: center;
}

.tp-featured__eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #dff5ff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.tp-featured__title {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(2.2rem, 3.4vw, 3.7rem);
    line-height: 1.17;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.tp-featured__text {
    margin: 0 auto;
    max-width: 680px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.03rem;
    line-height: 1.8;
}

.tp-featured__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tp-featured-card {
    position: relative;
    min-height: 450px;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.tp-featured-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
}

.tp-featured-card__image,
.tp-featured-card__image img,
.tp-featured-card__overlay {
    position: absolute;
    inset: 0;
}

.tp-featured-card__image {
    overflow: hidden;
}

.tp-featured-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.tp-featured-card:hover .tp-featured-card__image img {
    transform: scale(1.08);
}

.tp-featured-card__overlay {
    background:
        linear-gradient(180deg, rgba(8, 31, 56, 0.04) 0%, rgba(8, 31, 56, 0.18) 42%, rgba(8, 31, 56, 0.88) 100%);
}

.tp-featured-card__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 26px 24px 24px;
    z-index: 2;
}

.tp-featured-card__content h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 1.55rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.tp-featured-card__content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.96rem;
    line-height: 1.7;
}

@media (max-width: 991px) {
    .tp-featured {
        padding: 95px 0;
    }

    .tp-featured__grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .tp-featured-card {
        min-height: 420px;
    }
}

@media (max-width: 767px) {
    .tp-featured {
        padding: 78px 0;
    }

    .tp-featured__head {
        margin-bottom: 34px;
    }

    .tp-featured__eyebrow {
        font-size: 10px;
        padding: 8px 12px;
        letter-spacing: 0.10em;
    }

    .tp-featured__title {
        font-size: clamp(1.9rem, 8vw, 2.6rem);
        line-height: 1.05;
    }

    .tp-featured__text {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .tp-featured-card {
        min-height: 360px;
        border-radius: 22px;
    }

    .tp-featured-card__content {
        padding: 20px 18px 18px;
    }

    .tp-featured-card__content h3 {
        font-size: 1.3rem;
    }

    .tp-featured-card__content p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
}









/* =========================================
SECTION: Testimonials
========================================= */

.tp-testimonials {
    padding: 120px 0;
    background: #f7fbff;
}

.tp-testimonials-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.tp-testimonials-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #e6f3ff;
    color: #2f7fbe;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tp-testimonials-title {
    margin: 0 0 18px;
    font-size: clamp(2.1rem, 3vw, 3rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0b2340;
}

.tp-testimonials-text {
    margin: 0 auto;
    max-width: 620px;
    font-size: 1rem;
    line-height: 1.7;
    color: #6b7b8c;
}

.tp-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.tp-review-card {
    background: #ffffff;
    padding: 32px;
    border-radius: 22px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: transform .3s ease, box-shadow .3s ease;
}

.tp-review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.tp-review-stars {
    font-size: 18px;
    color: #ffc400;
    margin-bottom: 16px;
}

.tp-review-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #5f6f80;
    margin-bottom: 22px;
}

.tp-review-author strong {
    display: block;
    font-size: 0.95rem;
    color: #0b2340;
}

.tp-review-author span {
    font-size: 0.85rem;
    color: #7a8a9b;
}

/* responsive */

@media (max-width: 991px) {
    .tp-testimonials-grid {
        grid-template-columns: 1fr;
    }
}





/* =========================================
CTA SECTION
========================================= */

.tp-cta {

    position: relative;
    padding: 160px 0;

    background-image: url("/wp-content/uploads/bg-cta.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* FIXED BACKGROUND */
    background-attachment: fixed;

    color: white;
    text-align: center;

}

.tp-cta-overlay {

    position: absolute;
    inset: 0;

    background:
        linear-gradient(135deg,
            rgba(10, 25, 40, 0.85),
            rgba(20, 60, 95, 0.75));

}

.tp-cta-content {

    position: relative;
    z-index: 2;

    max-width: 820px;
    margin: auto;

}


.tp-cta-eyebrow {

    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;

    opacity: 0.9;
    margin-bottom: 16px;

}

.tp-cta-title {

    font-size: clamp(36px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.17;
    margin-bottom: 24px;
    color: #fff;
}

.tp-cta-text {

    font-size: 18px;
    line-height: 1.7;
    opacity: 0.9;

    margin-bottom: 36px;

}

.tp-cta-buttons {

    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;

    margin-bottom: 40px;

}

.tp-btn {

    padding: 16px 34px;
    border-radius: 10px;

    font-weight: 600;
    text-decoration: none;

    transition: all .3s ease;

}

.tp-btn-primary {

    background: #4aa3df;
    color: white;

}

.tp-btn-primary:hover {

    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);

}

.tp-btn-outline {

    border: 1px solid rgba(255, 255, 255, 0.6);
    color: white;

}

.tp-btn-outline:hover {

    background: white;
    color: #0c2a44;

}

.tp-cta-badges {

    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;

}

.tp-badge {

    background: rgba(255, 255, 255, 0.12);
    padding: 10px 18px;
    border-radius: 30px;

    font-size: 14px;

    backdrop-filter: blur(6px);

}


/* =========================================
CTA MOBILE BUTTON FIX
========================================= */

@media (max-width: 768px) {

    .tp-cta-buttons {
        display: flex;
        flex-direction: row;
        gap: 12px;
    }

    .tp-cta-buttons .tp-btn {
        flex: 1;
        padding: 14px 12px;
        font-size: 14px;
    }

    .tp-btn {
        border-radius: 8px;
    }

}





/* =========================================
SECTION: FAQ
========================================= */

.tp-faq {
    padding: 120px 0;
    background:
        linear-gradient(180deg, #f8fbff 0%, #eef7ff 100%);
}

.tp-faq__head {
    max-width: 760px;
    margin: 0 auto 52px;
    text-align: center;
}

.tp-faq__eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(47, 127, 190, 0.08);
    border: 1px solid rgba(47, 127, 190, 0.10);
    color: #2f7fbe;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tp-faq__title {
    margin: 0 0 18px;
    color: #0b2340;
    font-size: clamp(2.1rem, 3vw, 3.2rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
    font-weight: 800;
}

.tp-faq__text {
    margin: 0 auto;
    max-width: 640px;
    color: #667587;
    font-size: 1rem;
    line-height: 1.75;
}

.tp-faq__list {
    display: grid;
    gap: 16px;
    max-width: 940px;
    margin: 0 auto;
}

.tp-faq__item {
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(31, 99, 170, 0.08);
    box-shadow: 0 16px 38px rgba(10, 53, 102, 0.05);
    overflow: hidden;
    transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.tp-faq__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 46px rgba(10, 53, 102, 0.08);
}

.tp-faq__question {
    width: 100%;
    padding: 24px 26px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    text-align: left;
    cursor: pointer;
    color: #0b2340;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
}

.tp-faq__icon {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.tp-faq__icon::before,
.tp-faq__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #2f7fbe;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.tp-faq__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.tp-faq__item.is-open .tp-faq__icon::after {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg) scale(0.6);
}

.tp-faq__answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
}

.tp-faq__answer p {
    overflow: hidden;
    margin: 0;
    padding: 0 26px 0;
    color: #627385;
    font-size: 0.98rem;
    line-height: 1.8;
}

.tp-faq__item.is-open .tp-faq__answer {
    grid-template-rows: 1fr;
}

.tp-faq__item.is-open .tp-faq__answer p {
    padding: 0 26px 24px;
}

@media (max-width: 767px) {
    .tp-faq {
        padding: 78px 0;
    }

    .tp-faq__head {
        margin-bottom: 34px;
    }

    .tp-faq__eyebrow {
        font-size: 10px;
        letter-spacing: 0.10em;
        padding: 8px 12px;
    }

    .tp-faq__title {
        font-size: clamp(1.9rem, 8vw, 2.5rem);
        line-height: 1.06;
    }

    .tp-faq__text {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .tp-faq__item {
        border-radius: 18px;
    }

    .tp-faq__question {
        padding: 18px 18px;
        font-size: 1rem;
        line-height: 1.45;
    }

    .tp-faq__answer p {
        font-size: 0.92rem;
        line-height: 1.7;
        padding: 0 18px 0;
    }

    .tp-faq__item.is-open .tp-faq__answer p {
        padding: 0 18px 18px;
    }
}







/* =========================================
SECTION: Footer
========================================= */
.ct-container {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    max-width: 100%;
}

.tp-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgba(127, 212, 255, 0.10), transparent 24%),
        radial-gradient(circle at 82% 16%, rgba(127, 212, 255, 0.08), transparent 22%),
        linear-gradient(180deg, #071a2c 0%, #0a2238 52%, #081726 100%);
    color: #ffffff;
}

.tp-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.18;
    pointer-events: none;
}

.tp-footer__top {
    position: relative;
    z-index: 1;
    padding: 90px 0 54px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tp-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 0.5fr 0.7fr 1.2fr;
    gap: 34px;
}

.tp-footer__brand {
    max-width: 420px;
}

.tp-footer__logo {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(1.8rem, 2vw, 2.3rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.tp-footer__brand-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.98rem;
    line-height: 1.8;
}

.tp-footer__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.tp-footer__badges span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    line-height: 1;
    backdrop-filter: blur(8px);
}

.tp-footer__title {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.tp-footer__links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tp-footer__links li+li {
    margin-top: 12px;
}

.tp-footer__links a {
    color: rgba(255, 255, 255, 0.74);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.tp-footer__links a:hover {
    color: #7fd4ff;
}

.tp-footer__contact p {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.7;
    font-size: 0.95rem;
}

.tp-footer__contact strong {
    color: #ffffff;
    font-weight: 700;
}

.tp-footer__contact a {
    color: rgba(255, 255, 255, 0.80);
    text-decoration: none;
}

.tp-footer__contact a:hover {
    color: #7fd4ff;
}

.tp-footer__actions {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.tp-footer__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 14px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    transition:
        transform 0.35s ease,
        background 0.35s ease,
        border-color 0.35s ease,
        color 0.35s ease,
        box-shadow 0.35s ease;
}

.tp-footer__btn:hover {
    transform: translateY(-2px);
}

.tp-footer__btn--primary {
    background: linear-gradient(135deg, #4aa3df 0%, #66c7ff 100%);
    color: #ffffff;
    box-shadow: 0 14px 30px rgba(53, 144, 214, 0.22);
}

.tp-footer__btn--primary:hover {
    box-shadow: 0 18px 36px rgba(53, 144, 214, 0.28);
}

.tp-footer__btn--outline {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.tp-footer__btn--outline:hover {
    border-color: rgba(127, 212, 255, 0.48);
    background: rgba(255, 255, 255, 0.08);
    color: #7fd4ff;
}

.tp-footer__bottom {
    position: relative;
    z-index: 1;
    padding: 18px 0 22px;
}

.tp-footer__bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.tp-footer__copy,
.tp-footer__credit {
    margin: 0;
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* Responsive */

@media (max-width: 1100px) {
    .tp-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 26px;
    }
}

@media (max-width: 767px) {
    .tp-footer__top {
        padding: 74px 0 42px;
    }

    ul.tp-footer__links li {
        margin-bottom: -10px;
    }

    .tp-footer__grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    /* first block full width */
    .tp-footer__grid> :first-child {
        grid-column: 1 / -1;
    }

    /* last block full width */
    .tp-footer__grid> :last-child {
        grid-column: 1 / -1;
    }

    .tp-footer__brand {
        max-width: 100%;
    }

    .tp-footer__logo {
        font-size: clamp(1.6rem, 8vw, 2rem);
    }

    .tp-footer__brand-text,
    .tp-footer__contact p,
    .tp-footer__links a {
        font-size: 0.94rem;
    }

    .tp-footer__bottom-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .tp-footer__copy,
    .tp-footer__credit {
        font-size: 0.84rem;
    }
}




/* =========================================================
   GLOBAL SCROLL REVEAL
========================================================= */

/* Base hidden state */
.sr-item {
    opacity: 0;
    transform: translateY(42px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
    will-change: opacity, transform;
}

/* Left-to-right variant */
.sr-left {
    opacity: 0;
    transform: translateX(-54px);
    transition:
        opacity 0.9s ease,
        transform 0.9s ease;
    will-change: opacity, transform;
}

/* Visible state */
.sr-item.is-visible,
.sr-left.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Stagger timing */
.sr-item[data-sr="1"],
.sr-left[data-sr="1"] {
    transition-delay: 0.08s;
}

.sr-item[data-sr="2"],
.sr-left[data-sr="2"] {
    transition-delay: 0.16s;
}

.sr-item[data-sr="3"],
.sr-left[data-sr="3"] {
    transition-delay: 0.24s;
}

.sr-item[data-sr="4"],
.sr-left[data-sr="4"] {
    transition-delay: 0.32s;
}

.sr-item[data-sr="5"],
.sr-left[data-sr="5"] {
    transition-delay: 0.40s;
}

.sr-item[data-sr="6"],
.sr-left[data-sr="6"] {
    transition-delay: 0.48s;
}

.tp-footer__links li {
    margin-bottom: -8px !important;
}

.tp-footer__title.foot_leg_tittl {
    margin: 25px 0 7px 0;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    .sr-item,
    .sr-left,
    .sr-item.is-visible,
    .sr-left.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}



/* =========================================
BACK TO TOP - LUXURY STYLE
========================================= */

.ct-back-to-top {
    width: 52px;
    height: 52px;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #16446d 0%, #2f7fbe 100%) !important;
    color: #ffffff !important;
    box-shadow:
        0 14px 30px rgba(11, 35, 64, 0.18),
        0 2px 10px rgba(11, 35, 64, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.10);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease,
        opacity 0.35s ease;
}

.ct-back-to-top:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, #0f2f4d 0%, #1d4d78 100%) !important;
    box-shadow:
        0 18px 36px rgba(11, 35, 64, 0.24),
        0 4px 14px rgba(47, 127, 190, 0.18);
}

.ct-back-to-top svg,
.ct-back-to-top .ct-icon {
    width: 18px;
    height: 18px;
    color: #ffffff !important;
    fill: currentColor;
}

.ct-back-to-top.ct-show {
    opacity: 1;
}

/* Mobile */
@media (max-width: 767px) {
    .ct-back-to-top {
        width: 46px;
        height: 46px;
        border-radius: 12px !important;
    }

    .ct-back-to-top svg,
    .ct-back-to-top .ct-icon {
        width: 16px;
        height: 16px;
    }
}








/* =====================================================
   LUXURY MODAL FORM
===================================================== */

/* Modal background */
.gama-modal__dialog {
    width: min(980px, calc(100% - 32px));
    max-height: 94vh;
    overflow: auto;
    border-radius: 28px;
    padding: 25px 40px 10px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
    box-shadow: 0 40px 90px rgba(0, 0, 0, .25);
}


/* Title */

.gama-modal__title {
    font-size: 32px;
    font-weight: 800;
    color: #0f2f4d;
    margin-bottom: 10px;
}


/* Subtitle */

.gama-modal__subtitle {
    color: #6b7f92;
    margin-bottom: 30px;
}


/* =====================================================
   FORM GRID
===================================================== */

.gama-modal__body .wpforms-field-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 10px;
    align-items: start;
}


/* Full name full width */

.gama-modal__body #wpforms-46-field_5-container {
    grid-column: 1 / -1;
}


/* Phone + Email */

.gama-modal__body #wpforms-46-field_4-container {
    grid-column: 1;
}

.gama-modal__body #wpforms-46-field_2-container {
    grid-column: 2;
}


/* Service + Address */

.gama-modal__body #wpforms-46-field_6-container {
    grid-column: 1;
}

.gama-modal__body #wpforms-46-field_7-container {
    grid-column: 2;
}


/* Message full width */

.gama-modal__body #wpforms-46-field_3-container {
    grid-column: 1 / -1;
}


/* Hide spam fields */

.gama-modal__body #wpforms-46-field_1-container,
.gama-modal__body #wpforms-46-field_9-container {
    display: none;
}


/* =====================================================
   INPUT STYLE
===================================================== */

.gama-modal__body input,
.gama-modal__body select,
.gama-modal__body textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 44px !important;
    padding: 0 16px !important;

    border-radius: 16px !important;
    border: 1px solid rgba(31, 99, 170, 0.12) !important;

    background: rgba(255, 255, 255, 0.94) !important;
    color: #0f2f4d !important;
    font-size: 0.98rem !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.78),
        0 8px 20px rgba(11, 35, 64, 0.03) !important;

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease !important;
}


/* focus / active */
.gama-modal__body input:focus,
.gama-modal__body select:focus,
.gama-modal__body textarea:focus {
    border-color: rgba(74, 163, 223, 0.52) !important;
    background: #ffffff !important;

    box-shadow:
        0 0 0 4px rgba(74, 163, 223, 0.10),
        0 12px 24px rgba(11, 35, 64, 0.06) !important;

    outline: none !important;
}

/* select */
.gama-modal__body select {
    padding-right: 42px !important;
}

/* placeholder */
.gama-modal__body input::placeholder,
.gama-modal__body textarea::placeholder {
    color: #92a4b6 !important;
    opacity: 1;
}

/* slight hover */
.gama-modal__body input:hover,
.gama-modal__body select:hover,
.gama-modal__body textarea:hover {
    border-color: rgba(74, 163, 223, 0.22) !important;
    background: #ffffff !important;
}

.gama-modal__body .wpforms-field-label {
    margin-bottom: 10px !important;
    color: #0f2f4d !important;
    font-size: 1.02rem !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
}


/* textarea */
.gama-modal__body textarea {
    min-height: 115px !important;
    padding: 16px !important;
    resize: vertical !important;
}

/* =====================================================
   BUTTON
===================================================== */

.gama-modal__body .wpforms-submit {

    background:
        linear-gradient(135deg, #2f7fbe, #67c7ff);

    border: none;
    border-radius: 12px;

    padding: 14px 28px;

    font-weight: 700;
    font-size: 15px;
    color: white;

    box-shadow:
        0 12px 25px rgba(47, 127, 190, .25);

    transition: .3s;
}


.gama-modal__body .wpforms-submit:hover {

    transform: translateY(-2px);

    box-shadow:
        0 18px 35px rgba(47, 127, 190, .35);
}


.gama-modal__body {
    max-width: 100%;
}

.gama-modal__title {
    font-size: clamp(2rem, 3vw, 2.7rem);
    line-height: 1.05;
    margin: 0 0 10px;
}

.gama-modal__subtitle {
    margin: 0 0 26px;
    font-size: 1rem;
    line-height: 1.7;
    color: #6b7f92;
}

.gama-modal__body .wpforms-container {
    max-width: 100%;
    margin: 0;
}

.gama-modal__body .wpforms-field {
    width: 100%;
    min-width: 0;
}



.gama-modal__body textarea {
    min-height: 140px;
}

.gama-modal__body .wpforms-submit-container {
    margin-top: 24px !important;
}

.gama-modal__body .wpforms-submit {
    min-width: 220px;
}

.gama-modal__body .wpforms-field {
    padding: 0 !important;
}

.gama-modal__body .wpforms-container .wpforms-form .wpforms-field-label {
    margin-bottom: 3px !important;
}

.gama-modal__body {
    padding: 0px 20px !important;
}

.gama-modal__body .wpforms-container-full:not(:empty) {
    margin: 20px auto !important;
}

@media (max-width: 768px) {

    .gama-modal__dialog {
        width: calc(100% - 20px);
        padding: 24px 18px 22px;
        border-radius: 22px;
    }

    .gama-modal__body .wpforms-field-container {
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 16px;
    }

    .gama-modal__title {
        font-size: 2rem;
    }

    .gama-modal__subtitle {
        margin-bottom: 20px;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .gama-modal__body .wpforms-submit {
        width: 100%;
        min-width: 0;
    }
}








/* =========================================================
   MODAL FORM - TABLET & MOBILE FIX
========================================================= */

/* Make all fields truly fill their grid cell */
.gama-modal__body .wpforms-field,
.gama-modal__body .wpforms-field-medium,
.gama-modal__body .wpforms-field-large,
.gama-modal__body .wpforms-field input,
.gama-modal__body .wpforms-field select,
.gama-modal__body .wpforms-field textarea {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Message should always be full width */
.gama-modal__body #wpforms-46-field_3-container {
    grid-column: 1 / -1 !important;
}

.gama-modal__body #wpforms-46-field_3 {
    width: 100% !important;
    min-height: 130px !important;
}

/* Tablet and down: switch to one clean column */
@media (max-width: 980px) {
    .gama-modal__dialog {
        width: min(720px, calc(100% - 24px)) !important;
        padding: 28px 22px 24px !important;
        border-radius: 24px !important;
    }

    .gama-modal__title {
        font-size: clamp(2rem, 5vw, 2.5rem) !important;
        line-height: 1.06 !important;
        margin-bottom: 10px !important;
    }

    .gama-modal__subtitle {
        margin-bottom: 22px !important;
        font-size: 0.96rem !important;
        line-height: 1.65 !important;
    }

    .gama-modal__body .wpforms-field-container {
        grid-template-columns: 1fr !important;
        column-gap: 0 !important;
        row-gap: 16px !important;
    }

    .gama-modal__body #wpforms-46-field_5-container,
    .gama-modal__body #wpforms-46-field_4-container,
    .gama-modal__body #wpforms-46-field_2-container,
    .gama-modal__body #wpforms-46-field_6-container,
    .gama-modal__body #wpforms-46-field_7-container,
    .gama-modal__body #wpforms-46-field_3-container {
        grid-column: 1 / -1 !important;
    }

    .gama-modal__body .wpforms-field-label {
        margin-bottom: 8px !important;
        font-size: 0.98rem !important;
    }

    .gama-modal__body input,
    .gama-modal__body select,
    .gama-modal__body textarea {
        min-height: 52px !important;
        padding: 0 14px !important;
        border-radius: 14px !important;
        font-size: 0.95rem !important;
    }

    .gama-modal__body textarea {
        min-height: 140px !important;
        padding: 14px !important;
    }

    .gama-modal__body .wpforms-submit-container {
        margin-top: 20px !important;
    }

    .gama-modal__body .wpforms-submit {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 52px !important;
    }
}

/* Small mobile polish */
@media (max-width: 640px) {
    .gama-modal__dialog {
        width: calc(100% - 16px) !important;
        padding: 22px 16px 18px !important;
        border-radius: 20px !important;
    }

    .gama-modal__title {
        font-size: 1.9rem !important;
    }

    .gama-modal__subtitle {
        font-size: 0.94rem !important;
        margin-bottom: 18px !important;
    }

    .gama-modal__close {
        width: 48px !important;
        height: 48px !important;
        top: 12px !important;
        right: 12px !important;
    }
}


/* Footer logo frame */
.tp-footer__logo-img {
    max-width: 150px;
    height: auto;
    margin-bottom: 18px;
    display: block;
    /* padding: 10px; */
    border-radius: 14px;
    border: 1px solid rgba(0, 160, 255, 0.35);
    background: linear-gradient(145deg, #0b1f33, #0e2b47);
    box-shadow:
        0 0 15px rgba(0, 150, 255, 0.25),
        0 0 35px rgba(0, 120, 255, 0.15),
        inset 0 0 10px rgba(255, 255, 255, 0.05);
}