@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary-color: #2e7ec2; /* Brand Blue */
    --primary-dark: #23649e;
    --text-dark: #121212;
    --text-gray: #555555;
    --text-light: #F5F5F7;
    --bg-white: #FFFFFF;
    --bg-gray: #F9FAFB;
    --bg-dark: #0A0A0A;
    --accent: #FF5E00; /* Subtle orange accent for CTA if needed */
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.section-subtitle {
    color: var(--text-gray);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-white);
    box-shadow: 0 4px 14px rgba(0, 85, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 85, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
}

.btn-outline:hover {
    background: var(--text-dark);
    color: var(--bg-white);
}

.btn-outline-light {
    background: transparent;
    color: var(--bg-white);
    border: 1px solid var(--bg-white);
}

.btn-outline-light:hover {
    background: var(--bg-white);
    color: var(--text-dark);
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 1.5rem 0;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
}

.header.scrolled .logo,
.header.scrolled .nav-link {
    color: var(--text-dark);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--bg-white);
    letter-spacing: -0.5px;
    transition: var(--transition-fast);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--bg-white);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-smooth);
}

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

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

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--bg-white);
    background-color: var(--bg-dark);
    overflow: hidden;
}

/* Hero Slideshow */
.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.2s ease;
    transform: scale(1.06);
    animation: none;
}

.hero-slide.active {
    opacity: 0.62;
    animation: kenBurns 8s ease forwards;
}

@keyframes kenBurns {
    from { transform: scale(1.06); }
    to   { transform: scale(1.0); }
}

/* Slide dot indicators */
.hero-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.hero-dot {
    width: 28px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease, width 0.3s ease;
    padding: 0;
}

.hero-dot.active {
    background: #fff;
    width: 44px;
}

.hero-dot:hover {
    background: rgba(255,255,255,0.7);
}

/* ── Architectural Grid Overlay ── */
.hero-grid-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Fine grid lines (blueprint style) */
.grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
    background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
    mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 40%, transparent 100%);
    animation: gridDrift 30s linear infinite;
}

@keyframes gridDrift {
    0%   { background-position: -1px -1px,     -1px -1px,     -1px -1px,     -1px -1px; }
    100% { background-position: 99px 99px, 99px 99px, 19px 19px, 19px 19px; }
}

/* Dot intersections at major grid nodes */
.grid-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(46,126,194,0.35) 1.5px, transparent 1.5px);
    background-size: 100px 100px;
    background-position: -1px -1px;
    mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 40%, transparent 100%);
    animation: gridDrift 30s linear infinite;
}

/* Corner bracket markers (architectural drawing style) */
.grid-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    opacity: 0.5;
}

.grid-corner--tl { top: 32px;    left: 32px;    border-top: 2px solid rgba(255,255,255,0.6);  border-left: 2px solid rgba(255,255,255,0.6); }
.grid-corner--tr { top: 32px;    right: 32px;   border-top: 2px solid rgba(255,255,255,0.6);  border-right: 2px solid rgba(255,255,255,0.6); }
.grid-corner--bl { bottom: 32px; left: 32px;    border-bottom: 2px solid rgba(255,255,255,0.6); border-left: 2px solid rgba(255,255,255,0.6); }
.grid-corner--br { bottom: 32px; right: 32px;   border-bottom: 2px solid rgba(255,255,255,0.6); border-right: 2px solid rgba(255,255,255,0.6); }

/* Animated crosshair markers */
.grid-crosshair {
    position: absolute;
    width: 24px;
    height: 24px;
    opacity: 0;
    animation: crosshairPulse 6s ease-in-out infinite;
}

.grid-crosshair::before,
.grid-crosshair::after {
    content: '';
    position: absolute;
    background: rgba(46,126,194,0.7);
}

.grid-crosshair::before {
    top: 50%; left: 0;
    width: 100%; height: 1px;
    transform: translateY(-50%);
}

.grid-crosshair::after {
    left: 50%; top: 0;
    height: 100%; width: 1px;
    transform: translateX(-50%);
}

.grid-crosshair--1 {
    top: 28%;
    right: 22%;
    animation-delay: 0s;
}

.grid-crosshair--2 {
    bottom: 32%;
    left: 18%;
    animation-delay: 3s;
}

@keyframes crosshairPulse {
    0%,100% { opacity: 0; transform: scale(0.6); }
    30%,70% { opacity: 0.9; transform: scale(1); }
}


.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-top: 4rem;
}

.hero-subtitle {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

/* Info Bar */
.info-bar {
    background: var(--bg-white);
    position: relative;
    z-index: 10;
    margin-top: -50px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 85, 255, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.info-text p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* About Section */
.about {
    background: var(--bg-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-image img {
    transition: var(--transition-smooth);
}

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

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.about-content p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Services */
.services {
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 2.5rem 2rem;
    border-radius: 8px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: var(--primary-color);
    z-index: -1;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: var(--transition-fast);
}

.service-card:hover .service-icon,
.service-card:hover h3,
.service-card:hover p {
    color: var(--bg-white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition-fast);
}

.service-card p {
    color: var(--text-gray);
    transition: var(--transition-fast);
}

/* Projects Grid */
.projects {
    background: var(--bg-gray);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--bg-white);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.project-card:hover .project-overlay {
    transform: translateY(0);
    opacity: 1;
}

.project-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.project-overlay span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* BION 3.1 — Homepage Project Category Filters */
.project-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
    margin: 1.8rem auto 2.2rem;
    min-height: 42px;
}

.project-filter {
    appearance: none;
    border: 1px solid rgba(17, 17, 17, 0.18);
    background: var(--bg-white);
    color: var(--primary-color);
    border-radius: 999px;
    padding: 0.65rem 1.15rem;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.25s ease;
}

.project-filter:hover,
.project-filter:focus-visible {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--bg-white);
    outline: none;
    transform: translateY(-1px);
}

.project-filter.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--bg-white);
}

.project-card.is-filter-hidden {
    display: none !important;
}

