/* ==========================================================================
   Build Masters Constructions — Theme CSS (Healix Design System)
   ========================================================================== */

/* ==========================================================================
   01. CSS VARIABLES
   ========================================================================== */
:root {
    --primary-color: #0F2020;
    --secondary-color: #EAEEF1;
    --text-color: #404B4B;
    --accent-color: #F9D67B;
    --accent-secondary-color: #014E4E;
    --white-color: #FFFFFF;
    --divider-color: #F1F1F1;
    --dark-divider-color: rgba(255, 255, 255, 0.1);
    --error-color: rgb(230, 87, 87);
    --default-font: "Inter";
    --accent-font: "Inter";

    /* Consistent easing tokens */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
    --duration-fast: 150ms;
    --duration-base: 240ms;
    --duration-slow: 380ms;
}

/* Legacy CSS variable aliases (used in inline styles of existing pages) */
:root {
    --clr-accent: var(--accent-color);
    --clr-accent-dark: var(--accent-secondary-color);
    --clr-accent-light: var(--secondary-color);
    --clr-text-muted: var(--text-color);
    --clr-res-accent: #4CAF6E;
    --radius-sm: 4px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

/* ==========================================================================
   02. RESET & BASE
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100%;
    scroll-behavior: smooth;          /* native smooth scroll for anchor links */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--default-font), "sans-serif";
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6em;
    color: var(--text-color);
    background: var(--white-color);
    overflow-x: hidden;
    max-width: 100%;
    -webkit-overflow-scrolling: touch; /* momentum scrolling on iOS */
}

html, body {
    width: 100%;
}

/* Scroll margin so sticky header never covers jump targets */
[id] {
    scroll-margin-top: 80px;
}

@media (max-width: 991px) {
    [id] { scroll-margin-top: 70px; }
}

/* GPU-composited layers for elements that animate */
.header-sticky,
.mobile-nav,
.pg-lightbox,
.fade-up,
.service-card,
.promise-card,
.int-service-card,
.pg-thumb,
.pg-lb-card {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-family: var(--default-font), "sans-serif";
    font-weight: 700;
    line-height: 1.2em;
    color: var(--primary-color);
}

p {
    line-height: 1.6em;
    margin-bottom: 1.5em;
}

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

figure {
    margin: 0;
}

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

a {
    text-decoration: none;
}

a:hover, a:focus {
    text-decoration: none;
    outline: 0;
}

ul, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.container {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

::-webkit-scrollbar-track {
    background-color: var(--secondary-color);
}

::-webkit-scrollbar {
    width: 6px;
    background-color: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
}

/* ==========================================================================
   03. BUTTONS
   ========================================================================== */
.btn-default {
    position: relative;
    font-family: var(--accent-font);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: capitalize;
    background: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50px;
    padding: 12px 28px;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: color var(--duration-base) var(--ease-out),
                box-shadow var(--duration-base) var(--ease-out),
                transform var(--duration-fast) var(--ease-out);
    z-index: 1;
    text-align: center;
    white-space: nowrap;
}

.btn-default:hover {
    color: var(--white-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(1, 78, 78, 0.2);
}

.btn-default:active {
    transform: translateY(0);
}

.btn-default::after,
.btn-default::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0;
    height: 100%;
    background: var(--accent-secondary-color);
    transform: skew(15deg);
    transition: all var(--duration-slow) var(--ease-in-out);
    z-index: -1;
}

.btn-default::before {
    left: -10px;
}

.btn-default::after {
    right: -10px;
}

.btn-default:hover::after,
.btn-default:hover::before {
    width: 60%;
}

/* Highlighted: ghost style for dark backgrounds */
.btn-default.btn-highlighted {
    background: transparent;
    color: var(--white-color);
    border: 2px solid rgba(255, 255, 255, 0.38);
}

.btn-default.btn-highlighted:hover {
    color: var(--primary-color);
}

.btn-default.btn-highlighted::after,
.btn-default.btn-highlighted::before {
    background: var(--accent-color);
}

/* Small modifier */
.btn-default.btn-sm {
    font-size: 14px;
    padding: 11px 22px;
}

/* WhatsApp modifier */
.btn-default.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-default.btn-whatsapp:hover {
    color: #fff;
}

.btn-default.btn-whatsapp::after,
.btn-default.btn-whatsapp::before {
    background: #128C7E;
}

/* Outline modifier */
.btn-default.btn-outline {
    background: transparent;
    color: var(--white-color);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-default.btn-outline:hover {
    color: var(--primary-color);
    background: var(--white-color);
    border-color: var(--white-color);
}

.btn-default.btn-outline::after,
.btn-default.btn-outline::before {
    display: none;
}

/* ==========================================================================
   04. SECTION UTILITIES
   ========================================================================== */
.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 60px 0;
}

.section-padding-lg {
    padding: 130px 0;
}

/* Light rounded section — same side margins as hero/cta/footer cards */
.bg-section {
    width: auto;
    margin: 0 20px;
    background-color: var(--secondary-color);
    border-radius: 24px;
    overflow: hidden;
}

/* Dark teal section */
.bg-section.dark-section {
    position: relative;
    background: var(--accent-secondary-color);
    border-radius: 24px;
    overflow: hidden;
}

.bg-section.dark-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(38.51% 48.25% at 50.45% 50.9%, rgba(1, 78, 78, 0) 0.01%, #014E4E 100%);
    border-radius: 50px;
    z-index: 0;
}

.bg-section.dark-section > * {
    position: relative;
    z-index: 1;
}

/* Section title block */
.section-title {
    margin-bottom: 50px;
}

.section-title .eyebrow,
.section-eyebrow {
    display: inline-block;
    font-family: var(--accent-font);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-secondary-color);
    background: rgba(249, 214, 123, 0.3);
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.dark-section .section-title .eyebrow,
.dark-section .section-eyebrow {
    background: rgba(249, 214, 123, 0.15);
    color: var(--accent-color);
}

.section-title h2,
.section-header h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.9rem);
    font-weight: 700;
    margin-bottom: 0;
}

.section-title h1 {
    font-size: clamp(2.4rem, 4.5vw, 4.2rem);
    font-weight: 700;
}

.section-title p {
    margin-top: 16px;
    margin-bottom: 0;
}

.dark-section .section-title h1,
.dark-section .section-title h2,
.dark-section .section-title h3,
.dark-section .section-title p,
.dark-section h2,
.dark-section p {
    color: var(--white-color);
}

.dark-section p {
    color: rgba(255, 255, 255, 0.78);
}

.section-row {
    margin-bottom: 60px;
}

.divider {
    width: 40px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
    margin: 18px 0;
}

.divider-center {
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    margin-bottom: 50px;
}

.section-header .lead {
    margin-top: 16px;
}

/* ==========================================================================
   05. HEADER & NAVIGATION
   ========================================================================== */
header.main-header {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1000;
}

/* When mobile nav is open, header sits below the nav overlay */

.header-sticky {
    position: relative;
    transition: background 0.3s ease, transform 0.3s ease;
    border-bottom: 1px solid var(--dark-divider-color);
}

.header-sticky.hide {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

.header-sticky.active {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: translateY(0);
    background: var(--accent-secondary-color);
    border-bottom: 1px solid var(--dark-divider-color);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

/* When sticky, no white gap above — use equal top/bottom padding */
.header-sticky.active .site-navbar {
    padding: 16px 0;
}

.site-navbar {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 36px 0 16px; /* top = hero-outer padding (20px) + bottom padding (16px) */
    gap: 16px;
}

.site-navbar .navbar-brand {
    flex-shrink: 0;
}

.site-navbar .navbar-brand img {
    display: block;
    height: 40px;
    width: auto;
}

/* Desktop nav */
.nav-menu-wrapper {
    flex: 1;
    text-align: center;
    min-width: 0;
}

.nav-menu {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    font-family: var(--accent-font);
    font-size: 15px;
    font-weight: 600;
    color: var(--white-color);
    padding: 12px 15px;
    display: flex;
    align-items: center;
    text-transform: capitalize;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li.active > a {
    color: var(--accent-color);
}

/* Dropdown arrow using SVG inline */
.nav-chevron {
    display: inline-block;
    width: 14px;
    height: 14px;
    stroke: currentColor;
    margin-left: 4px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.nav-menu > li.has-dropdown:hover .nav-chevron {
    transform: rotate(180deg);
}

/* Dropdown menu */
.nav-dropdown {
    visibility: hidden;
    opacity: 0;
    transform: scaleY(0.85);
    transform-origin: top center;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 230px;
    background: var(--accent-color);
    border-radius: 16px;
    padding: 8px 0;
    margin: 0;
    list-style: none;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
    transition: all 0.3s ease;
    z-index: 200;
}

.nav-menu > li:hover .nav-dropdown {
    visibility: visible;
    opacity: 1;
    transform: scaleY(1);
}

.nav-dropdown li a {
    font-family: var(--accent-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    padding: 9px 20px;
    display: block;
    text-transform: capitalize;
    transition: padding 0.2s ease, color 0.2s ease;
}

.nav-dropdown li a:hover {
    color: var(--accent-secondary-color);
    padding-left: 25px;
}

/* Header CTA area */
.header-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

/* Header CTA button structure */
.hdr-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

/* Desktop: icon hidden, short label hidden */
.hdr-cta-icon       { display: none; }
.hdr-cta-label-short { display: none; }
.hdr-cta-label-full  { display: inline; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    gap: 5px;
    padding: 0;
    flex-shrink: 0;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: var(--accent-secondary-color);
    border-radius: 2px;
    transition: all 0.25s ease;
}

.hamburger.is-open span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.is-open span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile nav */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--accent-secondary-color);
    z-index: 1001; /* above the header (z-index: 1000) */
    overflow-y: auto;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 0 40px;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
}

.mobile-nav.is-open {
    right: 0;
}

/* Nav header bar — same height as site header, sticky at top */
.mobile-nav-close {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    width: 100%;
    min-height: 72px; /* matches site header height */
    padding: 0 20px;
    background: var(--accent-secondary-color);
    border: none;
    border-bottom: 1px solid var(--dark-divider-color);
    cursor: pointer;
    z-index: 2;
    flex-shrink: 0;
}

.mobile-nav-close::before {
    content: 'Menu';
    font-family: var(--accent-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--white-color);
    letter-spacing: 0.02em;
}

.mobile-nav-close svg {
    width: 24px;
    height: 24px;
    stroke: rgba(255, 255, 255, 0.8);
    transition: stroke 0.2s ease;
}

.mobile-nav-close:hover svg {
    stroke: var(--accent-color);
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1000; /* above header, below mobile-nav */
}

.mobile-nav-overlay.is-visible {
    display: block;
}

.mobile-nav-list {
    padding: 10px 0;
}

.mobile-nav-list > li {
    border-bottom: 1px solid var(--dark-divider-color);
}

.mobile-nav-list > li:last-child {
    border-bottom: none;
}

.mobile-nav-link {
    display: block;
    font-family: var(--accent-font);
    font-size: 16px;
    font-weight: 600;
    color: var(--white-color);
    padding: 14px 24px;
    text-transform: capitalize;
    transition: color 0.2s ease;
}

.mobile-nav-link:hover {
    color: var(--accent-color);
}

.mobile-nav-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--accent-font);
    font-size: 16px;
    font-weight: 600;
    color: var(--white-color);
    padding: 14px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-transform: capitalize;
    transition: color 0.2s ease;
}

.mobile-nav-toggle svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.mobile-nav-toggle.is-open svg {
    transform: rotate(180deg);
}

.mobile-nav-toggle:hover {
    color: var(--accent-color);
}

.mobile-sub-menu {
    display: none;
    background: rgba(0, 0, 0, 0.18);
    padding: 4px 0;
}

.mobile-sub-menu.is-open {
    display: block;
}

.mobile-sub-menu li a {
    display: block;
    font-family: var(--accent-font);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
    padding: 10px 24px 10px 36px;
    transition: color 0.2s ease;
}

.mobile-sub-menu li a:hover {
    color: var(--accent-color);
}

.mobile-nav-footer {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-nav-footer .btn-default {
    text-align: center;
    display: block;
}

/* ==========================================================================
   06. HERO (HOME) — Healix card style
   ========================================================================== */

/* Outer wrapper: provides side margins so hero appears as a card */
.hero-outer {
    padding: 20px 20px 0;
    background: var(--white-color);
}

.hero-home {
    position: relative;
    background: var(--accent-secondary-color);
    border-radius: 24px;
    overflow: hidden;
    padding: 100px 0px 20px;
}

.hero-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 80% at 30% 50%, rgba(249, 214, 123, 0.05) 0%, rgba(1, 78, 78, 0.95) 100%);
    z-index: 0;
}

/* The container inside hero: split into grid — image col sets the row height */
.hero-home .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 5fr 7fr;
    align-items: center;
}

/* Left: text content */
.hero-content-col {
    display: flex;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--accent-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-color);
    background: transparent;
    border-radius: 0;
    padding: 0;
    margin-bottom: 22px;
}

.hero-badge svg {
    flex-shrink: 0;
}

.hero-content-col h1 {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 700;
    color: var(--white-color);
    line-height: 1.15em;
    margin-bottom: 18px;
}

.hero-content-col .lead {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65em;
    margin-bottom: 32px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-family: var(--accent-font);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
}

.hero-trust-item .stars {
    color: var(--accent-color);
    font-size: 13px;
    letter-spacing: 1px;
}

.hero-trust-item svg {
    color: var(--accent-color);
    flex-shrink: 0;
}

/* Right: image column — square aspect ratio matches the 600×600 images exactly */
.hero-image-col {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 1 / 1;
    padding: 0;
}

.hero-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 12px;
    transition: opacity 0.5s ease;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

/* No ::after gradient — image col is now a self-contained rounded card */

/* ==========================================================================
   06B. BEFORE / AFTER HERO SLIDER
   ========================================================================== */

