/* DESIGN SYSTEM APPLIED */
@import url('./fonts.css?v=20260818-1');

/* =========================================
   DESIGN TOKENS (SYSTEM)
   ========================================= */
:root {
    /* --- TYPOGRAPHY --- */
    --font-main: 'Manrope', sans-serif;
    --font-heading: 'Playfair Display', serif;

    /* --- PALETTE --- */
    /* Core Neutrals */
    --color-dark: #231f20;      /* Primary Black/Graphite */
    --color-white: #ffffff;
    --color-light: #f9f9f7;     /* Organic Off-White */
    --color-grey: #8C8C8C;      /* Secondary Text */
    
    /* Brand Accents */
    --color-lime: #82c342;      /* BHP & Global Accent */
    --color-lime-hover: #71ad35;
    --color-sand: #E6E0D5;      /* Insurance Accent */

    /* Semantic Mappings (Legacy Support & Consistency) */
    /* BHP Context */
    --color-bhp-bg: var(--color-lime);
    --color-bhp-text: var(--color-dark);
    
    /* Generali Context */
    --color-ins-bg: var(--color-sand);
    --color-ins-text: var(--color-dark);
    --gen-lime: var(--color-lime);
    --gen-dark: var(--color-dark);
    
    /* Global Alias */
    --color-accent: var(--color-lime);
    --primary-dark: var(--color-dark);

    /* --- SPACING SCALE (8px Grid) --- */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-xxl: 64px;
    --space-section: 100px;

    /* --- UI ELEMENTS --- */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 50px;
    
    --shadow-sm: 0 2px 8px rgba(35, 31, 32, 0.08);
    --shadow-md: 0 10px 30px -10px rgba(35, 31, 32, 0.12);
    --shadow-lg: 0 20px 40px -10px rgba(35, 31, 32, 0.15);

    /* --- ANIMATION --- */
    --transition-speed: 0.3s;
    --transition-ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* =========================================
   RESET & BASE
   ========================================= */
html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* Prevent horizontal scroll globally */
    max-width: 100vw;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Typography Scale */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: var(--space-sm);
}

h1 { font-size: 3rem; }      /* 48px */
h2 { font-size: 2.25rem; }   /* 36px */
h3 { font-size: 1.75rem; }   /* 28px */
h4 { font-size: 1.5rem; }    /* 24px */
p { font-size: 1rem; margin-bottom: var(--space-md); }

/* Index page specific fix */
body.page-index {
    overflow: hidden;
    height: 100vh;
}

/* =========================================
   COMPONENTS (BUTTONS & CARDS)
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    border-radius: var(--radius-pill);
    transition: all var(--transition-speed) var(--transition-ease);
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    min-height: 48px; /* Mobile touch target */
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

.btn-secondary {
    background-color: transparent;
    border-color: var(--color-dark);
    color: var(--color-dark);
}

.btn-secondary:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

.btn-ghost {
    background-color: transparent;
    color: var(--color-dark);
    padding: 8px 16px;
}

.btn-ghost:hover {
    background-color: rgba(35, 31, 32, 0.05);
    box-shadow: none;
    transform: none;
}

/* =========================================
   HEADER / NAVIGATION (INDEX)
   ========================================= */
header.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 2rem 3rem;
    display: flex;
    justify-content: flex-end; /* Push contact to right */
    align-items: flex-start; /* Align to top */
    pointer-events: none;
}

header.main-header .logo {
    pointer-events: auto;
    position: absolute;
    left: 50%;
    top: 1rem; /* Slightly closer to top */
    transform: translateX(-50%);
    
    width: auto;
    height: auto;
    padding: 10px 25px; /* Reduced padding for tighter fit */
    background-color: #ffffff;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); /* Deeper shadow */
    z-index: 101;
}

header.main-header .logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 8px; /* Reduced gap between signet and text */
}

header.main-header .logo .logo-signet {
    max-height: 55px; /* Increased size */
    width: auto;
    display: block;
}

header.main-header .logo .logo-text {
    max-height: 65px; /* Increased for better readability */
    width: auto;
    display: block;
}

header.main-header .nav-contact {
    /* ... existing styles ... */
    pointer-events: auto;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-bhp-text);
    border: 1px solid var(--color-bhp-bg);
    background-color: var(--color-bhp-bg);
    backdrop-filter: blur(0);
    padding: 0.6rem 1.8rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-top: 10px; /* Align visually with the larger logo medallion */
}

/* Mobile Adjustment for Medallion */
@media(max-width: 1200px) {
    header.main-header {
        justify-content: space-between; /* Return to standard layout on mobile */
        align-items: center;
    }
    
    header.main-header .logo {
        position: relative; /* Reset absolute centering */
        left: auto;
        top: auto;
        transform: none;
        padding: 10px 20px;
        margin-right: auto; /* Push contact to right */
    }

    header.main-header .logo .logo-signet { max-height: 30px; }
    header.main-header .logo .logo-text { max-height: 35px; } /* Smaller but still legible */
    
    header.main-header .nav-contact { margin-top: 0; }
    
    /* Contact Page Specific Nav Breakpoint */
    .page-contact .desktop-menu { display: none !important; }
    .page-contact .hamburger-btn { display: block !important; }
    .page-contact nav { padding: 0 20px; }
}

/* =========================================
   MAIN CONTAINER (SPLIT SCREEN - INDEX)
   ========================================= */

.container-split {
    display: flex;
    width: 100%;
    height: 100vh;
    position: relative;
}

.split {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: flex var(--transition-speed) cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    cursor: pointer;
    padding: 2rem;
}

.split-bhp {
    background-color: var(--color-bhp-bg);
    color: var(--color-bhp-text);
    transition: background-color 0.3s ease, filter 0.3s ease; /* Add transition for color */
}

.split-bhp::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Updated gradient to match #82c342 with high opacity for readability */
    background: linear-gradient(rgba(130, 195, 66, 0.9), rgba(130, 195, 66, 0.8)), 
                url('../images/BHP2.webp');
    background-size: cover;
    background-position: center;
    opacity: 1; /* Full opacity of the layer, controlling transparency via gradient alpha */
    transition: opacity var(--transition-speed) ease, transform var(--transition-speed) ease;
    z-index: 0;
}

/* Darken on hover as requested */
.split-bhp:hover {
    filter: brightness(0.95);
}

.split-ins {
    background-color: var(--color-ins-bg);
    color: var(--color-ins-text);
}

.split-ins::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(230, 224, 213, 0.8), rgba(230, 224, 213, 0.6)),
                url('../images/Rodzina.webp');
    background-size: cover;
    background-position: center;
    opacity: 1;
    transition: opacity var(--transition-speed) ease, transform var(--transition-speed) ease;
    z-index: 0;
}

.split .content {
    position: relative;
    z-index: 10;
    max-width: 550px; /* Slightly wider for bold text */
    transform: translateY(0);
    transition: transform var(--transition-speed) ease;
    /* Glassmorphism removed */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.split h1 {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    font-weight: 700; /* Ensure main header is bold */
    min-height: 140px; /* Standardize headline container */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split h1 span {
    display: block;
    font-size: 1.2rem;
    font-family: var(--font-sans);
    font-weight: 700; /* Bold for subheader */
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    opacity: 1; /* Full opacity for better readability */
    color: #000; /* Absolute black */
    min-height: 3rem; /* Ensure main H1 starts at same height */
    display: flex;
    align-items: flex-end; /* Align bottom of subheader */
    justify-content: center;
}

.split p {
    font-size: 1.15rem; /* Slightly larger */
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 1; /* Full opacity */
    font-weight: 500; /* Medium weight for body text */
    color: #111; /* Almost black */
    min-height: 220px; /* Increased to accommodate BHP text and align buttons */
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align text to top */
}

.split .btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    cursor: pointer; /* Added */
}

.btn-bhp {
    border: 1px solid var(--color-bhp-text);
    color: var(--color-bhp-text);
}

.btn-bhp:hover {
    background: var(--color-bhp-text);
    color: var(--color-bhp-bg);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-ins {
    background-color: var(--color-ins-text);
    color: #fff;
    border: 1px solid var(--color-ins-text);
}

.btn-ins:hover {
    background-color: transparent;
    color: var(--color-ins-text);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.trust-badge {
    margin-top: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 24px;
    
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #231f20;
    
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 100px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
    
    pointer-events: none;
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-badge .icon {
    font-size: 1.25rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Optional: Add hover effect to parent to make badge pop slightly even though it's non-clickable */
.split:hover .trust-badge {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

@media(min-width: 769px) {
    /* .container-split:has(.split-bhp:hover) .split-bhp { flex: 2; } */
    .container-split:has(.split-bhp:hover) .split-bhp::before { opacity: 0.3; transform: scale(1.05); }
    /* .container-split:has(.split-bhp:hover) .split-ins { filter: blur(2px) grayscale(30%); } */

    /* .container-split:has(.split-ins:hover) .split-ins { flex: 2; } */
    .container-split:has(.split-ins:hover) .split-ins::before { opacity: 0.15; transform: scale(1.05); }
    /* .container-split:has(.split-ins:hover) .split-bhp { filter: blur(2px) grayscale(30%); } */
}

footer.main-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    font-size: 14px;
    line-height: 1.1;
    z-index: 200;
    background-color: #231f20; 
    color: #F2F0E9;
    opacity: 1;
    mix-blend-mode: normal;
    border-top: 1px solid rgba(255,255,255,0.1);
}

footer.main-footer p {
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: inherit;
}

footer.main-footer a {
    color: inherit;
    text-decoration: none;
    margin: 0 10px;
}

.footer-link-subtle {
    color: inherit !important;
    opacity: 0.6;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    transition: opacity 0.3s ease;
    margin-left: 8px !important;
    font-size: 0.95em;
}

.footer-link-subtle:hover {
    opacity: 1;
}

@media(max-width: 768px) {
    .container-split { flex-direction: column; height: auto; min-height: 100vh; }
    header.main-header { padding: 1.5rem; position: relative; background: #231f20; }
    .split { padding: 4rem 1rem; }
    /* .split .content padding removed */
    .container-split:has(.split:hover) .split { flex: 1; }
    footer.main-footer { position: relative; }
}

/* =========================================
   PAGE: BHP (bhp.html)
   ========================================= */
.page-bhp {
    background-color: var(--color-light);
    font-family: var(--font-main);
    color: var(--color-dark);
}

/* Fixed header anchor offset */
.page-bhp section[id] {
    scroll-margin-top: 100px;
}

.page-bhp h1, .page-bhp h2, .page-bhp h3, .page-bhp h4 {
    font-family: var(--font-heading);
    color: var(--color-dark);
}

.page-bhp p { color: #4a4a4a; margin-bottom: var(--space-md); }
.page-bhp a { text-decoration: none; color: inherit; transition: var(--transition-speed) var(--transition-ease); }
.page-bhp ul { list-style: none; }

.page-bhp .container {
    max-width: 1200px; /* Standardized max-width */
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: block;
    height: auto;
}

.page-bhp .highlight { 
    position: relative; 
    z-index: 1; 
    background-image: linear-gradient(rgba(130, 195, 66, 0.3), rgba(130, 195, 66, 0.3));
    background-size: 100% 35%;
    background-repeat: no-repeat;
    background-position: 0 85%;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}
.page-bhp .highlight::after {
    display: none;
}

.page-bhp .text-center { text-align: center; }
.page-bhp .grid { display: grid; gap: 2rem; }

/* Buttons BHP */
.page-bhp .btn {
    display: inline-block;
    padding: 16px 36px; /* Increased from 14px 32px */
    font-weight: 700;
    border-radius: 50px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.05rem; /* Increased from 1rem */
}

.page-bhp .btn-primary {
    background-color: var(--color-dark);
    color: var(--color-light);
    position: relative;
    overflow: hidden;
}

.page-bhp .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(35, 31, 32, 0.2);
    border-bottom: 3px solid var(--color-lime);
}

.page-bhp .btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-dark);
    color: var(--color-dark);
}

.page-bhp .btn-secondary:hover {
    background-color: var(--color-dark);
    color: var(--color-white) !important;
}

/* Header BHP */
.page-bhp > header {
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.98); /* Slight transparency */
    backdrop-filter: blur(5px);
    position: fixed; /* Changed from sticky to fixed */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

/* Compensate for fixed header */
body.page-bhp {
    padding-top: 85px; /* Height of header + padding */
}

.page-bhp > header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-bhp .logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.page-bhp .logo-icon { height: 55px; width: auto; }
.page-bhp .logo-text { height: 65px; width: auto; }

.page-bhp .desktop-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.page-bhp .desktop-menu a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-dark);
}

.page-bhp .desktop-menu a:hover {
    color: var(--accent-lime);
}

.page-bhp .desktop-menu .btn-nav {
    padding: 12px 28px; /* Increased from 10px 24px */
    font-size: 1rem; /* Increased from 0.9rem */
}

/* Hero BHP */
.page-bhp .hero {
    padding: 60px 0 100px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.page-bhp .hero-content h1 { font-size: 3.5rem; margin-bottom: 1.5rem; }
.page-bhp .hero-content h2 {
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-body);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.page-bhp .hero-image { position: relative; }
.page-bhp .image-wrapper {
    background-color: #e5e5e5;
    border-radius: var(--border-radius) 50px var(--border-radius) var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    aspect-ratio: 4/5;
    position: relative;
}

.page-bhp .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d3d3d3 0%, #f0f0f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 1.5rem;
    font-family: 'Playfair Display';
}

.page-bhp .hero-decoration {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border: 3px solid var(--accent-lime);
    border-radius: 50%;
    z-index: -1;
}

/* Diagnosis BHP */
.page-bhp .diagnosis { padding: 80px 0; background-color: var(--color-white); }
.page-bhp .diagnosis-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 3rem; }
.page-bhp .diagnosis-card {
    padding: 2rem;
    border-left: 4px solid var(--color-lime);
    background: var(--color-light);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.page-bhp .diagnosis-card h3 { font-family: var(--font-main); font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }

/* Solution BHP */
.page-bhp .solution { padding: 100px 0; scroll-margin-top: 100px; }
.page-bhp .solution-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.page-bhp .card {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-speed) var(--transition-ease);
    border-top: 4px solid transparent;
}

.page-bhp .card:hover { transform: translateY(-5px); border-top: 4px solid var(--color-lime); }
.page-bhp .icon-box { width: 60px; height: 60px; margin-bottom: 1.5rem; }
.page-bhp .icon-box svg { width: 100%; height: 100%; stroke: var(--color-dark); stroke-width: 1.5; fill: none; }
.page-bhp .icon-box .lime-dot { fill: var(--color-lime); stroke: none; }
.page-bhp .motto { text-align: center; margin-top: 4rem; font-size: 1.5rem; font-family: var(--font-heading); font-style: italic; }

.page-bhp .card.company-offer-card {
    display: flex;
    flex-direction: column;
}

.page-bhp .card.company-offer-card p { margin-bottom: 24px; }

.page-bhp .company-offer-label {
    display: inline-flex;
    margin-bottom: 10px;
    color: #628f2d;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.page-bhp .company-offer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--color-dark);
    font-weight: 700;
    text-decoration: none;
}

.page-bhp .company-offer-link span { color: #6fa832; transition: transform 0.2s ease; }
.page-bhp .company-offer-link:hover span { transform: translateX(4px); }

/* Footer BHP */
.page-bhp .responsive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 50px;
    margin-bottom: 40px;
}

/* Benefits BHP */
.page-bhp .benefits { 
    padding: 80px 0; 
    background-color: #111111; /* Deep black/gray, removing any brown tint */
    color: var(--color-light); 
    text-align: center; 
}
.page-bhp .benefits h2 { 
    color: #ffffff; 
    margin-bottom: 1rem; 
}
.page-bhp .benefits p { 
    color: #ffffff !important; /* Pure white for max readability */
    opacity: 0.9;
    font-weight: 400;
}
.page-bhp .benefit-row { display: flex; justify-content: center; margin-top: 3rem; flex-wrap: wrap; gap: 2rem; }
.page-bhp .benefit-item { flex: 1; min-width: 250px; max-width: 350px; }
.page-bhp .benefit-item h3 { color: var(--color-lime); margin-bottom: 1rem; font-size: 1.5rem; }

/* About BHP */
.page-bhp .about { padding: 100px 0; display: grid; grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: center; scroll-margin-top: 100px; }
.page-bhp .about-quote { font-size: 1.2rem; font-style: italic; border-left: 3px solid var(--accent-lime); padding-left: 1.5rem; margin-top: 2rem; color: var(--primary-dark); }

/* Pricing BHP */
.page-bhp .pricing {
    padding: 80px 0 120px; /* Extra padding at bottom to prevent overlap */
    background-color: var(--bg-organic);
}

.page-bhp .pricing-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    align-items: stretch; /* Ensure cards stretch to full height */
}

