/*
 * Custom CSS - Porto-like styling for Stucwerk website
 * Based on Bootstrap 5 with Porto theme class compatibility
 */

/* ============================================
   ROOT VARIABLES
   ============================================ */
:root {
    /* Primary palette (Epic 1.8 refresh) */
    --primary: #1f6feb;
    --primary-rgb: 31, 111, 235;
    --primary-dark: #0f4fbf;
    --accent: #f59e0b;
    --secondary: #6c757d;
    --success: #28a745;
    --warning: #ffc107;
    --light: #f8f9fa;
    --dark: #212529;
    --text-grey: #777;

    /* Gradient tokens */
    --grad-hero-1: linear-gradient(135deg, #1f6feb, #0f4fbf);
    --grad-hero-2: linear-gradient(135deg, #1f6feb, #f59e0b);
    --grad-card: linear-gradient(180deg, #ffffff, #f6f8fb);
}

/* ============================================
   BASE STYLES
   ============================================ */
body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.7;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
}

/* ============================================
   TYPOGRAPHY - Porto text sizes
   ============================================ */
.text-1 { font-size: 0.75rem !important; }
.text-2 { font-size: 0.875rem !important; }
.text-3 { font-size: 1rem !important; }
.text-4 { font-size: 1.125rem !important; }
.text-5 { font-size: 1.25rem !important; }
.text-6 { font-size: 1.5rem !important; }
.text-7 { font-size: 1.75rem !important; }
.text-8 { font-size: 2rem !important; }
.text-9 { font-size: 2.5rem !important; }
.text-10 { font-size: 3rem !important; }

@media (max-width: 767px) {
    .text-9 { font-size: 2rem !important; }
    .text-10 { font-size: 2.25rem !important; }
}

/* ============================================
   COLORS
   ============================================ */
.text-color-light { color: #fff !important; }
.text-color-dark { color: #212529 !important; }
.text-color-grey { color: var(--text-grey) !important; }
.text-color-primary { color: var(--primary) !important; }

/* Accent color (orange) */
.text-accent { color: var(--accent) !important; }
.bg-accent { background-color: var(--accent) !important; }

.bg-primary {
    /* Honor Bootstrap's --bs-bg-opacity so utilities like `bg-opacity-10`
       work on top of our brand color. Default opacity 1 keeps existing
       solid-blue usages unchanged; pages combining `bg-primary bg-opacity-10`
       (icon backgrounds on landing/contact/bereken/vacatures/werkwijze) now
       render as a faint tint instead of solid blue (fixes blue-on-blue icon). */
    background-color: rgba(var(--primary-rgb), var(--bs-bg-opacity, 1)) !important;
}
.bg-primary-light { background-color: rgba(31, 111, 235, 0.1) !important; }
.bg-light { background-color: var(--light) !important; }

.opacity-5 { opacity: 0.5; }
.opacity-6 { opacity: 0.6; }
.opacity-7 { opacity: 0.7; }
.opacity-8 { opacity: 0.8; }

/* ============================================
   FONT WEIGHTS
   ============================================ */
.font-weight-light { font-weight: 300 !important; }
.font-weight-normal { font-weight: 400 !important; }
.font-weight-medium { font-weight: 500 !important; }
.font-weight-semibold { font-weight: 600 !important; }
.font-weight-bold { font-weight: 700 !important; }
.font-weight-extra-bold { font-weight: 800 !important; }

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 2.5rem 0;
}

@media (min-width: 992px) {
    .section {
        padding: 3rem 0;
    }
}

/* Remove double-padding from containers inside sections */
.section > .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Compact section for breadcrumbs */
.section-breadcrumb {
    padding: 0.75rem 0;
}

.section-height-1 {
    min-height: 120px;
    display: flex;
    align-items: center;
}

.section-height-2 {
    min-height: 280px;
    display: flex;
    align-items: center;
}

.section-height-3 {
    min-height: 380px;
    display: flex;
    align-items: center;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
}

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

.btn-light {
    background-color: #fff;
    border-color: #fff;
    color: var(--primary);
}

.btn-light:hover {
    background-color: #f8f9fa;
    border-color: #f8f9fa;
    color: var(--primary-dark);
}

.btn-outline-light {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.8);
}

.btn-outline-light:hover {
    background-color: #fff;
    border-color: #fff;
    color: var(--primary);
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
}

/* Primary button hover lift */
.btn-primary:hover,
.btn-primary:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(31, 111, 235, 0.35);
}

/* Ghost orange button (accent outline → fill) */
.btn-accent {
    color: var(--accent);
    border: 2px solid var(--accent);
    background: transparent;
}

.btn-accent:hover,
.btn-accent:focus-visible {
    background-color: var(--accent);
    border-color: var(--accent);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

/* ============================================
   HERO SECTIONS (Epic 1.8)
   ============================================ */
.hero-gradient-1 {
    background: var(--grad-hero-1) !important;
}

.hero-gradient-2 {
    background: var(--grad-hero-2) !important;
}

/* Parallax Hero (Porto-style) */
.hero-parallax {
    position: relative;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 85vh;
    display: flex;
    align-items: flex-start;
}

/* Fallback for mobile (iOS doesn't support background-attachment: fixed) */
@supports (-webkit-touch-callout: none) {
    .hero-parallax {
        background-attachment: scroll;
    }
}

@media (max-width: 991.98px) {
    .hero-parallax {
        background-attachment: scroll;
        min-height: auto;
        padding: 2.5rem 0 3rem;
    }
    
    .hero-parallax-content {
        padding: 1rem 0;
    }
}

@media (max-width: 575.98px) {
    .hero-parallax {
        padding: 1.5rem 0 2.5rem;
    }
    
    .hero-parallax h1 {
        font-size: 1.75rem !important;
        line-height: 1.3;
    }
    
    .hero-parallax p {
        font-size: 1rem !important;
    }
}

/* Dark overlay for text readability */
.hero-parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 25, 50, 0.75) 0%,
        rgba(15, 60, 120, 0.55) 100%
    );
    z-index: 1;
}

.hero-parallax > .container {
    position: relative;
    z-index: 2;
}

.hero-parallax-content {
    padding: 3rem 0;
}

/* Hero label (centered badge) */
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.4rem 1rem;
    border-radius: 50px;
}

.hero-split {
    position: relative;
    overflow: hidden;
}

.hero-split .hero-img-col {
    position: relative;
}

.hero-split .hero-img-col img {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

/* Stat chips */
.stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: #fff;
    backdrop-filter: blur(4px);
}

.stat-chip i {
    font-size: 0.75rem;
}

/* Stat chips on light background */
.stat-chip-light {
    background: var(--light);
    color: var(--primary);
}

/* Stat chips with higher contrast (for parallax backgrounds) */
.stat-chip-bright {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    cursor: default;
}

.stat-chip-bright i {
    color: var(--accent);
}

/* Clickable stat chips — DISABLED, kept for reference */

/* Hero CTA button — high visibility */
.btn-hero-cta {
    background: #fff;
    color: var(--primary);
    border: 2px solid #fff;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.01em;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 20px rgba(255, 255, 255, 0.25);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-hero-cta:hover {
    background: #fff;
    color: var(--primary-dark);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25), 0 0 30px rgba(255, 255, 255, 0.35);
}

.btn-hero-cta:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), 0 0 15px rgba(255, 255, 255, 0.2);
}

/* Sneak Peek Section (value-first tips on HVCO pages) */
.sneak-peek-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sneak-peek-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sneak-peek-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: rgba(31, 111, 235, 0.08);
    color: var(--primary);
    font-size: 1.1rem;
}

.bg-primary-soft {
    background: rgba(31, 111, 235, 0.1);
}

.bg-accent-soft {
    background: rgba(245, 158, 11, 0.15);
}

/* Page Preview — "look inside the book" chapter cards */
.page-preview {
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 2px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.04),
                0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.page-preview-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.page-preview-chapter {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    background: rgba(31, 111, 235, 0.08);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    white-space: nowrap;
}

.page-preview-title {
    font-weight: 700;
    font-size: 1rem;
    color: #1a202c;
}

.page-preview-body {
    padding: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4a5568;
    max-height: 280px;
    overflow: hidden;
}

.page-preview-body-compact {
    max-height: none;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
}