/* Container — positioned above the ::after gradient overlay */
.ba-slider {
    --ba-pos: 50%;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    cursor: ew-resize;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
    /* GPU layer + entrance animation */
    opacity: 0;
    transform: scale(0.975) translate3d(0, 0, 0);
    transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.3s ease;
    z-index: 1; /* above ::after gradient */
    background: var(--primary-color);
    outline: none;
}

.ba-slider.ba-ready {
    opacity: 1;
    transform: scale(1) translate3d(0, 0, 0);
}

.ba-slider:focus-visible {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.38), 0 0 0 3px var(--accent-color);
}

/* Image layers — stack on top of each other */
.ba-before,
.ba-after {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.ba-before {
    z-index: 1;
}

/* After layer clips everything LEFT of the handle, revealing only the right portion */
.ba-after {
    z-index: 2;
    clip-path: inset(0 0 0 var(--ba-pos));
    /* Smooth clip during auto-reveal; JS removes this transition during active drag */
    will-change: clip-path;
}

.ba-after.ba-transitioning {
    transition: clip-path 0.05s linear;
}

/* Images — absolutely fill their layer, shown in full without cropping */
.ba-img {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: contain;
    object-position: center center;
    display: block;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: none !important;
    pointer-events: none;
}

/* Floating pill labels */
.ba-label {
    position: absolute;
    bottom: 20px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.92);
    pointer-events: none;
    white-space: nowrap;
    z-index: 5;
}

.ba-label-before {
    left: 16px;
    background: rgba(10, 28, 28, 0.72);
}

.ba-label-after {
    right: 16px;
    background: rgba(249, 214, 123, 0.15);
    color: var(--accent-color);
    border-color: rgba(249, 214, 123, 0.35);
}

/* Handle — a zero-area anchor at the slider boundary */
.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--ba-pos);
    width: 2px;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: none;
    will-change: left;
}

/* Vertical line */
.ba-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 0 14px rgba(249, 214, 123, 0.5);
    animation: ba-glow-pulse 3s ease-in-out infinite;
}

@keyframes ba-glow-pulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(249, 214, 123, 0.4), 0 0 22px rgba(249, 214, 123, 0.15);
    }
    50% {
        box-shadow: 0 0 20px rgba(249, 214, 123, 0.7), 0 0 40px rgba(249, 214, 123, 0.28);
    }
}

/* Circular drag knob */
.ba-knob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    border: 2.5px solid var(--accent-color);
    box-shadow:
        0 0 0 5px rgba(249, 214, 123, 0.22),
        0 6px 28px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--accent-secondary-color);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ba-slider:hover .ba-knob,
.ba-slider.ba-dragging .ba-knob {
    box-shadow:
        0 0 0 7px rgba(249, 214, 123, 0.32),
        0 8px 36px rgba(0, 0, 0, 0.45),
        0 0 48px rgba(249, 214, 123, 0.2);
    transform: translate(-50%, -50%) scale(1.1);
}

/* Pause glow pulse while dragging (cleaner feel) */
.ba-slider.ba-dragging .ba-line {
    animation: none;
    box-shadow: 0 0 20px rgba(249, 214, 123, 0.7), 0 0 40px rgba(249, 214, 123, 0.28);
}

/* ==========================================================================
   07. INNER PAGE HEADER — Healix card style
   ========================================================================== */

/* hero-inner-outer is optional wrapper, hero-inner handles its own card margins */
.hero-inner-outer {
    padding: 20px 20px 0;
}

.hero-inner {
    position: relative;
    padding: 156px 0 80px; /* 156px top: nav (~92px) + 20px margin + 44px breathing room */
    background: var(--accent-secondary-color);
    border-radius: 24px;
    margin: 20px 20px 0;
    text-align: center;
    overflow: hidden;
}

.hero-inner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(38.51% 48.25% at 50.45% 50.9%, rgba(1, 78, 78, 0) 0.01%, #014E4E 100%);
    z-index: 0;
}

.hero-inner > .container {
    position: relative;
    z-index: 1;
}

.hero-inner h1 {
    font-size: clamp(1.9rem, 3.5vw, 3.2rem);
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 14px;
}

.hero-inner .lead {
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
}

.breadcrumb-trail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--accent-font);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.breadcrumb-trail a {
    color: inherit;
}

.breadcrumb-trail a:hover {
    color: var(--accent-color);
}

.breadcrumb-trail .sep {
    opacity: 0.45;
}

/* ==========================================================================
   08. SERVICE TILES
   ========================================================================== */
.service-tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-tile {
    position: relative;
    display: block;
    background: var(--white-color);
    border-radius: 20px;
    padding: 32px 24px;
    border: 1px solid var(--divider-color);
    overflow: hidden;
    transition: all 0.4s ease;
    color: inherit;
}

.service-tile:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.service-tile-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background 0.3s ease;
}

.service-tile:hover .service-tile-icon {
    background: var(--accent-color);
}

.service-tile-icon svg {
    width: 26px;
    height: 26px;
    color: var(--accent-secondary-color);
}

.service-tile h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-tile p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6em;
    margin-bottom: 16px;
}

.tile-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--accent-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-secondary-color);
    transition: gap 0.2s ease;
}

.tile-cta svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.service-tile:hover .tile-cta {
    gap: 10px;
}

.service-tile--residential {
    border-top: 3px solid #4CAF6E;
}

.service-tile--commercial {
    border-top: 3px solid #4A72BE;
}

.service-tile--turnkey {
    border-top: 3px solid #C4873A;
}

.service-tile--design {
    border-top: 3px solid #A07850;
}

/* ==========================================================================
   08b. SERVICE CARDS (Image-based)
   ========================================================================== */
.service-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-cards-swiper-wrap {
    position: relative;
    padding: 6px 0 56px;
}

.service-cards-swiper {
    overflow: hidden;
}

.service-cards-swiper .swiper-slide {
    height: auto;
}

.service-card {
    display: block;
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s ease;
    color: inherit;
}

.service-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

.service-card-image {
    display: block;
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    line-height: 0;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card-image img {
    transform: scale(1.05);
}

.service-card-icon {
    position: absolute;
    bottom: 16px;
    left: 20px;
    width: 48px;
    height: 48px;
    background: #FF8C42;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 140, 66, 0.3);
    z-index: 2;
}

.service-card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--white-color);
}

.service-card-body {
    padding: 20px 20px 24px;
}

.service-card-body h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.service-card-body p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6em;
    margin-bottom: 16px;
}

.service-card-cta {
    display: inline-flex;
    align-items: center;
    font-family: var(--accent-font);
    font-size: 14px;
    font-weight: 600;
    color: #FF8C42;
    transition: gap 0.2s ease;
}

.service-card:hover .service-card-cta {
    gap: 6px;
}

.service-cards-pagination {
    bottom: 0 !important;
}

.service-cards-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    opacity: 0.4;
}

.service-cards-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

.service-cards-nav-prev,
.service-cards-nav-next {
    width: 44px;
    height: 44px;
    background: var(--white-color);
    border-radius: 50%;
    border: 2px solid var(--accent-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: var(--primary-color);
    transition: all 0.25s ease;
    top: 50%;
    margin-top: -22px;
}

.service-cards-nav-prev:after,
.service-cards-nav-next:after {
    font-size: 14px;
    font-weight: 700;
}

.service-cards-nav-prev:hover,
.service-cards-nav-next:hover {
    background: var(--accent-color);
    transform: scale(1.05);
}

.service-cards-nav-prev {
    left: -62px;
}

.service-cards-nav-next {
    right: -62px;
}

/* ==========================================================================
   09. PROMISE / WHY CARDS
   ========================================================================== */
.promise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.promise-card {
    background: var(--white-color);
    border-radius: 20px;
    padding: 32px 28px;
    border-left: 4px solid var(--accent-color);
    transition: all 0.35s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.promise-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.promise-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
}

.promise-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-secondary-color);
    background: rgba(249, 214, 123, 0.2);
    border: 1px solid rgba(249, 214, 123, 0.5);
    padding: 4px 10px;
    border-radius: 50px;
    white-space: nowrap;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 6px;
    flex-shrink: 0;
}

.promise-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #E8C76A 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(249, 214, 123, 0.35);
}

.promise-icon svg {
    width: 26px;
    height: 26px;
    color: var(--primary-color);
}

.promise-card h4 {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.promise-card p {
    font-size: 14px;
    line-height: 1.7em;
    color: var(--text-color);
    margin-bottom: 0;
}

.promise-snippet {
    display: block;
    margin-top: 20px;
    font-style: italic;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-secondary-color);
    background: rgba(1, 78, 78, 0.05);
    border-left: 3px solid var(--accent-color);
    border-radius: 0 8px 8px 0;
    padding: 12px 16px;
    line-height: 1.55em;
}

/* Promise Swiper */
.promise-swiper-wrap {
    position: relative;
    padding: 0 24px;
}

.promise-swiper {
    padding: 20px 0 50px;
    overflow: hidden;
}

.promise-swiper .swiper-slide {
    height: auto;
}

.promise-pagination {
    bottom: 0 !important;
}

.promise-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    opacity: 0.4;
}

.promise-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

.promise-nav-prev,
.promise-nav-next {
    width: 48px;
    height: 48px;
    background: var(--white-color);
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(249, 214, 123, 0.5);
    color: var(--primary-color);
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
}

.promise-nav-prev:after,
.promise-nav-next:after {
    font-size: 16px;
    font-weight: bold;
}

.promise-nav-prev:hover,
.promise-nav-next:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35), 0 0 0 3px rgba(249, 214, 123, 0.8);
    transform: scale(1.1);
}

.promise-nav-prev,
.promise-nav-next {
    display: none;
}

/* ==========================================================================
   10. PROJECTS GRID
   ========================================================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    transition: all 0.35s ease;
    color: inherit;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.12);
}

.project-card-image {
    overflow: hidden;
    height: 220px;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.project-card:hover .project-card-image img {
    transform: scale(1.06);
}

.project-card-body {
    padding: 20px;
}

.project-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.badge-service {
    font-family: var(--accent-font);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 50px;
    padding: 3px 10px;
}

.badge-residential {
    background: #EBF5EC;
    color: #2A6B33;
}

.badge-commercial {
    background: #E9EDF6;
    color: #2E4A8A;
}

.badge-turnkey {
    background: #F5EDE5;
    color: #7A4F28;
}

.badge-design {
    background: #F3EAE0;
    color: #6B4A28;
}

.project-card-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-color);
}

.project-card-location svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    flex-shrink: 0;
}

.project-card-body h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
}

.project-card-body p {
    font-size: 14px;
    margin-bottom: 0;
}

/* ==========================================================================
   11. STATS BAR
   ========================================================================== */
.stats-bar {
    background: var(--accent-secondary-color);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 80% at 50% 50%, rgba(249, 214, 123, 0.05) 0%, rgba(1, 78, 78, 0.85) 100%);
}

.stats-bar .container {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item + .stat-item::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background: var(--dark-divider-color);
}

.stat-number {
    font-family: var(--accent-font);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1em;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ==========================================================================
   12. TESTIMONIALS (Swiper rendered by main.js)
   ========================================================================== */
.testimonials-swiper-container {
    padding: 10px 4px 0;
}

/* Push slides up so absolutely-positioned pagination dots don't overlap them */
.testimonials-swiper-container .swiper {
    padding-bottom: 48px;
}

/* Equal-height slides */
.testimonials-swiper-container .swiper-slide {
    height: auto;
    display: flex;
}

.testimonial-card {
    background: var(--white-color);
    border-radius: 20px;
    padding: 28px;
    width: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--divider-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: -8px;
    right: 18px;
    font-size: 96px;
    line-height: 1;
    color: var(--accent-color);
    opacity: 0.07;
    font-family: Georgia, serif;
    pointer-events: none;
}

.testimonial-card:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.testimonial-rating .star {
    color: #FBBC05;
    font-size: 21px;
    line-height: 1;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.65em;
    color: var(--text-color);
    flex: 1;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--divider-color);
    padding-top: 16px;
    margin-top: auto;
}

.testimonial-author-initial {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--primary-color);
    font-family: var(--accent-font);
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-author-name {
    font-family: var(--accent-font);
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.testimonial-author-meta {
    font-size: 12px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Google Verified badge */
.google-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 28px auto 0;
    padding: 10px 22px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.google-verified-badge .g-logo {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.google-verified-badge .g-badge-inner {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.google-verified-badge .g-badge-row1 {
    display: flex;
    align-items: center;
    gap: 6px;
}

.google-verified-badge .g-stars {
    color: #FBBC05;
    font-size: 13px;
    letter-spacing: 1px;
}

.google-verified-badge .g-rating {
    font-size: 14px;
    font-weight: 700;
    color: #202124;
}

.google-verified-badge .g-label {
    font-size: 11px;
    color: #5f6368;
}

.testimonials-trust-row {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--divider-color);
    opacity: 1;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--accent-color);
    width: 28px !important;
    border-radius: 5px;
}

/* ==========================================================================
   13. FAQS
   ========================================================================== */
.faq-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-group + .faq-group {
    margin-top: 40px;
}

.faq-group-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-color);
}

.faq-item {
    background: var(--white-color);
    border: 1px solid var(--divider-color);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item.is-open {
    border-color: var(--accent-color);
}

.faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--accent-font);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: left;
    line-height: 1.4em;
    transition: color 0.2s ease;
}

.faq-btn:hover {
    color: var(--accent-secondary-color);
}

.faq-item.is-open .faq-btn {
    color: var(--accent-secondary-color);
}

.faq-chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.faq-item.is-open .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 22px;
}

.faq-item.is-open .faq-answer {
    max-height: 600px;
    padding: 0 22px 20px;
}

.faq-answer p {
    font-size: 15px;
    line-height: 1.65em;
    color: var(--text-color);
    margin: 0;
}

/* ==========================================================================
   14. CTA BAND
   ========================================================================== */