.project-filter-empty {
    text-align: center;
    padding: 2.5rem 1rem 1rem;
    color: var(--text-gray);
}

.project-filter-empty[hidden] {
    display: none;
}

@media (max-width: 768px) {
    .project-filters {
        gap: 0.5rem;
        margin-top: 1.4rem;
        margin-bottom: 1.7rem;
    }

    .project-filter {
        padding: 0.6rem 0.9rem;
        font-size: 0.82rem;
    }
}

/* CTA Section */
.cta {
    background: var(--primary-color);
    color: var(--bg-white);
    text-align: center;
    padding: 6rem 0;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    display: block;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--bg-white);
}

.footer-heading {
    color: var(--bg-white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-gray);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    .info-bar {
        grid-template-columns: 1fr;
        margin-top: 2rem;
        box-shadow: none;
        border: 1px solid rgba(0,0,0,0.05);
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Add JS toggle for mobile */
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Micro animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 85vh;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    object-fit: contain;
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: 0.3s;
}

.close-lightbox:hover {
    color: #bbb;
}

.lightbox-prev, .lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    text-decoration: none;
    z-index: 2002;
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-prev:hover, .lightbox-next:hover {
    background-color: rgba(0,0,0,0.9);
}

@media (max-width: 768px) {
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

/* Updated Button Style */
.btn-book-meeting {
    background-color: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    border-radius: 50px !important;
    box-shadow: none !important;
    padding: 0.6rem 1.8rem !important;
    transition: var(--transition-fast) !important;
}

.btn-book-meeting:hover {
    background-color: #2e7ec2 !important;
    border-color: #2e7ec2 !important;
    color: #ffffff !important;
}

.header.scrolled .btn-book-meeting {
    color: #2e7ec2 !important;
    border-color: #2e7ec2 !important;
}

.header.scrolled .btn-book-meeting:hover {
    background-color: #2e7ec2 !important;
    color: #ffffff !important;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 35px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: #fff;
    transform: scale(1.1);
}

/* Dynamic Logo Style */
.site-logo {
    height: 47px;
    transition: var(--transition-fast);
}

.logo-black {
    display: none;
}

.header.scrolled .logo-white {
    display: none;
}

.header.scrolled .logo-black {
    display: block;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-section {
    background: var(--bg-white);
    scroll-margin-top: 80px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-top: 1rem;
}

/* --- Left info panel --- */
.contact-info {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-blob {
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 280px;
    height: 280px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    pointer-events: none;
}

.contact-info-header h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.contact-info-header p {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.ci-icon {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.ci-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.2rem;
}

.ci-value {
    display: block;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.95);
    line-height: 1.5;
}

.ci-value:hover {
    color: #fff;
    text-decoration: underline;
}

.contact-social {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.contact-social .social-icon {
    background: rgba(255,255,255,0.15);
}

.contact-social .social-icon:hover {
    background: rgba(255,255,255,0.35);
    color: #fff;
}

/* --- Right form panel --- */
.contact-form-panel {
    background: var(--bg-white);
    padding: 3rem 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.req {
    color: var(--primary-color);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1.5px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg-gray);
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    -webkit-appearance: none;
    appearance: none;
}

.contact-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-color: var(--bg-gray);
    padding-right: 2.5rem;
    cursor: pointer;
}

.contact-form textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(46, 126, 194, 0.12);
}

.contact-form input.error,
.contact-form textarea.error {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

.cf-submit {
    align-self: flex-start;
    gap: 0.6rem;
    padding: 1rem 2.2rem;
    font-size: 1rem;
    border-radius: 8px;
}

.cf-submit .btn-icon {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.cf-submit:hover .btn-icon {
    transform: translateX(4px) rotate(-20deg);
}

.cf-submit.loading {
    opacity: 0.75;
    pointer-events: none;
}

/* Success state */
.cf-success {
    text-align: center;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: fadeInUp 0.5s ease forwards;
}

.cf-success-icon {
    width: 72px;
    height: 72px;
    background: rgba(46, 194, 126, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: #2ec27e;
}

.cf-success h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.cf-success p {
    color: var(--text-gray);
    font-size: 1rem;
    max-width: 340px;
}

.hidden {
    display: none !important;
}

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

/* Responsive contact */
@media (max-width: 900px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .contact-info {
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-panel {
        padding: 2rem 1.25rem;
    }
    .cf-submit {
        width: 100%;
    }
}

/* WordPress integration helpers */
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }
.logo img { max-height: 48px; width: auto; }
.logo .custom-logo { max-height: 48px; width: auto; }
.nav-menu .btn-book-meeting { color: #fff !important; }
.project-card { cursor: pointer; }
.project-card a { display:block; height:100%; }
.project-card img { width:100%; }
.project-card .project-overlay span { display:block; }
.site-main { min-height: 40vh; }
.project-header { padding: 150px 0 50px; background: var(--bg-gray); text-align:center; }
.project-title { font-size: 2.5rem; color: var(--primary-color); margin-bottom:1rem; }
.project-meta { color:var(--text-gray); font-size:1.1rem; }
.project-body { padding:50px 0; }
.project-gallery { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:20px; margin-top:40px; }
.project-gallery img { width:100%; border-radius:8px; box-shadow:0 4px 15px rgba(0,0,0,.1); transition:transform .3s ease; }
.project-gallery img:hover { transform:translateY(-5px); }
.back-btn { display:inline-block; margin-bottom:20px; color:var(--primary-color); font-weight:500; }
.back-btn i { margin-right:8px; }
.project-content { max-width:900px; }
.project-content p { margin-bottom:1rem; }
.cf-success.hidden { display:none; }
.bion-form-message { margin-top:1rem; padding:1rem; border-radius:4px; background:#f0f8ff; }

/* Mobile navigation enhancement */
.bion-menu-toggle { display:none; background:transparent; border:0; color:#fff; font-size:1.4rem; cursor:pointer; }
.header.scrolled .bion-menu-toggle { color:var(--text-dark); }
@media (max-width:768px){
 .bion-menu-toggle{display:block;}
 .main-navigation .nav-menu{display:none;}
 .main-navigation.mobile-open .nav-menu{display:flex;position:absolute;top:100%;left:1rem;right:1rem;flex-direction:column;align-items:stretch;gap:.25rem;padding:1rem;background:rgba(255,255,255,.98);box-shadow:var(--shadow-md);border-radius:6px;}
 .main-navigation.mobile-open .nav-link{color:var(--text-dark);display:block;padding:.65rem .75rem;}
 .main-navigation.mobile-open .btn-book-meeting{margin-top:.4rem;}
 .main-navigation.mobile-open .nav-menu li{width:100%;}
}
body.lightbox-open{overflow:hidden;}
.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

/* =============================================
   BION HEADER / WORDPRESS NAV FIX v2.1
   Keeps the original UI while normalising
   WordPress-generated menu and custom-logo markup.
   ============================================= */
.header .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.header .logo,
.header .custom-logo-link {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    max-width: 220px;
}

.header .logo img,
.header .logo .custom-logo,
.header .custom-logo-link img {
    display: block;
    width: auto !important;
    height: auto !important;
    max-width: 190px !important;
    max-height: 52px !important;
    object-fit: contain;
}

.header .main-navigation {
    margin-left: auto;
    position: relative;
}

.header .main-navigation ul.nav-menu,
.header .main-navigation > ul,
.header .main-navigation ul.menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-end;
    gap: 1.6rem;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header .main-navigation ul.nav-menu > li,
.header .main-navigation > ul > li,
.header .main-navigation ul.menu > li {
    display: block;
    position: relative;
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.header .main-navigation ul.nav-menu > li > a,
.header .main-navigation > ul > li > a,
.header .main-navigation ul.menu > li > a {
    display: block;
    position: relative;
    color: var(--bg-white);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    padding: .25rem 0;
}

.header.scrolled .main-navigation ul.nav-menu > li > a,
.header.scrolled .main-navigation > ul > li > a,
.header.scrolled .main-navigation ul.menu > li > a {
    color: var(--text-dark);
}

.header .main-navigation ul.nav-menu > li > a:hover,
.header .main-navigation > ul > li > a:hover,
.header .main-navigation ul.menu > li > a:hover {
    color: var(--primary-color);
}

.header .main-navigation ul.nav-menu > li > a::after,
.header .main-navigation > ul > li > a::after,
.header .main-navigation ul.menu > li > a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-smooth);
}

.header .main-navigation ul.nav-menu > li > a:hover::after,
.header .main-navigation > ul > li > a:hover::after,
.header .main-navigation ul.menu > li > a:hover::after {
    width: 100%;
}

.header .main-navigation .btn-book-meeting {
    color: #fff !important;
    padding: .75rem 1.25rem !important;
}

@media (max-width: 992px) and (min-width: 769px) {
    .header .nav-container {
        gap: 1rem;
    }

    .header .logo,
    .header .custom-logo-link {
        max-width: 170px;
    }

    .header .logo img,
    .header .logo .custom-logo,
    .header .custom-logo-link img {
        max-width: 155px !important;
        max-height: 44px !important;
    }

    .header .main-navigation ul.nav-menu,
    .header .main-navigation > ul,
    .header .main-navigation ul.menu {
        gap: 1rem;
    }

    .header .main-navigation ul.nav-menu > li > a,
    .header .main-navigation > ul > li > a,
    .header .main-navigation ul.menu > li > a {
        font-size: .9rem;
    }
}

@media (max-width: 768px) {
    .header .nav-container {
        position: relative;
        gap: 1rem;
    }

    .header .logo,
    .header .custom-logo-link {
        max-width: 160px;
    }

    .header .logo img,
    .header .logo .custom-logo,
    .header .custom-logo-link img {
        max-width: 145px !important;
        max-height: 42px !important;
    }

    .header .main-navigation {
        position: static;
        margin-left: auto;
    }

    .header .main-navigation ul.nav-menu,
    .header .main-navigation > ul,
    .header .main-navigation ul.menu {
        display: none !important;
    }

    .header .main-navigation.mobile-open ul.nav-menu,
    .header .main-navigation.mobile-open > ul,
    .header .main-navigation.mobile-open ul.menu {
        display: flex !important;
        position: absolute;
        top: calc(100% + .5rem);
        left: 0;
        right: 0;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start;
        gap: .25rem;
        padding: 1rem !important;
        background: rgba(255,255,255,.98);
        box-shadow: var(--shadow-md);
        border-radius: 6px;
    }

    .header .main-navigation.mobile-open ul.nav-menu > li,
    .header .main-navigation.mobile-open > ul > li,
    .header .main-navigation.mobile-open ul.menu > li {
        width: 100%;
    }

    .header .main-navigation.mobile-open ul.nav-menu > li > a,
    .header .main-navigation.mobile-open > ul > li > a,
    .header .main-navigation.mobile-open ul.menu > li > a {
        color: var(--text-dark) !important;
        padding: .65rem .75rem !important;
        white-space: normal;
    }
}

/* v2.2: self-contained SVG icons (no external icon-font dependency) */
.bion-icon { width: 1em; height: 1em; display: inline-block; flex: 0 0 auto; vertical-align: -0.15em; }
.social-icon .bion-icon { width: 18px; height: 18px; }
.contact-social .social-icon .bion-icon { width: 18px; height: 18px; }
.whatsapp-float .bion-icon { width: 28px; height: 28px; }
.bion-menu-toggle .bion-icon { width: 24px; height: 24px; }
.btn-icon.bion-icon { width: 18px; height: 18px; }
.contact-inline-icon { width: 1em; height: 1em; color: var(--primary-color); margin-right: 10px; vertical-align: -0.15em; }
.service-icon-svg { width: 28px; height: 28px; }
.site-logo { width: 180px; max-width: 100%; height: auto; object-fit: contain; }
.logo .custom-logo { width: 180px; height: auto; max-width: 100%; }
@media (max-width: 768px) {
  .site-logo, .logo .custom-logo { width: 150px; }
}


/* =========================================================
   BION v2.3 HEADER + SERVICE ICON POLISH
   ========================================================= */

/* WordPress dropdown menu */
.header .main-navigation ul.nav-menu > li.menu-item-has-children {
    position: relative;
}

.header .main-navigation ul.nav-menu > li > ul.sub-menu,
.header .main-navigation > ul > li > ul.sub-menu,
.header .main-navigation ul.menu > li > ul.sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + .75rem);
    right: 0;
    min-width: 250px;
    margin: 0;
    padding: .75rem 0;
    list-style: none;
    background: rgba(255,255,255,.98);
    border-radius: 6px;
    box-shadow: var(--shadow-md);
    z-index: 1100;
}

.header .main-navigation ul.nav-menu > li.menu-item-has-children:hover > ul.sub-menu,
.header .main-navigation > ul > li.menu-item-has-children:hover > ul.sub-menu,
.header .main-navigation ul.menu > li.menu-item-has-children:hover > ul.sub-menu {
    display: block;
}

.header .main-navigation ul.sub-menu li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.header .main-navigation ul.sub-menu li a {
    display: block;
    padding: .6rem 1rem;
    color: var(--text-dark) !important;
    font-size: .95rem;
    line-height: 1.35;
    white-space: normal;
}

.header .main-navigation ul.sub-menu li a:hover {
    background: rgba(0,0,0,.04);
    color: var(--primary-color) !important;
}

.header .main-navigation ul.sub-menu a::after {
    display: none !important;
}

/* Keep the main menu horizontal and prevent accidental list styling. */
.header .main-navigation > ul.nav-menu,
.header .main-navigation > ul.menu,
.header .main-navigation > ul {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    list-style: none !important;
}

.header .main-navigation ul,
.header .main-navigation li {
    list-style: none !important;
}

/* Service SVGs: force compact dimensions even if another rule/plugin
   tries to stretch SVG elements. */
.services .service-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
}

.services .service-icon svg.services .service-icon svg.service-icon-svg {
    display: block !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    flex: 0 0 42px !important;
}

/* Mobile: hide desktop submenu and let the existing mobile menu
   display its items normally. */
@media (max-width: 768px) {
    .header .main-navigation ul.nav-menu > li > ul.sub-menu,
    .header .main-navigation > ul > li > ul.sub-menu,
    .header .main-navigation ul.menu > li > ul.sub-menu {
        position: static;
        display: block;
        min-width: 0;
        padding: 0 0 0 .75rem;
        background: transparent;
        box-shadow: none;
    }

    .header .main-navigation.mobile-open ul.sub-menu li a {
        padding: .5rem .75rem;
    }

    .services .service-icon {
        width: 44px;
        height: 44px;
    }

    .services .service-icon svg.services .service-icon svg.service-icon-svg {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        max-width: 38px !important;
        max-height: 38px !important;
        flex-basis: 38px !important;
    }
}


/* v2.4: definitive service icon sizing */
section.services .services-grid .service-card .service-icon {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    font-size: 42px !important;
    line-height: 1 !important;
    overflow: visible !important;
}

section.services .services-grid .service-card .service-icon > svg.service-icon-svg {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    max-width: 42px !important;
    max-height: 42px !important;
    display: block !important;
    flex: 0 0 42px !important;
}

/* =========================================================
   BION v2.5 FINAL POLISH
   ========================================================= */

/* Footer contact icons must stay compact. */
.footer .footer-links .contact-inline-icon,
.footer .footer-links li > .bion-icon.contact-inline-icon {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    flex: 0 0 22px !important;
    display: inline-block !important;
    vertical-align: -0.35em !important;
}

/* Footer contact rows align icon and text cleanly. */
.footer .footer-links li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer .footer-links li > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* The Book a Meeting button must remain readable on the white/scrolled header. */
.header.scrolled .main-navigation .btn-book-meeting,
.header.scrolled .nav-menu .btn-book-meeting {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    background: transparent !important;
}

.header.scrolled .main-navigation .btn-book-meeting:hover,
.header.scrolled .nav-menu .btn-book-meeting:hover {
    color: #fff !important;
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

/* Keep the button visible if a WordPress menu item has the button class. */
.header .main-navigation .btn-book-meeting {
    min-width: 150px;
    text-align: center;
    white-space: nowrap;
}

/* Mobile button follows the mobile menu text color. */
@media (max-width: 768px) {
    .header.scrolled .main-navigation.mobile-open .btn-book-meeting {
        color: var(--primary-color) !important;
        background: transparent !important;
    }
}

/* =========================================================
   BION v2.6 FOOTER + NEWSLETTER
   ========================================================= */
.footer .contact-inline-icon {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    flex: 0 0 22px !important;
    display: block !important;
}
.footer .footer-links li > span,
.footer .footer-links li > a > span {
    min-width: 0;
}
.footer .bion-newsletter-form input[type="email"] {
    width: 100%;
    box-sizing: border-box;
}
.footer .bion-newsletter-form .bion-form-message {
    margin-bottom: .75rem;
}

/* =========================================================
   BION v2.7 — INNER PAGE HEADER + PROJECT HERO
   ========================================================= */

.header.inner-page-header {
    background: rgba(255,255,255,.97);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.header.inner-page-header .nav-link {
    color: var(--text-dark) !important;
}

.header.inner-page-header .nav-link:hover {
    color: var(--primary-color) !important;
}

.header.inner-page-header .nav-menu .btn-book-meeting {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    background: transparent !important;
}

.header.inner-page-header .nav-menu .btn-book-meeting:hover {
    color: #fff !important;
    background: var(--primary-color) !important;
}

.header.inner-page-header .bion-menu-toggle {
    color: var(--text-dark) !important;
}

.single-project .project-header {
    min-height: 360px;
    padding: 170px 0 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

.single-project .project-title {
    color: #fff !important;
    text-shadow: 0 2px 14px rgba(0,0,0,.28);
}

.single-project .project-meta {
    color: rgba(255,255,255,.92) !important;
    text-shadow: 0 1px 8px rgba(0,0,0,.22);
}

@media (max-width: 768px) {
    .header.inner-page-header {
        padding: .8rem 0;
    }

    .single-project .project-header {
        min-height: 300px;
        padding: 130px 0 70px;
    }
}


/* BION 3.2 — Testimonials & Partners */
.bion-testimonials-section {
    background: var(--bg-white);
}

.bion-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.bion-testimonial-card {
    background: #fff;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,.05);
}

.bion-testimonial-image-link {
    display: block;
    background: #f5f5f5;
    padding: 1rem;
}

.bion-testimonial-image-link img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
    transition: transform .25s ease;
}

.bion-testimonial-image-link:hover img {
    transform: scale(1.015);
}

.bion-testimonial-quote {
    padding: 2rem;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-gray);
}

.bion-testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid rgba(17,17,17,.07);
}

.bion-testimonial-meta strong {
    color: var(--primary-color);
    font-size: 1rem;
}

.bion-testimonial-meta span {
    color: var(--text-gray);
    font-size: .85rem;
}

.bion-partners-section {
    background: #f1f1f1;
}

.bion-partners-section .section-title span {
    color: #f47b20;
}

.bion-partners-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.bion-partner-card {
    min-height: 130px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    border: 1px solid rgba(17,17,17,.06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.bion-partner-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

.bion-partner-card a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.bion-partner-card img {
    display: block;
    width: 100%;
    height: 105px;
    object-fit: contain;
}

@media (max-width: 900px) {
    .bion-testimonials-grid,
    .bion-partners-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .bion-testimonials-grid,
    .bion-partners-grid {
        grid-template-columns: 1fr;
    }

    .bion-testimonial-image-link img {
        height: 230px;
    }
}


/* BION 3.3 — Four-column Testimonials & Partners layout */
@media (min-width: 901px) {
    .bion-testimonials-grid,
    .bion-partners-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* BION 3.4 — Testimonials 3 per row, Customers & Partners 4 per row */
@media (min-width: 901px) {
    .bion-testimonials-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    .bion-partners-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

/* BION 3.5 — Customers & Partners View More */
.bion-partner-hidden { display: none !important; }
.bion-partners-more-wrap { display:flex; justify-content:center; margin-top:2rem; }
.bion-partners-more { min-width:140px; border:0; cursor:pointer; }
.bion-partners-more.is-expanded::after { content:"  ↑"; }
.bion-partners-more:not(.is-expanded)::after { content:"  ↓"; }
@media (min-width:901px) {
  .bion-partners-grid { grid-template-columns:repeat(4,minmax(0,1fr)) !important; }
}
@media (max-width:900px) and (min-width:601px) {
  .bion-partners-grid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; }
}

/* BION 3.6 — Reliable Partners expand/collapse */
#bionPartnersGrid .bion-partner-hidden {
    display: none !important;
}

#bionPartnersMore {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    min-width: 145px;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 2;
}

#bionPartnersMore .bion-partners-more-label {
    pointer-events: none;
}


/* BION 3.7 — Horizontal Customers & Partners logo carousel + detail modal */
.bion-partners-carousel-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 2rem 0 0;
}

.bion-partners-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 24px;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #c5c5c5 transparent;
    padding: 8px 3px 18px;
    -webkit-overflow-scrolling: touch;
}

.bion-partners-track::-webkit-scrollbar { height: 7px; }
.bion-partners-track::-webkit-scrollbar-track { background: transparent; }
.bion-partners-track::-webkit-scrollbar-thumb { background: #c5c5c5; border-radius: 20px; }

.bion-partner-slide {
    appearance: none;
    flex: 0 0 calc((100% - 72px) / 4);
    min-width: 0;
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    text-align: center;
    cursor: pointer;
    scroll-snap-align: start;
}

.bion-partner-logo-box {
    height: 155px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.04);
    transition: transform .22s ease, box-shadow .22s ease;
}

.bion-partner-slide:hover .bion-partner-logo-box,
.bion-partner-slide:focus-visible .bion-partner-logo-box {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(0,0,0,.09);
}

.bion-partner-logo-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bion-partner-slide-name {
    display: block;
    padding: 10px 4px 0;
    font-size: .9rem;
    font-weight: 600;
    color: var(--primary-color);
}

.bion-partner-carousel-arrow {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 50%;
    background: #fff;
    color: #222;
    font-size: 30px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
    transition: background .2s ease, color .2s ease;
}

.bion-partner-carousel-arrow:hover {
    background: var(--primary-color);
    color: #fff;
}

.bion-partner-scroll-hint {
    margin: 12px 0 0;
    text-align: center;
    font-size: .85rem;
    color: var(--text-gray);
}

.bion-partner-modal[aria-hidden="true"] { display: none; }
.bion-partner-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.bion-partner-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.68);
}
.bion-partner-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: min(85vh, 760px);
    overflow-y: auto;
    padding: 34px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 24px 80px rgba(0,0,0,.28);
    text-align: center;
}
.bion-partner-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    color: #222;
}
.bion-partner-modal-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    margin-bottom: 18px;
}
.bion-partner-modal-logo-wrap img {
    max-width: 230px;
    max-height: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
}
.bion-partner-modal-dialog h3 {
    margin: 0 0 14px;
    color: var(--primary-color);
}
.bion-partner-modal-description {
    color: var(--text-gray);
    line-height: 1.75;
    white-space: pre-line;
    margin-bottom: 22px;
}
.bion-partner-modal-visit[hidden] { display: none !important; }