.page-bhp .price-card {
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    height: 100%; /* Fill the grid cell */
}

.page-bhp .price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--accent-lime);
    z-index: 2; /* Bring above others on hover */
}

/* Featured card specific scaling */
.page-bhp .price-card.featured {
    border: 2px solid var(--accent-lime);
    transform: scale(1.05);
    z-index: 1;
}

.page-bhp .price-card.featured:hover {
    transform: scale(1.08);
    z-index: 3;
}

.page-bhp .price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.page-bhp .price-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-lime);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.page-bhp .price-card .price span {
    font-size: 1rem;
    font-family: 'Lato', sans-serif;
    color: #999;
    font-weight: 400;
}

.page-bhp .price-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Push the button and list to the bottom */
.page-bhp .price-card .price-list {
    margin-bottom: 2rem;
    flex-grow: 1; /* Occupy available space */
}

.page-bhp .price-card .btn {
    margin-top: auto; /* Align button to bottom */
    width: 100%;
    text-align: center;
}

.page-bhp .badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-lime);
    color: var(--primary-dark);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Pricing List Styling */
.page-bhp .price-list {
    text-align: left;
    margin: 2rem 0;
    padding: 0;
    list-style: none;
}

.page-bhp .price-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
}

.page-bhp .price-list li::before {
    content: '✓';
    color: var(--accent-lime);
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2rem;
    line-height: 1;
}

/* Solution Cards (Offer Section) Improvements */
.page-bhp .solution-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    align-items: stretch;
}

.page-bhp .card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-bhp .card p {
    margin-bottom: 0; /* Remove default margin to let flex handle spacing if needed */
}

/* Responsive Adjustments for Cards */
@media (max-width: 1024px) {
    .page-bhp .pricing-table,
    .page-bhp .solution-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* On tablet, reset the scale so it doesn't look weird in a 2-col grid */
    .page-bhp .price-card.featured {
        transform: scale(1);
    }
    .page-bhp .price-card.featured:hover {
        transform: translateY(-10px);
    }
}

    @media (max-width: 768px) {
        .page-bhp .desktop-menu { display: none !important; }
        .page-bhp .hamburger-btn { display: block !important; }
        .page-bhp > header nav { padding: 0 15px; }
        
        /* Logo sizing for mobile */
        .page-bhp .logo-text { display: block; height: 35px; }
        .page-bhp .logo-icon { height: 30px; }

        /* Hero Section Fix */
        .page-bhp .hero {
            grid-template-columns: 1fr !important;
            text-align: center;
            gap: 3rem;
            padding-top: 40px;
            padding-bottom: 60px;
        }
        
        .page-bhp .hero-image {
            order: -1; /* Image first on mobile */
            width: 100%;
            max-width: 350px;
            margin: 0 auto;
        }

        .page-bhp .hero-content h1 {
            font-size: 2.2rem; /* Smaller font for mobile */
            line-height: 1.2;
            margin-top: 2rem; /* Increased top margin */
            margin-bottom: 2rem; /* Increased bottom margin */
        }
        
        .page-bhp .hero-content h2 {
            font-size: 1rem;
            margin: 0 auto 3rem; /* Increased margin */
        }

        /* Grid & Layout Stacking (Crucial for "Tragic" layout fix) */
        .page-bhp .grid,
        .page-bhp .diagnosis-grid,
        .page-bhp .solution-cards,
        .page-bhp .pricing-table,
        .page-bhp .about {
            grid-template-columns: 1fr !important;
            gap: 2rem;
        }
        
        /* Diagnosis Cards */
        .page-bhp .diagnosis-card {
            border-left: none;
            border-top: 4px solid var(--accent-lime);
            border-radius: var(--border-radius);
        }

        /* Pricing & Offer Cards */
        .page-bhp .price-card, 
        .page-bhp .card {
            width: auto; /* Let margin control width */
            margin: 0 10px; /* Visible side edges */
            height: auto !important; /* Reset height so content defines it */
        }

        .page-bhp .pricing {
            padding-bottom: 60px;
        }
        
        /* About Section Image */
        .page-bhp .about .image-wrapper {
            width: 100%;
            max-width: 100%;
            height: auto;
            aspect-ratio: 1/1;
        }

        .page-bhp .about {
            text-align: left !important; /* Force left alignment */
        }
    
    /* Footer Stack */
    .page-bhp footer .responsive-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        text-align: center;
    }
    
    .page-bhp footer h2 {
        font-size: 2rem !important;
    }
}

/* Contact Form Select Styling */.page-bhp .contact-form select {
    width: 100%; 
    margin-bottom: 10px; 
    padding: 15px; 
    border-radius: 8px; 
    background: rgba(255,255,255,0.1); 
    border: 1px solid rgba(255,255,255,0.2); 
    color: white;
    appearance: none; /* Remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    cursor: pointer;
}

.page-bhp .contact-form select:focus {
    outline: none;
    border-color: var(--accent-lime);
    background-color: rgba(255,255,255,0.15);
}

.page-bhp .contact-form select option {
    background-color: #231f20;
    color: #fff;
    padding: 10px;
}
    
.footer-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
    font-size: 0.85em;
    opacity: 0.8;
    vertical-align: middle;
}
.footer-author span { color: inherit; }
.footer-author img {
    height: 14px; /* Modified */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
    opacity: 0.7; /* Added */
}
.footer-author a:hover img { transform: scale(1.1); }
footer.main-footer .footer-author {
    margin-left: 0;
    display: flex;
    justify-content: center;
    margin-top: 5px;
}

/* =========================================
   PAGE: CONTACT (kontakt.html)
   ========================================= */
.page-contact {
    --primary-dark: #231f20;
    --accent-lime: #82c342;
    --bg-organic: #f9f9f7;
    --bg-white: #ffffff;
    --text-body: #4a4a4a;
    --border-radius: 12px;
    
    background-color: var(--bg-organic);
    font-family: 'Lato', sans-serif;
    color: var(--primary-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-contact header {
    padding: 1rem 0;
    background-color: var(--bg-white);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

.page-contact nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
}

.page-contact .logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.page-contact .logo-icon { height: 55px; width: auto; }
.page-contact .logo-text { height: 65px; width: auto; }

.page-contact .desktop-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}
.page-contact .desktop-menu a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.3s;
}
.page-contact .desktop-menu a:hover { color: var(--accent-lime); }

.page-contact .btn-nav {
    border: 2px solid var(--primary-dark);
    padding: 10px 24px;
    border-radius: 50px;
    background: transparent;
    white-space: nowrap;
}
.page-contact .btn-nav:hover {
    background: var(--primary-dark);
    color: #fff !important;
}

/* Spacing & Grid Fixes for Mobile */
@media (max-width: 768px) {
    .page-bhp .container {
        padding: 0 40px !important; /* Increased from 30px */
    }

    .page-bhp .hero,
    .page-bhp .diagnosis,
    .page-bhp .solution,
    .page-bhp .benefits,
    .page-bhp .about,
    .page-bhp section#kontakt {
        padding: 50px 0 !important; 
    }

    .page-bhp .responsive-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .page-bhp .solution-cards {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .page-bhp .diagnosis-grid {
        gap: 20px !important;
    }

    .page-bhp .motto {
        font-size: 1.2rem !important;
        margin-top: 2rem;
        padding: 0 10px;
    }

    .page-bhp .about {
        text-align: center;
    }

    .page-bhp .about-quote {
        margin-top: 1.5rem;
        text-align: left;
    }
}

/* =========================================
   MOBILE RESPONSIVENESS FIXES
   ========================================= */

/* Prevent horizontal scroll globally */
html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* Fix Form Inputs on Mobile */
input, select, textarea, button {
    max-width: 100%;
    box-sizing: border-box; /* Ensure padding doesn't add width */
}

/* BHP Footer Responsive Layout */
.footer-container {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 30px; 
    margin-bottom: 20px;
}

.footer-contact-group {
    display: flex; 
    gap: 30px; 
    flex-wrap: wrap;
}

.footer-socials {
    display: flex; 
    gap: 20px;
}

@media (max-width: 768px) {
    /* Stack footer elements vertically on mobile */
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }

    .footer-contact-group {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    
    .footer-socials {
        width: 100%;
        justify-content: flex-start; /* Align left to match others */
    }

    /* Fix long emails breaking layout */
    .footer-contact-group a {
        word-break: break-word;
        font-size: 1rem;
    }
}

/* =========================================
   PREMIUM MOBILE MENU (UNIFIED)
   ========================================= */

/* Body Scroll Lock */
body.no-scroll {
    overflow: hidden;
}

/* Menu Overlay - Side Drawer Style */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(35, 31, 32, 0.95); /* #231f20 with opacity */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

/* Close Button Position */
.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    z-index: 10000;
}

.mobile-menu-close:hover {
    background-color: rgba(255,255,255,0.1);
}

.mobile-menu-close::before,
.mobile-menu-close::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #fff;
    transition: transform 0.3s ease;
}

.mobile-menu-close::before { transform: rotate(45deg); }
.mobile-menu-close::after { transform: rotate(-45deg); }
.mobile-menu-close:hover::before { transform: rotate(135deg); }
.mobile-menu-close:hover::after { transform: rotate(45deg); }