.cta-band {
    position: relative;
    padding: 80px 0;
    background: var(--accent-secondary-color);
    border-radius: 24px;
    margin: 40px 20px;
    text-align: center;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(60% 100% at 50% 50%, rgba(249, 214, 123, 0.07) 0%, transparent 70%);
}

.cta-band .container {
    position: relative;
    z-index: 1;
}

.cta-band h2 {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: var(--white-color);
    margin-bottom: 14px;
}

.cta-band .lead {
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    margin-bottom: 32px;
}

.cta-band-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

/* ==========================================================================
   20. POLICY PAGES
   ========================================================================== */

/* Page Header */
.page-header-outer {
    background: linear-gradient(135deg, var(--accent-secondary-color) 0%, #0A3A3A 100%);
    border-radius: 24px;
    margin: 20px;
    overflow: hidden;
}

.page-header {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(60% 80% at 50% 50%, rgba(249, 214, 123, 0.08) 0%, transparent 70%);
    z-index: -1;
}

.page-header-content {
    text-align: center;
    color: var(--white-color);
}

.page-header h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
    color: var(--white-color);
}

.page-header .lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.breadcrumb li {
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumb li:not(.active) a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb li:not(.active) a:hover {
    color: var(--white-color);
}

.breadcrumb li.active {
    color: var(--white-color);
    font-weight: 500;
}

.breadcrumb li:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: rgba(255, 255, 255, 0.5);
}

/* Content Layout */
.content-wrapper {
    margin: 0 auto;
    width: 100%;
}

.content-body {
    background: var(--white-color);
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin: -40px 20px 40px;
    position: relative;
    z-index: 2;
    width: 100%;
    box-sizing: border-box;
}

/* Policy Sections */
.policy-intro {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 40px;
    border-left: 4px solid var(--accent-color);
}

.policy-intro p {
    margin-bottom: 12px;
}

.policy-intro p:last-child {
    margin-bottom: 0;
}

.policy-section {
    margin-bottom: 50px;
}

.policy-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--accent-secondary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.policy-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 30px 0 15px 0;
}

.policy-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 20px 0 10px 0;
}

.policy-section p {
    margin-bottom: 16px;
    line-height: 1.7;
}

.policy-section ul, .policy-section ol {
    margin: 16px 0;
    padding-left: 25px;
}

.policy-section li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.policy-section strong {
    color: var(--accent-secondary-color);
    font-weight: 600;
}

/* Contact Info Box */
.contact-info-box {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 16px;
    margin-top: 20px;
    border-left: 4px solid var(--accent-color);
}

.contact-info-box p {
    margin-bottom: 8px;
}

.contact-info-box p:first-child {
    font-weight: 600;
    color: var(--accent-secondary-color);
    font-size: 1.1rem;
}

/* Cookie Table */
.cookie-table {
    margin: 20px 0;
    overflow-x: auto;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.cookie-table th {
    background: var(--accent-secondary-color);
    color: var(--white-color);
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.cookie-table td {
    padding: 15px;
    border-bottom: 1px solid var(--divider-color);
    font-size: 14px;
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-table tr:nth-child(even) {
    background: var(--secondary-color);
}

/* Links in policy content */
.content-body a {
    color: var(--accent-secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.content-body a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* ==========================================================================
   15. FORMS (MODAL)
   ========================================================================== */
.enquiry-modal .modal-content {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.enquiry-modal .modal-header {
    background: var(--accent-secondary-color);
    padding: 24px 28px 20px;
    border-bottom: none;
}

.enquiry-modal .modal-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 4px;
}

.enquiry-modal .modal-header p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    margin: 0;
}

.enquiry-modal .btn-close {
    filter: invert(1) brightness(2);
    opacity: 0.6;
}

.enquiry-modal .btn-close:hover {
    opacity: 1;
}

.enquiry-modal .modal-body {
    padding: 24px 28px;
}

.enquiry-modal .modal-footer {
    padding: 14px 28px;
    border-top: 1px solid var(--divider-color);
    font-size: 13px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.enquiry-modal .modal-footer svg {
    color: var(--accent-secondary-color);
    flex-shrink: 0;
}

.form-progress {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

.form-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.step-bubble {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--text-color);
    font-family: var(--accent-font);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.step-bubble.active {
    background: var(--accent-secondary-color);
    color: var(--white-color);
}

.step-bubble.done {
    background: var(--accent-color);
    color: var(--primary-color);
}

.step-bubble-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
}

.progress-connector {
    flex: 1;
    height: 2px;
    background: var(--divider-color);
    margin: 16px 10px 0;
    transition: background 0.4s ease;
}

.progress-connector.done {
    background: var(--accent-color);
}

.form-label {
    font-family: var(--accent-font);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 6px;
    display: block;
}

.form-control, .form-select {
    border: 1.5px solid var(--divider-color);
    border-radius: 10px;
    padding: 11px 14px;
    font-family: var(--default-font);
    font-size: 15px;
    color: var(--primary-color);
    background: var(--white-color);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    display: block;
}

.form-control:focus, .form-select:focus {
    outline: none;
    border-color: var(--accent-secondary-color);
    box-shadow: 0 0 0 3px rgba(1, 78, 78, 0.1);
}

.form-control.is-invalid, .form-select.is-invalid {
    border-color: var(--error-color);
}

.form-control-sm {
    padding: 8px 12px;
    font-size: 14px;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-error-msg {
    display: none;
    font-size: 12px;
    color: var(--error-color);
    margin-top: 4px;
}

.form-error-msg.visible {
    display: block;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.custom-size-row {
    display: none;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
}

.custom-size-row.visible {
    display: flex;
}

.flex-fill {
    flex: 1;
}

/* ==========================================================================
   16. ABOUT / PRINCIPLES / TEAM
   ========================================================================== */
.office-photos {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.office-photo-main {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(15, 32, 32, 0.1);
}

.office-photo-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.office-photo-main:hover img {
    transform: scale(1.02);
}

.office-photo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.office-photo-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 32, 32, 0.08);
}

.office-photo-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.office-photo-item:hover img {
    transform: scale(1.05);
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(15, 32, 32, 0.9), rgba(15, 32, 32, 0.7), transparent);
    color: white;
    padding: 20px 16px 16px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.office-photo-main:hover .photo-caption,
.office-photo-item:hover .photo-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .office-photo-main img {
        height: 350px;
    }
    
    .office-photo-item img {
        height: 250px;
    }
}

@media (max-width: 767px) {
    .office-photo-main img {
        height: 280px;
    }
    
    .office-photo-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .office-photo-item img {
        height: 200px;
    }
    
    .photo-caption {
        font-size: 13px;
        padding: 16px 12px 12px;
    }
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.principle-card {
    background: var(--white-color);
    border-radius: 20px;
    padding: 24px 20px;
    text-align: center;
    border: 1px solid var(--divider-color);
    transition: all 0.35s ease;
}

.principle-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
}

.principle-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 14px;
    line-height: 1;
}

.principle-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.principle-card p {
    font-size: 13px;
    line-height: 1.55em;
    margin-bottom: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    background: var(--white-color);
    border-radius: 20px;
    padding: 28px 24px;
    text-align: center;
    border: 1px solid var(--divider-color);
    transition: all 0.35s ease;
}

.team-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
}

.team-photo-wrap {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    overflow: hidden;
}

.team-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    display: block;
}

.team-initials {
    font-family: var(--accent-font);
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.team-name {
    font-family: var(--accent-font);
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.team-role {
    font-size: 13px;
    color: var(--accent-secondary-color);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-bio {
    font-size: 14px;
    line-height: 1.6em;
    margin-bottom: 0;
}

.team-group-photo-wrap {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 48px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.team-group-photo {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.team-leadership-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-leader-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px 32px;
    text-align: center;
    border: 1px solid #e8e8e8;
    border-left: 3px solid var(--accent-color);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.team-leader-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.team-leader-name {
    font-family: var(--accent-font);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.team-leader-role {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 18px;
    line-height: 1.5;
}

.team-leader-bio {
    font-size: 14px;
    line-height: 1.7em;
    color: #5a6170;
    margin-bottom: 0;
}

/* ==========================================================================
   17. PROCESS TIMELINE
   ========================================================================== */

/* Horizontal process steps (used elsewhere) */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(12.5% + 12px);
    right: calc(12.5% + 12px);
    height: 2px;
    background: var(--accent-color);
    z-index: 0;
}

.process-step-horizontal {
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--primary-color);
    font-family: var(--accent-font);
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 4px solid var(--white-color);
    box-shadow: 0 4px 16px rgba(249, 214, 123, 0.4);
}

.process-step-horizontal h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.process-step-horizontal p {
    font-size: 14px;
    line-height: 1.6em;
    margin-bottom: 0;
}

/* Vertical timeline (for turnkey phases) */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
}

.process-step {
    display: flex;
    gap: 24px;
    position: relative;
    animation: fadeUp 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.process-step.delay-1 {
    animation-delay: 0.1s;
}

.process-step.delay-2 {
    animation-delay: 0.2s;
}

.process-step.delay-3 {
    animation-delay: 0.3s;
}

.process-step.delay-4 {
    animation-delay: 0.4s;
}

.process-step.delay-5 {
    animation-delay: 0.5s;
}

.process-step.delay-6 {
    animation-delay: 0.6s;
}

.step-marker {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 60px;
}

.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color) 0%, #E8C76A 100%);
    color: var(--primary-color);
    font-family: var(--accent-font);
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--white-color);
    box-shadow: 0 4px 16px rgba(249, 214, 123, 0.4);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(249, 214, 123, 0.6);
}

.step-line {
    flex: 1;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent-color) 0%, rgba(249, 214, 123, 0.3) 100%);
    margin-top: 12px;
    border-radius: 2px;
    min-height: 40px;
}

.process-step:last-child .step-line {
    display: none;
}

.step-content {
    flex: 1;
    background: var(--white-color);
    border-radius: 20px;
    padding: 28px 32px;
    border: 1px solid var(--divider-color);
    transition: all 0.35s ease;
    position: relative;
}

.step-content::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 32px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--divider-color);
}

.step-content::after {
    content: '';
    position: absolute;
    left: -8px;
    top: 32px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid var(--white-color);
}

.process-step:hover .step-content {
    border-color: var(--accent-color);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1);
    transform: translateX(8px);
}

.process-step:hover .step-content::before {
    border-right-color: var(--accent-color);
}

.step-label {
    display: inline-block;
    font-family: var(--accent-font);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-secondary-color);
    background: rgba(1, 78, 78, 0.08);
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.step-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.3em;
}

.step-content > p {
    font-size: 15px;
    line-height: 1.7em;
    color: var(--text-color);
    margin-bottom: 20px;
}

.step-deliverables {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.step-deliverable {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--accent-font);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-secondary-color);
    background: rgba(249, 214, 123, 0.2);
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.step-deliverable::before {
    content: '✓';
    color: var(--accent-secondary-color);
    font-weight: 700;
}

.process-step:hover .step-deliverable {
    background: rgba(249, 214, 123, 0.35);
    transform: translateY(-2px);
}

/* ==========================================================================
   18. PRICING CARDS
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    background: var(--white-color);
    border-radius: 24px;
    padding: 36px 28px;
    border: 1px solid var(--divider-color);
    transition: all 0.35s ease;
    position: relative;
}

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

.pricing-card.featured {
    background: var(--accent-secondary-color);
    border-color: var(--accent-color);
    transform: translateY(-10px);
}

.pricing-card.featured:hover {
    transform: translateY(-16px);
}

.pricing-card.featured h3, .pricing-card.featured li {
    color: var(--white-color);
}

.pricing-card.featured p {
    color: rgba(255, 255, 255, 0.78);
}

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--primary-color);
    font-family: var(--accent-font);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 18px;
    border-radius: 50px;
    white-space: nowrap;
}

.pricing-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
}

.price-amount {
    font-family: var(--accent-font);
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    color: var(--accent-secondary-color);
    line-height: 1;
    margin-bottom: 6px;
    display: block;
}

.pricing-card.featured .price-amount {
    color: var(--accent-color);
}

.price-note {
    font-size: 13px;
    color: var(--text-color);
    margin-bottom: 24px;
    display: block;
}

.pricing-card.featured .price-note {
    color: rgba(255, 255, 255, 0.6);
}

.pricing-features {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
}

.pricing-features li {
    font-size: 14px;
    color: var(--text-color);
    padding: 9px 0 9px 26px;
    border-bottom: 1px solid var(--divider-color);
    position: relative;
}

.pricing-card.featured .pricing-features li {
    border-color: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.82);
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ==========================================================================
   19. PROJECT GALLERY
   ========================================================================== */
.gallery-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 32px;
}

.gallery-filter-btn {
    font-family: var(--accent-font);
    font-size: 14px;
    font-weight: 600;
    padding: 9px 22px;
    border-radius: 50px;
    border: 2px solid var(--divider-color);
    background: var(--white-color);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.25s ease;
}

.gallery-filter-btn:hover, .gallery-filter-btn.active {
    background: var(--accent-secondary-color);
    border-color: var(--accent-secondary-color);
    color: var(--white-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    background: var(--secondary-color);
}

.gallery-item img, .gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover img, .gallery-item:hover video {
    transform: scale(1.08);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(1, 78, 78, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-play-btn, .gallery-zoom-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    border: none;
}

.gallery-play-btn svg, .gallery-zoom-btn svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
}

#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
}

#lightbox.is-open {
    display: flex;
}

#lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
}

#lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    display: block;
}

#lightbox-content iframe {
    width: 80vw;
    height: 45vw;
    max-height: 80vh;
    border-radius: 12px;
}

#lightbox-close {
    position: absolute;
    top: -44px;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 32px;
    line-height: 1;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-color);
    color: var(--primary-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.lightbox-nav-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

#lightbox-prev {
    left: -60px;
}

#lightbox-next {
    right: -60px;
}

.load-more-wrap {
    text-align: center;
    margin-top: 32px;
}