@media (max-width: 900px) {
    .bion-partner-slide { flex-basis: calc((100% - 24px) / 2); }
    .bion-partner-logo-box { height: 145px; }
}
@media (max-width: 600px) {
    .bion-partners-carousel-wrap { gap: 8px; }
    .bion-partner-carousel-arrow { flex-basis: 32px; width: 32px; height: 32px; font-size: 25px; }
    .bion-partner-slide { flex-basis: 82%; }
    .bion-partner-logo-box { height: 155px; padding: 18px; }
    .bion-partner-modal-dialog { padding: 28px 20px; }
}

/* BION 3.8 — View All Partners expandable card grid */
.bion-partners-all-toggle-wrap {
    display: flex;
    justify-content: center;
    margin: 22px 0 8px;
}
.bion-partners-all-toggle {
    min-width: 175px;
    cursor: pointer;
}
.bion-partners-all-grid[hidden] { display: none !important; }
.bion-partners-all-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 28px;
    animation: bionPartnersReveal .28s ease both;
}
.bion-partner-all-card {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 8px;
    background: #fff;
    color: inherit;
    text-align: center;
    cursor: pointer;
    scroll-snap-align: unset;
    transition: transform .2s ease, box-shadow .2s ease;
}
.bion-partner-all-card:hover,
.bion-partner-all-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,.09);
}
.bion-partner-all-logo {
    height: 135px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #fff;
}
.bion-partner-all-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.bion-partners-all-grid .bion-partner-slide-name {
    padding-top: 12px;
    overflow-wrap: anywhere;
}
@keyframes bionPartnersReveal {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 900px) {
    .bion-partners-all-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 600px) {
    .bion-partners-all-grid { grid-template-columns: 1fr; }
    .bion-partner-all-logo { height: 155px; }
}