/* BHP Mobile Menu Overrides */
.page-bhp .mobile-menu-overlay {
    background-color: rgba(130, 195, 66, 0.95); /* More opaque BHP Green */
    backdrop-filter: blur(20px) saturate(140%); /* Stronger blur, slightly less saturation */
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.page-bhp .mobile-nav-link {
    color: var(--color-bhp-text);
}

.page-bhp .mobile-nav-link::after {
    background-color: var(--color-bhp-text);
}

.page-bhp .mobile-menu-close::before,
.page-bhp .mobile-menu-close::after {
    background-color: var(--color-bhp-text);
}

/* Menu Links Container */
.mobile-nav-list {
    list-style: none;
    text-align: center;
    padding: 0;
    margin: 0;
}

/* Individual Links */
.mobile-nav-item {
    margin: 20px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

/* Staggered Animation Delay when Active */
.mobile-menu-overlay.active .mobile-nav-item:nth-child(1) { transition-delay: 0.1s; opacity: 1; transform: translateY(0); }
.mobile-menu-overlay.active .mobile-nav-item:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateY(0); }
.mobile-menu-overlay.active .mobile-nav-item:nth-child(3) { transition-delay: 0.3s; opacity: 1; transform: translateY(0); }
.mobile-menu-overlay.active .mobile-nav-item:nth-child(4) { transition-delay: 0.4s; opacity: 1; transform: translateY(0); }

.mobile-nav-link {
    font-family: var(--font-serif, 'Playfair Display', serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.mobile-nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 50%;
    background-color: var(--accent-lime, #82c342);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.mobile-nav-link:hover {
    color: var(--accent-lime, #82c342);
}

.mobile-nav-link:hover::after {
    width: 100%;
}

/* Hamburger Button (Universal) */
.hamburger-btn {
    display: none; /* Hidden on Desktop by default */
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
    z-index: 2000; /* Ensure it's above everything */
    padding: 0;
}

/* ... existing hamburger lines styles ... */

.hamburger-lines {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--primary-dark, #231f20);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.hamburger-lines::before,
.hamburger-lines::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: var(--primary-dark, #231f20);
    left: 0;
    transition: all 0.3s ease;
}

.hamburger-lines::before { top: -8px; }
.hamburger-lines::after { top: 8px; }

/* Responsive Trigger */
@media (max-width: 768px) {
    .hamburger-btn { display: block; }
    /* Hide desktop menu in respective parent classes if not already hidden */
}

/* BHP Mobile Menu Specifics */
.page-bhp .mobile-nav-link:hover {
    color: #fff; /* Fix invisible green on green */
    opacity: 0.8;
}

.page-bhp .mobile-nav-link::after {
    background-color: #fff; /* White underline instead of green */
}

/* BHP Mobile Menu Contact Button */
.page-bhp .mobile-nav-list li:last-child a {
    background-color: #fff;
    color: var(--accent-lime) !important;
    padding: 10px 25px;
    border-radius: 50px;
    margin-top: 10px;
    font-size: 1.5rem; /* Slightly smaller than main links */
}

.page-bhp .mobile-nav-list li:last-child a:hover {
    background-color: var(--primary-dark);
    color: #fff !important;
}

.page-bhp .mobile-nav-list li:last-child a::after {
    display: none; /* Remove underline for button */
}

/* --- BHP MOBILE UX/UI IMPROVEMENTS --- */
@media (max-width: 768px) {
    .page-bhp .hero-content h2 {
        font-size: 1.25rem !important; /* Bigger subtitle */
        line-height: 1.5;
        margin-bottom: 2rem;
    }
    
    .page-bhp p, 
    .page-bhp .card p, 
    .page-bhp .diagnosis-card p,
    .page-bhp .about p,
    .page-bhp .benefit-item p {
        font-size: 1rem !important; /* 16px base size for readability */
        line-height: 1.6;
    }

    .page-bhp .btn {
        padding: 16px 32px !important; /* Balanced padding */
        width: fit-content !important; /* Not stretched anymore */
        margin: 0 auto !important; /* Centered */
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.05rem !important;
    }

    /* Better spacing for cards */
    .page-bhp .solution-cards,
    .page-bhp .pricing-table,
    .page-bhp .diagnosis-grid {
        gap: 3rem !important; /* Clearer separation */
    }

    .page-bhp .card, 
    .page-bhp .diagnosis-card {
        padding: 2rem 1.5rem; /* Comfortable padding */
    }

    /* Prevent Hero Image from dominating and fix scaling */
    .page-bhp .hero {
        padding-top: 2rem !important;
        padding-bottom: 4rem !important;
        gap: 2rem !important;
    }
    
    .page-bhp .hero-content {
        order: 1; /* Content first */
    }
    
    .page-bhp .hero-image {
        order: 2; /* Image second */
        margin-bottom: 0;
        max-width: 100%;
        width: 100%;
    }

    /* Fix Image Wrappers on Mobile to stop cropping */
    .page-bhp .image-wrapper {
        aspect-ratio: auto !important; /* Reset forced aspect ratios */
        height: auto !important;
        max-width: 100% !important;
        border-radius: 12px;
    }

    .page-bhp .image-wrapper img {
        width: 100%;
        height: auto !important;
        object-fit: contain !important; /* Ensure full image is visible */
        max-height: 400px; /* Prevent being too tall */
        object-position: top center;
    }
}

/* Contact Content */
.contact-main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.contact-main .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.contact-info p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 3rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    color: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--accent-lime);
}

.info-item .icon {
    width: 50px;
    height: 50px;
    background: var(--bg-organic);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-lime);
    flex-shrink: 0;
}

.info-item .text {
    display: flex;
    flex-direction: column;
}

.info-item .label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #999;
    letter-spacing: 1px;
    font-weight: 700;
}

.info-item .value {
    font-size: 1.2rem;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-dark);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-lime);
    color: #fff;
    transform: translateY(-3px);
}

.contact-form-wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.page-contact .form-group {
    margin-bottom: 20px;
}

.page-contact input,
.page-contact textarea,
.page-contact select {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    background: #fcfcfc;
    transition: all 0.3s ease;
}

.page-contact input:focus,
.page-contact textarea:focus,
.page-contact select:focus {
    outline: none;
    border-color: var(--accent-lime);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(130, 195, 66, 0.1);
}

.page-contact .btn-primary {
    background: var(--primary-dark);
    color: #fff;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.page-contact .btn-primary:hover {
    background: var(--accent-lime);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(130, 195, 66, 0.3);
}

/* Custom Select styling (arrow) */
.page-contact select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23231f20' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    cursor: pointer;
}

@media (max-width: 900px) {
    .contact-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
        align-items: center; /* Center horizontally */
    }
    .contact-info {
        text-align: center;
        width: 100%;
        max-width: 500px;
    }
    .contact-info h1 { font-size: 2.5rem; margin-bottom: 1rem; }
    
    .info-items {
        align-items: center; /* Center items in flex col */
    }
    
    .info-item { 
        justify-content: flex-start; /* Icon left, text right inside item */
        text-align: left; 
        width: 100%;
        max-width: 400px; /* Limit width */
        margin: 0 auto; /* Center the item itself */
    }
    
    .social-links { justify-content: center; }
    
    .contact-form-wrapper {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .contact-main { padding: 40px 0; }
    .contact-form-wrapper { padding: 25px; }
}

/* =========================================
   INDEX VIEW SWITCHER
   ========================================= */
.desktop-view {
    display: block;
}

.mobile-view {
    display: none;
}

