/* ============================================================
   Signstar Signs & Graphics – theme.css
   Override & additions layer – loaded after signstar.css
   ============================================================ */


/* ---- Home Header: blue title on new line ---- */
.hero h1 span {
    display: block;
}


/* ---- Background Variants ----
   Default: --surface-dark (#162229) — set on body in signstar.css
   Add class to <section> to override.
   ============================================================ */

/* White */
.bg-white {
    background: var(--white);
    color: var(--dark-slate-grey);
}
.bg-white h1,
.bg-white h2,
.bg-white h3,
.bg-white h4 {
    color: var(--dark-slate-grey);
}
.bg-white p,
.bg-white li,
.bg-white a:not(.btn) {
    color: var(--dim-grey-2);
}

/* Light Blue (Sky Blue #00adef) */
.bg-light-blue {
    background: var(--deep-sky-blue);
    color: var(--white);
}
.bg-light-blue h1,
.bg-light-blue h2,
.bg-light-blue h3,
.bg-light-blue h4 {
    color: var(--white);
}
.bg-light-blue p,
.bg-light-blue li,
.bg-light-blue a:not(.btn) {
    color: rgba(255, 255, 255, 0.85);
}
.bg-light-blue .small-title {
    color: var(--white);
}

/* Light Blue (sky blue) background: section header overrides */
.bg-light-blue .section-tag {
    color: var(--white);
}
.bg-light-blue .section-tag::before {
    background: var(--white);
}
.bg-light-blue .section-title {
    color: var(--white);
}
.bg-light-blue .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}
.bg-light-blue .service-card,
.bg-light-blue .testimonial-card {
    background: rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.15);
}
.bg-light-blue .testimonial-badge {
    background: rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.15);
}
.bg-light-blue .testimonial-badge-text {
    color: rgba(255, 255, 255, 0.85);
}
.bg-light-blue .testimonial-badge-text strong {
    color: var(--white);
}
.bg-light-blue .process-step h3 {
    color: var(--white);
}
.bg-light-blue .process-step p {
    color: rgba(255, 255, 255, 0.85);
}
.bg-light-blue .process-step:not(:last-child)::after {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Alice Blue (Pale #ebf4fe) */
.bg-alice-blue {
    background: var(--alice-blue);
    color: var(--dark-slate-grey);
}
.bg-alice-blue h1,
.bg-alice-blue h2,
.bg-alice-blue h3,
.bg-alice-blue h4 {
    color: var(--dark-slate-grey);
}
.bg-alice-blue p,
.bg-alice-blue li,
.bg-alice-blue a:not(.btn) {
    color: var(--dim-grey-2);
}

/* Grey */
.bg-grey {
    background: #f0f3f5;
    color: var(--dark-slate-grey);
}
.bg-grey h1,
.bg-grey h2,
.bg-grey h3,
.bg-grey h4 {
    color: var(--dark-slate-grey);
}
.bg-grey p,
.bg-grey li,
.bg-grey a:not(.btn) {
    color: var(--dim-grey-2);
}

/* Gradient (dark to darker) */
.bg-gradient {
    background: linear-gradient(180deg, var(--surface-dark) 0%, var(--surface-card) 100%);
}

.spacer { width:auto;height:30px; }
.privacy-statement { border:1px solid var(--wsai-bg-tertiary); border-radius: 12px; padding:var(--space-sm);background-color: color-mix(in srgb, var(--wsai-bg-tertiary) 50%, transparent); }

/* Background image overlay */
.section-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.section-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.section-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(22, 34, 41, 0.85);
}
section:has(.section-bg-image) {
    position: relative;
}
section:has(.section-bg-image) > .container {
    position: relative;
    z-index: 1;
}


/* ---- Border Variants ----
   Colour class + position class on <section>.
   ============================================================ */

/* Border colours — applied via border-top/bottom properties below */
.border-white { --border-color: rgba(255, 255, 255, 0.12); }
.border-light-blue { --border-color: var(--border-accent); }
.border-grey { --border-color: var(--border-subtle); }
.border-dark { --border-color: rgba(0, 0, 0, 0.1); }

/* Border positions */
.border-top {
    border-top: 1px solid var(--border-color);
}

.border-bottom {
    border-bottom: 1px solid var(--border-color);
}

.border-both {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}


/* ---- Button Holder ----
   Wrapper for button row from buttons.php template part.
   ============================================================ */

.button-holder {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.btn-align-centre {
    justify-content: center;
}

.btn-align-right {
    justify-content: flex-end;
}


/* ---- Title Holder ----
   SEO H2 control pattern.
   ============================================================ */

.title-holder {
    margin-bottom: var(--space-md);
}

.small-title {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--deep-sky-blue);
    margin-bottom: 0.75rem;
    display: block;
}

.text-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* Light backgrounds: title holder colour overrides */
.bg-white .small-title,
.bg-alice-blue .small-title,
.bg-grey .small-title {
    color: var(--deep-sky-blue);
}

/* Light backgrounds: service card overrides */
.bg-white .service-card,
.bg-alice-blue .service-card,
.bg-grey .service-card {
    background: var(--white);
    border-color: rgba(0, 0, 0, 0.1);
}
.bg-white .service-card h3,
.bg-alice-blue .service-card h3,
.bg-grey .service-card h3 {
    color: var(--dark-slate-grey);
}
.bg-white .service-card p,
.bg-alice-blue .service-card p,
.bg-grey .service-card p {
    color: var(--dim-grey-2);
}
.bg-white .section-title,
.bg-alice-blue .section-title,
.bg-grey .section-title {
    color: var(--dark-slate-grey);
}
.bg-white .section-subtitle,
.bg-alice-blue .section-subtitle,
.bg-grey .section-subtitle {
    color: var(--dim-grey-2);
}

/* Light backgrounds: process step overrides */
.bg-white .process-step h3,
.bg-alice-blue .process-step h3,
.bg-grey .process-step h3 {
    color: var(--dark-slate-grey);
}
.bg-white .process-step p,
.bg-alice-blue .process-step p,
.bg-grey .process-step p {
    color: var(--dim-grey-2);
}
.bg-white .process-step:not(:last-child)::after,
.bg-alice-blue .process-step:not(:last-child)::after,
.bg-grey .process-step:not(:last-child)::after {
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.1), transparent);
}

/* Light backgrounds: testimonial card overrides */
.bg-white .testimonial-card,
.bg-alice-blue .testimonial-card,
.bg-grey .testimonial-card {
    background: var(--white);
    border-color: rgba(0, 0, 0, 0.1);
}
.bg-white .testimonial-card blockquote,
.bg-alice-blue .testimonial-card blockquote,
.bg-grey .testimonial-card blockquote {
    color: var(--dim-grey-2);
}
.bg-white .testimonial-name,
.bg-alice-blue .testimonial-name,
.bg-grey .testimonial-name {
    color: var(--dark-slate-grey);
}
.bg-white .testimonial-badge,
.bg-alice-blue .testimonial-badge,
.bg-grey .testimonial-badge {
    background: var(--white);
    border-color: rgba(0, 0, 0, 0.1);
}
.bg-white .testimonial-badge-text strong,
.bg-alice-blue .testimonial-badge-text strong,
.bg-grey .testimonial-badge-text strong {
    color: var(--dark-slate-grey);
}
.bg-white .testimonial-badge-text,
.bg-alice-blue .testimonial-badge-text,
.bg-grey .testimonial-badge-text {
    color: var(--dim-grey-2);
}


/* ---- Section Spacing ----
   Default vertical padding for block sections.
   ============================================================ */