/* BION 4.0 — robust partner marquee */
.bion-partners-carousel-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    overflow: hidden;
}
.bion-partners-track {
    display: flex !important;
    flex: 1 1 0 !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    gap: 24px !important;
    scroll-snap-type: none !important;
    scrollbar-width: none !important;
    padding: 8px 0 18px !important;
    animation: none;
}
.bion-partners-track.bion-marquee-active {
    width: max-content !important;
    max-width: none !important;
    flex: 0 0 max-content !important;
    animation: bionPartnerMarquee var(--bion-marquee-duration, 32s) linear infinite !important;
    will-change: transform;
}
.bion-partners-track.bion-marquee-paused { animation-play-state: paused !important; }
.bion-partners-track .bion-partner-slide {
    flex: 0 0 clamp(170px, 20vw, 240px) !important;
    width: clamp(170px, 20vw, 240px) !important;
    min-width: clamp(170px, 20vw, 240px) !important;
}
.bion-partners-track .bion-partner-clone { pointer-events: none; }
@keyframes bionPartnerMarquee {
    from { transform: translate3d(0,0,0); }
    to { transform: translate3d(-50%,0,0); }
}
@media (max-width: 900px) {
    .bion-partners-track .bion-partner-slide { flex-basis: 210px !important; width: 210px !important; min-width:210px !important; }
}
@media (max-width: 600px) {
    .bion-partners-carousel-wrap { gap: 6px; }
    .bion-partners-track .bion-partner-slide { flex-basis: 190px !important; width: 190px !important; min-width:190px !important; }
}