@media (max-width: 768px) {
    /* Hide Desktop View on Mobile */
    body.page-index .desktop-view {
        display: none !important;
    }
    
    /* Show Mobile View */
    body.page-index .mobile-view {
        display: flex !important;
        flex-direction: column;
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
        background: #1a1a1a;
    }

    /* Reset global padding for mobile index */
    body.page-index {
        padding: 0 !important;
        overflow: hidden !important;
    }

    /* --- MOBILE SPLIT SCREEN STYLES (From v2) --- */
    
    .mobile-view .split-container {
        flex: 1; 
        width: 100%;
        display: flex;
        flex-direction: column;
        position: relative;
    }

    .mobile-view .panel {
        position: relative;
        flex: 1; /* Start at 50/50 */
        transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        overflow: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        cursor: pointer;
        padding: 20px;
        touch-action: none; 
        -webkit-tap-highlight-color: transparent;
    }

    /* Background Colors Only (Images Removed) */
    .mobile-view .panel::before {
        content: '';
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        z-index: 0;
        transition: transform 0.7s ease, filter 0.5s ease;
    }

    .mobile-view .panel-bhp::before {
        background: linear-gradient(rgba(130, 195, 66, 1), rgba(130, 195, 66, 0.8));
    }

    .mobile-view .panel-ins::before {
        background: linear-gradient(rgba(230, 224, 213, 1), rgba(230, 224, 213, 0.8));
    }

    /* States Logic */
    .mobile-view .split-container.state-top .panel-bhp { flex: 4; }
    .mobile-view .split-container.state-top .panel-ins { flex: 1; }

    .mobile-view .split-container.state-bottom .panel-bhp { flex: 1; }
    .mobile-view .split-container.state-bottom .panel-ins { flex: 4; }

    /* Effects on Inactive */
    .mobile-view .split-container.state-top .panel-ins::before,
    .mobile-view .split-container.state-bottom .panel-bhp::before {
        filter: brightness(0.8);
    }

    /* Content */
    .mobile-view .content {
        position: relative;
        z-index: 10;
        opacity: 1;
        transition: all 0.4s ease;
        max-width: 320px;
        pointer-events: none;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mobile-view h2 {
        font-family: 'Playfair Display', serif;
        font-size: 2.2rem;
        margin-bottom: 0.5rem;
        color: #1a1a1a;
        line-height: 1.1;
        transition: all 0.4s ease;
    }
    
    .mobile-view .subtitle {
        text-transform: uppercase;
        letter-spacing: 2px;
        font-size: 0.8rem;
        font-weight: 700;
        margin-bottom: 10px;
        display: block;
        color: #1a1a1a;
        transition: all 0.4s ease;
    }

    .mobile-view p.desc {
        font-size: 1.1rem;
        margin-bottom: 25px;
        line-height: 1.4;
        max-height: 200px;
        overflow: hidden;
        opacity: 1;
        transition: all 0.5s ease;
        color: #1a1a1a;
    }

    .mobile-view .btn {
        display: inline-block;
        padding: 14px 35px !important;
        background: #1a1a1a;
        color: #fff;
        text-decoration: none;
        border-radius: 30px;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 0.9rem !important;
        letter-spacing: 1px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: translateY(0);
        transition: all 0.4s ease;
        pointer-events: auto;
        width: auto !important;
        margin: 0 !important;
    }

    /* Animations */
    @keyframes btn-pulse {
        0% { transform: scale(1); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
        50% { transform: scale(1.05); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }
        100% { transform: scale(1); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
    }

    /* Active Button Pulse */
    .mobile-view .split-container.state-top .panel-bhp .btn,
    .mobile-view .split-container.state-bottom .panel-ins .btn {
        animation: btn-pulse 2s infinite ease-in-out;
    }

    /* Styling Inactive States: Show ONLY Button, Hide everything else */
    /* Bottom Panel when Top is active */
    .mobile-view .split-container.state-top .panel-ins h2 { display: none; }
    .mobile-view .split-container.state-top .panel-ins .subtitle { display: none; }
    .mobile-view .split-container.state-top .panel-ins p.desc { display: none; }
    .mobile-view .split-container.state-top .panel-ins .btn { 
        padding: 10px 20px !important; 
        font-size: 0.75rem !important; 
        opacity: 0.9;
        margin-top: 0 !important;
    }

    /* Top Panel when Bottom is active */
    .mobile-view .split-container.state-bottom .panel-bhp h2 { display: none; }
    .mobile-view .split-container.state-bottom .panel-bhp .subtitle { display: none; }
    .mobile-view .split-container.state-bottom .panel-bhp p.desc { display: none; }
    .mobile-view .split-container.state-bottom .panel-bhp .btn { 
        padding: 10px 20px !important; 
        font-size: 0.75rem !important; 
        opacity: 0.9;
        margin-top: 0 !important;
    }

    /* Separator Handle */
    .mobile-view .split-separator {
        height: 0;
        width: 100%;
        position: relative;
        z-index: 50;
        overflow: visible; 
    }

    .mobile-view .handle-wrapper {
        position: absolute;
        top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        width: 70px;
        height: 70px;
        pointer-events: none;
        z-index: 50;
    }

    .mobile-view .handle-btn {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        background: #ffffff;
        color: #1a1a1a;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 10px 30px rgba(0,0,0,0.25);
        pointer-events: auto;
        cursor: pointer;
        transition: transform 0.2s ease-out;
        position: relative;
        overflow: hidden;
    }

    .mobile-view .handle-btn:active { transform: scale(0.9); }

    /* Icons */
    .mobile-view .handle-icon {
        position: absolute;
        transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .mobile-view .icon-logo {
        width: 55%; height: auto; opacity: 1; transform: scale(1);
    }

    .mobile-view .icon-close {
        width: 40%; height: auto; opacity: 0; transform: scale(0) rotate(-90deg); color: #1a1a1a;
    }

    /* Active State Icons */
    .mobile-view .split-container.state-top .icon-logo,
    .mobile-view .split-container.state-bottom .icon-logo {
        opacity: 0; transform: scale(0);
    }

    .mobile-view .split-container.state-top .icon-close,
    .mobile-view .split-container.state-bottom .icon-close {
        opacity: 1; transform: scale(1) rotate(0deg);
    }

    /* Mobile Footer */
    .mobile-view .main-footer {
        position: relative;
        width: 100%;
        padding: 10px 20px;
        background: rgba(35, 31, 32, 1);
        z-index: 100;
        display: flex;
        justify-content: center;
        align-items: center;
        color: rgba(255,255,255,0.7);
        font-size: 0.7rem;
        flex-shrink: 0;
        bottom: auto; left: auto;
    }
}

/* =========================================
   PAGE: GENERALI (Native CSS Conversion)
   ========================================= */
.page-generali {
    /* Restore local variables mapped to System Tokens */
    --gen-lime: var(--color-lime);
    --gen-lime-hover: var(--color-lime-hover);
    --gen-dark: var(--color-dark);
    --gen-bg: var(--color-light);
    --gen-white: var(--color-white);
    
    background-color: var(--color-light);
    color: var(--color-dark);
    font-family: var(--font-main);
    /* overflow-x handled globally */
    position: relative;
    width: 100%;
}

/* --- UTILS & TYPOGRAPHY --- */
:is(.page-generali, .company-product-page) .gen-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    position: relative;
}

:is(.page-generali, .company-product-page) h1,
:is(.page-generali, .company-product-page) h2,
:is(.page-generali, .company-product-page) h3 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    line-height: 1.1;
}

:is(.page-generali, .company-product-page) .text-lime { color: var(--color-lime); }
:is(.page-generali, .company-product-page) .bg-lime { background-color: var(--color-lime); }
:is(.page-generali, .company-product-page) .bg-dark { background-color: var(--color-dark); }

/* --- DECORATIVE BLOBS --- */
.blob-wrapper {
    position: fixed; /* Fixed to viewport so it doesn't scroll/expand page */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden; /* Clip blobs */
    z-index: 0; /* Behind content */
    pointer-events: none;
}

.gen-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}
.gen-blob-1 { top: 0; right: 0; width: 400px; height: 400px; background: rgba(130, 195, 66, 0.2); transform: translate(30%, -30%); }
.gen-blob-2 { bottom: 0; left: 0; width: 300px; height: 300px; background: #e5e5e5; transform: translate(-30%, 30%); }

/* --- NAVIGATION --- */
.gen-nav {
    position: fixed;
    width: 100vw;
    max-width: 100%;
    top: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: padding 0.3s ease;
}

.gen-nav.scrolled { padding: 10px 0; }

.gen-nav-inner {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 12px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.gen-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.gen-logo img { height: 40px; width: auto; transition: transform 0.3s; }
.gen-nav .gen-logo .logo-signet { height: 55px; width: auto; }
.gen-nav .gen-logo .logo-text { height: 65px; width: auto; }
.gen-logo:hover img { transform: scale(1.05); }

@media (max-width: 1200px) {
    .page-bhp .logo-icon,
    .page-contact .logo-icon,
    .gen-nav .gen-logo .logo-signet { height: 30px; }

    .page-bhp .logo-text,
    .page-contact .logo-text,
    .gen-nav .gen-logo .logo-text { display: block; height: 35px; }
}

.gen-menu { display: flex; gap: 30px; list-style: none; }
.gen-menu a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.gen-menu a:hover { color: var(--color-lime); }

.gen-nav-btn {
    background-color: var(--color-lime);
    color: var(--color-dark);
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(130, 195, 66, 0.3);
}
.gen-nav-btn:hover { transform: translateY(-2px); background-color: var(--color-lime-hover); }

/* --- HERO SECTION --- */
.gen-hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.gen-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.gen-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(130, 195, 66, 0.15);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}
.gen-hero-badge span { width: 8px; height: 8px; background: var(--color-lime); border-radius: 50%; }

.gen-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    font-weight: 800;
}
.gen-hero-underline {
    position: relative;
    display: inline-block;
}
.gen-hero-underline svg {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 10px;
    color: var(--color-lime);
}

.gen-hero p {
    font-size: 1.15rem;
    color: #666;
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.6;
}

.gen-hero-actions { display: flex; gap: 20px; align-items: center; }
.gen-social-proof { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; font-weight: 500; color: #555; }
.gen-avatars { display: flex; margin-right: 5px; }
.gen-avatars img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; margin-left: -10px; object-fit: cover; }
.gen-avatars img:first-child { margin-left: 0; }
.gen-avatars .count {
    width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; margin-left: -10px;
    background: var(--color-lime); display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700;
}

/* Hero Card */
.gen-hero-card {
    background: #fff;
    padding: 30px;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    z-index: 10;
}
.gen-hero-card:hover { transform: rotate(0deg); }

.gen-card-header { display: flex; gap: 15px; align-items: center; margin-bottom: 25px; }
.gen-card-icon {
    width: 48px; height: 48px; background: #FFF0F0; color: #DC2626;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.gen-check-item {
    display: flex; gap: 12px; align-items: center;
    background: #F9FAFB; padding: 12px; border-radius: 12px; margin-bottom: 10px;
}
.gen-check-item.solved {
    background: rgba(130, 195, 66, 0.1); border: 1px solid var(--color-lime); margin-top: 20px;
}

/* --- PROBLEMS SECTION --- */
.gen-section { padding: 100px 0; }

.gen-section-header { margin-bottom: 60px; max-width: 700px; }
.gen-section-header h2 { font-size: 3rem; margin-bottom: 15px; font-weight: 700; }
.gen-section-header p { font-size: 1.2rem; color: #666; }

.gen-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 24px;
}

.gen-card {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}
.gen-card:hover { transform: translateY(-5px); }

.gen-card.large { grid-column: span 2; position: relative; overflow: hidden; }
.gen-card.dark { background: var(--color-dark); color: #fff; justify-content: space-between; }
.gen-card.highlight { background: var(--color-lime); grid-column: span 2; box-shadow: var(--shadow-lg); }

.gen-card h3 { font-size: 1.5rem; margin-bottom: 15px; font-weight: 700; }
.gen-card p { line-height: 1.6; opacity: 0.8; }

.gen-quote { font-size: 1.8rem; font-weight: 700; line-height: 1.3; margin-bottom: 20px; position: relative; z-index: 2; }
.gen-card-icon-lg { width: 40px; height: 40px; margin-bottom: 20px; color: var(--color-lime); }

/* --- PROCESS SECTION --- */
.gen-process { background: #fff; position: relative; overflow: hidden; }
.gen-step { display: flex; gap: 60px; align-items: center; margin-bottom: 80px; position: relative; z-index: 2; }
.gen-step:last-child { margin-bottom: 0; }

.gen-step-num {
    width: 64px; height: 64px; background: var(--color-light); border: 4px solid #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.2rem; color: var(--color-dark);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); flex-shrink: 0;
}
.gen-step.step-2 .gen-step-num { background: var(--color-lime); }
.gen-step.step-3 .gen-step-num { background: var(--color-dark); color: #fff; }

.gen-step-content { flex: 1; }
.gen-step-content h3 { font-size: 1.8rem; margin-bottom: 10px; font-weight: 700; }

/* Scroll Line */
.gen-line {
    position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
    background: linear-gradient(to bottom, transparent, var(--color-lime), transparent);
    transform: translateX(-50%); z-index: 1;
}

/* --- ABOUT SECTION --- */
.gen-about-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.gen-about-img {
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/5;
    background: #ddd; /* placeholder color */
}
.gen-about-img img { width: 100%; height: 100%; object-fit: cover; }
.gen-about-bg {
    position: absolute; inset: 0; background: var(--color-lime);
    border-radius: 40px; transform: rotate(3deg) translate(15px, 15px); z-index: -1;
}

.gen-testimonial {
    border-left: 4px solid var(--color-lime);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
}

/* --- CONTACT FORM --- */
.gen-contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 30px;
    padding: 60px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
/* .gen-contact-deco removed per user request regarding footer gradient confusion */

.gen-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.gen-input-group label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 0.9rem; }
.gen-input {
    width: 100%; padding: 14px 20px; border: 1px solid #ddd; border-radius: 8px;
    font-family: var(--font-main); font-size: 1rem; transition: all 0.3s;
    background-color: #fff; /* Ensure white background */
}
.gen-input:focus { border-color: var(--color-lime); outline: none; box-shadow: 0 0 0 3px rgba(130, 195, 66, 0.1); }

.gen-radio-group { display: flex; flex-direction: column; gap: 12px; }
.gen-radio-label {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px; border: 1px solid #eee; border-radius: 8px;
    cursor: pointer; transition: all 0.2s;
}
.gen-radio-label:hover { border-color: var(--color-lime); background: rgba(130, 195, 66, 0.05); }
.gen-radio-label input { width: auto; margin: 0; accent-color: var(--color-lime); }

.gen-submit-btn {
    width: 100%; background: var(--color-lime); color: var(--color-dark);
    border: none; padding: 18px; border-radius: 12px; font-weight: 800; font-size: 1.1rem;
    cursor: pointer; transition: all 0.3s; margin-top: 20px;
    display: flex; justify-content: center; align-items: center; gap: 10px;
}
.gen-submit-btn:hover { background: var(--color-lime-hover); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(130, 195, 66, 0.3); }

/* --- FOOTER --- */
.gen-footer { 
    background: var(--color-dark); /* Force dark background */
    color: #fff; 
    padding: 80px 0 30px; 
    position: relative; 
    z-index: 10; 
}
.gen-footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 50px; margin-bottom: 60px; padding-bottom: 60px; }
.gen-footer-links { list-style: none; }
.gen-footer-links li { margin-bottom: 12px; }
.gen-footer-links a { color: #999; text-decoration: none; transition: color 0.3s; }
.gen-footer-links a:hover { color: var(--color-lime); }
.gen-footer-col h4 { margin-bottom: 20px; font-weight: 700; color: #fff; }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .gen-cards-grid { grid-template-columns: 1fr 1fr; }
    .gen-card.large, .gen-card.highlight { grid-column: span 2; }
}

    @media (max-width: 768px) {
        .page-generali .desktop-menu { display: none; }
        
        .gen-nav {
            padding: 15px 0; /* Keep the floating look */
        }

        .gen-nav-inner { 
            padding: 10px 20px; 
            margin: 0 15px;
            width: auto; /* Let margin define width */
            box-sizing: border-box;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .gen-nav .gen-menu, .gen-nav .gen-nav-btn { display: none; }
        
        #universal-menu-btn { 
            display: block !important; 
            margin-left: auto;
        }
        
        .gen-hero-grid { grid-template-columns: 1fr; gap: 40px; }
        .gen-hero { padding-top: 120px; text-align: center; }
        .gen-hero p { margin: 0 auto 40px; }
        .gen-hero-actions { justify-content: center; flex-direction: column; }
        .gen-hero-card { transform: rotate(0); margin: 0 20px; }

        .gen-section-header h2 { font-size: 2rem; }
        
        .gen-cards-grid { grid-template-columns: 1fr; }
        .gen-card.large, .gen-card.highlight { grid-column: span 1; }
        
        /* --- PROCESS SECTION REPAIR --- */
        .gen-process .gen-container {
            padding-left: 10px;
            padding-right: 10px;
        }

        .gen-step { 
            flex-direction: row !important; 
            text-align: left !important; 
            gap: 20px; 
            margin-bottom: 40px;
            align-items: flex-start;
            position: relative;
        }

        /* Ukrywamy puste spacery */
        .gen-step-content.gen-opacity-0, 
        .gen-step-content:empty {
            display: none !important;
        }

        /* Numerek zawsze pierwszy */
        .gen-step-num {
            order: 1;
            width: 45px; height: 45px;
            font-size: 1rem;
            flex-shrink: 0;
            z-index: 2;
            margin: 0 !important; /* Reset margin */
            background: #fff; /* Tło żeby linia nie przecinała numerka */
            position: relative;
        }

        /* Treść zawsze druga */
        .gen-step-content {
            order: 2;
            text-align: left !important;
            opacity: 1 !important;
            display: block !important;
            flex: 1;
            padding-top: 5px; /* Wyrównanie optyczne z numerkiem */
        }

        .gen-step-content h3 {
            font-size: 1.3rem;
            margin-bottom: 8px;
        }

        .gen-step-content p {
            font-size: 0.95rem !important;
            opacity: 0.8;
        }

        /* Linia łącząca */
        .gen-line {
            left: 22.5px !important; /* Środek numerka (45px / 2) */
            transform: none !important; /* Reset transform translate -50% */
            width: 2px;
            opacity: 0.2;
            background: linear-gradient(to bottom, var(--gen-lime), var(--gen-lime)); /* Stały kolor na mobile dla czytelności */
        }
        
        .gen-about-grid { grid-template-columns: 1fr; }
        .gen-about-img { order: -1; max-width: 400px; margin: 0 auto; }
        
        .gen-form-grid { grid-template-columns: 1fr; }
        .gen-contact-wrapper { padding: 30px 20px; }
    }

/* =========================================
   REFACTORED UTILITIES (ADDED DURING AUDIT)
   ========================================= */

/* --- FOOTER UTILS --- */
.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    margin: 0;
    font-size: 0.8rem;
    color: #888;
}

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

.footer-author-text {
    font-size: 0.8rem;
    color: #888;
}

.footer-shelp-logo {
    height: 20px;
    width: auto;
    filter: sepia(100%) hue-rotate(180deg) saturate(300%) brightness(70%);
    transition: filter 0.3s ease;
}

.footer-shelp-logo:hover {
    filter: none;
}

/* --- BHP PAGE REFACTOR --- */
.page-bhp .hero-img-fill {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-bhp .trust-badge-hero {
    margin-left: 0;
    align-self: flex-start;
}

.page-bhp .contact-section-dark {
    background-color: #231f20;
    color: #ffffff;
    padding: 60px 20px;
    font-family: 'Manrope', sans-serif;
}

.page-bhp .contact-heading {
    font-size: 2.5rem;
    line-height: 1.2;
    color: white;
}

.page-bhp .contact-subheading {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.page-bhp .input-dark {
    width: 100%;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}

.page-bhp .btn-lime-submit {
    background-color: #82c342;
    color: #231f20;
    width: 100%;
    border: none;
    font-weight: bold;
}

.page-bhp .footer-dark {
    background-color: #231f20;
    color: #ffffff;
    padding: 40px 0 20px;
    font-family: 'Manrope', sans-serif;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.page-bhp .footer-link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
}

.page-bhp .footer-icon-lime {
    color: #82c342;
    flex-shrink: 0;
}

.page-bhp .footer-social-icon {
    color: #82c342;
}

.shelp-logo-small {
    height: 14px;
    vertical-align: middle;
    opacity: 0.7;
}

/* --- GENERALI PAGE REFACTOR --- */
.gen-progress-container {
    background: #eee;
    height: 8px;
    border-radius: 10px;
    overflow: hidden;
}

.gen-progress-bar {
    width: 25%;
    background: #F87171;
    height: 100%;
}

.gen-nav-btn-right {
    margin-left: auto;
}

.gen-hero-link {
    padding: 16px 32px;
    font-size: 1.1rem;
}

.gen-card-subtitle {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 0;
}

.gen-card-title-sm {
    font-weight: 700;
    margin: 0;
    color: #231f20;
}

.gen-card-desc-sm {
    font-size: 0.9rem;
    opacity: 0.7;
}

.gen-text-alert {
    color: #DC2626;
}

.gen-card-svg-dim {
    opacity: 0.5;
}

.gen-card-text-xs {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.gen-card-meta {
    font-size: 0.75rem;
    text-align: right;
    margin-top: 5px;
    color: #999;
}

.gen-section-subtitle {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.gen-process-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.gen-step-right {
    text-align: right;
}

.gen-opacity-0 {
    opacity: 0;
}

.gen-about-text {
    margin-top: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
}

.gen-testimonial-author {
    font-size: 0.8rem;
    color: #666;
    margin-top: 10px;
}

.gen-partner-wrapper {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.gen-partner-label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.gen-partner-name {
    font-size: 1.2rem;
}

.gen-contact-header {
    margin-bottom: 40px;
    text-align: center;
}

.gen-contact-privacy {
    text-align: center;
    font-size: 0.8rem;
    color: #999;
    margin-top: 15px;
}

.gen-footer-logo-wrapper {
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.gen-footer-desc {
    max-width: 300px;
    color: #999;
    font-size: 0.9rem;
}

.gen-footer-link-flex {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gen-footer-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #999;
}

/* --- KONTAKT PAGE REFACTOR --- */

/* Contact Page Responsive */
@media (max-width: 1024px) {
    .page-contact .desktop-menu { display: none; }
    .page-contact .hamburger-btn { display: block; }
    .page-contact nav { padding: 0 20px; }
    .page-contact .logo-text { display: block; height: 35px; }
}

@media (max-width: 768px) {
    .page-contact header { padding: 0.5rem 0; }
    .page-contact .logo-icon { height: 30px; }
    .page-contact .logo-text { height: 35px; }
}

/* =========================================
   RODO / COOKIE BANNER
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    color: var(--color-dark);
    padding: 15px 40px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 10000;
    display: none; /* Hidden by default */
    border-top: 4px solid var(--color-lime);
    animation: slideUp 0.5s ease-out forwards;
    
    /* Flex layout for bar look */
    display: flex; /* Override JS display:block later, but set flexible structure */
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-content {
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0; /* Reset margin for bar layout */
}

.cookie-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 700;
    display: inline-block;
    margin-right: 10px;
}

.cookie-content p {
    display: inline;
    margin: 0;
}

.cookie-content a {
    color: var(--color-dark);
    text-decoration: underline;
    font-weight: 600;
    white-space: nowrap;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* Buttons sizing for banner */
.btn-cookie {
    padding: 8px 16px;
    border-radius: 4px; /* More rectangular for bar look */
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    text-decoration: none;
    text-align: center;
    font-family: var(--font-main);
    white-space: nowrap;
}

.btn-cookie-accept {
    background-color: var(--color-lime);
    color: var(--color-dark);
    border-color: var(--color-lime);
}
.btn-cookie-accept:hover {
    background-color: var(--color-lime-hover);
    border-color: var(--color-lime-hover);
}

.btn-cookie-settings {
    background-color: transparent;
    border-color: #ccc;
    color: #666;
}
.btn-cookie-settings:hover {
    border-color: var(--color-dark);
    color: var(--color-dark);
}

.btn-cookie-reject {
    background-color: transparent;
    border-color: var(--color-dark);
    color: var(--color-dark);
}
.btn-cookie-reject:hover {
    background-color: var(--color-dark);
    color: #fff;
}

/* --- PREFERENCES MODAL --- */
.cookie-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
    z-index: 10001;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-overlay.open {
    display: flex;
    opacity: 1;
}

.cookie-modal {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    padding: 30px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.cookie-modal h3 {
    font-family: var(--font-heading);
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 2px solid var(--color-light);
    padding-bottom: 15px;
}

.cookie-option {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.cookie-option-text {
    flex: 1;
    padding-right: 20px;
}

.cookie-option-text h4 {
    font-family: var(--font-main);
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.cookie-option-text p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

/* Toggle Switch */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--color-lime);
}

input:disabled + .slider {
    background-color: #999;
    opacity: 0.5;
    cursor: not-allowed;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.cookie-modal-actions {
    margin-top: 30px;
    text-align: right;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* Mobile Compact Layout */
@media (max-width: 900px) {
    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 25px; /* Increased gap between text and buttons */
    }
    
    .cookie-content h3 {
        display: block; /* Stack heading on mobile */
        margin-bottom: 8px;
    }
    
    .cookie-buttons {
        width: 100%;
        justify-content: space-between;
        gap: 8px;
    }
    
    .btn-cookie {
        flex: 1;
        padding: 10px 5px;
        font-size: 0.8rem;
    }
}

@media (max-width: 600px) {
    .cookie-content {
        font-size: 0.85rem;
    }
    .cookie-buttons {
        flex-wrap: wrap;
    }
    .btn-cookie-accept {
        width: 100%; /* Make accept prominent on very small screens */
        order: -1;
    }
    .btn-cookie-settings, .btn-cookie-reject {
        flex: 1;
    }
    .cookie-modal {
        padding: 20px;
    }
}

/* =========================================
   UX FORM STYLES (2026 UPDATE)
   ========================================= */

/* Kontener pola (dla pozycjonowania komunikat�w) */
.form-group, .gen-input-group {
    position: relative;
    margin-bottom: 25px; /* Wi�cej miejsca na komunikat b��du */
}

/* Stan b��du inputa */
input.input-error, select.input-error, textarea.input-error {
    border-color: #ff4d4d !important;
    background-color: #fff0f0 !important;
    animation: shake 0.4s ease-in-out;
}

/* Komunikat b��du pod polem */
.field-error-msg {
    display: block;
    font-size: 0.8rem;
    color: #ff4d4d;
    position: absolute;
    bottom: -20px;
    left: 0;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.field-error-msg.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animacja trz�sienia przy b��dzie */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Sukces / Status box */
.form-status-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
    display: none; /* Ukryty domy�lnie */
}

.form-status-message.visible {
    opacity: 1;
    transform: translateY(0);
    display: block;
}

.form-status-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-status-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Loading state na przycisku */
button.btn-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

button.btn-loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.8s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}


/* =========================================
   FIX FOR DARK MODE FORMS (BHP / CONTACT)
   ========================================= */

/* Poprawka widoczno�ci b��du na ciemnym tle */
input.input-dark.input-error, 
select.input-dark.input-error, 
textarea.input-dark.input-error {
    border-color: #ff6b6b !important; /* Ja�niejsza czerwie� */
    background-color: #2a1515 !important; /* Ciemne t�o z czerwon� nut� */
    color: #fff !important; /* Bia�y tekst, �eby by� czytelny */
}

/* Kolor tekstu komunikatu b��du na ciemnym tle */
.contact-form .field-error-msg,
.contact-section-dark .field-error-msg {
    color: #ff8787 !important; /* Jasna pastelowa czerwie� */
    margin-top: 5px;
    position: relative; /* Zmiana z absolute na relative, �eby zrobi� miejsce */
    bottom: auto;
    left: auto;
    transform: none;
}

/* Je�li formularz jest w gridzie, upewnij si�, �e komunikat ma miejsce */
.contact-form .select-wrapper {
    margin-bottom: 0; /* Wrapper ma margin-bottom z .form-group */
}

/* Fix dla selecta w wrapperze */
.select-wrapper select.input-error {
    color: #fff !important;
}

/* FIX: Animation for 5th and 6th menu items (previously invisible) */
.mobile-menu-overlay.active .mobile-nav-item:nth-child(5) { transition-delay: 0.5s; opacity: 1; transform: translateY(0); }
.mobile-menu-overlay.active .mobile-nav-item:nth-child(6) { transition-delay: 0.6s; opacity: 1; transform: translateY(0); }


/* =========================================
   CUSTOM EDITOR STYLES (JODIT)
   ========================================= */
.custom-quote {
    border-left: 5px solid #82c342;
    background: #fdfdfd;
    padding: 15px 20px;
    margin: 20px 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-radius: 0 8px 8px 0;
    font-size: 1.15rem;
    font-style: italic;
    color: #333;
}

.custom-bullets {
    list-style: none !important;
    padding-left: 0;
    margin-bottom: 20px;
}
.custom-bullets li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
}
.custom-bullets li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #82c342;
    font-size: 1.2rem;
    font-weight: bold;
}

.custom-highlight {
    background: linear-gradient(120deg, rgba(130,195,66,0.3) 0%, rgba(130,195,66,0.1) 100%);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}


/* ### nowe
*/
/* ====== Artykuły blogowe ====== */

.blog-article{
    max-width:900px;
    margin:auto;
    line-height:1.8;
    color:#333;
}

.blog-article h2{
    color:#154c79;
    margin-bottom:20px;
    font-size:2rem;
}

.blog-article h3{
    color:#154c79;
    margin-top:0;
}

.blog-article p{
    margin-bottom:18px;
}

/* Cytat / najważniejsze zdanie */

.blog-article .quote-callout{
    background:#eef6ff;
    border-left:6px solid #1f5fbf;
    padding:20px 24px;
    margin:30px 0;
    border-radius:8px;
    font-size:clamp(1.2rem, calc(1.08rem + .4vw), 1.38rem);
    line-height:1.65;
    font-weight:500;
}

.blog-article .quote-callout p{
    font-size:inherit;
    line-height:inherit;
}

.blog-article .quote-callout p:last-child{
    margin-bottom:0;
}

/* Niebieskie informacje */

.info-box{
    background:#f4f8ff;
    border-left:5px solid #1f5fbf;
    padding:20px 24px;
    margin:35px 0;
    border-radius:8px;
}

/* Żółte ostrzeżenia */

.warning-box{
    background:#fff8e8;
    border:1px solid #f0d37a;
    padding:20px 24px;
    margin:35px 0;
    border-radius:8px;
}

/* Zielone CTA */

.cta-box{
    background:#eef8ef;
    border-left:5px solid #2e7d32;
    padding:22px 24px;
    margin:35px 0;
    border-radius:8px;
}

/* Listy */

.blog-article ul,
.blog-article ol{
    padding-left:24px;
}

.blog-article li{
    margin-bottom:15px;
}

/* Linki */

.blog-article a{
    color:#1565c0;
    text-decoration:none;
    font-weight:600;
}

.blog-article a:hover{
    text-decoration:underline;
}

/* Hashtagi */

.article-tags{
    margin-top:30px;
    color:#777;
    font-size:.95rem;
}

/* Telefon */

.phone{
    font-size:1.1rem;
    font-weight:bold;
}

/* Responsywność */

@media(max-width:768px){

.blog-article h2{
    font-size:1.6rem;
}

.blog-article .quote-callout{
    padding:18px;
}

.info-box,
.warning-box,
.cta-box{
    padding:18px;
}

}

.blog-article h2{
    color:#154c79;
    font-size:2rem;
    border-bottom:3px solid #1f5fbf;
    padding-bottom:12px;
    margin-bottom:30px;
}

.info-box,
.warning-box,
.cta-box{

    box-shadow:0 5px 18px rgba(0,0,0,.06);

    transition:.25s;

}

.info-box:hover,
.warning-box:hover,
.cta-box:hover{

    transform:translateY(-2px);

    box-shadow:0 10px 25px rgba(0,0,0,.09);

}

.contact-grid{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    margin-top:20px;
}

/* =========================================
   INSURANCE CATALOG & PRODUCT PAGES
   ========================================= */

/* Shared FAQ styles (used on the main insurance page and product pages) */
:is(.page-generali, .company-product-page) .gen-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

:is(.page-generali, .company-product-page) .gen-faq-item {
    background: var(--color-white);
    border: 1px solid rgba(35, 31, 32, 0.07);
    border-left: 4px solid var(--color-sand);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: border-left-color 0.3s ease, transform 0.3s ease;
}

:is(.page-generali, .company-product-page) .gen-faq-item:hover {
    border-left-color: var(--color-lime);
    transform: translateY(-2px);
}

:is(.page-generali, .company-product-page) .gen-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 1.35rem 1.5rem;
    color: var(--color-dark);
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
}

:is(.page-generali, .company-product-page) .gen-faq-item summary::-webkit-details-marker { display: none; }

:is(.page-generali, .company-product-page) .gen-faq-item summary::after {
    content: '+';
    flex: 0 0 auto;
    color: var(--color-lime);
    font-size: 1.5rem;
    line-height: 1;
}

:is(.page-generali, .company-product-page) .gen-faq-item[open] summary::after { content: '−'; }

:is(.page-generali, .company-product-page) .gen-faq-content {
    margin: 0 1.5rem;
    padding: 1rem 0 1.5rem;
    border-top: 1px solid #eeeeee;
    color: #555555;
    font-size: 0.96rem;
    line-height: 1.7;
}

/* Main insurance catalog */
.insurance-catalog-section {
    position: relative;
    z-index: 2;
    background: #ffffff;
}

.insurance-catalog-intro {
    max-width: 850px;
    margin-bottom: 70px;
}

.insurance-catalog-intro h2 {
    max-width: 760px;
    margin: 12px 0 18px;
    font-size: clamp(2.4rem, 5vw, 4rem);
}

.insurance-catalog-intro > p {
    max-width: 760px;
    color: #666666;
    font-size: 1.15rem;
    line-height: 1.7;
}

.insurance-catalog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.insurance-catalog-meta span {
    padding: 9px 14px;
    border: 1px solid rgba(130, 195, 66, 0.28);
    border-radius: 999px;
    background: rgba(130, 195, 66, 0.08);
    color: #555555;
    font-size: 0.84rem;
}

.insurance-catalog-meta strong { color: var(--color-dark); }

.insurance-catalog-group { margin-top: 66px; }

.insurance-catalog-group:first-of-type { margin-top: 0; }

.insurance-catalog-group-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(35, 31, 32, 0.1);
}

.insurance-catalog-group-heading h3 {
    margin-bottom: 6px;
    font-size: 1.8rem;
}

.insurance-catalog-group-heading p {
    max-width: 650px;
    color: #777777;
    line-height: 1.6;
}

.insurance-catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.insurance-catalog-card {
    min-height: 330px;
    padding: 28px;
    border: 1px solid rgba(35, 31, 32, 0.07);
    border-radius: 22px;
    background: #fbfbf9;
    color: var(--color-dark);
    box-shadow: 0 10px 32px rgba(35, 31, 32, 0.05);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.insurance-catalog-card:hover {
    transform: translateY(-7px);
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(35, 31, 32, 0.11);
}

.insurance-catalog-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 32px;
}

.insurance-catalog-icon {
    width: 48px;
    height: 48px;
    padding: 11px;
    border-radius: 15px;
    background: rgba(130, 195, 66, 0.13);
    color: var(--color-lime-hover);
}

.insurance-catalog-icon svg { width: 100%; height: 100%; }

.insurance-catalog-arrow {
    color: #9a9a9a;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.insurance-catalog-card:hover .insurance-catalog-arrow {
    color: var(--color-lime-hover);
    transform: translate(3px, -3px);
}

.insurance-catalog-card h4 {
    margin-bottom: 12px;
    font-family: var(--font-heading);
    font-size: 1.45rem;
    line-height: 1.18;
}

.insurance-catalog-card p {
    margin-bottom: 22px;
    color: #666666;
    font-size: 0.94rem;
    line-height: 1.62;
}

.insurance-catalog-card strong {
    margin-top: auto;
    color: var(--color-dark);
    font-size: 0.9rem;
}

.insurance-catalog-card strong span { color: var(--color-lime-hover); }

.insurance-catalog-note {
    max-width: 920px;
    margin: 65px auto 0;
    padding: 22px 26px;
    border-left: 4px solid var(--color-lime);
    border-radius: 0 14px 14px 0;
    background: var(--color-light);
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.65;
}

/* Product landing pages */
.insurance-product-page main {
    position: relative;
    z-index: 2;
}

.insurance-product-page .gen-section { padding: 92px 0; }

.insurance-hero {
    position: relative;
    overflow: hidden;
    padding: 148px 0 92px;
}

.insurance-hero::after {
    content: '';
    position: absolute;
    z-index: -1;
    top: 80px;
    right: -160px;
    width: 540px;
    height: 540px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(130, 195, 66, 0.18), rgba(130, 195, 66, 0) 68%);
}

.insurance-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: #8a8a8a;
    font-size: 0.82rem;
}

.insurance-breadcrumb a {
    color: #666666;
    text-decoration: none;
}

.insurance-breadcrumb a:hover { color: var(--color-lime-hover); }

.insurance-return-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 48px;
}

.insurance-return-link {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 12px 18px 12px 12px;
    border: 1px solid rgba(35, 31, 32, 0.09);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 8px 24px rgba(35, 31, 32, 0.05);
    color: var(--color-dark);
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.insurance-return-link:hover {
    border-color: rgba(130, 195, 66, 0.7);
    box-shadow: 0 12px 28px rgba(35, 31, 32, 0.09);
    transform: translateY(-2px);
}

.insurance-return-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(130, 195, 66, 0.16);
    color: #4f741f;
    font-size: 1.15rem;
    font-weight: 900;
}

.insurance-return-link small,
.insurance-return-link strong { display: block; }

.insurance-return-link small {
    margin-bottom: 2px;
    color: #777777;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.insurance-return-link strong { font-size: 0.94rem; }

.insurance-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.75fr);
    gap: 70px;
    align-items: center;
}

.insurance-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: #4f741f;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.insurance-eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-lime);
}