.block-section {
    padding: var(--space-2xl) 0;
}


/* ---- Single Post Template ----
   Hero header, content + sidebar layout, typography.
   ============================================================ */

/* Header */
.single-post-header {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    padding: var(--space-3xl) 0 var(--space-xl);
    overflow: hidden;
}

.single-post-header-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.single-post-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single-post-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--surface-dark) 0%, rgba(22, 34, 41, 0.7) 50%, rgba(22, 34, 41, 0.4) 100%);
}

.single-post-header-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.single-post-cats {
    display: flex;
    gap: 0.5rem;
    margin-bottom: var(--space-md);
}

.single-post-cat-badge {
    background: var(--deep-sky-blue);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    border-radius: 4px;
    text-decoration: none;
    transition: opacity 0.2s var(--ease-out);
}

.single-post-cat-badge:hover {
    opacity: 0.85;
}

.single-post-header-inner h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
}

.single-post-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.single-post-meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--text-muted);
}

/* Layout */
.single-post-body {
    padding: var(--space-xl) 0 var(--space-3xl);
}

.single-post-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-xl);
    align-items: start;
}

/* Content typography */
.single-post-content {
    min-width: 0;
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.single-post-content h2 { font-size: 1.6rem; }
.single-post-content h3 { font-size: 1.3rem; }
.single-post-content h4 { font-size: 1.1rem; }

.single-post-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.single-post-content a {
    color: var(--deep-sky-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s var(--ease-out);
}

.single-post-content a:hover {
    color: var(--white);
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.single-post-content ul,
.single-post-content ol {
    color: var(--text-secondary);
    line-height: 1.8;
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}

.single-post-content li {
    margin-bottom: 0.4rem;
}

.single-post-content li::marker {
    color: var(--deep-sky-blue);
}

.single-post-content blockquote {
    border-left: 3px solid var(--deep-sky-blue);
    padding: var(--space-md) var(--space-lg);
    margin: 1.5rem 0;
    background: rgba(0, 173, 239, 0.05);
    border-radius: 0 8px 8px 0;
}

.single-post-content blockquote p {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 0;
}

.single-post-content strong {
    color: var(--white);
    font-weight: 600;
}

/* Sidebar */
.single-post-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.sidebar-widget {
    background: var(--surface-card);
    border-radius: 12px;
    padding: var(--space-lg);
    box-shadow: 0 0 0 1px var(--border-subtle);
}

.sidebar-widget-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-subtle);
}

/* Category links */
.sidebar-cat-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.55rem 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 173, 239, 0.06);
    transition: color 0.2s var(--ease-out);
}

.sidebar-cat-link:last-child {
    border-bottom: none;
}

.sidebar-cat-link:hover {
    color: var(--deep-sky-blue);
}

.sidebar-cat-count {
    background: rgba(0, 173, 239, 0.1);
    color: var(--deep-sky-blue);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

/* Recent post links */
.sidebar-recent-post {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    padding: 0.6rem 0;
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 173, 239, 0.06);
    transition: opacity 0.2s var(--ease-out);
}

.sidebar-recent-post:last-child {
    border-bottom: none;
}

.sidebar-recent-post:hover {
    opacity: 0.8;
}

.sidebar-recent-post-img {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-recent-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-recent-post-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.sidebar-recent-post-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--white);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-recent-post:hover .sidebar-recent-post-title {
    color: var(--deep-sky-blue);
}

.sidebar-recent-post-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Related posts section */
.single-post-related {
    border-top: 1px solid var(--border-subtle);
}

/* ---- Single Case Study Template ----
   ============================================================ */

/* Header */
.cs-single-header {
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: flex-end;
    padding: var(--space-3xl) 0 var(--space-xl);
    overflow: hidden;
}

.cs-single-header-bg {
    position: absolute;
    inset: 0;
}

.cs-single-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cs-single-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--surface-dark) 0%, rgba(22, 34, 41, 0.75) 50%, rgba(22, 34, 41, 0.3) 100%);
}

.cs-single-header-inner {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.cs-single-badge {
    display: inline-block;
    background: rgba(22, 34, 41, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--deep-sky-blue);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    border: 1px solid rgba(0, 173, 239, 0.2);
    margin-bottom: var(--space-md);
}

.cs-single-header-inner h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-sm);
}

.cs-single-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.cs-single-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-lg);
}

.cs-single-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.cs-single-meta-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(0, 173, 239, 0.1);
    color: var(--deep-sky-blue);
    flex-shrink: 0;
}

/* Video Player — poster with play button */
.cs-video-player {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    margin-top: 1.5rem;
    box-shadow: 0 0 0 1px var(--border-subtle);
}

.cs-video-poster {
    position: relative;
    aspect-ratio: 16 / 9;
    cursor: pointer;
    display: block;
}

.cs-video-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.cs-video-poster:hover img {
    transform: scale(1.03);
}

.cs-video-poster::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: background 0.3s var(--ease-out);
}

.cs-video-poster:hover::after {
    background: rgba(0, 0, 0, 0.35);
}

.cs-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    border: none;
    background: none;
    cursor: pointer;
    transition: transform 0.3s var(--ease-out);
}

.cs-video-poster:hover .cs-video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

.cs-video-embed {
    aspect-ratio: 16 / 9;
}

.cs-video-embed iframe,
.cs-video-embed video {
    width: 100%;
    height: 100%;
    border: none;
}

/* Lightbox */
.ss-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease-out), visibility 0.3s var(--ease-out);
}

.ss-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.ss-lightbox-content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ss-lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

.ss-lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s var(--ease-out);
    z-index: 3;
}

.ss-lightbox-close:hover {
    background: var(--deep-sky-blue);
}

.ss-lightbox-prev,
.ss-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s var(--ease-out);
    z-index: 3;
}

.ss-lightbox-prev { left: 1.5rem; }
.ss-lightbox-next { right: 1.5rem; }

.ss-lightbox-prev:hover,
.ss-lightbox-next:hover {
    background: var(--deep-sky-blue);
}

.ss-lightbox-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.88rem;
    color: var(--text-secondary);
    z-index: 3;
}

/* Content + What We Did */
.cs-single-content-section {
    padding: var(--space-xl) 0 var(--space-3xl);
}

.cs-single-content-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: var(--space-xl);
    align-items: start;
}

.cs-single-content h2 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.cs-single-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.cs-single-text p {
    margin-bottom: 1.25rem;
}

.cs-single-text strong {
    color: var(--white);
    font-weight: 600;
}

.cs-single-text a {
    color: var(--deep-sky-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* What We Did card */
.cs-single-wwd-card {
    background: var(--surface-card);
    border-radius: 14px;
    padding: var(--space-lg);
    box-shadow: 0 0 0 1px var(--border-subtle);
    position: sticky;
    top: 100px;
}

.cs-single-wwd-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-subtle);
}

.cs-single-wwd-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cs-single-wwd-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cs-single-wwd-card li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Gallery */
.cs-single-gallery {
    padding: var(--space-xl) 0 var(--space-3xl);
    border-top: 1px solid var(--border-subtle);
}

.cs-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.cs-gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    display: block;
}

.cs-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.cs-gallery-item:hover img {
    transform: scale(1.05);
}

.cs-gallery-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(22, 34, 41, 0.5);
    opacity: 0;
    transition: opacity 0.3s var(--ease-out);
    color: var(--white);
}

.cs-gallery-item:hover .cs-gallery-zoom {
    opacity: 1;
}

/* Client Quote */
.cs-single-quote {
    padding: var(--space-xl) 0 var(--space-3xl);
}