/* ==========================================================================
   20. CONTACT PAGE
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary-color);
}

.contact-info-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.contact-info-item p, .contact-info-item a {
    font-size: 15px;
    margin-bottom: 0;
    color: var(--text-color);
}

.contact-info-item a:hover {
    color: var(--accent-secondary-color);
}

.contact-form-card {
    background: var(--white-color);
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--divider-color);
}

.contact-form-card h3 {
    font-size: 22px;
    margin-bottom: 24px;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.map-embed {
    border-radius: 20px;
    overflow: hidden;
    margin-top: 32px;
}

.map-embed iframe {
    width: 100%;
    border-radius: 20px;
    display: block;
}

/* ==========================================================================
   21. WHY CHOOSE US
   ========================================================================== */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.why-card {
    background: var(--white-color);
    border-radius: 20px;
    padding: 28px 24px;
    border: 1px solid var(--divider-color);
    transition: all 0.35s ease;
}

.why-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
}

.why-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.why-icon svg {
    width: 26px;
    height: 26px;
    color: var(--primary-color);
}

.why-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 15px;
    line-height: 1.65em;
    margin-bottom: 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 16px;
    overflow: hidden;
}

.comparison-table th {
    font-family: var(--accent-font);
    font-size: 15px;
    font-weight: 700;
    padding: 16px 20px;
    background: var(--accent-secondary-color);
    color: var(--white-color);
    text-align: left;
}

.comparison-table th:first-child {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.comparison-table td {
    padding: 14px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--divider-color);
    vertical-align: middle;
}

.comparison-table tr:nth-child(even) td {
    background: rgba(234, 238, 241, 0.4);
}

.comparison-table .check {
    color: #22c55e;
    font-weight: 700;
}

.comparison-table .cross {
    color: var(--error-color);
    font-weight: 700;
}

/* ==========================================================================
   22. SERVICES PAGE
   ========================================================================== */
.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.service-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--divider-color);
    font-size: 15px;
    color: var(--text-color);
}

.service-feature-list li:last-child {
    border-bottom: none;
}

.service-feature-list li::before {
    content: '✓';
    color: var(--accent-secondary-color);
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.services-list-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.service-list-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    background: var(--white-color);
    border-radius: 20px;
    border: 1px solid var(--divider-color);
    transition: all 0.35s ease;
    color: inherit;
}

.service-list-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.09);
    transform: translateY(-3px);
}

.service-list-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-list-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-color);
}

.service-list-item h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.service-list-item p {
    font-size: 14px;
    line-height: 1.6em;
    margin-bottom: 12px;
}

/* ==========================================================================
   23. FOOTER — Healix card style
   ========================================================================== */

/* Outer wrapper gives side + bottom margins (card on white page) */
.footer-outer {
    padding: 0 20px 20px;
    background: var(--white-color);
}

.footer-main {
    background: var(--accent-secondary-color);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
}

/* Main body */
.footer-body {
    padding: 60px 0 50px;
}

/* 2-column layout */
.footer-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ── LEFT COLUMN ── */
.footer-left {
}

.footer-logo {
    margin-bottom: 18px;
}

.footer-logo img {
    height: 38px;
    width: auto;
    display: block;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.7em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
    max-width: 380px;
}

/* Contact pills */
.footer-contact-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.footer-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--accent-font);
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 8px 16px;
    transition: all 0.25s ease;
}

.footer-pill:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.footer-pill svg {
    stroke: currentColor;
    flex-shrink: 0;
}

/* Quick nav */
.footer-quick-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.footer-quick-nav a {
    font-family: var(--accent-font);
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    text-transform: capitalize;
    transition: color 0.2s ease;
}

.footer-quick-nav a:hover {
    color: var(--accent-color);
}

/* ── RIGHT COLUMN ── */
.footer-right {
}

.footer-right-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-col-title {
    font-family: var(--accent-font);
    font-size: 16px;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 11px;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.58);
    transition: color 0.2s ease;
}

.footer-links li a:hover {
    color: var(--accent-color);
}

.footer-hours {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-hours li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.58);
    margin-bottom: 10px;
    line-height: 1.5em;
}

.footer-hours li:last-child {
    margin-bottom: 0;
}

/* Divider between links and social */
.footer-right-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
}

/* Follow on + social */
.footer-follow {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-follow-label {
    font-family: var(--accent-font);
    font-size: 15px;
    font-weight: 700;
    color: var(--white-color);
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-social-icon svg {
    width: 17px;
    height: 17px;
    stroke: currentColor;
}

.footer-social-icon:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(249, 214, 123, 0.08);
}

/* ── BOTTOM BAR ── */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom > span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.38);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-color);
}

.footer-bottom-sep {
    color: rgba(255, 255, 255, 0.25);
    font-size: 13px;
}

/* Sticky bottom CTA */
/* Legacy single-button class kept for JS compatibility */
.sticky-bottom-cta { display: none; }

/* ── Sticky bottom — single Cost Calculator link ─── */
.sticky-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--accent-color);
    color: var(--primary-color);
    font-family: var(--accent-font);
    font-size: 15px;
    font-weight: 700;
    /* Base padding + safe-area so it clears the iOS home indicator */
    padding: 15px 20px;
    padding-bottom: calc(15px + env(safe-area-inset-bottom, 0px));
    text-align: center;
    text-decoration: none;
    border-top: 3px solid var(--accent-secondary-color);
    cursor: pointer;
    transition: background var(--duration-fast) var(--ease-out);
    /* Force GPU compositing — fixes iOS Safari fixed-position lag on scroll */
    transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.sticky-bottom-bar:hover {
    background: #f0c94a;
    color: var(--primary-color);
}

/* Sticky WhatsApp FAB */
.whatsapp-fab {
    position: fixed;
    bottom: 28px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
    z-index: 950;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-decoration: none;
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-fab svg {
    width: 30px;
    height: 30px;
    display: block;
}

/* On mobile, lift FAB above the 2-button sticky bar (~54px tall) */
@media (max-width: 991px) {
    .whatsapp-fab {
        bottom: 66px;
        right: 16px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-fab svg {
        width: 26px;
        height: 26px;
    }
}

/* ==========================================================================
   24. SCROLL ANIMATIONS
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s var(--ease-out),
                transform 0.5s var(--ease-out);
}

.fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .fade-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html { scroll-behavior: auto; }
}

/* Smooth image load — prevents hard pop-in */
img {
    transition: opacity 0.3s var(--ease-out);
}
img[loading="lazy"] {
    opacity: 0;
}
img[loading="lazy"].loaded,
img:not([loading]) {
    opacity: 1;
}

.delay-1 {
    transition-delay: 0.12s;
}

.delay-2 {
    transition-delay: 0.22s;
}

.delay-3 {
    transition-delay: 0.32s;
}

.delay-4 {
    transition-delay: 0.42s;
}

/* ==========================================================================
   25. UTILITY CLASSES
   ========================================================================== */
/* Bootstrap handles visually-hidden, text-center, mt-*, mb-*, row, col-*, g-*, align-items-*, justify-content-* */
/* Only override what Bootstrap doesn't cover */

.lead {
    font-size: 17px;
    line-height: 1.65em;
}

/* Ensure Bootstrap modal z-index stays above our sticky header */
.modal-backdrop {
    z-index: 1040;
}

.modal {
    z-index: 1050;
}

/* ==========================================================================
   29. EXTRA LEGACY SUPPORT — classes from existing pages
   ========================================================================== */

/* Gallery lightbox (gallery.js uses these IDs/classes) */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
}

.lightbox.is-open, .lightbox.active {
    display: flex;
}

.lightbox-inner {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
}

#lbImage {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    display: block;
}

#lbIframe {
    width: 80vw;
    height: 45vw;
    max-height: 80vh;
    border-radius: 12px;
}

.lightbox-close, #lbClose {
    position: absolute;
    top: -44px;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    font-size: 32px;
    line-height: 1;
}

.lightbox-nav, #lbPrev, #lbNext {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-color);
    color: var(--primary-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    z-index: 1;
}

.lightbox-prev, #lbPrev {
    left: -60px;
}

.lightbox-next, #lbNext {
    right: -60px;
}

.lightbox-caption {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-top: 12px;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
    padding: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-label {
    font-size: 12px;
    color: var(--white-color);
    font-weight: 600;
    display: block;
}

/* Why choose us: why-points-grid */
.why-points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-point {
    display: flex;
    gap: 14px;
    padding: 22px;
    background: var(--white-color);
    border-radius: 16px;
    border: 1px solid var(--divider-color);
    transition: all 0.3s ease;
}

.why-point:hover {
    border-color: var(--error-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.why-point-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(230, 87, 87, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-point-icon svg {
    width: 20px;
    height: 20px;
    color: var(--error-color);
}

.why-point h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 6px;
}

.why-point p {
    font-size: 13px;
    line-height: 1.55em;
    margin-bottom: 0;
}

/* Gallery page: filter buttons and video items (gallery.js compatible) */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 32px;
}

.filter-btn {
    font-family: var(--accent-font);
    font-size: 14px;
    font-weight: 600;
    padding: 9px 22px;
    border-radius: 50px;
    border: 2px solid var(--divider-color);
    background: var(--white-color);
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--accent-secondary-color);
    border-color: var(--accent-secondary-color);
    color: var(--white-color);
}

.gallery-item--video .play-btn,
.gallery-item .play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item--video .play-btn:hover,
.gallery-item .play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(249, 214, 123, 0.5);
}

.gallery-item .play-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    margin-left: 3px;
}

/* comparison-table-wrap */
.comparison-table-wrap {
    overflow-x: auto;
    border-radius: 16px;
}

/* Projects & testimonials page */
.project-case-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.project-case-card {
    background: var(--white-color);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--divider-color);
    transition: all 0.35s ease;
}

.project-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
}

.project-case-image {
    height: 220px;
    overflow: hidden;
}

.project-case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.project-case-card:hover .project-case-image img {
    transform: scale(1.05);
}

.project-case-body {
    padding: 22px;
}

.project-case-body h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 8px;
}

.project-case-body p {
    font-size: 14px;
    margin-bottom: 0;
}

/* Services page */
.service-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 60px;
}

.service-intro-img {
    border-radius: 20px;
    overflow: hidden;
}

.service-intro-img img {
    width: 100%;
    display: block;
    border-radius: 20px;
}

/* Case study components (projects-testimonials page) */
.case-study {
    background: var(--white-color);
    border-radius: 24px;
    border: 1px solid var(--divider-color);
    overflow: hidden;
    margin-bottom: 40px;
    height: 100%;
}

.case-study-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.case-study-image {
    overflow: hidden;
    min-height: 280px;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.case-study-meta {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.case-study-meta h2 {
    font-size: clamp(1.4rem, 2vw, 2rem);
    margin-bottom: 16px;
}

.case-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.case-meta-item {
}

.case-meta-label {
    font-family: var(--accent-font);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-color);
    margin-bottom: 3px;
}

.case-meta-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
}

.case-study-body {
    padding: 28px 32px;
    border-top: 1px solid var(--divider-color);
    display: flex;
    flex-direction: column;
}

.case-study-body h3 {
    min-height: 3rem;
    margin-bottom: 0.5rem;
}

.case-study-body p {
    min-height: 4.5rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.case-quote {
    background: var(--secondary-color);
    border-radius: 16px;
    padding: 24px;
    margin-top: 20px;
}

.case-quote blockquote {
    font-size: 15px;
    font-style: italic;
    color: var(--primary-color);
    line-height: 1.65em;
    margin: 0 0 8px;
    border: none;
    padding: 0;
}

.case-quote cite {
    font-size: 13px;
    color: var(--accent-secondary-color);
    font-weight: 600;
    font-style: normal;
}

/* ==========================================================================
   30. PREMIUM GALLERY (project-gallery/index.php)
   ========================================================================== */

/* ── Section wrapper ─────────────────────────────── */
.pg-section {
  background: var(--white-color);
  padding-bottom: 60px;
}

/* ── Filter / stats bar ─────────────────────────── */
.pg-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider-color);
  padding: 14px 0;
}
.pg-bar-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.pg-stats {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
}
.pg-stat-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}
.pg-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-color);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pg-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pg-filter {
  font-family: var(--accent-font);
  font-size: 13px;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 50px;
  border: 1.5px solid var(--divider-color);
  background: var(--white-color);
  color: var(--text-color);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.pg-filter:hover {
  border-color: var(--accent-secondary-color);
  color: var(--accent-secondary-color);
}
.pg-filter.active {
  background: var(--accent-secondary-color);
  border-color: var(--accent-secondary-color);
  color: var(--white-color);
}

/* ── Masonry grid — CSS columns ──────────────────── */
.pg-masonry {
  column-count: 4;
  column-gap: 8px;
  padding: 8px 8px 0;
}

/* ── Individual gallery item ─────────────────────── */
.pg-item {
  break-inside: avoid;
  margin-bottom: 8px;
  overflow: hidden;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  background: var(--secondary-color);

  /* Entry animation — starts invisible */
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease,
    box-shadow 0.3s ease;
}
.pg-item.pg-visible {
  opacity: 1;
  transform: translateY(0);
}
.pg-item.pg-filtered-out { display: none; }
.pg-item.pg-overflow     { display: none; }

/* Image */
.pg-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
  will-change: transform;
}
.pg-img.hd-loaded { filter: none; }

/* Hover */
.pg-item:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.18); }
.pg-item:hover .pg-img { transform: scale(1.06); filter: brightness(0.7); }
.pg-item:hover .pg-item-overlay { opacity: 1; }