/* BION 4.1 — testimonial image popup */
.bion-testimonial-image-link { cursor: zoom-in; }
.bion-testimonial-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(14px, 3vw, 40px);
    background: rgba(8, 14, 25, .88);
    backdrop-filter: blur(7px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s ease;
}
.bion-testimonial-lightbox.is-open { opacity: 1; visibility: visible; }
.bion-testimonial-lightbox-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: min(1100px, 94vw);
    max-height: 90vh;
}
.bion-testimonial-lightbox-content img {
    display: block;
    max-width: 100%;
    max-height: 82vh;
    width: auto;
    height: auto;
    object-fit: contain;
    background: #fff;
    border: 8px solid rgba(255,255,255,.96);
    border-radius: 10px;
    box-shadow: 0 25px 90px rgba(0,0,0,.45);
}
.bion-testimonial-lightbox-caption {
    color: #fff;
    font-size: 14px;
    margin-top: 12px;
    text-align: center;
}
.bion-testimonial-lightbox-close {
    position: absolute;
    top: 18px;
    right: 24px;
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 36px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}
.bion-testimonial-lightbox-close:hover { background: #f37021; transform: rotate(90deg); }
body.bion-testimonial-lightbox-open { overflow: hidden; }
@media (max-width: 600px) {
    .bion-testimonial-lightbox { padding: 12px; }
    .bion-testimonial-lightbox-content img { max-height: 78vh; border-width: 5px; }
    .bion-testimonial-lightbox-close { top: 10px; right: 10px; width: 42px; height: 42px; }
}


/* BION 4.2 — FAQ section after Client Testimonials */
.bion-faq-section {
    background: #fff;
    padding-top: 90px;
    padding-bottom: 90px;
}
.bion-faq-section .section-title {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #0b2942;
    text-align: center;
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.12;
    font-weight: 750;
}
.bion-faq-section .section-subtitle {
    text-align: center;
    max-width: 760px;
    margin: 22px auto 68px;
    color: #718096;
    font-size: 1.05rem;
}
.bion-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 36px;
    align-items: start;
}
.bion-faq-item {
    background: #fff;
    border: 1px solid #d5e2eb;
    border-radius: 26px;
    box-shadow: 0 18px 45px rgba(13, 40, 60, .055);
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.bion-faq-item:hover,
.bion-faq-item[open] {
    border-color: #a9c9d8;
    box-shadow: 0 20px 50px rgba(13, 40, 60, .09);
}
.bion-faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-height: 120px;
    padding: 30px 40px;
    color: #0b2942;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.55;
}
.bion-faq-item summary::-webkit-details-marker { display: none; }
.bion-faq-toggle {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #078b83;
    font-size: 25px;
    font-weight: 600;
    line-height: 1;
    transition: transform .2s ease;
}
.bion-faq-item[open] .bion-faq-toggle { transform: rotate(45deg); }
.bion-faq-answer {
    padding: 0 40px 32px;
    color: #667789;
    font-size: 1rem;
    line-height: 1.8;
}
.bion-faq-answer > :first-child { margin-top: 0; }
.bion-faq-answer > :last-child { margin-bottom: 0; }
@media (max-width: 900px) {
    .bion-faq-grid { gap: 22px; }
    .bion-faq-item summary { padding: 26px 28px; min-height: 100px; }
    .bion-faq-answer { padding: 0 28px 28px; }
}
@media (max-width: 640px) {
    .bion-faq-section { padding-top: 60px; padding-bottom: 60px; }
    .bion-faq-section .section-subtitle { margin: 18px auto 38px; }
    .bion-faq-grid { grid-template-columns: 1fr; gap: 16px; }
    .bion-faq-item { border-radius: 18px; }
    .bion-faq-item summary { min-height: 84px; padding: 22px; font-size: 1rem; }
    .bion-faq-answer { padding: 0 22px 24px; }
}