.cs-single-quote-card {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    background: var(--surface-card);
    border-radius: 16px;
    padding: var(--space-xl);
    box-shadow: 0 0 0 1px var(--border-subtle);
    position: relative;
}

.cs-quote-icon {
    margin-bottom: var(--space-md);
}

.cs-single-quote-card blockquote {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-primary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.cs-single-quote-author {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.cs-single-quote-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
}

.cs-single-quote-role {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* Related case studies */
.cs-single-related {
    padding: var(--space-3xl) 0;
    border-top: 1px solid var(--border-subtle);
}

/* Reviews on case study */
.cs-single-reviews {
    padding: var(--space-3xl) 0;
    border-top: 1px solid var(--border-subtle);
}

/* ---- Blog Archive Header ----
   Hero-style centered header for the blog page.
   ============================================================ */

.blog-archive-header {
    padding: 5rem 0 var(--space-xl);
    position: relative;
    overflow: hidden;
}

.blog-archive-header::before {
    content: '';
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--glow-blue) 0%, transparent 70%);
    opacity: 0.25;
    pointer-events: none;
}

.blog-archive-header-inner {
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.blog-archive-header-inner h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.blog-archive-divider {
    width: 48px;
    height: 3px;
    background: var(--deep-sky-blue);
    margin: var(--space-md) auto;
    border-radius: 2px;
}

.blog-archive-header-inner p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto;
}

.blog-archive-grid-section {
    padding-top: 0;
}

/* ---- Case Studies Archive Grid ----
   Uniform 3-column grid (not the asymmetric homepage layout).
   ============================================================ */

.cs-archive-grid-section,
.cs-archive-section {
    padding-top: 0;
    padding-bottom: var(--space-3xl);
}

/* ---- Case Study Archive Cards ----
   Premium card design for case studies archive.
   ============================================================ */

.cs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.cs-card {
    position: relative;
    background: var(--surface-card);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    box-shadow: 0 0 0 1px var(--border-subtle);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.cs-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--deep-sky-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
    z-index: 2;
}

.cs-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 0 1px var(--border-subtle), 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px var(--glow-blue);
}

.cs-card:hover::after {
    transform: scaleX(1);
}

.cs-card-image {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    display: block;
    line-height: 0;
    font-size: 0;
}

.cs-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out), opacity 0.6s ease;
}

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

.cs-card-image-overlay {
    display: none;
}

.cs-card-badge {
    position: absolute;
    top: var(--space-sm);
    left: var(--space-sm);
    background: rgba(22, 34, 41, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--deep-sky-blue);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.75rem 0.5rem;
    border-radius: 6px;
    border: 1px solid rgba(0, 173, 239, 0.2);
}

.cs-card-body {
    padding: var(--space-md) var(--space-lg) var(--space-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cs-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 0.5rem;
    transition: color 0.3s var(--ease-out);
}

.cs-card:hover .cs-card-body h3 {
    color: var(--deep-sky-blue);
}

.cs-card-subtitle {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.cs-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm) var(--space-md);
    margin-top: var(--space-md);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border-subtle);
}

.cs-card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.cs-card-meta-item svg {
    color: var(--deep-sky-blue);
    flex-shrink: 0;
}

.cs-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--deep-sky-blue);
    margin-top: var(--space-md);
    transition: gap 0.25s var(--ease-out);
}

.cs-card:hover .cs-card-link {
    gap: 0.6rem;
}

/* ---- Blog Pagination ---- */

.blog-pagination {
    margin-top: var(--space-xl);
    display: flex;
    justify-content: center;
}

.blog-pagination .page-numbers {
    list-style: none;
    display: flex;
    gap: 0.4rem;
    padding: 0;
    margin: 0;
}

.blog-pagination .page-numbers li a,
.blog-pagination .page-numbers li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.75rem;
    font-size: 0.88rem;
    font-weight: 500;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    background: var(--surface-card);
    transition: all 0.25s var(--ease-out);
    text-decoration: none;
}

.blog-pagination .page-numbers li a:hover {
    border-color: var(--border-accent);
    color: var(--white);
    background: rgba(0, 173, 239, 0.08);
}

.blog-pagination .page-numbers li span.current {
    background: var(--deep-sky-blue);
    border-color: var(--deep-sky-blue);
    color: var(--white);
    font-weight: 600;
}

.blog-no-posts {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    padding: var(--space-xl) 0;
}


/* ---- Blog Post Cards ----
   Recent Posts block — 3-column card grid.
   ============================================================ */

/* .blog-posts {
    padding: var(--space-3xl) 0;
} */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.blog-card {
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.blog-card-image {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.04);
}

.blog-card-badge {
    position: absolute;
    bottom: var(--space-sm);
    right: var(--space-sm);
    background: var(--deep-sky-blue);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.3rem 0.65rem;
    border-radius: 4px;
}

.blog-card-body {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.35;
    margin-bottom: 0.75rem;
}

.blog-card:hover .blog-card-body h3 {
    color: var(--deep-sky-blue);
}

.blog-card-body p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.65;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: var(--space-md);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border-subtle);
    font-size: 0.78rem;
    color: var(--text-muted);
}

.blog-card-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--text-muted);
}

/* Light backgrounds: blog card overrides */
.bg-white .blog-card,
.bg-alice-blue .blog-card,
.bg-grey .blog-card {
    background: var(--white);
    border-color: rgba(0, 0, 0, 0.1);
}
.bg-white .blog-card-body h3,
.bg-alice-blue .blog-card-body h3,
.bg-grey .blog-card-body h3 {
    color: var(--dark-slate-grey);
}
.bg-white .blog-card-body p,
.bg-alice-blue .blog-card-body p,
.bg-grey .blog-card-body p {
    color: var(--dim-grey-2);
}
.bg-white .blog-card-meta,
.bg-alice-blue .blog-card-meta,
.bg-grey .blog-card-meta {
    border-top-color: rgba(0, 0, 0, 0.08);
}

/* Sky blue background: blog card overrides */
.bg-light-blue .blog-card {
    background: rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.15);
}
.bg-light-blue .blog-card-badge {
    background: var(--white);
    color: var(--deep-sky-blue);
}

/* ---- CF7 Form Integration ----
   Make CF7 output match concept site's .cta-form styles.
   ============================================================ */

.cta-form .wpcf7 {
    display: contents;
}

.cta-form .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.cta-form .wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 0.8rem 1rem;
    background: var(--surface-dark);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    outline: none;
    transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.cta-form .wpcf7-form-control:not(.wpcf7-submit)::placeholder {
    color: var(--text-muted);
}

.cta-form .wpcf7-form-control:not(.wpcf7-submit):focus {
    border-color: var(--deep-sky-blue);
    box-shadow: 0 0 0 3px var(--glow-blue);
}

.cta-form .wpcf7-form-control.wpcf7-textarea,
.cta-form textarea {
    resize: vertical;
    min-height: 80px;
    max-height: 150px;
}

.cta-form .wpcf7-form-control.wpcf7-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394a7b3'%3E%3Cpath d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
}

.cta-form .wpcf7-form-control.wpcf7-select option {
    background: var(--surface-dark);
    color: var(--text-primary);
}

.cta-form .wpcf7-form-control.wpcf7-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.95rem 1.8rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    background: var(--deep-sky-blue);
    color: var(--white);
    transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.cta-form .wpcf7-form-control.wpcf7-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--glow-blue-strong);
}

.cta-form .wpcf7 .wpcf7-not-valid-tip {
    font-size: 0.78rem;
    color: #f87171;
    margin-top: 0.25rem;
}