/* Overlay */
.pg-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.pg-zoom-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}
.pg-item:hover .pg-zoom-icon { transform: scale(1); }
.pg-zoom-icon svg { width: 20px; height: 20px; stroke: #fff; }

/* ── Load more ───────────────────────────────────── */
.pg-load-wrap {
  text-align: center;
  padding: 40px 20px 0;
}
.pg-load-btn {
  font-family: var(--accent-font);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 36px;
  border-radius: 50px;
  border: 2px solid var(--accent-secondary-color);
  background: transparent;
  color: var(--accent-secondary-color);
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.pg-load-btn:hover {
  background: var(--accent-secondary-color);
  color: var(--white-color);
}
.pg-load-count {
  font-size: 12px;
  font-weight: 500;
  opacity: 0.7;
}

/* ── BACKDROP ────────────────────────────────────── */
.pg-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0);
  z-index: 1998;
  pointer-events: none;
  transition: background 0.35s ease;
}
.pg-backdrop.pg-backdrop-visible {
  background: rgba(0,0,0,0.97);
  pointer-events: auto;
}

/* ── FULLSCREEN VIEWER ───────────────────────────── */
.pg-viewer {
  position: fixed;
  inset: 0;
  z-index: 1999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  pointer-events: none;
}
.pg-viewer.pg-viewer-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body.pg-no-scroll { overflow: hidden; }

/* Viewer header */
.pg-viewer-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  z-index: 10;
}
.pg-counter {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.06em;
}
.pg-close {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pg-close:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}
.pg-close svg { width: 18px; height: 18px; stroke: currentColor; }

/* ── 3D CAROUSEL STAGE ───────────────────────────── */
.pg-stage {
  width: 100%;
  height: 70vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

/* Carousel slides */
.pg-slide {
  position: absolute;
  transition:
    transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity   0.55s ease,
    filter    0.55s ease;
  transform-style: preserve-3d;
  cursor: pointer;
  will-change: transform, opacity;
}
.pg-slide-img {
  display: block;
  max-height: 65vh;
  max-width: 68vw;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  user-select: none;
  -webkit-user-drag: none;
}

/* Active (center) */
.pg-slide-active {
  transform: translateX(0) scale(1) rotateY(0deg) translateZ(0);
  opacity: 1;
  filter: none;
  z-index: 10;
  cursor: default;
}
.pg-slide-active .pg-slide-img {
  box-shadow: 0 40px 100px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.04);
}

/* Adjacent (prev / next) */
.pg-slide-prev {
  transform: translateX(-58%) scale(0.78) rotateY(18deg) translateZ(-80px);
  opacity: 0.45;
  filter: brightness(0.55);
  z-index: 5;
}
.pg-slide-next {
  transform: translateX(58%) scale(0.78) rotateY(-18deg) translateZ(-80px);
  opacity: 0.45;
  filter: brightness(0.55);
  z-index: 5;
}

/* Far (far-prev / far-next) */
.pg-slide-far-prev {
  transform: translateX(-90%) scale(0.55) rotateY(28deg) translateZ(-180px);
  opacity: 0.15;
  filter: brightness(0.35);
  z-index: 1;
}
.pg-slide-far-next {
  transform: translateX(90%) scale(0.55) rotateY(-28deg) translateZ(-180px);
  opacity: 0.15;
  filter: brightness(0.35);
  z-index: 1;
}

/* ── Viewer navigation ───────────────────────────── */
.pg-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 20;
}
.pg-nav:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-50%) scale(1.08);
}
.pg-nav svg { width: 22px; height: 22px; stroke: currentColor; }
.pg-nav-prev { left: 24px; }
.pg-nav-next { right: 24px; }

/* ── Viewer footer ───────────────────────────────── */
.pg-viewer-footer {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  text-align: center;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 100%);
}
.pg-caption {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin: 0 0 6px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.pg-hint {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
  margin: 0;
}

/* ==========================================================================
   LEAD CAPTURE SECTION  (#lead-capture)
   ========================================================================== */

.lead-capture-section {
  margin: 0 20px 40px;
  border-radius: 24px;
  background: var(--accent-secondary-color);
  overflow: hidden;
  position: relative;
}

.lead-capture-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(65% 80% at 15% 50%, rgba(249, 214, 123, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* 2-column layout */
.lc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  z-index: 1;
}

/* ── Copy side ── */
.lc-copy {
  padding: 60px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.lc-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-color);
  background: rgba(249, 214, 123, 0.15);
  padding: 4px 14px;
  border-radius: 50px;
  width: fit-content;
}

.lc-copy h2 {
  color: var(--white-color);
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  line-height: 1.22;
  margin: 0;
}

.lc-subtitle {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.93rem;
  line-height: 1.65;
  margin: 0;
}

.lc-trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lc-trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.82);
}

.lc-trust-list li svg {
  flex-shrink: 0;
  stroke: var(--accent-color);
}

.lc-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-top: 4px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.lc-phone-link:hover {
  opacity: 0.8;
  color: var(--accent-color);
}

/* ── Form side ── */
.lc-form-wrap {
  padding: 48px 48px 48px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.lc-form {
  background: var(--white-color);
  border-radius: 16px;
  padding: 32px 30px;
  box-shadow: 0 10px 48px rgba(0, 0, 0, 0.14);
}

/* Progress */
.lc-progress {
  margin-bottom: 22px;
}

.lc-progress-track {
  height: 4px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 10px;
}

.lc-progress-fill {
  height: 100%;
  width: 50%;
  background: var(--accent-secondary-color);
  border-radius: 2px;
  transition: width 0.4s ease;
}

.lc-step-labels {
  display: flex;
  gap: 20px;
}

.lc-step-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.35);
  transition: color 0.3s;
}

.lc-step-label--active {
  color: var(--accent-secondary-color);
  font-weight: 600;
}

.lc-step-label--done {
  color: #4CAF6E;
}

.lc-step-dot {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.35);
  transition: background 0.3s, color 0.3s;
  flex-shrink: 0;
}

.lc-step-label--active .lc-step-dot {
  background: var(--accent-secondary-color);
  color: #fff;
}

.lc-step-label--done .lc-step-dot {
  background: #4CAF6E;
  color: #fff;
}

/* Steps */
.lc-step {
  display: none;
  border: none;
  margin: 0;
  padding: 0;
}

.lc-step--active {
  display: block;
}

/* Fields */
.lc-field {
  margin-bottom: 16px;
}

/* Side-by-side field row (Plot Size + Number of Floors) */
.lc-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 0;
}

.lc-field-row .lc-field {
  margin-bottom: 16px;
}

.lc-label {
  display: block;
  font-size: 0.858rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.lc-label span[aria-hidden] {
  color: var(--error-color);
  margin-left: 1px;
}

.lc-input,
.lc-select {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9rem;
  font-family: var(--default-font), sans-serif;
  color: var(--primary-color);
  background: var(--white-color);
  border: 1.5px solid #DDE2E8;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.lc-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.lc-input:focus,
.lc-select:focus {
  border-color: var(--accent-secondary-color);
  box-shadow: 0 0 0 3px rgba(1, 78, 78, 0.1);
}

.lc-input.is-invalid,
.lc-select.is-invalid {
  border-color: var(--error-color);
  box-shadow: 0 0 0 3px rgba(230, 87, 87, 0.08);
}

.lc-input.is-valid,
.lc-select.is-valid {
  border-color: #4CAF6E;
}

.lc-error {
  display: none;
  font-size: 0.775rem;
  color: var(--error-color);
  margin-top: 4px;
}

.lc-error.visible {
  display: block;
}

/* Actions row */
.lc-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  gap: 12px;
}

.lc-actions--step2 {
  justify-content: space-between;
}

.lc-step-hint {
  font-size: 0.775rem;
  color: var(--text-color);
  opacity: 0.55;
}

.lc-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-color);
  background: none;
  border: 1.5px solid #DDE2E8;
  border-radius: 50px;
  padding: 10px 20px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  font-family: var(--default-font), sans-serif;
}

.lc-btn-back:hover {
  border-color: var(--accent-secondary-color);
  color: var(--accent-secondary-color);
}

/* Privacy note */
.lc-privacy {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.775rem;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* Thank-you state */
.lc-thankyou {
  background: var(--white-color);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 48px rgba(0, 0, 0, 0.14);
}

.lc-thankyou-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(76, 175, 110, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: #4CAF6E;
}

.lc-thankyou h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.lc-thankyou p {
  font-size: 0.9rem;
  color: var(--text-color);
  margin-bottom: 24px;
  line-height: 1.6;
}

.lc-thankyou-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .lc-layout {
    grid-template-columns: 1fr;
  }

  .lc-copy {
    padding: 40px 24px 28px;
  }

  .lc-form-wrap {
    padding: 0 20px 40px;
  }

  .lc-form,
  .lc-thankyou {
    padding: 28px 22px;
  }
}

@media (max-width: 480px) {
  .lead-capture-section {
    margin: 0 12px 32px;
    border-radius: 16px;
  }

  .lc-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .lc-actions .btn-default,
  .lc-actions .lc-btn-back {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .lc-actions--step2 {
    flex-direction: row;
  }

  .lc-actions--step2 .lc-btn-back {
    width: auto;
    flex-shrink: 0;
  }

  /* Stack plot size + floors on narrow screens */
  .lc-field-row {
    grid-template-columns: 1fr;
  }
}

/* Bootstrap handles col-md-*, col-6, justify-content-center, offset-lg-2 */

/* ==========================================================================
   INTERIOR DESIGN SERVICE PAGE
   ========================================================================== */

:root {
  --clr-int-accent: #C05C3A;
}

.badge-interior {
  background: #FFF0EC;
  color: #8B3020;
}

/* ── Intro section ─────────────────────────────── */
.int-hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.int-trust-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 1.75rem;
}

.int-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-color);
}

.int-trust-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Services grid ─────────────────────────────── */
.int-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.int-service-card {
  background: var(--white-color);
  border: 1px solid var(--divider-color);
  border-radius: 16px;
  padding: 28px 24px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.int-service-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.int-service-icon {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #FFF4EF;
  margin-bottom: 16px;
}

.int-service-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.int-service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.int-service-card p {
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 14px;
  color: var(--text-color);
}

.int-feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.int-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.8125rem;
  color: var(--text-color);
  line-height: 1.4;
}

.int-feature-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ── Packages grid ─────────────────────────────── */
.int-packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  align-items: start;
}

.int-pkg-card {
  background: var(--white-color);
  border: 1px solid var(--divider-color);
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.int-pkg-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.int-pkg-card--featured {
  border-color: var(--clr-int-accent);
  box-shadow: 0 8px 32px rgba(192, 92, 58, 0.15);
  position: relative;
}

.int-pkg-badge-wrap {
  background: var(--clr-int-accent);
  text-align: center;
  padding: 6px;
}

.int-pkg-popular {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white-color);
}

.int-pkg-header {
  padding: 24px 24px 20px;
  text-align: center;
}

.int-pkg-essential { background: #FFF8F5; }
.int-pkg-premium   { background: #FFF0EC; }
.int-pkg-luxury    { background: #FDF5F0; }

.int-pkg-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-int-accent);
  display: block;
  margin-bottom: 8px;
}

.int-pkg-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.1;
  margin-bottom: 6px;
}

.int-pkg-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-color);
}

.int-pkg-header p {
  font-size: 0.8125rem;
  color: var(--text-color);
  margin: 0;
}

.int-pkg-features {
  list-style: none;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 260px;
}

.int-pkg-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-color);
}

.int-pkg-features li svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.int-pkg-card .btn-default {
  margin: 0 24px 24px;
  width: calc(100% - 48px) !important;
}

.int-pkg-note {
  margin-top: 28px;
  font-size: 0.8125rem;
  color: var(--text-color);
  opacity: 0.75;
  text-align: center;
  font-style: italic;
}

/* ── Process grid ──────────────────────────────── */
.int-process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.int-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.int-step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--clr-int-accent);
  opacity: 0.25;
  line-height: 1;
  flex-shrink: 0;
  min-width: 52px;
}

.int-step-body h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.int-step-body p {
  font-size: 0.875rem;
  line-height: 1.65;
  margin: 0;
  color: var(--text-color);
}

/* ── Why grid ──────────────────────────────────── */
.int-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.int-why-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.int-why-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: #FFF0EC;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.int-why-item h4 {
  font-size: 0.9375rem;
  margin-bottom: 4px;
  color: var(--primary-color);
}

.int-why-item p {
  font-size: 0.8125rem;
  line-height: 1.6;
  margin: 0;
  color: var(--text-color);
}

/* ── Related services ──────────────────────────── */
.int-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.int-related-card {
  display: block;
  background: var(--white-color);
  border: 1px solid var(--divider-color);
  border-radius: 16px;
  padding: 28px 24px;
  text-decoration: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.int-related-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.09);
  transform: translateY(-3px);
  border-color: var(--clr-int-accent);
}

.int-related-card h4 {
  font-size: 1rem;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.int-related-card p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 16px;
}

.int-related-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--clr-int-accent);
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 1199px) {
  .int-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .int-packages-grid,
  .int-related-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .int-process-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .int-why-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .int-services-grid {
    grid-template-columns: 1fr;
  }

  .int-pkg-features {
    min-height: unset;
  }
}

/* ==========================================================================
   PROJECT GALLERY TEASER + 3D LIGHTBOX
   ========================================================================== */

/* ── Teaser Section ───────────────────────────── */
.pg-teaser-section {
  background: var(--white-color);
  overflow-x: hidden;
}

/* Swiper wrapper — clips overflowing slides, shows pagination below */
.pg-swiper-wrap {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding-bottom: 50px;
}

.pg-swiper {
  overflow: visible;
  padding-bottom: 0 !important;
}

/* Thumbnail slide */
.pg-thumb {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--secondary-color);
  outline: none;
}

.pg-thumb:focus-visible {
  box-shadow: 0 0 0 3px var(--accent-secondary-color);
}

.pg-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pg-thumb:hover .pg-thumb-img,
.pg-thumb:focus-visible .pg-thumb-img {
  transform: scale(1.06);
}

/* Hover overlay */
.pg-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 78, 78, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
}

.pg-thumb:hover .pg-thumb-overlay,
.pg-thumb:focus-visible .pg-thumb-overlay {
  opacity: 1;
}