/* BION 4.3 — customizable FAQ heading and compact question cards */
.bion-faq-item summary {
    min-height: 82px;
    padding: 20px 32px;
}
.bion-faq-answer { padding: 0 32px 22px; }
@media (max-width: 900px) {
    .bion-faq-item summary { min-height: 76px; padding: 18px 24px; }
    .bion-faq-answer { padding: 0 24px 20px; }
}
@media (max-width: 640px) {
    .bion-faq-item summary { min-height: 70px; padding: 17px 20px; }
    .bion-faq-answer { padding: 0 20px 18px; }
}


/* BION 4.4 — show only three homepage projects until expanded */
#projectsGrid .project-card.is-filter-hidden,
#projectsGrid .project-card.is-load-more-hidden { display: none !important; }
.project-load-more-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}
#projectLoadMore[hidden] { display: none !important; }
.project-archive-link { text-decoration: none; }


/* BION 4.5 — Customer Feedback section */
.bion-feedback-section {
    position: relative;
    overflow: hidden;
    background: #3f3f3f;
    padding: 72px 0 58px;
}
.bion-feedback-title {
    margin: 0 0 82px;
    text-align: center;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    font-weight: 750;
}
.bion-feedback-slider {
    position: relative;
    overflow: hidden;
    padding: 0 0 52px;
}
.bion-feedback-track {
    display: flex;
    width: 100%;
    align-items: stretch;
    transition: transform .65s cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}