.page-preview-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.page-preview-tip i {
    margin-top: 0.2rem;
    font-size: 0.95rem;
    min-width: 18px;
    text-align: center;
}

.page-preview-tip span {
    font-size: 0.9rem;
    line-height: 1.5;
}

.page-preview-fade {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    pointer-events: none;
}

.page-preview-cta {
    position: relative;
    padding: 0.75rem 1.25rem;
    text-align: center;
    background: #fff;
    border-top: 1px dashed #e2e8f0;
}

.page-preview-cta a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

/* Sticky book sidebar (desktop only) */
.sticky-book {
    position: sticky;
    top: 140px;
    text-align: center;
    padding: 1.5rem 1rem;
}

.sticky-book-connector {
    width: 2px;
    height: 24px;
    background: repeating-linear-gradient(
        to bottom,
        var(--primary) 0px,
        var(--primary) 4px,
        transparent 4px,
        transparent 8px
    );
    margin: 0 auto 0.75rem;
    opacity: 0.4;
}

/* Connector line from sticky book pointing left to previews */
.sticky-book::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 20px;
    height: 2px;
    background: repeating-linear-gradient(
        to left,
        var(--primary) 0px,
        var(--primary) 4px,
        transparent 4px,
        transparent 8px
    );
    opacity: 0.3;
}

/* Arrow tip */
.sticky-book::after {
    content: '';
    position: absolute;
    left: -24px;
    top: calc(50% - 4px);
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 6px solid var(--primary);
    opacity: 0.35;
}

/* Expert intro block */
.expert-intro {
    border-left: 4px solid var(--primary);
}

/* Discover list — curiosity-gap bullets */
.discover-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.discover-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.discover-item:last-child {
    border-bottom: none;
}
.discover-item i {
    flex-shrink: 0;
    margin-top: 3px;
    font-size: 1.1rem;
}
.discover-item span {
    line-height: 1.5;
}

/* Mid-page CTA */
.mid-page-cta {
    border-top: 1px dashed #dee2e6;
    border-bottom: 1px dashed #dee2e6;
}

html {
    scroll-behavior: smooth;
}

/* Testimonial block */
.testimonial-block {
    background: var(--grad-card);
    border-radius: 12px;
    padding: 2rem;
    border-left: 4px solid var(--accent);
}

.testimonial-block .testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

.testimonial-block .testimonial-author {
    font-weight: 600;
    color: var(--primary);
    margin-top: 0.75rem;
}

/* Process steps strip */
.process-step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}

/* Trust badges */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--dark);
}

.trust-badge i {
    color: var(--accent);
}

/* Card with gradient background */
.card-gradient {
    background: var(--grad-card);
}

/* Pull-quote for guides */
.pull-quote {
    border-left: 4px solid var(--accent);
    padding: 1rem 1.5rem;
    font-size: 1.15rem;
    font-style: italic;
    background: var(--light);
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
    color: #333;
}

/* Tag chips for guide categories */
.tag-chip {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    background: rgba(31, 111, 235, 0.08);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
}