.insurance-hero-copy h1 {
    max-width: 780px;
    margin-bottom: 25px;
    font-size: clamp(3rem, 6vw, 5.2rem);
    letter-spacing: -0.035em;
}

.insurance-hero-copy > p {
    max-width: 690px;
    color: #656565;
    font-size: 1.16rem;
    line-height: 1.75;
}

.insurance-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 36px;
}

.insurance-primary-cta { padding: 16px 28px; }

.insurance-text-link {
    color: var(--color-dark);
    font-weight: 700;
    text-decoration: none;
}

.insurance-text-link:hover { color: var(--color-lime-hover); }

.insurance-hero-panel {
    position: relative;
    padding: 38px;
    border: 1px solid rgba(35, 31, 32, 0.06);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-lg);
}

.insurance-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-lime-hover);
}

.insurance-icon-large {
    width: 72px;
    height: 72px;
    margin-bottom: 28px;
    padding: 17px;
    border-radius: 22px;
    background: rgba(130, 195, 66, 0.12);
}

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

.insurance-panel-label {
    color: #777777;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.insurance-check-list {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.insurance-check-list li {
    position: relative;
    padding: 15px 0 15px 34px;
    border-top: 1px solid #eeeeee;
    color: #444444;
    font-size: 0.96rem;
    line-height: 1.5;
}