.pg-thumb-zoom-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--white-color);
  transform: translateY(6px);
  transition: transform 0.3s ease;
}

.pg-thumb:hover .pg-thumb-zoom-icon {
  transform: translateY(0);
}

.pg-thumb-zoom-icon span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Swiper nav overrides */
.pg-nav-prev,
.pg-nav-next {
  color: var(--accent-secondary-color) !important;
  background: var(--white-color);
  width: 42px !important;
  height: 42px !important;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14);
  top: 44% !important;
}

.pg-nav-prev::after,
.pg-nav-next::after {
  font-size: 16px !important;
  font-weight: 900;
}

.pg-pagination .swiper-pagination-bullet {
  background: var(--accent-secondary-color);
  opacity: 0.3;
}

.pg-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}

/* View all link */
.pg-view-all-wrap {
  margin-top: 8px;
  margin-bottom: 32px;
}

.pg-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-secondary-color);
  transition: gap 0.2s ease;
}

.pg-view-all-link:hover {
  gap: 10px;
  color: var(--accent-secondary-color);
}

/* ── Teaser CTAs ─────────────────────────────── */
.pg-teaser-ctas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 8px;
}

/* 4-CTA variant (when calculator is shown) */
.pg-teaser-ctas--4 {
  grid-template-columns: repeat(4, 1fr);
}

.pg-cta-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-family: var(--default-font), sans-serif;
  text-align: left;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.2s ease;
  position: relative;
  overflow: hidden;
}

.pg-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.pg-cta-btn:active {
  transform: translateY(-1px);
}

.pg-cta-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pg-cta-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pg-cta-label strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.pg-cta-label small {
  font-size: 11.5px;
  font-weight: 400;
  opacity: 0.8;
  line-height: 1.3;
}

/* Calculator CTA */
.pg-cta-calculator {
  background: var(--accent-secondary-color);
  color: var(--white-color);
}

.pg-cta-calculator .pg-cta-icon {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white-color);
}

/* Estimate CTA */
.pg-cta-estimate {
  background: var(--primary-color);
  color: var(--white-color);
}

.pg-cta-estimate .pg-cta-icon {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white-color);
}

/* WhatsApp CTA */
.pg-cta-whatsapp {
  background: #25D366;
  color: var(--white-color);
}

.pg-cta-whatsapp .pg-cta-icon {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white-color);
}

/* Call CTA */
.pg-cta-call {
  background: var(--accent-color);
  color: var(--primary-color);
}

.pg-cta-call .pg-cta-icon {
  background: rgba(15, 32, 32, 0.12);
  color: var(--primary-color);
}

/* ── 3D Lightbox ─────────────────────────────── */
.pg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pg-lightbox[hidden] {
  display: none !important;
}

.pg-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 10, 0.93);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.pg-lb-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1060px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
  gap: 0;
}

/* Top bar */
.pg-lb-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 0 10px;
}

.pg-lb-counter {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.04em;
}

.pg-lb-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-color);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.pg-lb-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* Stage */
.pg-lb-stage {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.pg-lb-perspective {
  flex: 1;
  perspective: 1200px;
  perspective-origin: 50% 50%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pg-lb-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  background: #0a1010;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  max-width: 820px;
  width: 100%;
  line-height: 0;
}

.pg-lb-img {
  width: 100%;
  max-height: 62vh;
  object-fit: contain;
  display: block;
  transition: opacity 0.15s ease;
}

.pg-lb-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 16, 16, 0.6);
}

.pg-lb-loader[style*="display: none"] {
  display: none !important;
}

.pg-lb-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--accent-color);
  border-radius: 50%;
  animation: pg-spin 0.8s linear infinite;
}

@keyframes pg-spin {
  to { transform: rotate(360deg); }
}

/* Nav buttons */
.pg-lb-nav {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
}

.pg-lb-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transform: scale(1.08);
}

.pg-lb-nav:active {
  transform: scale(0.96);
}

/* Lightbox CTAs */
.pg-lb-ctas {
  display: flex;
  gap: 10px;
  width: 100%;
  padding: 14px 0 16px;
  flex-wrap: wrap;
}

.pg-lb-cta-btn {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  font-family: var(--default-font), sans-serif;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  line-height: 1.3;
}

.pg-lb-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.92;
}

.pg-lb-cta-calc {
  background: var(--accent-secondary-color);
  color: var(--white-color);
}

.pg-lb-cta-est {
  background: var(--primary-color);
  color: var(--white-color);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.pg-lb-cta-wa {
  background: #25D366;
  color: var(--white-color);
}

.pg-lb-cta-phone {
  background: var(--accent-color);
  color: var(--primary-color);
}

/* ── 3D Animations ───────────────────────────── */
@keyframes pg-lb-enter {
  0% {
    transform: perspective(1200px) rotateX(18deg) scale(0.82);
    opacity: 0;
  }
  60% {
    transform: perspective(1200px) rotateX(-3deg) scale(1.02);
    opacity: 1;
  }
  100% {
    transform: perspective(1200px) rotateX(0deg) scale(1);
    opacity: 1;
  }
}

@keyframes pg-lb-exit-next {
  from {
    transform: perspective(1000px) translateX(0) rotateY(0deg);
    opacity: 1;
  }
  to {
    transform: perspective(1000px) translateX(-90px) rotateY(-20deg);
    opacity: 0;
  }
}

@keyframes pg-lb-enter-next {
  from {
    transform: perspective(1000px) translateX(90px) rotateY(20deg);
    opacity: 0;
  }
  to {
    transform: perspective(1000px) translateX(0) rotateY(0deg);
    opacity: 1;
  }
}

@keyframes pg-lb-exit-prev {
  from {
    transform: perspective(1000px) translateX(0) rotateY(0deg);
    opacity: 1;
  }
  to {
    transform: perspective(1000px) translateX(90px) rotateY(20deg);
    opacity: 0;
  }
}

@keyframes pg-lb-enter-prev {
  from {
    transform: perspective(1000px) translateX(-90px) rotateY(-20deg);
    opacity: 0;
  }
  to {
    transform: perspective(1000px) translateX(0) rotateY(0deg);
    opacity: 1;
  }
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1199px) {
  .pg-teaser-ctas--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .pg-teaser-ctas,
  .pg-teaser-ctas--4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .pg-cta-btn {
    padding: 15px 18px;
  }
}

@media (max-width: 575px) {
  .pg-teaser-ctas,
  .pg-teaser-ctas--4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .pg-lb-nav {
    width: 38px;
    height: 38px;
  }

  .pg-lb-nav svg {
    width: 22px;
    height: 22px;
  }

  .pg-lb-ctas {
    gap: 8px;
  }

  .pg-lb-cta-btn {
    font-size: 12px;
    padding: 10px 10px;
    gap: 6px;
    flex: 1 1 calc(50% - 4px);
  }

  .pg-lb-cta-phone {
    flex: 1 1 100%;
  }

  .pg-lb-img {
    max-height: 52vh;
  }
}

@media (max-width: 479px) {
  .pg-lb-cta-btn {
    flex: 1 1 100%;
  }

  .pg-lb-stage {
    gap: 8px;
  }
}

/* ==========================================================================
   VIDEO CARDS
   ========================================================================== */

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.video-card {
    background: #fff;
    border: 1px solid rgba(15, 36, 53, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--duration-base) var(--ease-out),
                transform var(--duration-base) var(--ease-out);
}

.video-card:hover {
    box-shadow: 0 12px 32px rgba(10, 34, 52, 0.12);
    transform: translateY(-3px);
}

.video-card__thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #0c1822;
    display: block;
}

.video-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--duration-slow) var(--ease-out);
}

.video-card:hover .video-card__thumb img {
    transform: scale(1.04);
}

.video-card__play {
    position: absolute;
    inset: 0;
    background: rgba(6, 18, 30, 0.28);
    border: none;
    cursor: pointer;
    text-indent: -9999px;
    overflow: hidden;
    transition: background var(--duration-base) var(--ease-out);
}

.video-card__play::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    transition: transform var(--duration-base) var(--ease-spring),
                background var(--duration-base);
}

.video-card__play::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #0f2435;
    transform: translate(-38%, -50%);
}

.video-card:hover .video-card__play {
    background: rgba(6, 18, 30, 0.45);
}

.video-card:hover .video-card__play::before {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--accent-color);
}

.video-card__body {
    padding: 1rem 1.1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: .3rem;
    flex: 1;
}

.video-card__eyebrow {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--accent-secondary-color);
    margin: 0;
}

.video-card__title {
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f2435;
    margin: 0 0 .1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card__desc {
    font-size: .85rem;
    color: var(--clr-text-muted);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .3rem .5rem;
    margin-top: .3rem;
}

.video-card__badge {
    display: inline-block;
    background: #efe4c2;
    color: #045266;
    font-size: .72rem;
    font-weight: 700;
    padding: .2rem .55rem;
    border-radius: 999px;
}

.video-card__tags {
    font-size: .75rem;
    color: rgba(64, 75, 75, 0.55);
    margin: .15rem 0 0;
    line-height: 1.6;
}

/* ==========================================================================
   VIDEO CARD — FEATURED (must come after all base .video-card rules)
   ========================================================================== */

.video-card--featured {
    grid-column: 1 / -1;
    flex-direction: row;
    height: 360px;
    border: none;
    background: #0f2435;
    box-shadow: 0 8px 40px rgba(10, 34, 52, 0.18);
    position: relative;
    overflow: hidden;
}

.video-card--featured:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(10, 34, 52, 0.22);
}

/* Accent left-edge bar */
.video-card--featured::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-color);
    z-index: 2;
}

.video-card--featured .video-card__thumb {
    width: 58%;
    flex-shrink: 0;
    height: 100%;
    aspect-ratio: auto;
    position: relative;
}

.video-card--featured .video-card__thumb img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card--featured:hover .video-card__thumb img {
    transform: scale(1.05);
}

/* "Featured" pill badge overlaid on thumbnail */
.video-card--featured .video-card__thumb::after {
    content: '▶ Featured Project';
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--accent-color);
    color: #0f2435;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .3rem .75rem;
    border-radius: 999px;
    z-index: 3;
    pointer-events: none;
}

.video-card--featured .video-card__play {
    background: rgba(6, 18, 30, 0.35);
}

.video-card--featured .video-card__play::before {
    width: 72px;
    height: 72px;
    background: rgba(255, 255, 255, 0.96);
}

.video-card--featured .video-card__play::after {
    border-width: 12px 0 12px 22px;
}

.video-card--featured:hover .video-card__play::before {
    background: var(--accent-color);
    transform: translate(-50%, -50%) scale(1.12);
}

/* Body — dark bg with light text */
.video-card--featured .video-card__body {
    padding: 2rem 2.2rem 2rem 2.4rem;
    justify-content: center;
    background: #0f2435;
    gap: .6rem;
    min-width: 0;
}

.video-card--featured .video-card__eyebrow {
    color: var(--accent-color);
    opacity: .9;
}

.video-card--featured .video-card__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    -webkit-line-clamp: 3;
    line-height: 1.4;
}

.video-card--featured .video-card__desc {
    color: rgba(255, 255, 255, 0.68);
    font-size: .9rem;
    -webkit-line-clamp: 4;
}

.video-card--featured .video-card__badge {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.video-card--featured .video-card__tags {
    color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   VIDEO MODAL
   ========================================================================== */

.video-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.video-modal.is-open {
    display: flex;
}

.video-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 16, 24, 0.88);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.video-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 1160px);
    max-height: 96vh;
    overflow-y: auto;
    border-radius: var(--radius-xl);
    background: #0d1e2e;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.video-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--duration-fast);
}

.video-modal__close:hover {
    background: rgba(255, 255, 255, 0.22);
}

.video-modal__content {
    display: grid;
    grid-template-columns: 1fr 300px;
}

.video-modal__media {
    background: #000;
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    overflow: hidden;
    align-self: stretch;
    min-height: 0;
}

.video-modal__media iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

.video-modal__info {
    padding: 1.4rem 1.3rem;
    display: flex;
    flex-direction: column;
    gap: .65rem;
    color: #fff;
    min-height: 0;
}

.video-modal__eyebrow {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-modal__info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    margin: 0;
}

.video-modal__description {
    font-size: .85rem;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.video-modal__hashtags {
    font-size: .78rem;
    color: rgba(255, 255, 255, 0.38);
    margin: 0;
    line-height: 1.6;
}

.video-modal__actions {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    padding-top: .25rem;
}

/* Modal CTA buttons — icon + title + subtitle layout */
.vm-cta-btn {
    display: flex;
    align-items: center;
    gap: .75rem;
    border: none;
    border-radius: 12px;
    padding: .75rem .9rem;
    text-decoration: none;
    cursor: pointer;
    transition: opacity var(--duration-fast), transform var(--duration-fast);
    width: 100%;
    text-align: left;
}

.vm-cta-btn:hover {
    opacity: .88;
    transform: translateY(-1px);
}

.vm-cta-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.15);
}

.vm-cta-text {
    display: flex;
    flex-direction: column;
    gap: .08rem;
}

.vm-cta-title {
    font-weight: 700;
    font-size: .9rem;
    line-height: 1.2;
    display: block;
    white-space: nowrap;
}

.vm-cta-sub {
    font-size: .75rem;
    opacity: .72;
    line-height: 1.25;
    display: block;
    white-space: nowrap;
}

.vm-cta-estimate {
    background: #0f2435;
    color: #fff;
}

.vm-cta-whatsapp {
    background: #25d366;
    color: #fff;
}

.vm-cta-call {
    background: var(--accent-color);
    color: #0f2435;
}

.vm-cta-call .vm-cta-icon {
    background: rgba(0, 0, 0, 0.1);
}

.vm-cta-call .vm-cta-sub {
    color: #0f2435;
}

body.video-modal-open {
    overflow: hidden;
}


/* ==========================================================================
   COST CALCULATOR
   ========================================================================== */