/* CTA strip (gradient background) */
.cta-strip {
    background: var(--grad-hero-1);
    border-radius: 12px;
    padding: 2.5rem;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.card.border-primary {
    border: 2px solid var(--primary) !important;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1030;
}

.header.sticky-top {
    position: sticky;
    top: 0;
}

/* Scroll-margin for anchors (sticky header + USP bar offset) */
[id] {
    scroll-margin-top: 140px;
}

.header .navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .header .navbar {
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

@media (min-width: 992px) {
    .header .navbar {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}

.header .navbar-collapse {
    flex-grow: 1;
}

.header .navbar-nav {
    flex-direction: column;
}

@media (min-width: 768px) {
    .header .navbar-nav {
        flex-direction: row;
    }
    .header .navbar-nav .nav-link {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        font-size: 0.9rem;
    }
}

@media (min-width: 992px) {
    .header .navbar-nav {
        flex-direction: row;
    }
    .header .navbar-nav .nav-link {
        padding-left: 1rem;
        padding-right: 1rem;
        font-size: 1rem;
    }
}

.header .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.header .nav-link:hover,
.header .nav-link.active {
    color: var(--primary);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary) !important;
}

/* ============================================
   USP BAR (below header) - LEGACY
   ============================================ */
.usp-bar {
    background: var(--grad-hero-1);
    padding: 0.5rem 0;
}

.usp-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.usp-item {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
}

.usp-item i {
    margin-right: 0.35rem;
    color: var(--accent);
}

@media (max-width: 575px) {
    .usp-bar-content {
        gap: 1rem;
    }
    .usp-item {
        font-size: 0.75rem;
    }
}

/* ============================================
   TRUST BAR (CRO-optimized header strip)
   ============================================ */
.trust-bar {
    background: linear-gradient(135deg, #0f4fbf 0%, #1f6feb 100%);
    padding: 0.4rem 0;
    border-bottom: 2px solid var(--accent);
}

.trust-bar-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.trust-item {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.trust-item i {
    margin-right: 0.4rem;
    color: var(--accent);
}

/* Star rating in trust bar */
.trust-item-rating i {
    margin-right: 0.1rem;
    font-size: 0.7rem;
}

.trust-item-rating .trust-rating-text {
    margin-left: 0.4rem;
    font-weight: 700;
    color: #fff;
}

@media (max-width: 575px) {
    .trust-bar-content {
        gap: 1rem;
    }
    .trust-item {
        font-size: 0.7rem;
    }
    .trust-item-rating i {
        font-size: 0.6rem;
    }
}

/* ============================================
   HEADER NAV ENHANCEMENTS (CRO)
   ============================================ */

/* Nav link base - slightly muted, sharpen on hover */
.navbar-nav .nav-link {
    color: #555;
    font-weight: 500;
    transition: all 0.2s ease;
    padding: 0.5rem 0.85rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
}

/* Highlighted nav link (Prijsindicatie) - pill style */
.nav-link-highlight {
    background: rgba(31, 111, 235, 0.1);
    border-radius: 6px;
    color: var(--primary) !important;
    font-weight: 600 !important;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.nav-link-highlight:hover {
    background: rgba(31, 111, 235, 0.18);
    color: var(--primary-dark) !important;
}

.nav-link-highlight.active {
    background: rgba(31, 111, 235, 0.1);
    color: var(--primary) !important;
    border-bottom: 3px solid var(--primary);
    border-radius: 6px 6px 0 0;
}

/* Contact link in header */
.nav-contact-link {
    color: #555;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.nav-contact-link:hover {
    color: var(--primary);
}

.nav-contact-link i {
    color: var(--success);
}

/* ============================================
   CTA PRIMARY BUTTON (CRO - high salience)
   ============================================ */
.btn-cta-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #e88d00 100%);
    border: none;
    color: #fff;
    font-weight: 700;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.30);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta-primary:hover,
.btn-cta-primary:focus-visible {
    background: linear-gradient(135deg, #e88d00 0%, #d17f00 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.40);
}

.btn-cta-primary:active {
    background: linear-gradient(135deg, #d17f00 0%, #b86e00 100%);
    box-shadow: 0 1px 4px rgba(245, 158, 11, 0.25);
}

.btn-cta-primary.btn-sm {
    font-size: 0.85rem;
    padding: 0.45rem 0.9rem;
}

/* Compact desktop CTAs on laptop/desktop */
@media (min-width: 992px) {
    .btn-cta-primary.btn-sm,
    .btn-outline-primary.btn-sm {
        font-size: 0.875rem;
        padding: 0.45rem 1rem;
    }
}

/* Stacked 2-line mobile CTA sub-label */
.mobile-cta-sub {
    font-size: 0.6rem;
    line-height: 1;
    opacity: 0.85;
    margin-top: 1px;
}

/* Tighter btn-xs on very small phones */
@media (max-width: 360px) {
    .btn-xs {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }
}

.btn-cta-primary.btn-xs {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);
    letter-spacing: -0.01em;
}

/* Tighter btn-xs on very small phones */
@media (max-width: 360px) {
    .btn-xs {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }
}

.btn-success.btn-xs {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 5px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* Nav link icons — subtle, muted style */
.nav-icon {
    font-size: 0.75em;
    color: #9db5d1;
    transition: color 0.2s ease;
}

.nav-link:hover .nav-icon,
.nav-link.active .nav-icon {
    color: var(--primary);
}

.nav-link-highlight .nav-icon,
.nav-link-highlight i {
    color: var(--primary);
    opacity: 0.8;
}

/* WhatsApp outline button refinement */
.btn-outline-success {
    border-width: 2px;
    font-weight: 600;
}

/* Helper text next to CTAs */
.nav-helper-text {
    color: #7a8ea3;
    font-size: 0.8rem;
    font-weight: 400;
    font-style: italic;
    margin-right: 0.25rem;
}

/* Responsive CTA button sizing */
@media (min-width: 768px) and (max-width: 991.98px) {
    .btn-sm,
    .btn-outline-primary.btn-sm,
    .btn-cta-primary.btn-sm {
        font-size: 0.75rem;
        padding: 0.3rem 0.55rem;
    }
    /* Tighter nav spacing for compact header */
    .header .navbar-nav .nav-link {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        font-size: 0.8rem;
    }
    /* Smaller tagline */
    .tagline {
        font-size: 0.75rem !important;
    }
    /* Slightly wider container for breathing room */
    .navbar > .container-fluid {
        max-width: 100%;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Compact desktop header to prevent wrapping */
    .header .navbar-nav .nav-link {
        padding-left: 0.6rem;
        padding-right: 0.6rem;
        font-size: 0.9rem;
    }
    .btn-sm,
    .btn-outline-primary.btn-sm,
    .btn-cta-primary.btn-sm {
        font-size: 0.85rem;
        padding: 0.35rem 0.7rem;
    }
    .tagline {
        font-size: 0.8rem !important;
    }
}

/* Logo responsive sizing */
.navbar-brand .logo-img {
    height: 25px;
    transition: height 0.2s ease;
}

@media (max-width: 767.98px) and (orientation: landscape) {
    /* Mobile landscape: compact header for horizontal phones */
    .navbar-brand .logo-img {
        height: 18px;
    }
    .header .navbar {
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
    }
    /* Single-line CTAs in landscape */
    .mobile-cta-block .btn {
        flex-direction: row !important;
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
        white-space: nowrap;
    }
    .mobile-cta-sub {
        margin-top: 0;
        margin-left: 0;
        opacity: 1;
    }
    /* Compact trust bar with more items visible */
    .trust-bar {
        padding: 0.25rem 0;
    }
    .trust-bar-content {
        gap: 0.75rem;
    }
    .trust-item {
        font-size: 0.65rem;
    }
    .trust-item-rating i {
        font-size: 0.55rem;
    }
    /* Show hidden trust items in landscape since we have horizontal space */
    .trust-bar .trust-item.d-none.d-md-inline,
    .trust-bar .trust-item.d-none.d-lg-inline {
        display: inline-flex !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar-brand .logo-img {
        height: 20px;
    }
}

@media (min-width: 992px) {
    .navbar-brand .logo-img {
        height: 22px;
    }
}

/* Mobile nav refinements */
@media (max-width: 767.98px) {
    /* Hamburger button styling */
    .navbar-toggler {
        border: none;
        padding: 0.5rem;
        border-radius: 8px;
        background: rgba(31, 111, 235, 0.08);
        transition: all 0.2s ease;
    }
    
    .navbar-toggler:hover {
        background: rgba(31, 111, 235, 0.15);
    }
    
    .navbar-toggler:focus,
    .navbar-toggler:active {
        outline: none;
        box-shadow: none;
        background: rgba(31, 111, 235, 0.15);
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%231f6feb' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        width: 1.25em;
        height: 1.25em;
    }
    
    .navbar-collapse {
        background: #fff;
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 8px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav .nav-item {
        border-bottom: 1px solid #f0f0f0;
    }
    
    .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0.75rem;
        font-size: 1rem;
        display: flex;
        align-items: center;
    }
    
    .nav-link-highlight {
        margin: 0.25rem 0;
        background: none !important;
        border: none !important;
        color: inherit !important;
    }
    
    .mobile-nav-cta {
        text-align: center;
    }
    
    .mobile-nav-cta .nav-helper-text {
        font-size: 0.85rem;
        color: #7a8ea3;
    }
}

/* Response time badge */
.btn .badge {
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.2em 0.45em;
    vertical-align: middle;
}

.bg-success-subtle {
    background-color: rgba(40, 167, 69, 0.15) !important;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: #212529;
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 1.5rem;
}

.footer h4, .footer h5 {
    color: #fff;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
}

.footer a:hover {
    color: #fff;
}

/* ============================================
   ACCORDION (FAQ)
   ============================================ */
.accordion-button {
    font-weight: 600;
    color: #333;
}

.accordion-button:not(.collapsed) {
    background-color: var(--light);
    color: var(--primary);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.125);
}

/* ============================================
   LISTS
   ============================================ */
.list-icons li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.list-icons li i {
    position: absolute;
    left: 0;
    top: 0.25rem;
    color: var(--primary);
}

/* ============================================
   ALERTS
   ============================================ */
.alert-info {
    background-color: #e8f4fc;
    border-color: #c8e4f5;
    color: #0c5460;
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #212529;
    color: #fff;
    padding: 1rem;
    z-index: 9999;
}

/* ============================================
   FORMS
   ============================================ */
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 136, 204, 0.25);
}

/* Placeholder styling - lighter and smaller */
.form-control::placeholder {
    color: #adb5bd;
    font-size: 0.875em;
    opacity: 1;
}

.form-control::-webkit-input-placeholder {
    color: #adb5bd;
    font-size: 0.875em;
}

.form-control::-moz-placeholder {
    color: #adb5bd;
    font-size: 0.875em;
}

.form-control:-ms-input-placeholder {
    color: #adb5bd;
    font-size: 0.875em;
}

/* ============================================
   UTILITIES
   ============================================ */
.rounded {
    border-radius: 4px !important;
}

.shadow-sm {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.075) !important;
}

/* Price tag styling */
.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price small {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-grey);
}

/* Star ratings */
.text-warning {
    color: #ffc107 !important;
}

/* WhatsApp button */
.btn-success {
    background-color: #25D366;
    border-color: #25D366;
}

.btn-success:hover {
    background-color: #1da851;
    border-color: #1da851;
}

/* ============================================
   CONVERSATIONAL ESTIMATOR
   ============================================ */
.estimator-conversation {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
}

/* Subtle fade at top to indicate scrollable content */
.chat-messages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s;
}

.chat-messages.has-scroll::before {
    opacity: 1;
}

/* Chat messages container */
.chat-messages {
    height: 300px;
    min-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.5rem;
    scroll-behavior: smooth;
}

/* Custom scrollbar styling */
.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #0088cc;
    border-radius: 3px;
    transition: background 0.2s;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #006ba3;
}

@media (max-width: 767px) {
    .chat-messages {
        height: 280px;
        min-height: 280px;
        padding: 1rem;
    }
}

/* Message bubbles */
.chat-message {
    display: flex;
    margin-bottom: 1rem;
    animation: messageSlideIn 0.3s ease-out;
}

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

.chat-message.assistant {
    justify-content: flex-start;
}

.chat-message.user {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 85%;
    padding: 0.875rem 1.125rem;
    border-radius: 18px;
    line-height: 1.5;
}

.chat-message.assistant .message-bubble {
    background-color: #f1f3f5;
    color: #333;
    border-bottom-left-radius: 4px;
}

.chat-message.user .message-bubble {
    background-color: var(--primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.message-hint {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Typing indicator */
.typing-indicator .message-bubble {
    padding: 1rem 1.25rem;
}

.typing-indicator .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #999;
    margin: 0 2px;
    animation: typingBounce 1.4s infinite ease-in-out;
}

.typing-indicator .dot:nth-child(1) {
    animation-delay: 0s;
}

.typing-indicator .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-6px);
    }
}

/* Chat input area */
.chat-input-area {
    padding: 1rem 1.5rem 1.5rem;
    border-top: 1px solid #eee;
    background: #fafafa;
}

/* Quick reply buttons */
.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.quick-reply-btn {
    flex: 1 1 calc(50% - 0.375rem);
    min-width: 140px;
    padding: 1rem;
    border: 2px solid #dee2e6;
    border-radius: 12px;
    background: #fff;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.quick-reply-btn:hover,
.quick-reply-btn:focus {
    border-color: var(--primary);
    background: rgba(0, 136, 204, 0.05);
    outline: none;
}

.quick-reply-btn:focus {
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.25);
}