.insurance-check-list li::before {
    content: '✓';
    position: absolute;
    top: 15px;
    left: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(130, 195, 66, 0.14);
    color: #5d8c25;
    font-size: 0.8rem;
    font-weight: 900;
    line-height: 22px;
    text-align: center;
}

.insurance-intro { background: #ffffff; }

.insurance-narrow { max-width: 900px !important; text-align: center; }

.insurance-narrow h2 {
    margin: 12px 0 22px;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
}

.insurance-narrow p {
    color: #626262;
    font-size: 1.16rem;
    line-height: 1.8;
}

.insurance-benefits { background: #f4f5f0; }

.insurance-section-heading {
    max-width: 720px;
    margin-bottom: 48px;
}

.insurance-section-heading h2 {
    margin: 11px 0 14px;
    font-size: clamp(2.3rem, 4.5vw, 3.7rem);
}

.insurance-section-heading > p {
    color: #6c6c6c;
    font-size: 1.08rem;
    line-height: 1.7;
}

.insurance-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.insurance-benefit-card {
    min-height: 300px;
    padding: 32px;
    border: 1px solid rgba(35, 31, 32, 0.06);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(35, 31, 32, 0.05);
}

.insurance-card-number {
    display: block;
    margin-bottom: 55px;
    color: var(--color-lime-hover);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.insurance-benefit-card h3 { margin-bottom: 14px; font-size: 1.4rem; }

.insurance-benefit-card p { color: #666666; font-size: 0.94rem; line-height: 1.65; }

.insurance-scope { background: #ffffff; }

.insurance-scope-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.insurance-scope-card {
    padding: 52px;
    border: 1px solid rgba(35, 31, 32, 0.06);
    border-radius: 28px;
    background: var(--color-light);
}

.insurance-scope-card h2 {
    margin: 14px 0 30px;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.insurance-scope-card-dark { background: var(--color-dark); color: #ffffff; }
.insurance-scope-card-dark h2 { color: #ffffff; }

.insurance-detail-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.insurance-detail-list li {
    position: relative;
    padding: 14px 0 14px 30px;
    border-top: 1px solid rgba(35, 31, 32, 0.1);
    line-height: 1.55;
}

.insurance-detail-list li::before {
    content: '✓';
    position: absolute;
    top: 14px;
    left: 0;
    color: var(--color-lime-hover);
    font-weight: 900;
}

.insurance-scope-card-dark .insurance-detail-list li { border-color: rgba(255, 255, 255, 0.12); }
.insurance-scope-card-dark .insurance-detail-list li::before { color: var(--color-lime); }

.insurance-process { background: #f4f5f0; }

.insurance-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.insurance-process-grid li {
    min-height: 260px;
    padding: 34px;
    border-radius: 22px;
    background: #ffffff;
}

.insurance-process-grid li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 46px;
    border-radius: 50%;
    background: var(--color-lime);
    color: var(--color-dark);
    font-weight: 900;
}

.insurance-process-grid h3 { margin-bottom: 12px; font-size: 1.35rem; }
.insurance-process-grid p { color: #686868; font-size: 0.94rem; line-height: 1.65; }

.insurance-conditions { background: var(--color-dark); color: #ffffff; }

.insurance-conditions-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.8fr);
    gap: 70px;
    align-items: center;
}

.insurance-conditions h2 {
    margin: 13px 0 18px;
    color: #ffffff;
    font-size: clamp(2.3rem, 4.5vw, 3.6rem);
}

.insurance-conditions-grid > div > p {
    max-width: 670px;
    color: #bcbcbc;
    font-size: 1.05rem;
    line-height: 1.7;
}

.insurance-detail-list-alert { margin-top: 30px; }

.insurance-detail-list-alert li { border-color: rgba(255, 255, 255, 0.12); color: #e1e1e1; }

.insurance-detail-list-alert li::before { content: '!'; color: var(--color-lime); }

.insurance-preparation-card {
    padding: 40px;
    border: 1px solid rgba(163, 198, 57, 0.35);
    border-radius: 26px;
    background: #ffffff;
    color: var(--color-dark);
}

.insurance-status-dot {
    display: block;
    width: 12px;
    height: 12px;
    margin-bottom: 18px;
    border: 3px solid rgba(130, 195, 66, 0.25);
    border-radius: 50%;
    background: var(--color-lime);
    box-sizing: content-box;
}

.insurance-preparation-card h3 { margin: 12px 0 16px; font-size: 1.7rem; }

.insurance-preparation-intro,
.insurance-preparation-note {
    color: #666666;
    font-size: 0.94rem;
    line-height: 1.7;
}

.insurance-preparation-list {
    display: grid;
    gap: 12px;
    margin: 20px 0;
    padding: 0;
    list-style: none;
}

.insurance-preparation-list li {
    position: relative;
    padding-left: 27px;
    color: #4f4f4f;
    font-size: 0.92rem;
    line-height: 1.6;
}

.insurance-preparation-list li::before {
    content: '✓';
    position: absolute;
    top: 0;
    left: 0;
    color: var(--color-lime);
    font-weight: 900;
}

.insurance-preparation-note { margin-bottom: 0; }

.insurance-consultation-cta {
    margin-top: 25px;
    padding: 20px;
    border: 1px solid rgba(130, 195, 66, 0.35);
    border-radius: 14px;
    background: rgba(130, 195, 66, 0.07);
}

.insurance-consultation-cta p {
    margin: 0 0 16px;
    color: #555555;
    font-size: 0.9rem;
    line-height: 1.65;
}

.insurance-consultation-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    border: 1px solid var(--color-lime);
    border-radius: 10px;
    background: var(--color-lime);
    color: #16200f;
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.insurance-consultation-cta a:hover { background: #91d248; transform: translateY(-1px); }

.insurance-related { background: #ffffff; }

.insurance-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.insurance-related-card {
    min-height: 220px;
    padding: 30px;
    border: 1px solid rgba(35, 31, 32, 0.08);
    border-radius: 20px;
    background: var(--color-light);
    color: var(--color-dark);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.insurance-related-card:hover { transform: translateY(-5px); border-color: var(--color-lime); }

.insurance-related-card > span {
    color: var(--color-lime-hover);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.insurance-related-card h3 { margin: 26px 0 20px; font-size: 1.4rem; line-height: 1.25; }
.insurance-related-card strong { margin-top: auto; font-size: 0.88rem; }
.insurance-related-card strong span { color: var(--color-lime-hover); }

.insurance-faq { background: #f4f5f0; }

.insurance-faq-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
    gap: 70px;
    align-items: start;
}

.insurance-faq-intro {
    position: sticky;
    top: 120px;
}

.insurance-faq-intro h2 {
    margin: 12px 0 18px;
    font-size: clamp(2.3rem, 4vw, 3.4rem);
}

.insurance-faq-intro p { color: #6a6a6a; line-height: 1.7; }

.insurance-contact { background: transparent; }

.insurance-contact .gen-contact-header h2 {
    margin: 12px 0 14px;
    font-size: clamp(2.2rem, 4vw, 3.3rem);
}

.insurance-contact .gen-contact-header p { color: #6a6a6a; line-height: 1.7; }

.gen-input-group-full { grid-column: 1 / -1; }

.insurance-textarea { min-height: 120px; resize: vertical; line-height: 1.6; }

.insurance-contact .gen-contact-privacy a { color: #5e8f27; font-weight: 700; }

.insurance-more { background: #f4f5f0; }

.insurance-more-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.45fr);
    gap: 54px;
    align-items: end;
    padding-bottom: 46px;
    border-bottom: 1px solid rgba(35, 31, 32, 0.1);
}

.insurance-more-intro h2 {
    max-width: 790px;
    margin: 12px 0 18px;
    font-size: clamp(2.3rem, 4.6vw, 3.7rem);
}

.insurance-more-intro p {
    max-width: 800px;
    color: #666666;
    font-size: 1.04rem;
    line-height: 1.75;
}

.insurance-more-actions {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
}

.insurance-more-primary { padding: 15px 24px; text-align: center; }

.insurance-more-groups {
    display: flex;
    flex-direction: column;
    gap: 54px;
    margin-top: 54px;
}

.insurance-more-group-heading {
    display: grid;
    grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
    gap: 32px;
    align-items: baseline;
    margin-bottom: 22px;
}

.insurance-more-group-heading h3 {
    margin: 0;
    font-size: 1.55rem;
}

.insurance-more-group-heading p {
    margin: 0;
    color: #6a6a6a;
    font-size: 0.92rem;
    line-height: 1.6;
}

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

.insurance-more-card {
    display: flex;
    flex-direction: column;
    min-height: 230px;
    padding: 24px;
    border: 1px solid rgba(35, 31, 32, 0.07);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(35, 31, 32, 0.045);
    color: var(--color-dark);
    text-decoration: none;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.insurance-more-card:hover {
    border-color: rgba(130, 195, 66, 0.75);
    box-shadow: 0 16px 34px rgba(35, 31, 32, 0.09);
    transform: translateY(-4px);
}

.insurance-more-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    padding: 11px;
    border-radius: 15px;
    background: rgba(130, 195, 66, 0.13);
    color: #5d8c25;
}

.insurance-more-icon svg { width: 100%; height: 100%; }

.insurance-more-card-copy,
.insurance-more-card-copy > strong,
.insurance-more-card-copy > span { display: block; }

.insurance-more-card-copy > strong {
    margin-bottom: 9px;
    font-size: 1.04rem;
    line-height: 1.3;
}

.insurance-more-card-copy > span {
    color: #6a6a6a;
    font-size: 0.84rem;
    line-height: 1.55;
}

.insurance-more-card-cta {
    display: block;
    margin-top: auto;
    padding-top: 20px;
    color: #4f741f;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.insurance-disclaimer {
    padding: 24px 0;
    border-top: 1px solid #e4e4e4;
    background: #eeeeea;
}

.insurance-disclaimer p {
    color: #6d6d6d;
    font-size: 0.75rem;
    line-height: 1.65;
}

.insurance-disclaimer a { color: #527b25; font-weight: 700; }

/* BHP service landing pages */
.bhp-service-hero {
    background: linear-gradient(135deg, #f8f9f5 0%, #ffffff 58%, #f2f7eb 100%);
}

.bhp-service-experience-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    max-width: 760px;
    margin-top: 28px;
    padding: 20px 22px;
    border-left: 4px solid var(--color-lime);
    border-radius: 0 14px 14px 0;
    background: rgba(130, 195, 66, 0.1);
}

.bhp-service-experience-note > span {
    display: inline-flex;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-lime);
    color: var(--color-dark);
    font-size: 0.82rem;
    font-weight: 900;
}

.bhp-service-experience-note p {
    margin: 2px 0 0;
    color: #555b50;
    line-height: 1.7;
}

.bhp-service-experience-note strong { color: var(--color-dark); }

.bhp-legal-single { grid-template-columns: minmax(0, 1fr); }

.bhp-legal-single > div { max-width: 980px; }

.bhp-service-modes {
    background: #151515;
}

.bhp-service-page .bhp-service-modes .insurance-section-heading h2,
.bhp-service-page .bhp-service-modes .insurance-section-heading > p {
    color: #ffffff;
}

.bhp-service-page .bhp-service-modes .insurance-section-heading > p {
    max-width: 850px;
    color: rgba(255, 255, 255, 0.72);
}

.bhp-service-mode-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 46px;
}

.bhp-service-mode-card {
    min-height: 260px;
    padding: 38px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 22px;
    background: #ffffff;
}

.bhp-service-mode-card > span {
    display: block;
    margin-bottom: 38px;
    color: #6fa832;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.bhp-service-page .bhp-service-mode-card h3 {
    margin-bottom: 14px;
    color: var(--color-dark);
    font-size: 1.65rem;
}

.bhp-service-page .bhp-service-mode-card p {
    margin: 0;
    color: #5f5f5f;
    line-height: 1.7;
}

.bhp-service-mode-card-featured {
    border-color: var(--color-lime);
    background: var(--color-lime);
}

.bhp-service-mode-card-featured > span { color: #2f4319; }

.bhp-service-page .bhp-service-mode-card-featured p { color: #2f351f; }

.bhp-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.insurance-product-page a:focus-visible,
.insurance-product-page summary:focus-visible,
.insurance-product-page button:focus-visible,
.insurance-catalog-card:focus-visible {
    outline: 3px solid rgba(130, 195, 66, 0.65);
    outline-offset: 4px;
}

@media (max-width: 1100px) {
    .insurance-catalog-grid,
    .insurance-benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .insurance-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr); gap: 40px; }
    .insurance-conditions-grid { gap: 42px; }
    .insurance-more-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
    .insurance-product-page .gen-section { padding: 72px 0; }

    .insurance-catalog-group-heading { align-items: flex-start; flex-direction: column; gap: 12px; }

    .insurance-hero { padding: 122px 0 70px; }
    .insurance-breadcrumb { margin-bottom: 16px; }
    .insurance-return-nav { align-items: flex-start; flex-direction: column; margin-bottom: 38px; }
    .insurance-hero-grid,
    .insurance-scope-grid,
    .insurance-conditions-grid,
    .insurance-faq-grid,
    .insurance-more-intro { grid-template-columns: 1fr; }

    .insurance-hero-copy { text-align: left; }
    .insurance-hero-copy h1 { font-size: clamp(2.65rem, 12vw, 4.2rem); }
    .insurance-hero-copy > p { margin: 0; }
    .insurance-hero-actions { align-items: flex-start; flex-direction: column; }

    .insurance-scope-card { padding: 38px 30px; }
    .insurance-process-grid { grid-template-columns: 1fr; }
    .insurance-process-grid li { min-height: 0; }
    .insurance-process-grid li > span { margin-bottom: 28px; }
    .insurance-related-grid { grid-template-columns: 1fr; }
    .insurance-related-card { min-height: 190px; }
    .insurance-faq-intro { position: static; }
    .insurance-more-intro { gap: 28px; }
    .insurance-more-group-heading { grid-template-columns: 1fr; gap: 8px; }
    .insurance-more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bhp-service-mode-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .insurance-catalog-grid,
    .insurance-benefit-grid,
    .insurance-more-grid { grid-template-columns: 1fr; }

    .insurance-catalog-card { min-height: 0; }
    .insurance-catalog-meta { align-items: flex-start; flex-direction: column; }

    .insurance-hero-panel { padding: 28px 24px; }
    .insurance-benefit-card { min-height: 0; }
    .insurance-card-number { margin-bottom: 34px; }
    .insurance-scope-card { padding: 32px 24px; }
    .insurance-preparation-card { padding: 30px 24px; }

    .insurance-product-page .gen-contact-wrapper { padding: 34px 20px; }
    .insurance-product-page .gen-form-grid { gap: 20px; }
    .insurance-return-link { width: 100%; }
    .insurance-more-card { min-height: 0; }
}

.contact-item{
    flex:1;
    min-width:220px;
}

.affiliate-button{
    display:inline-block;
    margin-top:15px;
    padding:14px 22px;
    background:#1f5fbf;
    color:#fff !important;
    border-radius:8px;
    text-decoration:none;
    font-weight:700;
    transition:.25s;
}

.affiliate-button:hover{
    background:#154c79;
    text-decoration:none;
    transform:translateY(-2px);
}

.icon-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.icon-list-item {
    list-style: none !important;
    margin-bottom: 15px;
}

.icon-list-item::marker {
    content: "" !important;
}

/* =========================================
   MAIN INSURANCE PAGE — EDITORIAL SECTIONS
   ========================================= */
.insurance-section-heading {
    max-width: 820px;
    margin-bottom: 52px;
}

.insurance-section-heading h2 {
    margin: 8px 0 18px;
}

.insurance-section-heading > p {
    margin: 0;
    color: #5b5b5b;
    font-size: 1.05rem;
    line-height: 1.75;
}

.insurance-guide-section { background: #ffffff; }

.insurance-advice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.insurance-advice-card {
    min-height: 270px;
    padding: 34px 30px;
    border: 1px solid rgba(35, 31, 32, 0.09);
    border-radius: 18px;
    background: #f8f9f6;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.insurance-advice-card:hover {
    transform: translateY(-4px);
    border-color: rgba(130, 195, 66, 0.55);
    box-shadow: 0 18px 45px rgba(26, 31, 22, 0.08);
}

.insurance-advice-card > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 40px;
    border-radius: 50%;
    background: rgba(130, 195, 66, 0.14);
    color: #527b25;
    font-family: 'Manrope', sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
}

.insurance-advice-card h3,
.insurance-gap-card h3 {
    margin: 0 0 13px;
    color: var(--color-dark);
    font-size: 1.35rem;
}

.insurance-advice-card p,
.insurance-gap-card p {
    margin: 0;
    color: #5b5b5b;
    line-height: 1.68;
}

.insurance-guide-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 22px;
    padding: 28px 32px;
    border-radius: 18px;
    background: #171917;
    color: #ffffff;
}

.insurance-guide-link p { margin: 0; color: rgba(255,255,255,0.78); }

.insurance-guide-link a {
    flex: 0 0 auto;
    color: var(--color-lime);
    font-weight: 800;
    text-decoration: none;
}

.insurance-guide-link a:hover { color: #b7e47b; }

.insurance-gaps-section { background: #f2f4ef; }

.insurance-gaps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.insurance-gap-card {
    min-height: 330px;
    padding: 38px 32px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 35px rgba(30, 35, 27, 0.06);
}

.insurance-gap-icon {
    display: block;
    margin-bottom: 52px;
    color: #6fa832;
    font-family: 'Manrope', sans-serif;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.page-generali .gen-process .gen-section-header > p {
    max-width: 680px;
    margin: 18px auto 0;
    color: #626262;
    line-height: 1.7;
}

/* =========================================
   MAIN BHP / BUSINESS PAGE
   ========================================= */
.bhp-home-main {
    overflow: hidden;
    background: #ffffff;
}

.bhp-home-section { padding: 104px 0; }

.bhp-home-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: #608f2d;
    font-family: 'Manrope', sans-serif;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.bhp-home-eyebrow::before {
    content: '';
    width: 24px;
    height: 2px;
    background: currentColor;
}

.bhp-home-heading {
    max-width: 820px;
    margin-bottom: 54px;
}

.bhp-home-heading.text-center { margin-right: auto; margin-left: auto; }

.page-bhp .bhp-home-heading h2,
.page-bhp .bhp-home-practical h2,
.page-bhp .bhp-home-about h2 {
    margin: 0 0 18px;
    color: var(--color-dark);
    font-size: clamp(2.25rem, 4vw, 3.8rem);
    line-height: 1.08;
}

.bhp-home-heading > p {
    margin: 0;
    color: #5e5e5e;
    font-size: 1.05rem;
    line-height: 1.75;
}

.bhp-home-hero {
    position: relative;
    padding: 78px 0 96px;
    background: radial-gradient(circle at 85% 16%, rgba(130,195,66,0.19), transparent 32%), linear-gradient(135deg, #f8f9f6 0%, #ffffff 58%, #f2f6eb 100%);
}

.bhp-home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.85fr);
    gap: 70px;
    align-items: center;
}

.page-bhp .bhp-home-hero-grid,
.page-bhp .bhp-home-practical-grid,
.page-bhp .bhp-home-about-grid { display: grid; }

.page-bhp .bhp-home-hero h1 {
    max-width: 720px;
    margin: 0;
    color: var(--color-dark);
    font-size: clamp(2.8rem, 4.15vw, 4.7rem);
    font-weight: 400;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.page-bhp .bhp-home-hero h1 span {
    color: #6fa832;
    font-style: italic;
    font-weight: 400;
}

.bhp-home-hero-content > p {
    max-width: 700px;
    margin: 30px 0 0;
    color: #595959;
    font-family: 'Manrope', sans-serif;
    font-size: 1.08rem;
    line-height: 1.75;
}

.bhp-home-hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 36px;
}

.bhp-home-text-link,
.bhp-home-inline-link {
    color: var(--color-dark);
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    text-decoration: none;
}

.bhp-home-text-link:hover,
.bhp-home-inline-link:hover { color: #608f2d; }

.bhp-home-trust {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 34px;
    color: #4f4f4f;
    font-family: 'Manrope', sans-serif;
}

.bhp-home-trust > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-lime);
    color: #1a2710;
    font-weight: 900;
}

.bhp-home-trust small { color: #777; }

.bhp-home-hero-visual { position: relative; }

.bhp-home-hero-visual img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1.03;
    border-radius: 26px;
    object-fit: cover;
    box-shadow: 0 30px 80px rgba(31, 38, 25, 0.16);
}

.bhp-home-hero-card {
    position: absolute;
    right: -26px;
    bottom: 34px;
    min-width: 285px;
    padding: 22px 24px;
    border: 1px solid rgba(35,31,32,0.08);
    border-radius: 16px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 20px 45px rgba(30,36,25,0.14);
    backdrop-filter: blur(10px);
}

.bhp-home-hero-card span,
.bhp-home-hero-card strong { display: block; }
.bhp-home-hero-card span { margin-bottom: 5px; color: #6c6c6c; font-size: 0.82rem; }
.bhp-home-hero-card strong { color: var(--color-dark); font-size: 1rem; }

.bhp-home-situations { background: #f3f5f0; }

.bhp-home-situations-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.bhp-home-situations-grid article {
    min-height: 250px;
    padding: 32px 28px;
    border: 1px solid rgba(35,31,32,0.08);
    border-radius: 18px;
    background: #ffffff;
}

.bhp-home-situations-grid article > span {
    display: block;
    margin-bottom: 38px;
    color: #6fa832;
    font-family: 'Manrope', sans-serif;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.page-bhp .bhp-home-situations-grid h3,
.page-bhp .bhp-home-process-grid h3,
.page-bhp .bhp-home-value-grid h3 {
    margin: 0 0 12px;
    color: var(--color-dark);
    font-size: 1.28rem;
}

.bhp-home-situations-grid p,
.bhp-home-process-grid p,
.bhp-home-value-grid p {
    margin: 0;
    color: #5c5c5c;
    line-height: 1.68;
}

.bhp-home-offer { background: #ffffff; }

.bhp-home-offer-group { margin-top: 62px; }

.bhp-home-offer-group-heading {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    max-width: 760px;
    margin-bottom: 28px;
}

.bhp-home-offer-group-heading > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eef5e7;
    color: #5c8b2c;
    font-weight: 900;
}

.page-bhp .bhp-home-offer-group-heading h3 {
    margin: 0 0 6px;
    color: var(--color-dark);
    font-size: 1.65rem;
}

.bhp-home-offer-group-heading p { margin: 0; color: #646464; line-height: 1.65; }

.page-bhp .bhp-home-service-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.page-bhp .bhp-home-benefit-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.page-bhp .bhp-home-single-card { grid-template-columns: minmax(0, 1fr); max-width: 760px; }

.page-bhp .bhp-home-offer .company-offer-card {
    min-height: 390px;
    border-radius: 18px;
}

.bhp-home-experience {
    margin-top: 32px;
    padding: 36px;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(circle at 95% 0%, rgba(130, 195, 66, 0.22), transparent 36%),
        #1b1e1a;
    color: #ffffff;
}

.bhp-home-experience-heading { max-width: 830px; }

.bhp-home-experience-heading .bhp-home-eyebrow {
    margin-bottom: 12px;
    color: #afd97d;
}

.page-bhp .bhp-home-experience-heading h3 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(1.7rem, 2.5vw, 2.25rem);
    line-height: 1.2;
}

.bhp-home-experience-heading > p {
    margin: 0;
    color: rgba(255,255,255,0.72);
    line-height: 1.7;
}

.bhp-home-experience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 26px;
}

.bhp-home-experience-grid article {
    min-height: 180px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    background: rgba(255,255,255,0.055);
}

.bhp-home-experience-grid span {
    display: block;
    margin-bottom: 24px;
    color: #a9d671;
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.page-bhp .bhp-home-experience-grid h4 {
    margin: 0 0 9px;
    color: #ffffff;
    font-size: 1.1rem;
}

.bhp-home-experience-grid p {
    margin: 0;
    color: rgba(255,255,255,0.67);
    font-size: 0.92rem;
    line-height: 1.65;
}

.bhp-home-experience-summary {
    margin: 26px 0 0;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
}

.bhp-home-cooperation-modes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 24px 0 80px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255,255,255,0.13);
}

.bhp-home-cooperation-modes article {
    min-height: 255px;
    padding: 36px 34px;
    background: #171917;
}

.bhp-home-cooperation-modes article:last-child { background: #20251d; }
.bhp-home-cooperation-modes span { display: block; margin-bottom: 32px; color: #a9d671; font-size: 0.78rem; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.page-bhp .bhp-home-cooperation-modes h3 { margin: 0 0 12px; color: #fff; font-size: 1.5rem; }
.bhp-home-cooperation-modes p { margin: 0; color: rgba(255,255,255,0.68); line-height: 1.7; }

.bhp-home-offer-note {
    margin-top: 28px;
    padding: 24px 28px;
    border-left: 4px solid var(--color-lime);
    background: #f4f7ef;
    color: #4f4f4f;
    line-height: 1.7;
}

.bhp-home-process { background: #171917; }
.bhp-home-process .bhp-home-eyebrow { color: #abd775; }
.page-bhp .bhp-home-process .bhp-home-heading h2 { color: #fff; }
.bhp-home-process .bhp-home-heading > p { color: rgba(255,255,255,0.68); }

.bhp-home-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255,255,255,0.12);
    list-style: none;
}

.bhp-home-process-grid li {
    min-height: 315px;
    padding: 34px 28px;
    background: #202320;
}

.bhp-home-process-grid li:nth-child(even) { background: #252924; }
.bhp-home-process-grid li > span { display: block; margin-bottom: 62px; color: #addb76; font-weight: 900; letter-spacing: 0.12em; }
.page-bhp .bhp-home-process-grid h3 { color: #fff; }
.bhp-home-process-grid p { color: rgba(255,255,255,0.65); }

.bhp-home-practical { background: #f3f5f0; }

.bhp-home-practical-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.bhp-home-checklist,
.bhp-home-legal {
    padding: 48px 44px;
    border-radius: 22px;
}

.bhp-home-checklist { background: #ffffff; }
.bhp-home-legal { background: var(--color-lime); }
.bhp-home-legal .bhp-home-eyebrow { color: #38521e; }
.bhp-home-legal .bhp-home-eyebrow::before { background: #38521e; }

.bhp-home-checklist > p,
.bhp-home-legal > p { color: #545454; line-height: 1.7; }
.bhp-home-legal > p { color: #33451f; }

.bhp-home-checklist ul,
.bhp-home-legal ul {
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.bhp-home-checklist li,
.bhp-home-legal li {
    position: relative;
    margin: 0;
    padding: 13px 0 13px 30px;
    border-top: 1px solid rgba(35,31,32,0.09);
    color: #4a4a4a;
    line-height: 1.55;
}

.bhp-home-legal li { color: #2f3d20; border-top-color: rgba(47,61,32,0.16); }
.bhp-home-checklist li::before,
.bhp-home-legal li::before { content: '✓'; position: absolute; left: 0; color: #608f2d; font-weight: 900; }
.bhp-home-legal li::before { color: #2f3d20; }
.bhp-home-inline-link { display: inline-flex; gap: 8px; margin-top: 28px; }

.bhp-home-value { background: #ffffff; }

.bhp-home-value-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.bhp-home-value-grid article {
    padding: 30px 4px 0;
    border-top: 3px solid var(--color-lime);
}

.bhp-home-about { background: #f8f9f6; }

.bhp-home-about-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
    gap: 76px;
    align-items: center;
}

.bhp-home-about-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: 0 28px 70px rgba(30,36,25,0.15);
}

.page-bhp .bhp-home-about-content h3 {
    margin: -4px 0 24px;
    color: #608f2d;
    font-size: 1.25rem;
}

.bhp-home-about-content > p {
    margin: 0 0 16px;
    color: #555;
    line-height: 1.76;
}

.bhp-home-about-quote {
    margin-top: 28px;
    padding: 24px 26px;
    border-left: 4px solid var(--color-lime);
    background: #ffffff;
    color: var(--color-dark);
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.55;
}

.bhp-home-faq { background: #ffffff; }
.bhp-home-faq .faq-accordion { max-width: 900px; margin-right: auto; margin-left: auto; }
.bhp-home-faq .faq-item { border-left: 4px solid #e7eadf; transition: border-color 0.25s ease; }
.bhp-home-faq .faq-item:hover,
.bhp-home-faq .faq-item[open] { border-left-color: var(--color-lime); }

.bhp-home-form-note {
    margin: 14px 0 0;
    color: rgba(255,255,255,0.56);
    font-size: 0.82rem;
    line-height: 1.5;
}

.bhp-home-main a:focus-visible,
.bhp-home-main summary:focus-visible,
.bhp-home-main button:focus-visible,
.insurance-guide-section a:focus-visible {
    outline: 3px solid rgba(130,195,66,0.72);
    outline-offset: 4px;
}

@media (max-width: 1100px) {
    .insurance-advice-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bhp-home-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr); gap: 42px; }
    .page-bhp .bhp-home-hero h1 { font-size: clamp(2.65rem, 4.65vw, 3.9rem); }
    .bhp-home-situations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bhp-home-process-grid,
    .bhp-home-value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
    .insurance-section-heading { margin-bottom: 38px; }
    .insurance-advice-grid,
    .insurance-gaps-grid { grid-template-columns: 1fr; }
    .insurance-advice-card,
    .insurance-gap-card { min-height: 0; }
    .insurance-guide-link { align-items: flex-start; flex-direction: column; }

    .bhp-home-section { padding: 76px 0; }
    .bhp-home-hero { padding: 58px 0 74px; }
    .bhp-home-hero-grid,
    .bhp-home-practical-grid,
    .bhp-home-about-grid { grid-template-columns: 1fr; }
    .bhp-home-hero-grid { gap: 48px; }
    .page-bhp .bhp-home-hero h1 { font-size: clamp(2.3rem, 9vw, 3.35rem); }
    .bhp-home-hero-visual { max-width: 620px; }
    .bhp-home-hero-card { right: 18px; }
    .page-bhp .bhp-home-service-cards,
    .page-bhp .bhp-home-benefit-cards { grid-template-columns: 1fr; }
    .bhp-home-experience-grid { grid-template-columns: 1fr; }
    .bhp-home-experience-grid article { min-height: 0; }
    .bhp-home-cooperation-modes { grid-template-columns: 1fr; }
    .bhp-home-process-grid { grid-template-columns: 1fr; }
    .bhp-home-process-grid li { min-height: 0; }
    .bhp-home-process-grid li > span { margin-bottom: 34px; }
    .bhp-home-about-grid { gap: 42px; }
    .bhp-home-about-image { max-width: 520px; }
}

@media (max-width: 560px) {
    .insurance-advice-card { padding: 30px 24px; }
    .insurance-guide-link { padding: 25px 23px; }
    .insurance-gap-card { padding: 32px 24px; }
    .insurance-gap-icon { margin-bottom: 36px; }

    .bhp-home-hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
    .bhp-home-trust { align-items: flex-start; }
    .bhp-home-trust small { flex-basis: 100%; padding-left: 38px; }
    .bhp-home-hero-card { position: static; min-width: 0; margin: -20px 14px 0; }
    .bhp-home-situations-grid,
    .bhp-home-value-grid { grid-template-columns: 1fr; }
    .bhp-home-situations-grid article { min-height: 0; }
    .bhp-home-offer-group-heading { grid-template-columns: 42px minmax(0, 1fr); gap: 16px; }
    .bhp-home-offer-group-heading > span { width: 40px; height: 40px; }
    .bhp-home-experience { padding: 30px 24px; border-radius: 18px; }
    .bhp-home-experience-grid article { padding: 22px 20px; }
    .bhp-home-cooperation-modes article { min-height: 0; padding: 31px 24px; }
    .bhp-home-checklist,
    .bhp-home-legal { padding: 36px 24px; }
    .bhp-home-about-quote { padding: 22px 20px; }
}