.cta-form .wpcf7 .wpcf7-response-output {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    margin-top: var(--space-sm);
}

.cta-form .wpcf7-form p {
    margin: 0;
}

.cta-form .wpcf7-form br {
    display: none;
}

/* Light backgrounds: CTA box overrides */
.bg-white .cta-box,
.bg-alice-blue .cta-box,
.bg-grey .cta-box {
    background: var(--white);
    border-color: rgba(0, 0, 0, 0.1);
}
.bg-white .cta-content h2,
.bg-alice-blue .cta-content h2,
.bg-grey .cta-content h2 {
    color: var(--dark-slate-grey);
}
.bg-white .cta-content p,
.bg-alice-blue .cta-content p,
.bg-grey .cta-content p {
    color: var(--dim-grey-2);
}
.bg-white .cta-contact-item a,
.bg-alice-blue .cta-contact-item a,
.bg-grey .cta-contact-item a {
    color: var(--dark-slate-grey);
}
.bg-white .cta-form .wpcf7-form-control:not(.wpcf7-submit),
.bg-alice-blue .cta-form .wpcf7-form-control:not(.wpcf7-submit),
.bg-grey .cta-form .wpcf7-form-control:not(.wpcf7-submit) {
    background: #f5f7f9;
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--dark-slate-grey);
}

/* Sky blue background: CTA overrides */
.bg-light-blue .cta-box {
    background: rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.15);
}


/* ---- Dropdown Menu (header nav) ----
   Support for nav items with children.
   ============================================================ */

.has-dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--surface-card);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 0.5rem 0;
    list-style: none;
    z-index: 200;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.has-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 0.5rem 1.2rem;
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}

.dropdown-menu li a:hover {
    color: var(--white);
    background: rgba(0, 173, 239, 0.08);
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 1rem;
        display: block;
    }
}

/* ---- CTA Block ----
   Full-width frosted glass strip with image inside.
   Heavy frost left (text), lighter right (cards + image peek).
   Animated glowing border line.
   ============================================================ */

.cta-block {
    position: relative;
    padding: var(--space-3xl) 0;
    background: var(--dark-gunmetal);
}

/* The glass strip — full width, no border-radius */
.cta-glass {
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Image inside the glass */
.cta-glass-bg {
    position: absolute;
    inset: 0;
}

.cta-glass-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Frost overlay — gradient: heavy left → lighter right */
.cta-glass-frost {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(22, 34, 41, 0.95) 0%,
        rgba(22, 34, 41, 0.88) 40%,
        rgba(22, 34, 41, 0.7) 70%,
        rgba(22, 34, 41, 0.55) 100%
    );
    backdrop-filter: blur(3px) saturate(1.4);
    -webkit-backdrop-filter: blur(3px) saturate(1.4);
}

/* Sky blue glow accent — top-left */
.cta-glass-glow {
    position: absolute;
    top: -80px;
    left: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 173, 239, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
}

/* Animated running light — top border */
.cta-glass::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -100%;
    width: 60%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 173, 239, 0.3) 20%,
        var(--deep-sky-blue) 50%,
        rgba(0, 173, 239, 0.3) 80%,
        transparent 100%
    );
    z-index: 3;
    animation: ctaLineRun 4s ease-in-out infinite;
}

/* Second line — bottom border, delayed */
.cta-glass::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -100%;
    width: 40%;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 173, 239, 0.2) 30%,
        rgba(0, 173, 239, 0.5) 50%,
        rgba(0, 173, 239, 0.2) 70%,
        transparent 100%
    );
    z-index: 3;
    animation: ctaLineRunReverse 5s ease-in-out 1.5s infinite;
}

@keyframes ctaLineRun {
    0%   { left: -60%; }
    100% { left: 100%; }
}

@keyframes ctaLineRunReverse {
    0%   { right: -40%; }
    100% { right: 100%; }
}

/* Content grid inside glass */
.cta-glass-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-xl);
    align-items: center;
    max-width: var(--container-max, 1200px);
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-lg);
}

/* Left: content */
.cta-glass-content .section-tag {
    margin-bottom: var(--space-sm);
}

.cta-block-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.cta-block-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    max-width: 480px;
    margin-bottom: var(--space-lg);
}

/* Right: contact cards stacked */
.cta-glass-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.cta-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: var(--space-md) var(--space-lg);
    text-decoration: none;
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.cta-card:hover {
    border-color: rgba(0, 173, 239, 0.3);
    background: rgba(0, 173, 239, 0.06);
    transform: translateY(-2px);
}

.cta-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 173, 239, 0.1);
    border: 1px solid rgba(0, 173, 239, 0.15);
    border-radius: 11px;
    color: var(--deep-sky-blue);
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.cta-card:hover .cta-card-icon {
    background: rgba(0, 173, 239, 0.18);
}

.cta-card-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.cta-card-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.15rem;
}

.cta-card-value {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.cta-card:hover .cta-card-value {
    color: var(--deep-sky-blue);
}


/* ---- Service Form Tabs ----
   ENQUIRE / CALL BACK / WHATSAPP tab UI for service CF7 forms.
   ============================================================ */

.svc-form-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: var(--space-lg);
}

.svc-tab {
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    border: 1px solid rgba(0, 173, 239, 0.3);
    background: transparent;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.svc-tab:hover {
    border-color: var(--deep-sky-blue);
}

.svc-tab.active {
    background: var(--deep-sky-blue);
    border-color: var(--deep-sky-blue);
    color: var(--white);
}

.svc-tab-panel {
    display: none;
}

.svc-tab-panel.active {
    display: block;
}

.svc-form-intro {
    font-size: 0.95rem;
    color: var(--deep-sky-blue);
    margin-bottom: var(--space-md);
}

.svc-form-intro strong {
    color: var(--white);
}

.svc-form-privacy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.5;
    margin: var(--space-md) 0;
}

.svc-form-privacy a {
    color: var(--deep-sky-blue);
    text-decoration: underline;
}

.svc-form-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: var(--space-sm);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #25D366;
    color: var(--white);
    border: none;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.btn-whatsapp::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover::before {
    opacity: 1;
}

/* Light bg overrides */
.bg-white .svc-tab,
.bg-alice-blue .svc-tab,
.bg-grey .svc-tab {
    color: var(--dark-slate-grey);
    border-color: rgba(0, 173, 239, 0.3);
}

.bg-white .svc-tab.active,
.bg-alice-blue .svc-tab.active,
.bg-grey .svc-tab.active {
    color: var(--white);
}

.bg-white .svc-form-intro strong,
.bg-alice-blue .svc-form-intro strong,
.bg-grey .svc-form-intro strong {
    color: var(--dark-slate-grey);
}

.bg-white .svc-form-privacy,
.bg-alice-blue .svc-form-privacy,
.bg-grey .svc-form-privacy {
    color: rgba(0, 0, 0, 0.45);
}

.bg-white .svc-form-note,
.bg-alice-blue .svc-form-note,
.bg-grey .svc-form-note {
    color: rgba(0, 0, 0, 0.5);
}

/* Detail toggle — "I know the sign details!" */
.svc-detail-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    margin: var(--space-xs) 0;
}

.svc-detail-toggle span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.svc-detail-btn {
    padding: 0.45rem 1rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.svc-detail-btn:hover {
    background: rgba(0, 173, 239, 0.1);
    border-color: rgba(0, 173, 239, 0.3);
}

.svc-detail-btn.active {
    background: rgba(0, 173, 239, 0.12);
    border-color: var(--deep-sky-blue);
    color: var(--deep-sky-blue);
}

/* Detail panel — smooth expand/collapse */
.svc-detail-panel {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.45s ease, opacity 0.35s ease;
}

.svc-detail-panel.is-open {
    opacity: 1;
}

/* Label + input row */
.form-row-label {
    display: grid;
    grid-template-columns: 140px 1fr;
    align-items: center;
    gap: var(--space-sm);
}

.form-row-label label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
}