.quick-reply-btn.featured {
    border-color: var(--primary);
    background: rgba(0, 136, 204, 0.05);
}

.quick-reply-btn .badge {
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 0.7rem;
}

.quick-reply-btn i {
    font-size: 1.25rem;
    color: var(--primary);
}

.reply-label {
    font-weight: 600;
}

.reply-description {
    font-size: 0.8rem;
}

@media (max-width: 575px) {
    .quick-reply-btn {
        flex: 1 1 100%;
        min-width: auto;
    }
}

/* Range input container */
.range-input-container {
    padding: 0.5rem 0;
    text-align: center;
}

.range-display {
    font-size: 2.5rem;
}

.range-display .range-unit {
    font-size: 1.25rem;
}

.form-range {
    width: 100%;
    height: 8px;
}

.form-range::-webkit-slider-thumb {
    width: 24px;
    height: 24px;
}

/* Edit button on messages */
.chat-message .edit-btn {
    opacity: 0;
    transition: opacity 0.2s;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

.chat-message:hover .edit-btn {
    opacity: 1;
}

/* Result section */
.estimator-result {
    animation: resultFadeIn 0.5s ease-out;
}

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

/* Package pills (FE-031) */
.package-pills {
    justify-content: center;
    scrollbar-width: none;
}
.package-pills::-webkit-scrollbar { display: none; }
.package-pill { transition: transform 0.2s ease; }
.package-pill:hover { transform: translateY(-4px); }
.package-pill-img { transition: box-shadow 0.2s ease; }
.package-pill:hover .package-pill-img { box-shadow: 0 4px 12px rgba(0,0,0,0.12); }

.price-reveal {
    background: var(--grad-hero-1);
    color: #fff;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

/* Fix text contrast for elements on blue gradient background */
.price-reveal .text-muted {
    color: rgba(255, 255, 255, 0.85) !important;
}
.price-reveal .text-secondary {
    color: rgba(255, 255, 255, 0.75) !important;
}
.price-reveal .btn-outline-secondary {
    color: rgba(255, 255, 255, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}
.price-reveal .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
}

.price-reveal .scroll-cue-text {
    color: rgba(255, 255, 255, 0.85);
}

.price-reveal .scroll-cue-arrow {
    color: #fff;
}

.price-reveal .price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
}

@media (max-width: 575px) {
    .price-reveal .price-amount {
        font-size: 1.875rem;
    }
}

.price-reveal .price-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Enhanced price display with range visualization */
.price-main-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: var(--bs-primary);
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.price-main-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Price range visualization */
.price-range-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 0.75rem;
    border: 1px solid #e9ecef;
}

.price-range-endpoint {
    display: flex;
    flex-direction: column;
    min-width: 80px;
}

.price-range-min {
    text-align: left;
}

.price-range-max {
    text-align: right;
}

.price-endpoint-label {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.125rem;
}

.price-range-min .price-endpoint-label {
    color: #198754;
}

.price-range-max .price-endpoint-label {
    color: #dc6b2f;
}

.price-endpoint-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #495057;
}

/* Range bar */
.price-range-bar {
    flex: 1;
    padding: 0 0.5rem;
}

.price-range-track {
    position: relative;
    height: 6px;
    background: linear-gradient(to right, #198754, #0d6efd, #dc6b2f);
    border-radius: 3px;
}

.price-range-marker-center {
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    color: var(--bs-primary);
    font-size: 1.75rem;
    line-height: 1;
}

.price-info-pill {
    display: inline-block;
    font-size: 0.8rem;
    color: #495057;
    background: #e9ecef;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
}

/* Glow button effect for CTAs */
.btn-glow {
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.4), 0 4px 15px rgba(13, 110, 253, 0.3);
    animation: btn-glow-pulse 2s ease-in-out infinite;
}

@keyframes btn-glow-pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(13, 110, 253, 0.4), 0 4px 15px rgba(13, 110, 253, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(13, 110, 253, 0.6), 0 4px 20px rgba(13, 110, 253, 0.45);
    }
}

.btn-glow:hover {
    box-shadow: 0 0 35px rgba(13, 110, 253, 0.7), 0 4px 25px rgba(13, 110, 253, 0.5);
}

/* Scroll cue to guide users downward */
.scroll-cue {
    opacity: 0.8;
}

.scroll-cue:hover {
    opacity: 1;
}

.scroll-cue-text {
    display: block;
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.scroll-cue-arrow {
    color: var(--bs-primary);
    font-size: 1.25rem;
    animation: scroll-bounce 1.5s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* Next step prompt styling */
.next-step-prompt {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6 !important;
}

.next-step-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e7f1ff;
    border-radius: 50%;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Success soft badge */
.bg-success-soft {
    background-color: rgba(25, 135, 84, 0.1) !important;
}

/* Mobile sticky scroll indicator */
.mobile-scroll-indicator {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, bottom 0.3s ease;
    pointer-events: none;
}

.mobile-scroll-indicator.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.scroll-indicator-content {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(33, 37, 41, 0.9);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 10px 18px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
}

.scroll-indicator-text {
    white-space: nowrap;
}

.scroll-indicator-arrow {
    animation: indicator-bounce 1.2s ease-in-out infinite;
    font-size: 0.9rem;
}

@keyframes indicator-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

.mobile-scroll-indicator.hiding {
    bottom: -60px;
    opacity: 0;
}

/* Contact method selection styling */
.contact-method-option {
    transition: all 0.2s ease;
    cursor: pointer;
}

.contact-method-option:hover {
    background-color: #f8f9fa;
}

.contact-method-highlighted {
    background-color: rgba(13, 110, 253, 0.05) !important;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.15);
}

.contact-method-highlighted:hover {
    background-color: rgba(13, 110, 253, 0.08) !important;
}

/* Burenkorting section styling (NURTURE-007) */
.burenkorting-highlight {
    transition: all 0.3s ease;
    cursor: pointer;
}

.burenkorting-highlight:hover {
    background-color: #f8f9fa;
}

.burenkorting-highlight:has(input:checked) {
    background-color: rgba(13, 110, 253, 0.05);
    border-color: var(--primary) !important;
    border-width: 2px !important;
}

/* Pulse animation when navigating from /burenkorting page */
@keyframes burenkorting-pulse {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(13, 110, 253, 0.4);
    }
    50% { 
        box-shadow: 0 0 0 8px rgba(13, 110, 253, 0);
    }
}

.burenkorting-pulse {
    animation: burenkorting-pulse 1.5s ease-in-out 2;
}

/* Burenkorting calculator in price area */
.burenkorting-calculator {
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    background-color: transparent !important;
    color: #fff !important; /* White text on blue gradient */
    transition: all 0.3s ease;
}

.burenkorting-calculator .text-muted {
    color: rgba(255, 255, 255, 0.85) !important;
}

.burenkorting-calculator .text-primary {
    color: #fff !important;
}

.burenkorting-calculator strong {
    color: #fff !important;
}

/* When toggle is ON: show white background with dark text */
.burenkorting-calculator:has(#burenkorting-toggle:checked) {
    border-color: var(--primary) !important;
    background-color: #fff !important;
    color: #212529 !important;
}

.burenkorting-calculator:has(#burenkorting-toggle:checked) .text-muted {
    color: #6c757d !important;
}

.burenkorting-calculator:has(#burenkorting-toggle:checked) .text-primary {
    color: var(--primary) !important;
}