/* ── Container & layout ──────────────────────────────────────────────────── */

.calc-alert {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--radius-md);
  color: #856404;
  padding: 12px 16px;
  margin-bottom: 1.5rem;
  font-size: 14px;
}

/* ── Stepper ─────────────────────────────────────────────────────────────── */

.calc-stepper {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 2.5rem;
}

.stepper-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.stepper-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--divider-color);
  background: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--duration-base) var(--ease-out),
              border-color var(--duration-base) var(--ease-out);
  position: relative;
}

.stepper-num {
  font-size: 14px;
  font-weight: 700;
  color: #b0b8b8;
  transition: opacity var(--duration-base);
}

.stepper-check {
  position: absolute;
  width: 16px;
  height: 16px;
  color: var(--white-color);
  opacity: 0;
  transition: opacity var(--duration-base);
}

.stepper-label {
  font-size: 11px;
  font-weight: 600;
  color: #b0b8b8;
  text-align: center;
  max-width: 64px;
  line-height: 1.3;
  transition: color var(--duration-base);
}

/* Active */
.stepper-item.active .stepper-dot {
  background: var(--accent-color);
  border-color: var(--accent-color);
}
.stepper-item.active .stepper-num  { color: var(--primary-color); }
.stepper-item.active .stepper-label { color: var(--primary-color); }

/* Completed */
.stepper-item.completed .stepper-dot {
  background: var(--accent-secondary-color);
  border-color: var(--accent-secondary-color);
}
.stepper-item.completed .stepper-num  { opacity: 0; }
.stepper-item.completed .stepper-check { opacity: 1; }
.stepper-item.completed .stepper-label { color: var(--accent-secondary-color); }

.stepper-line {
  flex: 1;
  height: 2px;
  background: var(--divider-color);
  margin: 19px 4px 0;
  min-width: 20px;
  transition: background var(--duration-base);
}

/* ── Step panels ─────────────────────────────────────────────────────────── */

.calc-step {
  display: none;
}
.calc-step.active {
  display: block;
  animation: calcStepIn 0.22s var(--ease-out);
}

@keyframes calcStepIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0);    }
}

.calc-step-header {
  margin-bottom: 2rem;
}
.calc-step-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 4px 0 6px;
}
.calc-step-desc {
  color: var(--text-color);
  font-size: 15px;
  margin: 0;
}

/* ── Form fields ─────────────────────────────────────────────────────────── */

.calc-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2rem;
}

.calc-fields-grid--3col {
  grid-template-columns: 1fr 1fr 1fr;
}

.calc-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-field-full {
  grid-column: 1 / -1;
}

.calc-field-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
}

.calc-input {
  height: 48px;
  border: 1.5px solid var(--divider-color);
  border-radius: var(--radius-md);
  padding: 0 14px;
  font-family: var(--default-font), sans-serif;
  font-size: 15px;
  color: var(--primary-color);
  background: var(--white-color);
  transition: border-color var(--duration-fast);
  width: 100%;
}

.calc-input:focus {
  outline: none;
  border-color: var(--accent-secondary-color);
  box-shadow: 0 0 0 3px rgba(1, 78, 78, 0.10);
}

.calc-input.calc-field-invalid {
  border-color: var(--error-color);
}

.calc-field-error {
  font-size: 12px;
  color: var(--error-color);
  font-weight: 500;
  min-height: 16px;
}

.calc-field-hint {
  font-size: 12px;
  color: #8a9494;
  margin: 0;
  line-height: 1.4;
}

.calc-required {
  color: var(--error-color);
}

/* Range slider */
.calc-range-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.calc-range {
  flex: 1;
  accent-color: var(--accent-secondary-color);
  height: 6px;
  cursor: pointer;
}

.calc-range-min,
.calc-range-max {
  font-size: 12px;
  color: #8a9494;
  white-space: nowrap;
}

/* Radio groups */
.calc-radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-color);
}

.calc-radio-label input[type="radio"] {
  display: none;
}

.calc-radio-custom {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--divider-color);
  flex-shrink: 0;
  position: relative;
  transition: border-color var(--duration-fast);
}

.calc-radio-label input[type="radio"]:checked ~ .calc-radio-custom {
  border-color: var(--accent-secondary-color);
}
.calc-radio-label input[type="radio"]:checked ~ .calc-radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-secondary-color);
}

/* Checkboxes */
.calc-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-color);
}

.calc-checkbox-label input[type="checkbox"] {
  display: none;
}

.calc-checkbox-custom {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--divider-color);
  flex-shrink: 0;
  position: relative;
  margin-top: 2px;
  transition: background var(--duration-fast), border-color var(--duration-fast);
}

.calc-checkbox-label input[type="checkbox"]:checked ~ .calc-checkbox-custom {
  background: var(--accent-secondary-color);
  border-color: var(--accent-secondary-color);
}
.calc-checkbox-label input[type="checkbox"]:checked ~ .calc-checkbox-custom::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 5px;
  width: 5px;
  height: 9px;
  border: 2px solid white;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

/* ── Package cards (step 5) ──────────────────────────────────────────────── */

.calc-package-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.calc-pkg-card {
  cursor: pointer;
  border: 2px solid var(--divider-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--duration-base), box-shadow var(--duration-base);
  display: block;
}

.calc-pkg-card:hover {
  border-color: var(--accent-secondary-color);
  box-shadow: 0 4px 20px rgba(1, 78, 78, 0.10);
}

.calc-pkg-card input[type="radio"] {
  display: none;
}

.calc-pkg-card:has(input:checked),
.calc-pkg-featured:has(input:checked) {
  border-color: var(--accent-secondary-color);
  box-shadow: 0 4px 24px rgba(1, 78, 78, 0.18);
}

.calc-pkg-inner {
  padding: 1.25rem;
}

.calc-pkg-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--secondary-color);
  color: var(--text-color);
  border-radius: 100px;
  padding: 3px 10px;
  margin-bottom: 8px;
}

.calc-pkg-badge--featured {
  background: var(--accent-color);
  color: var(--primary-color);
}

.calc-pkg-badge--premium {
  background: var(--primary-color);
  color: var(--white-color);
}

.calc-pkg-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.calc-pkg-rate {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-secondary-color);
  margin-bottom: 12px;
}

.calc-pkg-rate span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-color);
}

.calc-pkg-specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.calc-pkg-specs li {
  font-size: 12px;
  color: var(--text-color);
  padding-left: 14px;
  position: relative;
}

.calc-pkg-specs li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent-secondary-color);
  font-weight: 700;
}

.calc-pkg-note {
  font-size: 13px;
  color: var(--text-color);
  margin-top: 0.5rem;
}

.calc-pkg-note a {
  color: var(--accent-secondary-color);
  text-decoration: none;
  font-weight: 600;
}

/* ── Navigation ──────────────────────────────────────────────────────────── */

.calc-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--divider-color);
}

.calc-nav-spacer {
  flex: 1;
}

/* ── Result: summary bar ─────────────────────────────────────────────────── */

.calc-summary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 16px;
}

.calc-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  background: var(--white-color);
  color: var(--primary-color);
  border-radius: 100px;
  padding: 4px 10px;
  white-space: nowrap;
  letter-spacing: 0.01em;
  border: 1px solid rgba(1,78,78,0.1);
}

.calc-chip svg { flex-shrink: 0; }

/* Contact card */
.calc-contact-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--secondary-color);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 1rem;
  gap: 0;
}

.calc-contact-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  border-right: 1px solid rgba(1,78,78,0.1);
}

.calc-contact-row:first-child { padding-left: 0; }
.calc-contact-row:last-child  { padding-right: 0; border-right: none; }

.calc-contact-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white-color);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.calc-contact-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #8a9494;
  margin-bottom: 3px;
}

.calc-contact-value {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  word-break: break-all;
}

@media (max-width: 767px) {
  .calc-contact-card {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 16px;
  }
  .calc-contact-row {
    padding: 0;
    border-right: none;
    border-bottom: 1px solid rgba(1,78,78,0.1);
    padding-bottom: 16px;
  }
  .calc-contact-row:last-child { border-bottom: none; padding-bottom: 0; }
}

/* Icon lists in note cards */
.calc-icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.calc-icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-color);
  line-height: 1.5;
}

.calc-icon-list li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary-color);
}

.calc-icon-list--excluded li svg { color: #c0392b; }

.calc-note-card .calc-icon-list { padding-left: 0; }

/* ── Result sections ─────────────────────────────────────────────────────── */

.calc-result-section {
  margin-bottom: 2rem;
}

.calc-result-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Area grid */
.calc-area-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.calc-area-item {
  background: var(--secondary-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.calc-area-highlight {
  background: var(--primary-color);
}

.calc-area-highlight .calc-area-value,
.calc-area-highlight .calc-area-label {
  color: var(--white-color);
}

.calc-area-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-color);
}

.calc-area-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-color);
}

.calc-formula-note {
  font-size: 12px;
  color: #8a9494;
  margin: 0;
}

/* Budget banner */
.calc-budget-banner {
  background: var(--primary-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.calc-budget-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
}

.calc-budget-range {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.calc-budget-low,
.calc-budget-high {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1.1;
}

.calc-budget-to {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.calc-budget-note {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}

.calc-budget-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline--light {
  border-color: rgba(255,255,255,0.4) !important;
  color: var(--white-color) !important;
}
.btn-outline--light:hover {
  background: rgba(255,255,255,0.1) !important;
}

/* Result grid */
.calc-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.calc-result-card {
  background: var(--white-color);
  border: 1px solid var(--divider-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.calc-result-full {
  grid-column: 1 / -1;
}

.calc-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.calc-card-subtitle {
  font-size: 13px;
  color: var(--text-color);
  margin-top: -0.5rem;
  margin-bottom: 1rem;
}

.calc-card-note {
  font-size: 12px;
  color: #8a9494;
  margin-top: 0.75rem;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Package comparison table */
.calc-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.calc-comparison-table,
.calc-breakdown-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.calc-comparison-table th,
.calc-comparison-table td,
.calc-breakdown-table th,
.calc-breakdown-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--divider-color);
}

.calc-comparison-table thead th,
.calc-breakdown-table thead th {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-color);
  background: var(--secondary-color);
}

.calc-comparison-table .calc-col-selected {
  background: rgba(1, 78, 78, 0.04);
}

.calc-comparison-table thead .calc-col-selected {
  background: var(--accent-secondary-color);
  color: var(--white-color);
}

.calc-selected-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  background: var(--accent-color);
  color: var(--primary-color);
  border-radius: 100px;
  padding: 2px 8px;
  margin-left: 6px;
  vertical-align: middle;
}

.calc-row-label {
  font-weight: 600;
  color: var(--primary-color);
  white-space: nowrap;
}

.calc-breakdown-total td {
  background: var(--secondary-color);
  border-top: 2px solid var(--divider-color);
  padding-top: 12px;
  padding-bottom: 12px;
}

.calc-share-pill {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--text-color);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
}

/* Labor/material split */
.calc-split-bar {
  display: flex;
  height: 28px;
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.calc-split-labor   { background: var(--accent-secondary-color); }
.calc-split-material { background: var(--accent-color); }

.calc-split-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-split-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.calc-split-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.calc-split-dot--labor    { background: var(--accent-secondary-color); }
.calc-split-dot--material { background: var(--accent-color); }

.calc-split-name { color: var(--text-color); flex: 1; }
.calc-split-val  { font-weight: 600; color: var(--primary-color); }

/* Timeline */
.calc-timeline-display {
  background: var(--secondary-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1rem;
}

.calc-timeline-range {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.calc-timeline-val {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
}

.calc-timeline-sep {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  line-height: 1;
  font-size: 1.25rem;
  color: var(--text-color);
}

.calc-timeline-unit {
  font-size: 14px;
  color: var(--text-color);
  font-weight: 500;
}

.calc-timeline-factors {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.calc-timeline-factors li {
  font-size: 12px;
  background: var(--secondary-color);
  color: var(--text-color);
  border-radius: 100px;
  padding: 3px 10px;
}

/* Material quantities */
.calc-materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.calc-material-item {
  background: var(--secondary-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.calc-material-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.calc-material-name {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-color);
}

.calc-material-qty {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-color);
}

/* Bottom CTAs */
.calc-bottom-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/* Calculator results CTA visibility fix on light background */

/* Notes grid */
.calc-notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.calc-note-card {
  background: var(--white-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid var(--divider-color);
}

.calc-note-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.75rem;
}

.calc-note-card ul {
  margin: 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.calc-note-card li {
  font-size: 13px;
  color: var(--text-color);
  line-height: 1.4;
}

.calc-note-card p {
  font-size: 13px;
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
}

/* ── Bangalore cost factors grid ──────────────────────────────────────────── */
.calc-factors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.calc-factor-card {
  background: var(--white-color);
  border: 1px solid var(--divider-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: box-shadow 0.25s, transform 0.25s;
}

.calc-factor-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.calc-factor-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--accent-secondary-color);
}

.calc-factor-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.6rem;
}

.calc-factor-card p {
  font-size: 14px;
  color: var(--text-color);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 991px) {
  .calc-factors-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575px) {
  .calc-factors-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   CALCULATOR — ADDITIONS (prev button fix, stepper click, resume banner)
   ========================================================================== */

/* Utility: hidden state via class (avoids inline style / specificity issues) */
.calc-hidden {
  display: none !important;
}

/* Stepper: clickable (visited) steps */
.stepper-item.stepper-clickable {
  cursor: pointer;
}
.stepper-item.stepper-clickable:hover .stepper-dot {
  box-shadow: 0 0 0 4px rgba(1, 78, 78, 0.12);
}
.stepper-item.stepper-clickable:focus-visible {
  outline: 2px solid var(--accent-secondary-color);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Resume banner */
.calc-resume-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #e8f5f0;
  border: 1px solid rgba(1, 78, 78, 0.25);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.calc-resume-icon {
  flex-shrink: 0;
  color: var(--accent-secondary-color);
  margin-top: 2px;
}

.calc-resume-text {
  flex: 1;
  min-width: 180px;
  font-size: 14px;
  color: var(--primary-color);
  line-height: 1.5;
}

.calc-resume-text strong {
  display: block;
  margin-bottom: 2px;
}

.calc-resume-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

@media (max-width: 575px) {
  .calc-resume-banner    { flex-direction: column; gap: 10px; }
  .calc-resume-actions   { width: 100%; }
  .calc-resume-actions .btn-default { flex: 1; text-align: center; }
}


/* ==========================================================================
   CALCULATOR — FOUNDATION CARDS, SUMP STEPPER, CONTACT TRUST STRIP
   ========================================================================== */

/* ── Foundation cards ────────────────────────────────────────────────────── */

.calc-label-block {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.calc-foundation-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 4px;
}

.calc-foundation-card {
  cursor: pointer;
  border: 2px solid var(--divider-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--duration-base), box-shadow var(--duration-base);
  display: block;
}

.calc-foundation-card:hover {
  border-color: rgba(1, 78, 78, 0.4);
  box-shadow: 0 4px 16px rgba(1, 78, 78, 0.08);
}

.calc-foundation-card input[type="radio"] {
  display: none;
}

.calc-foundation-card:has(input:checked) {
  border-color: var(--accent-secondary-color);
  box-shadow: 0 4px 20px rgba(1, 78, 78, 0.15);
}

.calc-foundation-inner {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.calc-foundation-icon {
  width: 56px;
  height: 44px;
  color: var(--accent-secondary-color);
  margin-bottom: 4px;
  opacity: 0.7;
  transition: opacity var(--duration-base);
}

.calc-foundation-card:has(input:checked) .calc-foundation-icon {
  opacity: 1;
}

.calc-foundation-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
}

.calc-foundation-desc {
  font-size: 12px;
  color: var(--text-color);
  line-height: 1.5;
}

.calc-foundation-meta {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-secondary-color);
  margin-top: 4px;
}

.calc-foundation-card:has(input[value="normal"]:checked) .calc-foundation-meta {
  color: #4caf6e;
}

/* ── Sump tank stepper ────────────────────────────────────────────────────── */

.calc-sump-stepper {
  display: inline-flex;
  align-items: stretch;
  border: 1.5px solid var(--divider-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  user-select: none;
}

.calc-sump-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 10px 20px;
  background: var(--secondary-color);
  border: none;
  cursor: pointer;
  font-family: var(--default-font), sans-serif;
  transition: background var(--duration-fast);
  min-width: 72px;
}

.calc-sump-btn:hover:not(:disabled) {
  background: #dde4e8;
}

.calc-sump-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.calc-sump-op {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-secondary-color);
  line-height: 1;
}

.calc-sump-btn:disabled .calc-sump-op {
  color: var(--text-color);
}

.calc-sump-step-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-color);
  white-space: nowrap;
}

.calc-sump-value-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  padding: 10px 28px;
  background: var(--white-color);
  border-left: 1.5px solid var(--divider-color);
  border-right: 1.5px solid var(--divider-color);
  min-width: 100px;
}

.calc-sump-val {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.calc-sump-unit {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color);
}

/* ── Step 6 estimate teaser ──────────────────────────────────────────────── */

.calc-teaser {
  background: var(--secondary-color);
  border: 1px solid var(--divider-color);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.calc-teaser-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff4e0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: #c07a10;
}

.calc-teaser-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-color);
  margin: 0 0 1.25rem;
}