/* Light bg overrides for detail toggle */
.bg-white .svc-detail-toggle span,
.bg-alice-blue .svc-detail-toggle span,
.bg-grey .svc-detail-toggle span {
    color: var(--dim-grey-2);
}

.bg-white .svc-detail-btn,
.bg-alice-blue .svc-detail-btn,
.bg-grey .svc-detail-btn {
    color: var(--dark-slate-grey);
    border-color: rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.03);
}

.bg-white .form-row-label label,
.bg-alice-blue .form-row-label label,
.bg-grey .form-row-label label {
    color: var(--dim-grey-2);
}

/* Detail section heading — e.g. "Window Sign Details:" */
.svc-detail-heading {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    margin: var(--space-md) 0 var(--space-sm);
}

.bg-white .svc-detail-heading,
.bg-alice-blue .svc-detail-heading,
.bg-grey .svc-detail-heading {
    color: var(--dark-slate-grey);
}

/* Window repeater sections */
.svc-window {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: var(--space-md);
    margin-bottom: var(--space-sm);
    background: rgba(255, 255, 255, 0.02);
}

.svc-window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.svc-window-title {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--deep-sky-blue);
}

.svc-window-remove {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 80, 80, 0.1);
    border: 1px solid rgba(255, 80, 80, 0.2);
    border-radius: 6px;
    color: #ff5050;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.svc-window-remove:hover {
    background: rgba(255, 80, 80, 0.2);
}

.svc-add-window {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: var(--space-sm);
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    border: 1px dashed rgba(0, 173, 239, 0.3);
    background: transparent;
    color: var(--deep-sky-blue);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
    float: right;
}

.svc-add-window:hover {
    background: rgba(0, 173, 239, 0.08);
    border-color: var(--deep-sky-blue);
}

/* Light bg overrides for windows */
.bg-white .svc-window,
.bg-alice-blue .svc-window,
.bg-grey .svc-window {
    border-color: rgba(0, 0, 0, 0.08);
    background: rgba(0, 0, 0, 0.02);
}

.bg-white .svc-window-header,
.bg-alice-blue .svc-window-header,
.bg-grey .svc-window-header {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

/* Panel text for callback / whatsapp */
.svc-panel-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.svc-panel-note {
    color: var(--deep-sky-blue);
}

.svc-tab-panel .btn {
    margin-top: var(--space-md);
}

/* ---- Service Form Layout ----
   2-col grid: content left, form right.
   Reuses cta-form styles for CF7 inputs.
   ============================================================ */

.cta-form-layout {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.cta-form-content .section-title {
    font-size: clamp(1.6rem, 3vw, 2rem);
    color: var(--white);
    margin-bottom: var(--space-md);
    max-width: none;
}

.cta-form-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.cta-form-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: var(--space-lg);
}

.cta-form-contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.2s ease;
}

a.cta-form-contact-item:hover {
    color: var(--deep-sky-blue);
}

.cta-form-contact-item svg {
    color: var(--deep-sky-blue);
    flex-shrink: 0;
}

/* Light bg overrides for panels */
.bg-white .svc-panel-text,
.bg-alice-blue .svc-panel-text,
.bg-grey .svc-panel-text {
    color: var(--dim-grey-2);
}


/* ---- Gallery Block ----
   Image grid with lightbox. 3 layouts: 3-col, 4-col, masonry.
   ============================================================ */

.gal-grid {
    display: grid;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.gal-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gal-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gal-masonry {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
}

.gal-masonry .gal-item--wide {
    grid-column: span 2;
    grid-row: span 2;
}

.gal-item {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.gal-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}

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

.gal-item-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 173, 239, 0.0);
    color: var(--white);
    opacity: 0;
    transition: background 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

.gal-item:hover .gal-item-overlay {
    background: rgba(0, 173, 239, 0.35);
    opacity: 1;
}

/* ---- Gallery Lightbox ---- */
.gal-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gal-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.gal-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    object-fit: contain;
}

.gal-lightbox-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 10;
}

.gal-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gal-lightbox-prev,
.gal-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 10;
}

.gal-lightbox-prev {
    left: var(--space-md);
}

.gal-lightbox-next {
    right: var(--space-md);
}

.gal-lightbox-prev:hover,
.gal-lightbox-next:hover {
    background: var(--deep-sky-blue);
    border-color: var(--deep-sky-blue);
}