.burenkorting-calculator:has(#burenkorting-toggle:checked) strong,
.burenkorting-calculator:has(#burenkorting-toggle-mobile:checked) strong {
    color: #212529 !important;
}

.burenkorting-calculator:has(#burenkorting-toggle:checked) i,
.burenkorting-calculator:has(#burenkorting-toggle-mobile:checked) i {
    color: #212529 !important;
}

.burenkorting-calculator:has(#burenkorting-toggle:checked) .form-check-label,
.burenkorting-calculator:has(#burenkorting-toggle-mobile:checked) .form-check-label {
    color: #212529 !important;
}

/* Price update animation */
@keyframes price-update-flash {
    0% { color: var(--primary); transform: scale(1.02); }
    100% { color: inherit; transform: scale(1); }
}

.price-updated {
    animation: price-update-flash 0.3s ease-out;
}

/* Savings display styling */
.burenkorting-savings-badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

.bg-primary-soft {
    background-color: rgba(13, 110, 253, 0.1) !important;
}

@media (max-width: 575px) {
    /* Logo: smaller on mobile to fit CTAs + hamburger */
    .logo-img {
        height: 15px !important;
    }
    
    .price-main-amount {
        font-size: 2.25rem;
    }
    .price-range-container {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    .price-endpoint-amount {
        font-size: 0.95rem;
    }
    .price-endpoint-label {
        font-size: 0.55rem;
    }
    .price-range-endpoint {
        min-width: 65px;
    }
    
    /* Burenkorting btn-group: stack on very small screens */
    .burenkorting-calculator .btn-group {
        flex-direction: column;
    }
    .burenkorting-calculator .btn-group .btn {
        border-radius: 0.375rem !important;
        margin-bottom: 0.25rem;
    }
    
    /* Trust quote: tighter on mobile */
    #package-section .card-body {
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }
    
    /* Contact method options: more breathing room */
    .contact-method-option {
        padding: 0.75rem !important;
    }
    .contact-method-option label .fs-6 {
        font-size: 0.9rem !important;
    }
    
    /* Hero title smaller on mobile */
    .text-9 {
        font-size: 1.75rem !important;
    }
    
    /* Price range: more space for the bar */
    .price-range-container {
        gap: 0.25rem !important;
        padding: 0.75rem 0.5rem !important;
    }
    .price-range-endpoint {
        min-width: 55px !important;
    }
    .price-range-bar {
        min-width: 60px;
    }
    .price-endpoint-amount {
        font-size: 0.85rem !important;
    }
    
    /* Breakdown: stack cost items vertically for readability */
    #result-breakdown .list-group-item {
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
    }
    #result-breakdown .badge {
        font-size: 0.6rem;
    }
    
    /* Package email: ensure large touch target */
    #package-form .form-control-lg {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
    #package-form .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
    
    /* Margin explanation: single column on mobile */
    #margin-explanation .row .col-md-6 {
        margin-bottom: 0.75rem;
    }
}

/* ============================================
   PORTFOLIO GRID (Porto thumb-info inspired)
   ============================================ */
.thumb-info {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.thumb-info:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
    color: inherit;
    text-decoration: none;
}

.thumb-info-wrapper {
    display: block;
    position: relative;
    overflow: hidden;
}

.thumb-info-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.thumb-info:hover .thumb-info-wrapper img {
    transform: scale(1.08);
}

.thumb-info-action {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(31, 111, 235, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.thumb-info:hover .thumb-info-action {
    opacity: 1;
}

.thumb-info-action-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.thumb-info:hover .thumb-info-action-icon {
    transform: scale(1);
}

.thumb-info-caption {
    display: block;
    padding: 1rem 1.25rem;
}

.thumb-info-caption-text {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
}

.thumb-info-caption-type {
    display: block;
    font-size: 0.85rem;
    color: var(--text-grey);
    margin-top: 0.25rem;
}

/* Category badge on portfolio item */
.thumb-info-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary);
    backdrop-filter: blur(4px);
}

/* ============================================
   COMPACT PARALLAX BREAK
   ============================================ */
.section-parallax-break {
    position: relative;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 5rem 0;
}

.section-parallax-break::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgb(0 32 88 / 35%);
    z-index: 1;
}

.section-parallax-break > .container {
    position: relative;
    z-index: 2;
}

.section-parallax-break h1,
.section-parallax-break p,
.section-parallax-break span {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.2);
}

@supports (-webkit-touch-callout: none) {
    .section-parallax-break {
        background-attachment: scroll;
    }
}

@media (max-width: 991.98px) {
    .section-parallax-break {
        background-attachment: scroll;
        padding: 3rem 0;
    }
}

/* ============================================
   PROJECT REVIEW CARD (grid: image on top)
   ============================================ */
.review-card--project {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.review-card--project:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.13);
}

/* Image area */
.review-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

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

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

/* Gradient overlay on image bottom for readability */
.review-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Project type ribbon */
.review-card-ribbon {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 0.25rem 0.85rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.93);
    color: var(--primary);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* Rating pill overlay — sits inside image at bottom-right */
.review-card-rating {
    position: absolute;
    bottom: 12px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    z-index: 2;
    letter-spacing: 0.2px;
}

.review-card-rating i {
    color: var(--accent);
    font-size: 0.72rem;
}

/* Area pill overlay — sits inside image at bottom-left */
.review-card-area {
    position: absolute;
    bottom: 12px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    z-index: 2;
}

.review-card-area i {
    font-size: 0.68rem;
    opacity: 0.8;
}

/* Card body */
.review-card-body {
    padding: 1.5rem 1.5rem 1.35rem;
    position: relative;
}

/* Big decorative quote mark */
.review-card-body::before {
    content: '\201C';
    position: absolute;
    top: -6px;
    left: 1.5rem;
    font-size: 4.5rem;
    font-family: Georgia, 'Times New Roman', serif;
    color: rgba(31, 111, 235, 0.06);
    line-height: 1;
    pointer-events: none;
}

.review-card-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 0.6rem;
}

.review-card-stars i {
    color: var(--accent);
    font-size: 0.75rem;
}

.review-card-quote {
    font-style: italic;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 0.5rem;
    position: relative;
    max-height: 6.8em;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.review-card-quote.expanded {
    max-height: none;
}

.review-card-quote:not(.expanded)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2em;
    background: linear-gradient(to bottom, transparent, white);
    pointer-events: none;
}

.review-card-read-more {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: none;
    border: none;
    color: #1f6feb;
    padding: 0;
    font-size: .82rem;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 0.85rem;
    transition: color .18s ease;
}

.review-card-read-more:hover {
    color: #0d4fb3;
    text-decoration: underline;
}

.review-card-read-more:focus-visible {
    outline: 2px solid #1f6feb;
    outline-offset: 2px;
}

.review-card-read-more .review-toggle-icon {
    font-size: .7rem;
    transition: transform .18s ease;
}

.review-card-read-more[aria-expanded="true"] .review-toggle-icon {
    transform: rotate(180deg);
}

/* Author row */
.review-card-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.85rem;
    border-top: 1px solid #f0f0f0;
}

.review-card-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #64b5f6 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.review-card-author-name {
    font-weight: 700;
    font-size: 0.88rem;
    color: #333;
    line-height: 1.3;
}

.review-card-author-detail {
    font-size: 0.76rem;
    color: var(--text-grey);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.review-card-author-detail i {
    font-size: 0.62rem;
    color: var(--primary);
}

/* ============================================
   REVIEW CAROUSEL (horizontal scroll-snap)
   ============================================ */
.review-carousel-wrap {
    position: relative;
}

.review-carousel {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    /* hide scrollbar but keep scrollable */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.review-carousel::-webkit-scrollbar {
    display: none;
}

.review-carousel-slide {
    flex: 0 0 calc(33.333% - 0.84rem);
    scroll-snap-align: start;
    min-width: 0;
}

/* Navigation arrows */
.review-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    color: var(--primary);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, box-shadow 0.2s, opacity 0.2s;
    opacity: 0.9;
}

.review-carousel-btn:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 18px rgba(31, 111, 235, 0.3);
    opacity: 1;
}

.review-carousel-btn--prev {
    left: -21px;
}

.review-carousel-btn--next {
    right: -21px;
}

/* Tablet: 2 cards visible */
@media (max-width: 991px) {
    .review-carousel-slide {
        flex: 0 0 calc(50% - 0.625rem);
    }
    .review-carousel-btn--prev { left: -16px; }
    .review-carousel-btn--next { right: -16px; }
}

/* Mobile: 1 card visible, arrows on edges */
@media (max-width: 575px) {
    .review-carousel-slide {
        flex: 0 0 92%;
    }
    .review-carousel-btn {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    .review-carousel-btn--prev { left: -4px; }
    .review-carousel-btn--next { right: -4px; }
}

/* ============================================
   CONTACT METHOD CARDS (Decorated)
   ============================================ */
.contact-section-decorated {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

.contact-method-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #333;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 16px;
    padding: 2.5rem 1.5rem 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.contact-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 16px 16px 0 0;
    transition: height 0.3s ease;
}

.contact-method-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: #333;
}