.calc-teaser-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.calc-teaser-blur {
  font-family: var(--accent-font);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--primary-color);
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
  letter-spacing: 0.02em;
}

.calc-teaser-reveal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white-color);
  border: 1.5px solid var(--accent-color);
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 50px;
  white-space: nowrap;
  color: #c07a10;
}

.calc-teaser-sub {
  font-size: 13px;
  color: var(--accent-secondary-color);
  margin: 0;
}

/* ── Contact trust strip ─────────────────────────────────────────────────── */

.calc-contact-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--secondary-color);
  border-radius: var(--radius-md);
}

.calc-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-color);
  font-weight: 500;
}

.calc-trust-item svg {
  flex-shrink: 0;
  color: var(--accent-secondary-color);
}

/* ── Responsive: foundation cards ────────────────────────────────────────── */

@media (max-width: 767px) {
  .calc-foundation-cards { grid-template-columns: 1fr; gap: 0.75rem; }
  .calc-foundation-inner  { padding: 1rem; flex-direction: row; align-items: flex-start; gap: 12px; }
  .calc-foundation-icon   { flex-shrink: 0; width: 44px; height: 36px; margin-bottom: 0; }
  .calc-foundation-meta   { font-size: 11px; }
}

@media (max-width: 991px) and (min-width: 768px) {
  .calc-foundation-cards  { grid-template-columns: 1fr; gap: 0.75rem; }
  .calc-foundation-inner  { flex-direction: row; align-items: flex-start; gap: 14px; padding: 1rem 1.25rem; }
  .calc-foundation-icon   { flex-shrink: 0; margin-bottom: 0; }
}

/* ── Responsive: sump stepper ────────────────────────────────────────────── */

@media (max-width: 575px) {
  .calc-sump-stepper       { width: 100%; }
  .calc-sump-btn           { flex: 1; padding: 10px 12px; }
  .calc-sump-value-wrap    { flex: 1; padding: 10px 12px; }
  .calc-sump-val           { font-size: 24px; }
}

/* ── Responsive: contact trust ───────────────────────────────────────────── */

@media (max-width: 575px) {
  .calc-contact-trust { gap: 0.75rem 1rem; }
  .calc-trust-item    { font-size: 12px; }
}


/* ==========================================================================
   SWEETALERT2 — Build Masters theme overrides
   ========================================================================== */

.swal-bmc-popup {
  font-family: "Inter", sans-serif !important;
  border-radius: 16px !important;
}

.swal-bmc-title {
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: #0F2020 !important;
  padding-bottom: 0 !important;
}

.swal-bmc-html {
  text-align: left !important;
  margin-top: 10px !important;
}

.swal2-actions {
  gap: 10px !important;
}

.swal-bmc-confirm,
.swal-bmc-cancel {
  font-family: "Inter", sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  padding: 10px 22px !important;
}


/* ==========================================================================
   CALCULATOR — SUMP STEPPER REDESIGN + NAV BUTTON FIX
   ========================================================================== */

/* ── Sump stepper — pill design ───────────────────────────────────────────── */

.calc-sump-stepper {
  display: inline-flex;
  align-items: center;
  background: var(--secondary-color);
  border-radius: 100px;
  padding: 6px;
  gap: 0;
  user-select: none;
}

.calc-sump-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--white-color);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-secondary-color);
  flex-shrink: 0;
  transition: background var(--duration-fast), color var(--duration-fast), transform var(--duration-fast), box-shadow var(--duration-fast);
}

.calc-sump-btn:hover:not(:disabled) {
  background: var(--accent-secondary-color);
  color: var(--white-color);
  box-shadow: 0 4px 12px rgba(1, 78, 78, 0.30);
  transform: scale(1.06);
}

.calc-sump-btn:active:not(:disabled) {
  transform: scale(0.94);
}

.calc-sump-btn:disabled {
  opacity: 0.30;
  cursor: not-allowed;
  box-shadow: none;
  color: var(--text-color);
}

/* Remove old step-label inside button */
.calc-sump-op,
.calc-sump-step-label { display: none; }

.calc-sump-value-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 5px;
  padding: 0 32px;
  min-width: 110px;
  background: transparent;
  border: none;
}

.calc-sump-val {
  font-size: 36px;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.calc-sump-unit {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-color);
}

/* ── Nav button hard override — ensures prev/submit always show ───────────── */

#calcPrev:not(.calc-hidden),
#calcNext:not(.calc-hidden),
#calcSubmit:not(.calc-hidden) {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

/* ── Summary chips — variant colours ─────────────────────────────────────── */

.calc-chip--loc {
  background: var(--primary-color);
  color: var(--white-color);
}

.calc-chip--pkg {
  background: var(--accent-secondary-color);
  color: var(--white-color);
}

/* ── Sump responsive ──────────────────────────────────────────────────────── */

@media (max-width: 575px) {
  .calc-sump-stepper    { width: 100%; justify-content: center; }
  .calc-sump-value-wrap { padding: 0 20px; min-width: 80px; }
  .calc-sump-val        { font-size: 28px; }
}


/* ==========================================================================
   CALCULATOR — RECALCULATE BUTTON + BREAKDOWN RANGE CELL
   ========================================================================== */

/* Recalculate — clearly visible standalone button in summary bar */
.calc-recalc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  min-height: 44px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fa 100%);
  border: 1.5px solid #2b4a4a;
  border-radius: 100px;
  font-family: var(--default-font), sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(15, 32, 32, 0.08);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--duration-fast), color var(--duration-fast), transform var(--duration-fast), box-shadow var(--duration-fast);
}

.calc-recalc-btn:hover {
  background: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(1, 78, 78, 0.2);
}

.calc-recalc-btn svg {
  flex-shrink: 0;
  transition: transform 0.4s var(--ease-out);
}

.calc-recalc-btn:hover svg {
  transform: rotate(-180deg);
}

/* Breakdown range cell */
.calc-range-cell {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--primary-color);
  font-weight: 500;
}

/* Make breakdown table 2-col layout fill available space */
.calc-breakdown-table th:first-child,
.calc-breakdown-table td:first-child {
  width: 55%;
}

.calc-breakdown-table th:last-child,
.calc-breakdown-table td:last-child {
  width: 45%;
}

@media (max-width: 575px) {
  .calc-recalc-btn { padding: 7px 14px; font-size: 12px; }
}


/* ==========================================================================
   CALCULATOR — SUMP STEPPER STRETCH FIX + NAV BUTTON COLOR FIX
   ========================================================================== */

/* ── Sump stepper: stop flex-column child from stretching to 100% width ──── */
.calc-sump-stepper {
  align-self: flex-start;
}

/* ── Calc-nav buttons: explicit colors so they are visible on white bg ─────
   Root cause: the site's .btn-default uses white text designed for dark hero
   backgrounds. Inside the white calc-nav the text is invisible (white on white)
   until hover switches the background to dark. These rules lock in correct
   colors for each button variant regardless of what .btn-default inherits.     */

/* Previous — outlined */
.calc-nav #calcPrev:not(.calc-hidden) {
  color:            var(--primary-color)  !important;
  background:       var(--white-color)    !important;
  border:           1.5px solid var(--primary-color) !important;
}
.calc-nav #calcPrev:not(.calc-hidden):hover {
  background:       var(--primary-color)  !important;
  color:            var(--white-color)    !important;
}

/* Next — solid dark */
.calc-nav #calcNext:not(.calc-hidden) {
  color:            var(--white-color)    !important;
  background:       var(--primary-color)  !important;
  border-color:     var(--primary-color)  !important;
}
.calc-nav #calcNext:not(.calc-hidden):hover {
  background:       #1a3535              !important;
}

/* Calculate Estimate — accent yellow */
.calc-nav #calcSubmit:not(.calc-hidden) {
  color:            var(--primary-color)  !important;
  background:       var(--accent-color)   !important;
  border-color:     var(--accent-color)   !important;
}
.calc-nav #calcSubmit:not(.calc-hidden):hover {
  background:       #f5c84a              !important;
}

/* Ensure SVG icons inside nav buttons inherit the forced text colour */
.calc-nav #calcPrev svg,
.calc-nav #calcNext svg,
.calc-nav #calcSubmit svg {
  stroke: currentColor;
}


/* ==========================================================================
   SUMP STEPPER — FINAL OVERRIDE: square buttons, small border radius
   (supersedes all earlier pill/circle declarations)
   ========================================================================== */

.calc-sump-stepper {
  display: inline-flex !important;
  align-items: stretch !important;
  align-self: flex-start !important;
  background: var(--secondary-color) !important;
  border-radius: var(--radius-md) !important;   /* 10px — matches form inputs */
  padding: 5px !important;
  gap: 4px !important;
  border: none !important;
}

.calc-sump-btn {
  width: 48px !important;
  height: 48px !important;
  border-radius: var(--radius-sm) !important;   /* 4px — square with small radius */
  border: 1.5px solid var(--divider-color) !important;
  background: var(--white-color) !important;
  box-shadow: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--accent-secondary-color) !important;
  flex-shrink: 0 !important;
  transition: background var(--duration-fast), color var(--duration-fast), border-color var(--duration-fast) !important;
  transform: none !important;
}

.calc-sump-btn:hover:not(:disabled) {
  background: var(--accent-secondary-color) !important;
  color: var(--white-color) !important;
  border-color: var(--accent-secondary-color) !important;
  transform: none !important;
  box-shadow: none !important;
}

.calc-sump-btn:active:not(:disabled) {
  background: #013a3a !important;
  transform: scale(0.96) !important;
}

.calc-sump-btn:disabled {
  opacity: 0.30 !important;
  cursor: not-allowed !important;
  background: var(--white-color) !important;
  color: var(--text-color) !important;
  border-color: var(--divider-color) !important;
}

.calc-sump-value-wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  padding: 0 28px !important;
  min-width: 110px !important;
  background: var(--white-color) !important;
  border: 1.5px solid var(--divider-color) !important;
  border-radius: var(--radius-sm) !important;   /* 4px — square */
}

.calc-sump-val {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: var(--primary-color) !important;
  line-height: 1 !important;
}

.calc-sump-unit {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--text-color) !important;
}

@media (max-width: 575px) {
  .calc-sump-stepper    { width: auto !important; justify-content: flex-start !important; }
  .calc-sump-value-wrap { padding: 0 18px !important; min-width: 80px !important; }
  .calc-sump-val        { font-size: 26px !important; }
  .calc-sump-btn        { width: 44px !important; height: 44px !important; }
}