.gal-lightbox-counter {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ---- Gallery — Light bg overrides ---- */
.bg-white .gal-item,
.bg-alice-blue .gal-item,
.bg-grey .gal-item {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}


/* ---- Text Block ----
   Versatile content block with multiple layouts.
   ============================================================ */

/* Shared inner spacing */
.text-block-inner {
    padding: var(--space-md) 0;
}

.text-block-header {
    margin-bottom: var(--space-lg);
}

/* Centre aligned title */
.text-block-header.title-centre,
.title-centre {
    text-align: center;
}

.text-block-header.title-centre .section-tag,
.title-centre .section-tag {
    justify-content: center;
}

.text-block-header.title-centre .section-title,
.title-centre .section-title {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

/* Centre aligned body text */
.text-centre {
    text-align: center;
}

.text-centre .section-tag {
    justify-content: center;
}

.text-centre .section-title {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

/* Divider / compact spacing between items */
.text-block-spaced {
    padding-bottom: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.text-block-compact {
    padding-bottom: var(--space-lg);
    margin-bottom: var(--space-lg);
}

/* Light bg divider overrides */
.bg-white .text-block-spaced,
.bg-alice-blue .text-block-spaced,
.bg-grey .text-block-spaced {
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

/* Rich text inside text block */
.text-block-content.rich-text,
.text-block-two-col .rich-text,
.text-block-media-content .rich-text {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

.text-block-content.rich-text p,
.text-block-two-col.rich-text p {
    margin-bottom: var(--space-sm);
}

/* Two-column text layout */
.text-block-two-col {
    column-count: 2;
    column-gap: var(--space-xl);
}

/* ---- List Items ---- */
.text-block-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem var(--space-xl);
    margin-top: var(--space-lg);
}

.text-block-list.list-centre {
    justify-content: center;
}

.text-block-list.list-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem var(--space-xl);
}

.text-block-list.list-two-col.list-centre {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.text-block-list.list-single {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem var(--space-xl);
}

.text-block-list.list-single.list-centre {
    justify-content: center;
}

.text-list-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.text-list-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--deep-sky-blue);
    margin-top: 2px;
}

.text-list-icon svg {
    width: 100%;
    height: 100%;
}

.text-list-item span {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---- Image Left / Right (contained) ---- */
.text-block-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.text-block-media.reverse {
    direction: rtl;
}

.text-block-media.reverse > * {
    direction: ltr;
}

.text-block-media-image {
    border-radius: 14px;
    overflow: hidden;
}

.text-block-media-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

/* ---- Image Left / Right (full-width edge) ---- */
.text-block-edge {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 500px;
}

.text-block-edge .container {
    position: relative;
    z-index: 2;
}

.text-block-media-full {
    max-width: 50%;
}

.text-block-media-full.reverse {
    margin-left: auto;
}

.text-block-full-image {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48%;
}

.text-block-full-image.right {
    right: 0;
}

.text-block-full-image.left {
    left: 0;
}

.text-block-full-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- Benefits Grid (inside text block) ---- */
.tb-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.tb-benefits-grid._3-col {
    grid-template-columns: repeat(3, 1fr);
}

.tb-benefits-grid._4-col {
    grid-template-columns: repeat(4, 1fr);
}

.tb-benefit-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: var(--space-lg);
    transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.tb-benefit-card:hover {
    border-color: rgba(0, 173, 239, 0.2);
    transform: translateY(-2px);
}

.tb-benefit-icon-wrap {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 173, 239, 0.1);
    border-radius: 10px;
    margin-bottom: var(--space-sm);
}

.tb-benefit-icon {
    width: 24px;
    height: 24px;
    background-color: var(--deep-sky-blue);
}

.tb-benefit-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.4rem;
}

.tb-benefit-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.tb-benefits-content {
    margin-top: var(--space-xl);
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
}

/* ---- Light bg overrides for text block ---- */
.bg-white .tb-benefit-card,
.bg-alice-blue .tb-benefit-card,
.bg-grey .tb-benefit-card {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
}

.bg-white .tb-benefit-card:hover,
.bg-alice-blue .tb-benefit-card:hover,
.bg-grey .tb-benefit-card:hover {
    border-color: rgba(0, 173, 239, 0.3);
}

.bg-white .tb-benefit-title,
.bg-alice-blue .tb-benefit-title,
.bg-grey .tb-benefit-title {
    color: var(--dark-slate-grey);
}

.bg-white .text-list-item span,
.bg-alice-blue .text-list-item span,
.bg-grey .text-list-item span {
    color: var(--dim-grey-2);
}

/* Light bg: text block rich text + titles */
.bg-white .text-block-content.rich-text,
.bg-white .text-block-two-col.rich-text,
.bg-white .text-block-media-content .rich-text,
.bg-alice-blue .text-block-content.rich-text,
.bg-alice-blue .text-block-two-col.rich-text,
.bg-alice-blue .text-block-media-content .rich-text,
.bg-grey .text-block-content.rich-text,
.bg-grey .text-block-two-col.rich-text,
.bg-grey .text-block-media-content .rich-text {
    color: var(--dim-grey-2);
}

.bg-white .text-block-content.rich-text p,
.bg-white .text-block-two-col.rich-text p,
.bg-alice-blue .text-block-content.rich-text p,
.bg-alice-blue .text-block-two-col.rich-text p,
.bg-grey .text-block-content.rich-text p,
.bg-grey .text-block-two-col.rich-text p {
    color: var(--dim-grey-2);
}

.bg-white .section-title,
.bg-alice-blue .section-title,
.bg-grey .section-title {
    color: var(--dark-slate-grey);
}

.bg-white .tb-benefit-text,
.bg-alice-blue .tb-benefit-text,
.bg-grey .tb-benefit-text {
    color: var(--dim-grey-2);
}

.bg-white .tb-benefits-content,
.bg-alice-blue .tb-benefits-content,
.bg-grey .tb-benefits-content {
    color: var(--dim-grey-2);
}

/* Sky blue bg overrides */
.bg-light-blue .tb-benefit-card {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
}

.bg-light-blue .tb-benefit-title {
    color: var(--white);
}

.bg-light-blue .tb-benefit-icon {
    background-color: var(--white);
}

.bg-light-blue .tb-benefit-icon-wrap {
    background: rgba(255, 255, 255, 0.15);
}

/* Sky blue bg: list items */
.bg-light-blue .text-list-icon {
    color: var(--white);
}

.bg-light-blue .text-list-item span {
    color: var(--white);
}

/* Sky blue bg: rich text */
.bg-light-blue .text-block-content.rich-text,
.bg-light-blue .text-block-content.rich-text p,
.bg-light-blue .text-block-two-col.rich-text,
.bg-light-blue .text-block-two-col.rich-text p,
.bg-light-blue .text-block-media-content .rich-text,
.bg-light-blue .text-block-media-content .rich-text p {
    color: rgba(255, 255, 255, 0.9);
}

/* Sky blue bg: divider */
.bg-light-blue .text-block-spaced {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

/* Sky blue bg: buttons */
.bg-light-blue .btn-primary {
    background: var(--white);
    color: var(--deep-sky-blue);
}

.bg-light-blue .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
}

.bg-light-blue .btn-secondary {
    border-color: var(--white);
    color: var(--white);
}

.bg-light-blue .btn-secondary:hover {
    background: var(--white);
    color: var(--deep-sky-blue);
}


/* ---- Page Header Block ----
   Full-width image hero matching service hero design.
   Falls back to dark with gradient glows when no image.
   ============================================================ */

.ph-hero {
    position: relative;
    background: var(--dark-gunmetal);
    padding: 0;
    overflow: hidden;
}

/* Background image */
.ph-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ph-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ph-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(22, 34, 41, 0.92) 0%,
        rgba(22, 34, 41, 0.75) 50%,
        rgba(22, 34, 41, 0.5) 100%
    );
}

/* Decorative gradient blobs (no-image fallback) */
.ph-hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 173, 239, 0.08) 0%, transparent 70%);
    bottom: -200px;
    left: -100px;
    pointer-events: none;
}

.ph-hero-glow--right {
    left: auto;
    right: -150px;
    top: -200px;
    bottom: auto;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 173, 239, 0.05) 0%, transparent 70%);
}

/* Inner content */
.ph-hero-inner {
    position: relative;
    z-index: 1;
    padding: var(--space-3xl) 0 var(--space-2xl);
    max-width: 680px;
}

.ph-hero-inner.wide { width:100%; max-width: 100%; }

/* Title */
.ph-hero-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

.ph-hero-inner .section-tag {
    margin-bottom: var(--space-sm);
}

/* Subtitle text */
.ph-hero-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: var(--space-lg);
}

/* Buttons alignment */
.ph-hero-inner .btn-holder {
    justify-content: flex-start;
    margin-bottom: var(--space-lg);
}

/* Review trust bar */
.ph-hero-trust {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ph-hero-stars {
    color: #f5a623;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

/* Bottom fade */
.ph-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--dark-gunmetal));
    pointer-events: none;
    z-index: 1;
}

.ph-hero--has-image::after {
    background: linear-gradient(to bottom, transparent, rgba(22, 34, 41, 0.95));
}


/* ---- FAQs Block — Background Overrides ----
   ============================================================ */

/* Light backgrounds */
.bg-white .svc-faq-item summary,
.bg-alice-blue .svc-faq-item summary,
.bg-grey .svc-faq-item summary {
    color: var(--dark-slate-grey);
}

.bg-white .svc-faq-answer p,
.bg-alice-blue .svc-faq-answer p,
.bg-grey .svc-faq-answer p {
    color: var(--dim-grey-2);
}

.bg-white .svc-faq-item,
.bg-alice-blue .svc-faq-item,
.bg-grey .svc-faq-item {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.bg-white .svc-faq-item summary:hover,
.bg-alice-blue .svc-faq-item summary:hover,
.bg-grey .svc-faq-item summary:hover {
    color: var(--deep-sky-blue);
}

/* Sky blue background */
.bg-light-blue .svc-faq-item summary {
    color: var(--white);
}

.bg-light-blue .svc-faq-answer p {
    color: rgba(255, 255, 255, 0.85);
}

.bg-light-blue .svc-faq-item {
    border-bottom-color: rgba(255, 255, 255, 0.15);
}

.bg-light-blue .svc-faq-item summary::after {
    color: var(--white);
}

.bg-light-blue .svc-faq-item summary:hover {
    color: var(--white);
    opacity: 0.85;
}


/* ---- Our Services Block — Service Cards ----
   Image-overlay cards with title bar at bottom.
   Distinct from blog cards (standard) and CS cards (premium).
   ============================================================ */

.svc-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.svc-card {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    aspect-ratio: 4 / 3;
}

.svc-card-img {
    position: absolute;
    inset: 0;
}

.svc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

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

.svc-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(22, 34, 41, 0.9) 0%, rgba(22, 34, 41, 0.2) 50%, rgba(22, 34, 41, 0.05) 100%);
    transition: background 0.4s var(--ease-out);
}