.bion-feedback-card {
    position: relative;
    flex: 0 0 33.333333%;
    width: 33.333333%;
    min-height: 400px;
    box-sizing: border-box;
    padding: 44px 42px 42px;
    background: rgba(255,255,255,.92);
    color: #222;
    text-align: center;
    opacity: .72;
    transform: scale(.94);
    transition: transform .55s ease, opacity .55s ease, box-shadow .55s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.bion-feedback-card.is-active {
    z-index: 2;
    background: #fff;
    opacity: 1;
    transform: scale(1.06);
    box-shadow: 0 24px 55px rgba(0,0,0,.18);
}
.bion-feedback-card blockquote {
    margin: 38px 0 40px;
    max-width: 560px;
    font-size: 1.18rem;
    line-height: 1.65;
    font-weight: 400;
}
.bion-feedback-stars {
    color: #252525;
    letter-spacing: 5px;
    font-size: 1.1rem;
    line-height: 1;
}
.bion-feedback-empty-stars { color: #bdbdbd; }
.bion-feedback-person {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: left;
}
.bion-feedback-person img,
.bion-feedback-avatar-placeholder {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    border-radius: 50%;
    object-fit: cover;
    background: #eee;
}
.bion-feedback-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #263746;
    font-size: 1.7rem;
    font-weight: 700;
}
.bion-feedback-person strong,
.bion-feedback-person span {
    display: block;
}
.bion-feedback-person strong {
    color: #202020;
    font-size: 1.12rem;
    margin-bottom: 5px;
}
.bion-feedback-person span {
    color: #444;
    font-size: .95rem;
    line-height: 1.5;
}
.bion-feedback-dots {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
.bion-feedback-dot {
    width: 12px;
    height: 12px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    opacity: .9;
}
.bion-feedback-dot.active { background: #fff; }
@media (max-width: 900px) {
    .bion-feedback-title { margin-bottom: 55px; }
    .bion-feedback-card { padding-left: 25px; padding-right: 25px; }
    .bion-feedback-card blockquote { font-size: 1.05rem; }
}
@media (max-width: 700px) {
    .bion-feedback-section { padding: 58px 0 48px; }
    .bion-feedback-title { margin-bottom: 38px; }
    .bion-feedback-slider { padding-bottom: 45px; }
    .bion-feedback-card {
        flex-basis: 100%;
        width: 100%;
        min-height: 360px;
        padding: 35px 24px;
        opacity: 1;
        transform: scale(1);
    }
    .bion-feedback-card.is-active { transform: scale(1); }
}


/* BION 4.6 — drag cursor and interaction */
.bion-feedback-slider {
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}
.bion-feedback-slider.is-dragging {
    cursor: grabbing;
}
.bion-feedback-slider.is-dragging .bion-feedback-track {
    transition: none !important;
}
.bion-feedback-card {
    user-select: none;
}
.bion-feedback-card img {
    -webkit-user-drag: none;
    user-drag: none;
}


/* BION 4.7 — editable hero slide backgrounds + clickable service cards */
.hero-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: stretch;
}
.hero-slide .container {
    position: relative;
    z-index: 2;
    width: 100%;
}
.hero-slide .hero-content {
    position: relative;
    z-index: 3;
}
.service-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.service-card-link:hover,
.service-card-link:focus,
.service-card-link:visited {
    color: inherit;
    text-decoration: none;
}
.service-card-link:focus-visible {
    outline: 3px solid rgba(47, 137, 207, .45);
    outline-offset: 4px;
}


/* BION 4.8 — contact phone display */
.bion-phone-lines {
    line-height: 1.55;
}


/* BION 4.9 — Hero background-only zoom. Text/buttons remain fixed and never zoom with the image. */
.hero-slide {
    background-image: none !important;
    transform: none !important;
    animation: none !important;
    overflow: hidden;
}
.hero-slide::before {
    content: "";
    position: absolute;
    inset: -5%;
    z-index: 0;
    background-image: var(--hero-bg-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.06);
    will-change: transform;
}
.hero-slide .container {
    position: relative;
    z-index: 2;
}
.hero-slide .hero-content {
    position: relative;
    z-index: 3;
}
.hero-slide.active::before {
    animation-duration: 8s;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}
.hero-slide.hero-zoom-in.active::before {
    animation-name: bionHeroZoomIn;
}
.hero-slide.hero-zoom-out.active::before {
    animation-name: bionHeroZoomOut;
}
.hero-slide.hero-zoom-none.active::before {
    animation-name: none;
    transform: scale(1.02);
}
@keyframes bionHeroZoomIn {
    from { transform: scale(1.00); }
    to { transform: scale(1.10); }
}
@keyframes bionHeroZoomOut {
    from { transform: scale(1.10); }
    to { transform: scale(1.00); }
}
@media (prefers-reduced-motion: reduce) {
    .hero-slide::before { animation: none !important; transform: scale(1.02) !important; }
}


/* BION 4.10 — definitive hero background-only zoom */
.hero-slide { isolation: isolate; background: none !important; }
.hero-slide::before {
    inset: -8% !important;
    transform-origin: center center !important;
    z-index: -1 !important;
}
.hero-slide.active.hero-zoom-in::before { animation: bionHeroZoomIn410 6s ease-in-out forwards !important; }
.hero-slide.active.hero-zoom-out::before { animation: bionHeroZoomOut410 6s ease-in-out forwards !important; }
.hero-slide.active.hero-zoom-none::before { animation: none !important; transform: scale(1.02) !important; }
@keyframes bionHeroZoomIn410 {
    from { transform: scale(1.00); }
    to { transform: scale(1.16); }
}
@keyframes bionHeroZoomOut410 {
    from { transform: scale(1.16); }
    to { transform: scale(1.00); }
}

/* BION 4.10 — footer newsletter form */
.footer #newsletter { min-width: 0; }
.footer .bion-newsletter-form {
    display: flex !important;
    align-items: stretch !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 !important;
}
.footer .bion-newsletter-form input[type="email"] {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 48px !important;
    padding: 0 14px !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 6px !important;
    background: rgba(255,255,255,.08) !important;
    color: #fff !important;
    outline: none !important;
    box-sizing: border-box !important;
}
.footer .bion-newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,.62) !important; }
.footer .bion-newsletter-form input[type="email"]:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(46,126,194,.18) !important;
}
.footer .bion-newsletter-form button[type="submit"] {
    flex: 0 0 auto !important;
    width: auto !important;
    min-height: 48px !important;
    padding: 0 18px !important;
    white-space: nowrap !important;
    border-radius: 6px !important;
}
.footer .bion-newsletter-form .bion-form-message { margin: 0 0 12px !important; }
@media (max-width: 600px) {
    .footer .bion-newsletter-form { flex-direction: column !important; }
    .footer .bion-newsletter-form input[type="email"],
    .footer .bion-newsletter-form button[type="submit"] { width: 100% !important; }
}