.contact-method-card:hover::before {
    height: 6px;
}

/* WhatsApp variant */
.contact-method-card--whatsapp::before { background: #25d366; }
.contact-method-card--whatsapp:hover { border-color: #25d366; }
.contact-method-card--whatsapp .contact-method-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

/* Email variant */
.contact-method-card--email::before { background: var(--primary, #0d6efd); }
.contact-method-card--email:hover { border-color: var(--primary, #0d6efd); }
.contact-method-card--email .contact-method-icon {
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
}

/* Phone variant */
.contact-method-card--phone::before { background: #6c757d; }
.contact-method-card--phone:hover { border-color: #6c757d; }
.contact-method-card--phone .contact-method-icon {
    background: linear-gradient(135deg, #6c757d, #495057);
}

.contact-method-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transition: transform 0.25s ease;
}

.contact-method-card:hover .contact-method-icon {
    transform: scale(1.1);
}

.contact-method-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #25d366;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 10px;
    border-radius: 20px;
}

.contact-method-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-method-desc {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1.25rem;
    line-height: 1.5;
    flex-grow: 1;
}

.contact-method-cta {
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary, #0d6efd);
    transition: gap 0.2s ease;
    gap: 0;
}

.contact-method-card--whatsapp .contact-method-cta { color: #128c7e; }
.contact-method-card--phone .contact-method-cta { color: #495057; }

.contact-method-card:hover .contact-method-cta {
    gap: 4px;
}

@media (max-width: 767px) {
    .contact-method-card {
        padding: 2rem 1.25rem 1.5rem;
    }
    .contact-method-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

/* ============================================
   BEFORE / AFTER COMPARISON
   ============================================ */
.before-after-pair {
    display: flex;
    gap: 1.5rem;
    align-items: stretch;
}

.before-after-item {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.before-after-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.before-after-label {
    position: absolute;
    top: 12px;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.before-label {
    left: 12px;
    background: rgba(220, 53, 69, 0.9);
    color: #fff;
}

.after-label {
    right: 12px;
    left: auto;
    background: rgba(40, 167, 69, 0.9);
    color: #fff;
}

@media (max-width: 575px) {
    .before-after-pair {
        flex-direction: column;
    }
    .before-after-item img {
        height: 200px;
    }
}

/* ============================================
   PAGE HEADER (clean, no hero)
   ============================================ */
.page-header-modern {
    padding: 2.5rem 0;
    background: var(--light);
    border-bottom: 1px solid #e9ecef;
}

.page-header-modern h1 {
    margin-bottom: 0.5rem;
}

.page-header-modern p {
    color: var(--text-grey);
    margin-bottom: 0;
}

/* ============================================
   ICON BOX (Porto-style)
   ============================================ */
.icon-box {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.icon-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.icon-box-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.icon-box:hover .icon-box-icon {
    transform: scale(1.1);
}

/* Counter stats row */
.counter-stat {
    text-align: center;
    padding: 1.5rem 1rem;
}

.counter-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.counter-stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* Assumptions block */
.assumptions-block {
    background: #fff8e6;
    border-left: 4px solid #ffc107;
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
}

.assumptions-block h5 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #856404;
    margin-bottom: 0.5rem;
}

.assumptions-block ul {
    margin-bottom: 0;
    padding-left: 1.25rem;
    font-size: 0.9rem;
    color: #666;
}

/* Confidence badges */
.confidence-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.extra-small {
    font-size: 0.75rem;
}

/* Room wizard specific */
.message-bubble.helper {
    background-color: #f8f9fa;
    border-left: 3px solid #0088cc;
    font-size: 0.9rem;
    font-style: italic;
}

#room-wizard .card {
    transition: transform 0.2s, box-shadow 0.2s;
}

#room-wizard .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

#next-steps-card .card {
    cursor: pointer;
    transition: all 0.2s;
    border-width: 2px;
}

/* HVCO Download Cards */
.hvco-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.hvco-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.hvco-card-image {
    position: relative;
    overflow: hidden;
}

.hvco-card-image i {
    transition: transform 0.3s ease;
}

.hvco-card:hover .hvco-card-image i {
    transform: scale(1.1);
}

/* bg-accent utility for HVCO cards */
.bg-accent {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

/* Process Timeline - Horizontal */
.timeline-horizontal {
    position: relative;
}

.timeline-phase {
    position: relative;
}

.timeline-icon {
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.phase-label {
    font-size: 0.7rem;
    letter-spacing: 0.5px;
}

/* Process Timeline - Vertical (werkwijze page) */
.process-timeline-vertical {
    position: relative;
}

.process-timeline-vertical .col-lg-1 {
    position: relative;
}

.timeline-step-v {
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.timeline-line-v {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: calc(100% + 2rem);
    background: #e9ecef;
    top: 50px;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .timeline-line-v {
        display: none;
    }
}

/* ============================================
   NAZORG CHECK - MINIMAL ADDITIONS
   ============================================ */

/* Severity-based soft backgrounds (reusable) */
.bg-success-soft {
    background-color: rgba(16, 185, 129, 0.1) !important;
}

.bg-warning-soft {
    background-color: rgba(245, 158, 11, 0.1) !important;
}

.bg-danger-soft {
    background-color: rgba(239, 68, 68, 0.1) !important;
}

/* Nazorg result card animations */
#nazorg-result .card {
    animation: resultSlideUp 0.5s ease-out;
}

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

/* Advice list styling */
.advice-list ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.advice-list ul li:last-child {
    border-bottom: none;
}

/* Contact form animation */
#contact-form-wrapper .card {
    animation: slideUp 0.4s ease-out;
}

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

/* Success message animation */
#success-message .card {
    animation: successPop 0.5s ease-out;
}

@keyframes successPop {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ============================================
   OFFERTE PAGE — HERO PROCESS CARD
   ============================================ */
.offerte-hero-process-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 28px 28px 24px;
}

.offerte-hero-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.offerte-hero-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-weight: 800;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.offerte-hero-step-connector {
    width: 2px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    margin-left: 15px;
    margin-top: 4px;
    margin-bottom: 4px;
}

/* ============================================
   OFFERTE PAGE — PATH CARDS, UPLOAD, BACK BTN
   ============================================ */

/* Path selector cards */
/* ── PATH CARDS (step 0) ─────────────────────────────────────── */
.path-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px 20px 20px;
    border: 2px solid #e9edf2;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.18s ease, background 0.2s ease;
    color: inherit;
    position: relative;
    overflow: hidden;
}

/* Coloured top accent bar per path */
.path-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    border-radius: 14px 14px 0 0;
}
.path-card-competitor::before { background: linear-gradient(90deg, #f59e0b, #f97316); }
.path-card-measured::before   { background: linear-gradient(90deg, #1d4ed8, #0ea5e9); }
.path-card-describe::before   { background: linear-gradient(90deg, #16a34a, #22c55e); }
.path-card-info::before       { background: linear-gradient(90deg, #94a3b8, #6c757d); }

/* Icon wrap — gradient circle */
.path-card-icon-wrap {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 16px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.path-card-competitor .path-card-icon-wrap { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #d97706; }
.path-card-measured   .path-card-icon-wrap { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #1d4ed8; }
.path-card-describe   .path-card-icon-wrap { background: linear-gradient(135deg, #dcfce7, #bbf7d0); color: #15803d; }
.path-card-info       .path-card-icon-wrap { background: linear-gradient(135deg, #f1f5f9, #e2e8f0); color: #64748b; }
.path-card-competitor .path-card-icon-wrap i { color: #d97706 !important; }
.path-card-measured   .path-card-icon-wrap i { color: #1d4ed8 !important; }
.path-card-describe   .path-card-icon-wrap i { color: #15803d !important; }
.path-card-info       .path-card-icon-wrap i { color: #64748b !important; }

.path-card:hover .path-card-icon-wrap { transform: scale(1.1); }

/* Card title */
.path-card-title {
    display: block;
    font-size: 0.93rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
    color: #1e293b;
}

/* Card description */
.path-card-desc {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 0;
    flex-grow: 1;
}

/* CTA row at bottom */
.path-card-cta-link {
    display: block;
    margin-top: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    border-top: 1px solid #f1f5f9;
    padding-top: 12px;
    width: 100%;
    text-align: center;
}
.path-card-competitor .path-card-cta-link { color: #d97706; }
.path-card-measured   .path-card-cta-link { color: #1d4ed8; }
.path-card-describe   .path-card-cta-link { color: #15803d; }
.path-card-info       .path-card-cta-link { color: #64748b; }

/* Per-path hover: tinted background + coloured border + lifted shadow */
.path-card-competitor:hover { border-color: #f59e0b; box-shadow: 0 8px 28px rgba(245,158,11,0.18); background: #fffbf0; transform: translateY(-3px); }
.path-card-measured:hover   { border-color: #3b82f6; box-shadow: 0 8px 28px rgba(59,130,246,0.15);  background: #f0f6ff; transform: translateY(-3px); }
.path-card-describe:hover   { border-color: #22c55e; box-shadow: 0 8px 28px rgba(34,197,94,0.15);   background: #f0fdf4; transform: translateY(-3px); }
.path-card-info:hover       { border-color: #94a3b8; box-shadow: 0 8px 20px rgba(0,0,0,0.08);       background: #f8fafc; transform: translateY(-3px); }

/* Popular badge */
.path-card-popular-badge {
    position: absolute;
    top: 14px; right: 12px;
    font-size: 0.6rem;
    font-weight: 700;
    background: linear-gradient(90deg, #f59e0b, #f97316);
    color: #fff;
    border-radius: 20px;
    padding: 3px 9px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Step icon (inside form header) */
.path-step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(31, 111, 235, 0.1);
    color: var(--primary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* White icon box inside coloured card header banners */
.path-step-icon-light {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
    font-size: 1.3rem;
    flex-shrink: 0;
}

/* Offerte step card — coloured gradient header banners */
.offerte-card {
    overflow: hidden;
}

.offerte-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
}

.offerte-card-header-competitor { background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%); }
.offerte-card-header-measured   { background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%); }
.offerte-card-header-describe   { background: linear-gradient(135deg, #15803d 0%, #22c55e 100%); }

/* Back button */
.btn-back {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0;
    cursor: pointer;
    transition: color 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

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

/* Upload area */
.upload-area {
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    position: relative;
}

.upload-area:hover,
.upload-area-over {
    border-color: var(--primary);
    background: rgba(31, 111, 235, 0.03);
}

.upload-area-icon {
    font-size: 2rem;
    color: #94a3b8;
    margin-bottom: 8px;
    display: block;
}

.upload-file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.upload-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.upload-file-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(31, 111, 235, 0.08);
    color: var(--primary);
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Info choice cards (path D) */
.info-choice-card {
    transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.info-choice-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1) !important;
    transform: translateY(-2px);
}

/* ============================================
   OFFERTE SIDEBAR
   ============================================ */
.offerte-sidebar {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(0,0,0,0.1);
}

.offerte-sidebar-header {
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 100%);
    padding: 22px 22px 16px;
}

.offerte-sidebar-logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.offerte-sidebar-stats {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 8px 12px;
    margin-top: 14px;
}

.offerte-sidebar-stat {
    flex: 1;
    text-align: center;
}

.offerte-sidebar-stat-num {
    display: block;
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.1;
}

.offerte-sidebar-stat-lbl {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.offerte-sidebar-stat-divider {
    width: 1px;
    height: 28px;
    background: rgba(255,255,255,0.25);
    flex-shrink: 0;
}

.offerte-sidebar-body {
    background: #fff;
    padding: 22px;
}

.offerte-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.offerte-trust-item:first-child { padding-top: 0; }
.offerte-trust-item:last-child  { border-bottom: none; }

.offerte-trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.offerte-trust-icon-blue  { background: rgba(31,111,235,0.1);  color: #1d4ed8; }
.offerte-trust-icon-green { background: rgba(34,197,94,0.1);   color: #15803d; }
.offerte-trust-icon-amber { background: rgba(245,158,11,0.12); color: #d97706; }
.offerte-trust-icon-teal  { background: rgba(20,184,166,0.1);  color: #0d9488; }

.offerte-wa-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    color: #fff;
    border-radius: 10px;
    padding: 12px 16px;
    text-decoration: none;
    width: 100%;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 4px 14px rgba(34,197,94,0.35);
    margin-bottom: 10px;
}

.offerte-wa-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34,197,94,0.45);
}

.offerte-wa-btn .fa-whatsapp {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.offerte-testimonial {
    background: #f8fafc;
    border-radius: 10px;
    padding: 16px 16px 14px;
    position: relative;
}

.offerte-testimonial-quote {
    position: absolute;
    top: -10px;
    left: 14px;
    font-size: 3.5rem;
    line-height: 1;
    color: #dbeafe;
    font-family: Georgia, serif;
    pointer-events: none;
}

/* ============================================
   STICKY WHATSAPP BAR (mobile only) — WhatsApp hub with two pills
   ============================================ */
.whatsapp-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: transparent;
    pointer-events: none; /* gaps are scroll-through; pills/hub re-enable */
    max-width: 600px;
    margin: 0 auto;
}

/* Central WhatsApp hub */
.whatsapp-bar-hub {
    pointer-events: none;
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 5px 14px rgba(37, 211, 102, 0.5), 0 0 0 3px rgba(37, 211, 102, 0.2);
    position: relative;
    z-index: 2;
    margin: 0 -12px; /* overlap the pills so they protrude from the hub */
    border: 2.5px solid #fff;
}

/* Pills protruding left/right */
.whatsapp-bar-pill {
    pointer-events: auto;
    flex: 1 1 0;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 36px;
    padding: 0.4rem 0.9rem;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #fff;
    background: #25d366;
    text-decoration: none;
    box-shadow: 0 5px 14px rgba(20, 30, 60, 0.16);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    white-space: nowrap;
    overflow: hidden;
}

.whatsapp-bar-pill-human {
    justify-content: flex-start;
    padding-right: 1.6rem; /* room for hub overlap */
    border-radius: 999px 0 0 999px;
    background: #25d366;
}
.whatsapp-bar-pill-bot {
    justify-content: flex-end;
    padding-left: 1.6rem; /* room for hub overlap */
    border-radius: 0 999px 999px 0;
    background: #1f6feb;
}

.whatsapp-bar-pill:hover,
.whatsapp-bar-pill:focus-visible {
    transform: translateY(-1px);
    color: #fff;
}

.whatsapp-bar-pill .whatsapp-bar-label {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.whatsapp-bar-pill-human .whatsapp-bar-label { align-items: flex-start; }
.whatsapp-bar-pill-bot   .whatsapp-bar-label { align-items: flex-end; }

.whatsapp-bar-label__title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
}

.whatsapp-bar-pill-human .whatsapp-bar-label__title,
.whatsapp-bar-pill-human .whatsapp-bar-label__subtitle {
    text-align: left;
}

.whatsapp-bar-pill-bot .whatsapp-bar-label__title,
.whatsapp-bar-pill-bot .whatsapp-bar-label__subtitle {
    text-align: right;
}

.whatsapp-bar-label__subtitle {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.85;
    line-height: 1.3;
}

/* Persona icon badge on the outer edge */
.whatsapp-bar-persona {
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    color: #fff;
}

/* Breathing room so the bar never covers content */
@media (max-width: 991.98px) {
    body { padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
    
    /* Mobile: smaller text to prevent truncation */
    .whatsapp-bar-pill {
        padding: 0.4rem 0.75rem;
        gap: 0.65rem;
    }
    
    .whatsapp-bar-label__title {
        font-size: 0.8rem;
    }
    
    .whatsapp-bar-label__subtitle {
        font-size: 0.65rem;
    }
    
    /* Mobile: bigger persona icons with more spacing from center */
    .whatsapp-bar-persona {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
    
    .whatsapp-bar-pill-human {
        padding-right: 1.75rem;
    }
    
    .whatsapp-bar-pill-bot {
        padding-left: 1.75rem;
    }
}

/* ============================================
   FE-037 — Desktop reposition for .whatsapp-bar--responsive
   On ≥lg viewports the bar floats in the bottom-right corner instead of
   spanning the full width, so desktop visitors get the same two-persona
   affordance without dominating the layout. Closes Gap #5 from analysis 032.
   ============================================ */
@media (min-width: 992px) {
    .whatsapp-bar.whatsapp-bar--responsive {
        left: auto;
        right: 24px;
        bottom: 24px;
        width: auto;
        max-width: 360px;
        padding: 0;
        background: transparent;
        justify-content: flex-end;
        margin: 0;
    }
    .whatsapp-bar.whatsapp-bar--responsive .whatsapp-bar-pill {
        flex: 0 0 auto;
        font-size: 0.85rem;
        min-height: 40px;
        padding: 0.45rem 1rem;
    }
    .whatsapp-bar.whatsapp-bar--responsive .whatsapp-bar-hub {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
}

/* ============================================
   ADR-033 — Segmented Toggle (Pills) Standard
   Shared CSS primitives for sitewide segmented controls.
   Ensures selection UI is visually distinct from primary CTAs.
   ============================================ */

/* Container / track */
.stuc-seg-toggle {
    display: inline-flex;
    background: #f1f3f9;
    border-radius: 999px;
    padding: 4px;
    gap: 2px;
}

/* Option button/label */
.stuc-seg-toggle-btn {
    border: 0;
    background: transparent;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #465069;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

/* Active state */
.stuc-seg-toggle-btn.is-active {
    background: #fff;
    color: #172036;
    box-shadow: 0 2px 6px rgba(20, 30, 60, 0.12);
}

/* Hover (inactive only) */
.stuc-seg-toggle-btn:not(.is-active):hover {
    color: #172036;
}

/* Focus-visible (WCAG 2.1 AA) */
.stuc-seg-toggle-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Optional badge/dot element */
.stuc-seg-toggle-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: background 0.18s ease, color 0.18s ease;
}

/* Dark background variant (hero sections) */
.stuc-seg-toggle--on-dark {
    background: rgba(255, 255, 255, 0.10);
}

.stuc-seg-toggle--on-dark .stuc-seg-toggle-btn {
    color: rgba(255, 255, 255, 0.65);
}

.stuc-seg-toggle--on-dark .stuc-seg-toggle-btn.is-active {
    background: rgba(255, 255, 255, 0.90);
    color: #1f6feb;
    box-shadow: 0 2px 8px rgba(0, 20, 80, 0.25);
}

.stuc-seg-toggle--on-dark .stuc-seg-toggle-btn:not(.is-active):hover {
    color: rgba(255, 255, 255, 0.85);
}

.stuc-seg-toggle--on-dark .stuc-seg-toggle-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.7);
    outline-offset: 2px;
}

/* Compact variant (optional) */
.stuc-seg-toggle--compact {
    padding: 3px;
    gap: 1px;
}

.stuc-seg-toggle--compact .stuc-seg-toggle-btn {
    padding: 0.35rem 0.8rem;
    font-size: 0.78rem;
}

/* Mobile responsive behavior (stack vertically on small screens) */
@media (max-width: 575.98px) {
    .stuc-seg-toggle--mobile-stack {
        flex-direction: column;
        width: 100%;
        border-radius: 8px;
    }
    
    .stuc-seg-toggle--mobile-stack .stuc-seg-toggle-btn {
        justify-content: center;
        border-radius: 6px;
    }
}

/* ============================================
   DEEP PROJECT SPOTLIGHT
   ============================================ */

.project-spotlight {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .08);
    padding: 1.5rem;
}

/* 9:16 video wrapper — fixed width, scrolls into view naturally on mobile */
.project-spotlight__video-wrap {
    width: min(270px, 80vw);
}

@media (min-width: 768px) {
    .project-spotlight__video-wrap {
        width: 270px;
    }
}

/* Override Bootstrap ratio for 9:16 (YouTube Shorts) */
.project-spotlight__ratio {
    --bs-aspect-ratio: 177.78%;
}

/* ── Pills ── */
.project-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .02em;
    white-space: nowrap;
    background: #e8f4fd;
    color: #1a73e8;
}

.project-pill i {
    opacity: 0.7;
}

/* ── Project select hint (mobile arrow above toggle) ── */
.project-select-hint {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary, #3a5bd9);
    background: #f0f4ff;
    border: 1.5px solid #c7d4f7;
    border-radius: 20px;
    padding: 4px 14px;
    display: inline-block;
    animation: hint-bounce-x 1.2s ease-in-out 0.6s 3;
}

@keyframes hint-bounce-x {
    0%, 100% { transform: translateX(0); }
    35% { transform: translateX(5px); }
    65% { transform: translateX(-2px); }
}

/* ── Photo grid swipe hint (mobile only) ── */
.project-swipe-hint {
    font-size: 0.78rem;
    color: #8492a6;
    text-align: center;
    margin-bottom: 0.5rem;
}

/* ── Photo grid wrapper with right-edge fade ── */
.project-photo-grid-wrap {
    position: relative;
}

@media (max-width: 767.98px) {
    .project-photo-grid-wrap::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 1.5rem; /* stop above the swipe hint */
        width: 36px;
        background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.85));
        pointer-events: none;
    }
}

/* ── Photo grid ── */
/* Mobile: horizontal scroll strip */
.project-photo-grid {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.project-photo-grid::-webkit-scrollbar {
    display: none;
}

.project-photo-item {
    flex: 0 0 auto;
    width: 140px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    scroll-snap-align: start;
    background-color: #e9ecef;
}

/* Desktop: horizontal row (4 images) */
@media (min-width: 768px) {
    .project-photo-grid {
        display: flex;
        gap: 12px;
        overflow: visible;
        scroll-snap-type: none;
    }

    .project-photo-item {
        flex: 1;
        width: auto;
        height: 180px;
        background-color: #e9ecef;
    }
}

.project-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
    display: block;
}

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

.project-photo-item[role="button"] {
    cursor: pointer;
}

/* ── Lightbox ── */
.stuc-lb {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stuc-lb[hidden] {
    display: none;
}

.stuc-lb__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .88);
}

.stuc-lb__img {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .6);
}

.stuc-lb__close,
.stuc-lb__prev,
.stuc-lb__next {
    position: absolute;
    z-index: 2;
    background: rgba(255, 255, 255, .15);
    border: none;
    color: #fff;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    transition: background .2s;
}

.stuc-lb__close:hover,
.stuc-lb__prev:hover,
.stuc-lb__next:hover {
    background: rgba(255, 255, 255, .3);
}

.stuc-lb__close {
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.6rem;
}

.stuc-lb__prev,
.stuc-lb__next {
    top: 50%;
    transform: translateY(-50%);
    width: 2.75rem;
    height: 2.75rem;
    font-size: 2rem;
}

.stuc-lb__prev {
    left: 1rem;
}

.stuc-lb__next {
    right: 1rem;
}

/* ── Worker quote ── */
.worker-quote {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.worker-quote__header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.worker-quote__header i {
    font-size: 0.9rem;
}

.worker-quote__icon {
    color: var(--accent);
    font-size: .9rem;
    display: block;
    margin-bottom: .4rem;
}

.worker-quote__text {
    font-size: .875rem;
    line-height: 1.65;
    color: #495057;
    font-style: italic;
    margin-bottom: .75rem;
}

.worker-quote__author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.worker-quote__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.worker-quote__name {
    font-size: .85rem;
    font-weight: 600;
    color: #212529;
}

.worker-quote__role {
    font-size: .75rem;
    color: #6c757d;
}

/* ── Customer review ── */
.project-review {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.project-review__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.project-review__header > div:first-child {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
}

.project-review__header i.fa-user-check {
    font-size: 0.9rem;
}

.project-review__header > div:last-child {
    text-transform: none;
}

.project-review__stars i {
    color: #f5a623;
    font-size: .85rem;
}

.project-review__score {
    font-size: .85rem;
    font-weight: 700;
    color: #212529;
}

.project-review__quote {
    font-size: .875rem;
    color: #495057;
    font-style: italic;
    line-height: 1.6;
    margin: .5rem 0 .75rem;
}

.project-review__author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.project-review__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e9ecef;
    color: #495057;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .65rem;
    font-weight: 700;
    flex-shrink: 0;
}

.project-review__name {
    font-size: .8rem;
    font-weight: 600;
    color: #212529;
}

.project-review__detail {
    font-size: .7rem;
    color: #6c757d;
}