.svc-card:hover .svc-card-overlay {
    background: linear-gradient(0deg, rgba(0, 173, 239, 0.85) 0%, rgba(22, 34, 41, 0.3) 50%, rgba(22, 34, 41, 0.1) 100%);
}

.svc-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-lg);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.svc-card-content h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    transition: transform 0.3s var(--ease-out);
}

.svc-card:hover .svc-card-content h3 {
    transform: translateY(-4px);
}

.svc-card-content p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s var(--ease-out), opacity 0.3s var(--ease-out);
}

.svc-card:hover .svc-card-content p {
    max-height: 60px;
    opacity: 1;
}

.svc-card-arrow {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--white);
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out), background 0.3s var(--ease-out);
    z-index: 2;
}

.svc-card:hover .svc-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.svc-card:hover .svc-card-arrow:hover {
    background: var(--deep-sky-blue);
}

/* Light backgrounds: service card overrides */
.bg-white .svc-card-overlay,
.bg-alice-blue .svc-card-overlay,
.bg-grey .svc-card-overlay {
    background: linear-gradient(0deg, rgba(30, 48, 55, 0.9) 0%, rgba(30, 48, 55, 0.2) 50%, transparent 100%);
}

/* Sky blue background: service card overrides */
.bg-light-blue .svc-card-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.15) 50%, transparent 100%);
}
.bg-light-blue .svc-card:hover .svc-card-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.25) 50%, transparent 100%);
}


/* ============================================================
   COMPREHENSIVE RESPONSIVE — All Templates
   Breakpoints: 1440 / 1280 / 1024 / 768 / 600 / 480
   ============================================================ */

/* ---- Large Desktop (1440px+) ---- */
@media (min-width: 1441px) {
    .container {
        max-width: 1320px;
    }
}

/* ---- Small Laptop (max 1280px) ---- */
@media (max-width: 1280px) {
    .cs-single-content-layout {
        grid-template-columns: 1fr 300px;
    }

    .single-post-layout {
        grid-template-columns: 1fr 280px;
    }

    .cs-grid {
        gap: var(--space-md);
    }
}