/* BION 4.11 — Contact Form Settings editor */
.bion-contact-settings-page .bion-contact-settings-grid {
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 18px 24px;
    margin-top: 24px;
}
.bion-contact-settings-page .bion-contact-setting-field {
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    padding: 16px;
    box-sizing: border-box;
}
.bion-contact-settings-page .bion-contact-setting-field.is-wide {
    grid-column: 1 / -1;
}
.bion-contact-settings-page .bion-contact-setting-field label {
    display: block;
    margin-bottom: 8px;
}
.bion-contact-settings-page .bion-contact-setting-field input,
.bion-contact-settings-page .bion-contact-setting-field textarea {
    width: 100%;
    box-sizing: border-box;
}
@media (max-width: 782px) {
    .bion-contact-settings-page .bion-contact-settings-grid {
        grid-template-columns: 1fr;
    }
    .bion-contact-settings-page .bion-contact-setting-field.is-wide {
        grid-column: auto;
    }
}

/* BION 4.11 — submit button aligned to the right */
.contact-form .cf-submit {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    margin-left: auto !important;
    margin-right: 0 !important;
}

/* BION 4.11 — modern draggable hero slider */
.hero.is-dragging {
    cursor: grabbing !important;
}
.hero.is-dragging .hero-slide {
    user-select: none;
}
.hero-nav {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 14px;
    pointer-events: none;
}
.hero-indicators {
    position: static !important;
    transform: none !important;
    display: flex !important;
    align-items: center;
    gap: 7px !important;
    pointer-events: auto;
}
.hero-dot {
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    padding: 0 !important;
    background: rgba(255,255,255,.45) !important;
    transition: all .25s ease !important;
}
.hero-dot.active {
    width: 22px !important;
    border-radius: 5px !important;
    background: #fff !important;
}
.hero-counter {
    min-width: 48px;
    color: rgba(255,255,255,.9);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-align: center;
    pointer-events: none;
}
.hero-arrow {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.5);
    border-radius: 50%;
    background: rgba(0,0,0,.22);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transform: translateY(3px);
    transition: opacity .25s ease, transform .25s ease, background .25s ease, border-color .25s ease;
    pointer-events: auto;
    backdrop-filter: blur(5px);
}
.hero:hover .hero-arrow,
.hero:focus-within .hero-arrow {
    opacity: 1;
    transform: translateY(0);
}
.hero-arrow:hover {
    background: rgba(46,126,194,.85);
    border-color: rgba(255,255,255,.9);
}
.hero-arrow span {
    display: block;
    transform: translateY(-1px);
}
.hero-slide::before {
    z-index: 0 !important;
    pointer-events: none !important;
}
@media (max-width: 700px) {
    .hero-nav {
        bottom: 18px;
        gap: 9px;
    }
    .hero-arrow {
        width: 34px;
        height: 34px;
        opacity: 1;
    }
    .hero-counter {
        font-size: 11px;
    }
}