/* ---- Tablet Landscape (max 1024px) ---- */
@media (max-width: 1024px) {
    /* CTA block */
    .cta-glass-inner {
        grid-template-columns: 1fr 260px;
    }

    /* Gallery block */
    .gal-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    .gal-masonry {
        grid-auto-rows: 180px;
    }

    /* Text block */
    .text-block-media {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    .text-block-media.reverse {
        direction: ltr;
    }
    .text-block-two-col {
        column-count: 1;
    }
    .text-block-edge {
        flex-direction: column;
        min-height: auto;
    }
    .text-block-media-full {
        max-width: 100%;
    }
    .text-block-full-image {
        position: relative;
        width: 100%;
        height: 350px;
    }
    .tb-benefits-grid._4-col {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Page header */
    .ph-hero-inner {
        max-width: 580px;
    }

    /* Service cards grid */
    .svc-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Blog grid */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* CS archive grid */
    .cs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Single post layout — stack */
    .single-post-layout {
        grid-template-columns: 1fr;
    }
    .single-post-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .sidebar-widget {
        flex: 1;
        min-width: 280px;
    }

    /* CS single — stack content + WWD */
    .cs-single-content-layout {
        grid-template-columns: 1fr;
    }
    .cs-single-wwd-card {
        position: static;
    }

    /* CS single gallery — 2 cols */
    .cs-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* CS single quote — full width */
    .cs-single-quote-card {
        max-width: 100%;
    }

    /* Blog archive header — reduce padding */
    .blog-archive-header {
        padding-top: 4rem;
    }
}

/* ---- Tablet Portrait (max 768px) ---- */
@media (max-width: 768px) {
    /* CTA block — tablet stack */
    .cta-glass-inner {
        grid-template-columns: 1fr;
    }

    /* Service form layout — stack */
    .cta-form-layout {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    .cta-glass-content .btn {
        width: auto;
        display: inline-flex;
    }
    .cta-glass-cards {
        flex-direction: row;
    }
    .cta-card {
        flex: 1;
        min-width: 0;
    }
    .cta-card-value {
        white-space: normal;
        word-break: break-all;
    }

    /* Page header */
    .ph-hero-title {
        font-size: 2rem;
    }

    /* Blog grid — still 2 cols */
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    /* CS grid — still 2 cols */
    .cs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    /* Single post header */
    .single-post-header {
        min-height: 350px;
        padding-top: 5rem;
    }
    .single-post-header-inner h1 {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    /* CS single header */
    .cs-single-header {
        min-height: 380px;
        padding-top: 5rem;
    }
    .cs-single-header-inner h1 {
        font-size: clamp(1.8rem, 5vw, 2.4rem);
    }

    /* Blog archive header */
    .blog-archive-header {
        padding-top: 3.5rem;
    }
    .blog-archive-header-inner h1 {
        font-size: clamp(1.8rem, 5vw, 2.4rem);
    }

    /* Sidebar widgets side by side on tablet */
    .single-post-sidebar {
        flex-direction: row;
    }
    .sidebar-widget {
        flex: 1;
        min-width: 240px;
    }

    /* CS gallery — 2 cols still */
    .cs-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    /* CTA form — handled by signstar.css but ensure CF7 stacks */
    .cta-form .wpcf7-form {
        gap: var(--space-xs);
    }

    /* Lightbox controls smaller */
    .ss-lightbox-prev,
    .ss-lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    .ss-lightbox-prev { left: 0.75rem; }
    .ss-lightbox-next { right: 0.75rem; }

    /* Pagination — wrap */
    .blog-pagination .page-numbers {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Video player within content */
    .cs-video-play-btn svg {
        width: 56px;
        height: 56px;
    }

    /* Block section spacing */
    .block-section {
        padding: var(--space-xl) 0;
    }
}

/* ---- Mobile (max 600px) ---- */
@media (max-width: 600px) {
    /* CTA block — mobile */
    .cta-block {
        padding: var(--space-xl) 0;
    }
    .cta-glass-inner {
        grid-template-columns: 1fr;
        padding: var(--space-lg);
        gap: var(--space-md);
    }
    .cta-block-title {
        font-size: 1.5rem;
    }
    .cta-block-text {
        font-size: 0.95rem;
    }
    .cta-glass-content .btn {
        width: auto;
    }
    .cta-glass-cards {
        flex-direction: column;
        gap: var(--space-xs);
    }
    .cta-card {
        padding: var(--space-sm) var(--space-md);
    }
    .cta-card-icon {
        width: 38px;
        height: 38px;
    }
    .cta-card-value {
        font-size: 0.85rem;
        white-space: normal;
    }

    /* Gallery block — mobile */
    .gal-grid-3,
    .gal-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .gal-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 160px;
    }
    .gal-masonry .gal-item--wide {
        grid-column: span 1;
        grid-row: span 1;
    }
    .gal-lightbox-prev,
    .gal-lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }

    /* Text block — mobile */
    .text-block-list.list-two-col {
        grid-template-columns: 1fr;
    }
    .tb-benefits-grid,
    .tb-benefits-grid._3-col,
    .tb-benefits-grid._4-col {
        grid-template-columns: 1fr;
    }
    .text-block-full-image {
        height: 250px;
    }
    .text-block-spaced {
        padding-bottom: var(--space-xl);
        margin-bottom: var(--space-xl);
    }

    /* Service cards — single column */
    .svc-card-grid {
        grid-template-columns: 1fr;
    }
    .svc-card {
        aspect-ratio: 16 / 10;
    }
    .svc-card-content p {
        max-height: none;
        opacity: 1;
    }
    .svc-card-arrow {
        opacity: 1;
        transform: translateX(0);
    }

    /* Blog grid — single column */
    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* CS grid — single column */
    .cs-grid {
        grid-template-columns: 1fr;
    }

    /* Single post */
    .single-post-header {
        min-height: 280px;
    }
    .single-post-meta {
        flex-wrap: wrap;
        gap: 0.4rem;
    }
    .single-post-sidebar {
        flex-direction: column;
    }
    .sidebar-widget {
        min-width: 100%;
    }

    /* CS single */
    .cs-single-header {
        min-height: 300px;
    }
    .cs-single-header-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    .cs-single-meta-item {
        font-size: 0.85rem;
    }
    .cs-single-meta-icon {
        width: 32px;
        height: 32px;
    }

    /* CS gallery — single column */
    .cs-gallery-grid {
        grid-template-columns: 1fr;
    }

    /* Blog archive header */
    .blog-archive-header {
        padding-top: 3rem;
    }
    .blog-archive-header-inner p {
        font-size: 0.95rem;
    }

    /* Blog card body padding */
    .blog-card-body {
        padding: var(--space-md);
    }
    .blog-card-body h3 {
        font-size: 1.05rem;
    }

    /* CS card body */
    .cs-card-body {
        padding: var(--space-sm) var(--space-md) var(--space-md);
    }
    .cs-card-body h3 {
        font-size: 1.05rem;
    }

    /* Testimonial grid — single column (for cs-single-reviews) */
    .cs-single-reviews .testimonial-grid {
        grid-template-columns: 1fr;
    }

    /* CS single quote card */
    .cs-single-quote-card {
        padding: var(--space-lg);
    }
    .cs-single-quote-card blockquote {
        font-size: 1rem;
    }

    /* Lightbox */
    .ss-lightbox-prev,
    .ss-lightbox-next {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }
    .ss-lightbox-close {
        width: 38px;
        height: 38px;
        top: 1rem;
        right: 1rem;
    }

    /* Video play button smaller */
    .cs-video-play-btn svg {
        width: 48px;
        height: 48px;
    }

    /* Section spacing tighter */
    .block-section {
        padding: var(--space-lg) 0;
    }

    /* CTA section */
    .cta-section {
        padding: var(--space-xl) 0;
    }

    /* Single post content typography */
    .single-post-content h2 { font-size: 1.35rem; }
    .single-post-content h3 { font-size: 1.15rem; }
    .single-post-content p { font-size: 0.95rem; }

    /* CS single content typography */
    .cs-single-content h2 { font-size: 1.35rem; }
    .cs-single-text { font-size: 0.95rem; }

    /* WWD card */
    .cs-single-wwd-card {
        padding: var(--space-md);
    }
    .cs-single-wwd-card li {
        font-size: 0.85rem;
    }
}

/* ---- Small Mobile (max 480px) ---- */
@media (max-width: 480px) {
    /* Page header — small mobile */
    .ph-hero-inner {
        padding: var(--space-xl) 0 var(--space-lg);
    }
    .ph-hero-title {
        font-size: 1.6rem;
    }
    .ph-hero-text {
        font-size: 1rem;
    }
    .ph-hero-trust {
        flex-wrap: wrap;
    }

    /* Hero headers — tighter */
    .single-post-header,
    .cs-single-header {
        min-height: 250px;
        padding-bottom: var(--space-md);
    }

    .single-post-header-inner h1,
    .cs-single-header-inner h1 {
        font-size: 1.5rem;
    }

    .blog-archive-header-inner h1 {
        font-size: 1.6rem;
    }

    /* CS single badge */
    .cs-single-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }

    /* Blog card meta — stack if needed */
    .blog-card-meta {
        font-size: 0.72rem;
    }

    /* CS card meta */
    .cs-card-meta {
        flex-direction: column;
        gap: 0.3rem;
    }

    /* Pagination smaller */
    .blog-pagination .page-numbers li a,
    .blog-pagination .page-numbers li span {
        min-width: 34px;
        height: 34px;
        font-size: 0.8rem;
        padding: 0 0.5rem;
    }

    /* Sidebar recent post image smaller */
    .sidebar-recent-post-img {
        width: 44px;
        height: 44px;
    }

    /* Button holder */
    .button-holder {
        flex-direction: column;
    }
    .button-holder .btn {
        width: 100%;
        justify-content: center;
    }
}


/* 
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #ebf4fe;
}

.header-top {
    background: #00adef;
    border-bottom: 1px solid var(--border-subtle);
    padding: 8px 0;
    font-size: 13px;
}

.nav-links a {
    color: #305973;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.25s var(--ease-out);
}

footer.site-footer {
    background-color: #ebf4fe;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--white);
    background: #00adef;
} */


/* Narrow Block */
.narrow-block .narrow-block-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.narrow-block-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 28px;
  opacity: 0.85;
}

/* Reviews Archive Block */
.reviews-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

@media (max-width: 991px) {
    .reviews-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.review-card {
    background: var(--card-bg, rgba(255,255,255,0.05));
    border: 1px solid var(--border-colour, rgba(255,255,255,0.1));
    border-radius: 8px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.review-card-stars {
    color: var(--colour-sky, #00b4d8);
    font-size: 18px;
    letter-spacing: 2px;
}

.review-card-text {
    font-size: 15px;
    line-height: 1.7;
    flex: 1;
    margin: 0;
}

.review-card-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 16px;
    border-top: 1px solid var(--border-colour, rgba(255,255,255,0.1));
}

.review-card-name {
    font-weight: 600;
    font-size: 14px;
}

.review-card-company {
    font-size: 13px;
    opacity: 0.6;
}

/* Areas Archive Block */
.areas-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

@media (max-width: 991px) {
    .areas-archive-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.area-card {
    display: flex;
    flex-direction: column;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-colour, rgba(255,255,255,0.1));
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.area-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.area-card-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

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

.area-card:hover .area-card-image img {
    transform: scale(1.04);
}

.area-card-content {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.area-card-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.area-card-link {
    font-size: 14px;
    color: var(--colour-sky, #00b4d8);
}


/* Text Page Block */
.text-page-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    margin-bottom: 32px;
}

.text-page-content p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.text-page-content h2 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 12px;
}

.text-page-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 10px;
}

.text-page-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 8px;
}

.text-page-content ul,
.text-page-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
    line-height: 1.8;
}

.text-page-content ul {
    list-style: disc;
}

.text-page-content ol {
    list-style: decimal;
}

.text-page-content li {
    margin-bottom: 8px;
}

.text-page-content strong,
.text-page-content b {
    font-weight: 700;
}

.text-page-content a {
    color: var(--colour-sky, #00b4d8);
    text-decoration: underline;
}

.text-page-content blockquote {
    border-left: 3px solid var(--colour-sky, #00b4d8);
    padding-left: 20px;
    margin: 24px 0;
    opacity: 0.8;
}