/* =====================================================
   HIDROINSTAL — Modern Corporate Design
   Inspired by Repairing WBS
   Colors: blue + red accent, no yellow
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css');

:root {
    --blue: #243472;
    --blue-light: #2e4290;
    --blue-dark: #1a2754;
    --blue-darker: #111c42;
    --blue-10: rgba(36, 52, 114, 0.1);
    --blue-20: rgba(36, 52, 114, 0.15);
    --white: #ffffff;
    --black: #0a0a0a;
    --gray: #bdbdbd;
    --gray-dark: #555;
    --gray-light: #f5f6f9;
    --gray-border: #e8e9eb;
    --red: #ce1d3f;
    --red-light: rgba(206, 29, 63, 0.08);
    --sky: #0EA5E9;
    --sky-light: rgba(14, 165, 233, 0.1);
    --cream: #f8f7f4;
    --font-heading: 'Inter Tight', 'Inter', sans-serif;
    --font-body: 'Inter Tight', 'Inter', sans-serif;

    --transition: all 0.3s ease-in-out;
    --transition-fast: all 0.2s ease;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 16px 50px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-btn: 10px;
}


/* =====================================================
   BASE
   ===================================================== */

body {
    font-family: var(--font-body);
    color: var(--black);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

/* Custom cursor — blue dot following the default arrow */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--blue);
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    opacity: 0.7;
    margin-top: 2px;
    margin-left: 2px;
}

/* Grow on interactive elements */
.custom-cursor.is-hover {
    width: 40px;
    height: 40px;
    opacity: 0.5;
    margin-top: 4px;
    margin-left: 4px;
}

/* Big cursor with text on osmoza cards */
.custom-cursor.is-hover-text {
    width: 110px;
    height: 110px;
    opacity: 0.85;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    margin-left: 0;
}

.custom-cursor .cursor-label {
    display: none;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    pointer-events: none;
    white-space: nowrap;
    line-height: 1;
    padding: 8px 12px;
}

.custom-cursor.is-hover-text .cursor-label {
    display: block;
}

/* Big cursor on gallery images — with + */
.custom-cursor.is-hover-gallery {
    width: 80px;
    height: 80px;
    opacity: 0.85;
    margin-top: 0;
    margin-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-cursor .cursor-plus {
    display: none;
    color: #fff;
    font-size: 28px;
    font-weight: 300;
    line-height: 1;
    pointer-events: none;
}

.custom-cursor.is-hover-gallery .cursor-plus {
    display: block;
}

.custom-cursor.is-hover-gallery .cursor-label {
    display: none;
}

/* Arrow cursor on category cards */
.custom-cursor .cursor-arrow {
    display: none;
    pointer-events: none;
    width: 24px;
    height: 24px;
}

.custom-cursor .cursor-arrow svg {
    width: 100%;
    height: 100%;
}

.custom-cursor.is-hover-arrow {
    width: 80px;
    height: 80px;
    opacity: 0.85;
    margin-top: 0;
    margin-left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-cursor.is-hover-arrow .cursor-arrow {
    display: block;
}

.custom-cursor.is-hover-arrow .cursor-label,
.custom-cursor.is-hover-arrow .cursor-plus {
    display: none;
}

/* Hide on mobile */
@media (hover: none), (pointer: coarse) {
    .custom-cursor { display: none; }
}

h1, h2, h3, h4, h5, h6,
.fickle-title,
.section-title,
.article-card-title {
    font-family: var(--font-heading);
}

::selection {
    color: var(--white);
    background: var(--blue);
}

/* Word-by-word reveal animation (AQUARC style) */
.aq-w {
    display: inline-block;
    overflow: hidden;
    vertical-align: bottom;
}

.aq-w > span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.aq-in .aq-w > span {
    transform: translateY(0);
}

/* Image scroll reveal — disabled, was hiding images */

/* Section header: h2 + subtitle text — separator line under the group */
.module-text:has(+ .text-inner) h2 {
    margin-bottom: 0;
}

.module-text + .text-inner {
    margin-top: 0;
}


/* =====================================================
   TYPOGRAPHY
   ===================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--black);
    line-height: 1.08;
    letter-spacing: -0.025em;
}

h1 { font-weight: 400; font-size: clamp(3rem, 6vw, 5.375rem); }
h2 { font-weight: 400; font-size: clamp(2.2rem, 4.5vw, 4rem); margin-bottom: 16px; }
h3 { font-weight: 500; font-size: 1.5rem; letter-spacing: -0.015em; }
h4 { font-weight: 500; font-size: 1.15rem; }

.uppercase, .uppercase h1, .uppercase h2, .uppercase h3 {
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

p {
    font-family: var(--font-body);
    color: var(--gray-dark);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.65;
    letter-spacing: -0.01em;
    margin: 0;
}

.module-text p { margin: 0 0 12px; }
.module-text p:last-of-type { margin: 0; }

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

a:hover {
    color: #4a6cf7;
}

ul, ol { margin: 0; padding: 0; }

ul li, ol li {
    color: var(--gray-dark);
    font-size: 17px;
    line-height: 1.7;
}

/* Content lists — blue square bullet */
.module-text ul,
.content-text ul,
.fickle-content ul {
    list-style: none;
    padding: 0;
}

.module-text ul li,
.content-text ul li,
.fickle-content ul li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.module-text ul li::before,
.content-text ul li::before,
.fickle-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--blue);
    border-radius: 1px;
}

/* Ordered lists — styled numbers */
.module-text ol,
.content-text ol,
.fickle-content ol {
    list-style: none;
    padding: 0;
    counter-reset: ol-counter;
}

.module-text ol li,
.content-text ol li,
.fickle-content ol li {
    padding-left: 48px;
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-border);
    counter-increment: ol-counter;
}

.module-text ol li:last-child,
.content-text ol li:last-child,
.fickle-content ol li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.module-text ol li::before,
.content-text ol li::before,
.fickle-content ol li::before {
    content: counter(ol-counter, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--blue);
    font-variant-numeric: tabular-nums;
}

strong { font-weight: 700; color: var(--black); }


/* =====================================================
   BUTTONS
   ===================================================== */

/* btn-primary moved to redesign.css */

/* (removed — uses general btn-primary styles) */

/* (removed — btn-with-icon uses general styles now) */

.btn-outline-primary {
    border: 2px solid var(--blue) !important;
    color: var(--blue) !important;
    background: transparent !important;
    border-radius: var(--radius-btn) !important;
    padding: 12px 28px !important;
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--blue) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
}

/* Arrow link button */
.btn-link-arrow {
    color: var(--white);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-link-arrow:hover {
    gap: 12px;
}

.btn-link-arrow::after {
    content: '→';
    transition: var(--transition);
}


/* =====================================================
   HEADER — Transparent on hero, white on scroll
   ===================================================== */


header#header {
    background: var(--white);
    z-index: 999;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
    padding: 0;
}

/* Header: transparent on homepage hero, white on other pages */
.header-top-part {
    background: var(--white);
    transition: background 0.4s ease;
    position: relative;
}

body.main-no-pt header#header:not(.fixed) .header-top-part {
    background: transparent;
}

header#header.fixed {
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    padding: 0.25rem 0;
}

header .header-inner,
header .builder-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header .module-image img {
    max-height: 52px;
    width: auto;
    transition: var(--transition);
}

/* Logo white only on homepage transparent header */
body.main-no-pt header#header:not(.fixed) .module-image img,
body.main-no-pt header#header:not(.fixed) .navbar-brand img {
    filter: brightness(0) invert(1);
}

header.fixed .module-image img {
    max-height: 40px;
}


/* =====================================================
   NAVIGATION
   ===================================================== */

.navbar-utilities .nav-utility a,
.navbar-utilities .nav-utility a .icon {
    color: var(--gray-dark);
    transition: color 0.3s ease;
}

body.main-no-pt header#header:not(.fixed) .navbar-utilities .nav-utility a,
body.main-no-pt header#header:not(.fixed) .navbar-utilities .nav-utility a .icon {
    color: var(--white);
}

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

.navbar-menu .navbar-nav > .nav-item > .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--gray-dark);
    text-decoration: none;
    transition: var(--transition-fast);
    position: relative;
    border-radius: var(--radius);
    white-space: nowrap;
}

.navbar-menu .navbar-nav > .nav-item > .nav-link:hover {
    color: var(--blue);
    background: none;
}

.navbar-menu .navbar-nav > .nav-item.active > .nav-link {
    color: var(--blue);
    font-weight: 600;
}

.navbar-menu .navbar-nav > .nav-item > .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--blue);
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.navbar-menu .navbar-nav > .nav-item:hover > .nav-link::after,
.navbar-menu .navbar-nav > .nav-item.active > .nav-link::after {
    transform: scaleX(1);
}

/* Homepage hero: white nav links on transparent */
body.main-no-pt header#header:not(.fixed) .navbar-menu .navbar-nav > .nav-item > .nav-link {
    color: rgba(255, 255, 255, 0.85);
}

body.main-no-pt header#header:not(.fixed) .navbar-menu .navbar-nav > .nav-item > .nav-link:hover {
    color: var(--white);
    background: none;
}

body.main-no-pt header#header:not(.fixed) .navbar-menu .navbar-nav > .nav-item.active > .nav-link {
    color: var(--white);
}

body.main-no-pt header#header:not(.fixed) .navbar-menu .navbar-nav > .nav-item > .nav-link::after {
    background: var(--white);
}

.navbar-menu .nav-link .nav-chevron {
    margin-left: 2px;
    opacity: 0.35;
    transition: transform 0.25s ease, opacity 0.25s ease;
    flex-shrink: 0;
}

.navbar-menu .nav-item.dropdown.dropdown-open > .nav-link .nav-chevron {
    transform: rotate(180deg);
    opacity: 0.7;
}

.navbar-menu .nav-item.dropdown > .nav-link-dropdown {
    display: none;
}

.navbar-menu .nav-item.dropdown {
    position: static;
}

/* Dropdown styles moved to redesign.css */

.navbar-menu .nav-item.dropdown:hover > .dropdown-menu {
    /* Handled by JS in redesign.js */
}

.dropdown-menu .dropdown-menu-inner {
    padding: 1.25rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.dropdown-menu .dropdown-menu-row {
    display: flex;
}

.dropdown-menu .dropdown-menu-wrapper {
    display: flex;
    gap: 0;
    width: 100%;
}

.dropdown-menu .dropdown-menu-col {
    min-width: 180px;
    flex: 1;
    padding: 0 0.5rem;
}

.dropdown-menu .dropdown-menu-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-menu .dropdown-menu-col ul {
    padding: 0;
}

.dropdown-menu .dropdown-menu-col ul li a,
.dropdown-menu .dropdown-item {
    display: block;
    padding: 6px 10px;
    font-size: 0.88rem;
    font-weight: 450;
    color: var(--gray-dark);
    text-decoration: none;
    transition: var(--transition-fast);
    white-space: nowrap;
    border-radius: 6px;
}

.dropdown-menu .dropdown-menu-col ul li a:hover,
.dropdown-menu .dropdown-item:hover {
    color: var(--white);
    background: none;
}

.dropdown-menu .dropdown-menu-with-submenu > ul {
    padding: 0;
}

.dropdown-menu .dropdown-menu-with-submenu > ul > li {
    margin-bottom: 4px;
}

.dropdown-menu .dropdown-menu-with-submenu > ul > li > a {
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--blue);
    padding: 6px 10px 2px;
    border-radius: 0;
}

.dropdown-menu .dropdown-menu-with-submenu > ul > li > a:hover {
    color: var(--blue-dark);
    background: transparent;
}

.dropdown-menu .sub-submenu-group {
    list-style: none;
    margin: 0 0 2px;
    padding: 0 0 0 10px;
    border-left: 2px solid var(--blue-10);
    margin-left: 10px;
}

.dropdown-menu .sub-submenu-group li a {
    padding: 4px 10px;
    font-size: 0.84rem;
    font-weight: 400;
    color: var(--gray-dark);
    border-radius: 6px;
}

.dropdown-menu .sub-submenu-group li a:hover {
    color: var(--white);
    background: var(--blue);
}

.dropdown-menu-wrapper.has-with-and-no-submenu .dropdown-menu-with-submenu {
    border-right: 1px solid var(--gray-border);
    padding-right: 1.5rem;
    flex: 1;
}

.dropdown-menu-wrapper.has-with-and-no-submenu .dropdown-menu-no-submenu {
    padding-left: 1.5rem;
    flex: 1;
}

/* Only no-submenu items: display as multi-column grid */
.dropdown-menu-wrapper.has-only-no-submenu .dropdown-menu-no-submenu ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.dropdown-menu .dropdown-menu-image-part {
    padding: 0;
    display: flex;
    align-items: stretch;
    border-left: none;
}

.dropdown-menu .dropdown-menu-image-part img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.dropdown-menu .dropdown-menu-no-submenu { padding: 4px 0; }


/* =====================================================
   HERO — Full viewport, gradient overlay
   ===================================================== */

/* Hero — Banat Rohbau project showcase style */
.hero-home {
    padding: 0 !important;
    margin-top: -150px;
}

.hero-home .builder-row { margin: 0; }
.hero-home .module-code { display: none; }
.hero-home .col-lg-12:has(.module-code) { display: none; }
.hero-home .hero-content { padding: 0 !important; }

.hero-home .module-fickle-basic {
    min-height: calc(100vh + 150px);
    background-size: cover;
    background-position: center top;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    padding: 0 80px 140px 120px;
    position: relative;
    overflow: hidden;
}

/* Dark overlay — subtle */
.hero-home .module-fickle-basic::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

/* Bottom-left gradient — strong */
.hero-home .module-fickle-basic::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    z-index: 1;
}

.hero-home .module-fickle-basic .fickle-header,
.hero-home .module-fickle-basic .fickle-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 650px;
}

/* Title — large */
/* Hero title — h1 uses global style, p.fickle-title matches h1 */
.hero-home .module-fickle-basic .fickle-title {
    color: var(--white);
    margin-bottom: 20px;
}

.hero-home .module-fickle-basic p.fickle-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5.375rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--white);
}

.hero-home .module-fickle-basic h1.fickle-title {
    color: var(--white);
}

.hero-home .module-fickle-basic .fickle-title a {
    color: var(--white);
    text-decoration: none;
}

/* Description */
.hero-home .module-fickle-basic .fickle-text-content,
.hero-home .module-fickle-basic .fickle-text-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.65;
    max-width: 520px;
}

/* Button */
.hero-home .module-fickle-basic .fickle-button {
    position: relative;
    z-index: 2;
    margin-top: 28px;
}

/* Hide dots */
.hero-home .slick-dots {
    display: none !important;
}

/* Hide default slick arrows — we use custom via JS */
.hero-home .slick-prev,
.hero-home .slick-next {
    display: none !important;
}

/* Hero sidebar: vertical line + counter on left edge */
.hero-sidebar {
    position: absolute;
    left: 48px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    height: 50%;
}

.hero-sidebar-line {
    width: 2px;
    flex: 1;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    overflow: hidden;
}

.hero-sidebar-fill {
    width: 100%;
    background: var(--white);
    border-radius: 2px;
    transition: height 0.5s ease;
}

.hero-sidebar-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--white);
    font-weight: 600;
}

.hero-sidebar-counter .hero-counter-current {
    font-size: 20px;
    line-height: 1;
}

.hero-sidebar-counter .hero-counter-sep {
    opacity: 0.3;
    font-size: 12px;
}

.hero-sidebar-counter .hero-counter-total {
    opacity: 0.4;
    font-size: 13px;
}

/* Hero inline arrows — next to button */
.hero-home .fickle-button {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-inline-arrows {
    display: flex;
    gap: 8px;
}

/* Custom arrows */
.hero-custom-arrows {
    display: flex;
    gap: 8px;
}

.hero-arrow-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-arrow-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-arrow-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

/* Scroll hint — mouse icon, absolute right, aligned with button row */
.scroll-hint {
    position: absolute;
    bottom: 170px;
    right: 80px;
    z-index: 10;
    width: 28px;
    height: 46px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    animation: scrollHintPulse 2.5s ease-in-out infinite;
}

.scroll-hint::after {
    content: '';
    width: 3px;
    height: 10px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { top: 7px; opacity: 1; }
    60% { top: 24px; opacity: 0; }
    100% { top: 7px; opacity: 0; }
}

@keyframes scrollHintPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@media (max-width: 767px) {
    .scroll-hint {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        bottom: 40px;
    }

    .hero-home .module-fickle-basic .fickle-title,
    .hero-home .module-fickle-basic p.fickle-title,
    .hero-home .module-fickle-basic h1.fickle-title {
        font-size: clamp(2.5rem, 10vw, 3.5rem) !important;
    }

    .hero-home .module-fickle-basic .fickle-text-content p {
        font-size: 14px !important;
    }
}


/* =====================================================
   SECTION SPACING (generous like Repairing WBS)
   ===================================================== */

/* Unified section spacing — single source of truth */
.section-padding,
.padding-section {
    padding: 80px 0 !important;
}

.section-padding-bottom {
    padding: 0 0 80px !important;
}

/* Builder row vertical gap between columns */
.builder-section .builder-row {
    row-gap: 32px;
}



/* =====================================================
   ABOUT / TEXT+IMAGE
   ===================================================== */

/* About section — Tilanium sticky card stacking */
.about-section {
    background: var(--gray-light) !important;
}

/* Header */
.about-section > .container > .builder-row > .col-lg-12 > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-border);
}

.about-section .uppercase h2 { margin-bottom: 0; white-space: nowrap; }
.about-section .text-inner { max-width: 480px; text-align: right; }
.about-section .text-inner p { color: var(--gray-dark); font-size: 17px; margin: 0; }

/* Card — positioned by JS scroll handler */
.about-card {
    background: #e4eaf2;
    border: 2px solid var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    will-change: transform;
}

.about-card:nth-child(1) { z-index: 1; }
.about-card:nth-child(2) { z-index: 2; }

/* Image — padding interior, rounded, forced full height */
.about-card .about-image {
    padding: 16px;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.about-card .about-image .module-image {
    position: absolute;
    top: 16px;
    right: 16px;
    bottom: 16px;
    left: 16px;
    border-radius: var(--radius);
    overflow: hidden;
}

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

/* Text — centrat vertical, spațiere internă */
.about-card .about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 48px 40px 40px;
    gap: 20px;
    overflow: hidden;
}

.about-card .about-text .module-text p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--gray-dark);
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.about-card .about-text .module-button {
    margin-top: 12px !important;
    padding-top: 0;
}

/* Hide original col-lg-6 (replaced by JS cards) */
.about-section .builder-row > .col-lg-6 { display: none; }

/* Cards container */
.about-cards-wrap {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Card sticky */
.about-card {
    position: sticky;
    top: 100px;
}

/* Last card no bottom margin */
.about-card:last-child {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .about-card {
        grid-template-columns: 1fr;
        height: auto;
    }
    .about-card .about-text { padding: 28px 24px; order: 2; }
    .about-card .about-image { order: 1; padding: 12px; }
    .about-card .about-image .module-image {
        position: static !important;
        border-radius: var(--radius);
        overflow: hidden;
    }
    .about-card .about-image img { min-height: 200px; max-height: 260px; }
}

@media (max-width: 767px) {
    .about-card {
        position: relative !important;
        top: auto !important;
    }
    .about-section .about-image {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 767px) {
    .about-section > .container > .builder-row > .col-lg-12 > div {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 24px;
        padding-bottom: 16px;
    }
    .about-section .text-inner { text-align: left; }
    .about-card { position: relative; top: auto; }
}

/* Old section-text-image styles removed — see redesign block */

.section-text-image .content-text .module-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-text-image .content-text .module-text > * { margin: 0 !important; }

.section-image {
    padding: 0 !important;
    background: transparent;
}

.section-image > .container {
    border-top: 1px solid var(--gray-border);
    border-bottom: 1px solid var(--gray-border);
    padding: 80px 0;
}

.section-image > .container > .row {
    background: rgb(228, 234, 242);
    border-radius: 16px;
    padding: 40px;
}

.section-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.section-image .content.d-flex { justify-content: center; }


/* =====================================================
   DARK SECTIONS (navy blue bg)
   ===================================================== */

.systems-section {
    background: var(--blue);
    position: relative;
    overflow: hidden;
}


.systems-section p,
.systems-section .module-text > * {
    color: rgba(255, 255, 255, 0.8) !important;
    position: relative;
}

.systems-section ul {
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

.systems-section ul li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.blue-section { position: relative; }

.blue-section::before {
    content: '';
    position: absolute;
    width: calc(100vw - 9px);
    height: 100%;
    top: 0;
    left: calc(-50vw + 50%);
    background-color: var(--blue);
}

.blue-section .content .module-text > *,
.blue-section .content .module-text li { color: var(--white); }


/* =====================================================
   CARDS — Dark bg style (Repairing WBS)
   ===================================================== */

.osmoza-card-col,
.app-card-col {
    margin-bottom: 1.5rem;
}

/* Image cards — dark bg */
.osmoza-card {
    background: var(--blue);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    border: none;
    box-shadow: var(--shadow-sm);
}

.osmoza-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.osmoza-card-img {
    overflow: hidden;
    aspect-ratio: 16/10;
    position: relative;
}

.osmoza-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.osmoza-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.osmoza-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.osmoza-card-body p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.7);
    flex: 1;
}

.osmoza-card-body .card-link {
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.osmoza-card-body .card-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.osmoza-card-body .card-link:hover {
    color: var(--white);
    gap: 12px;
}

.osmoza-card-body .card-link:hover::after {
    transform: translateX(4px);
}

/* Icon cards (app/fickle) — white bg */
.app-card.module-fickle-basic {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    border: 1px solid var(--gray-border);
    height: 100%;
    transition: var(--transition);
}

.app-card.module-fickle-basic:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.app-card .fickle-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius);
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.app-card:hover .fickle-icon {
    transform: scale(1.08);
    background: var(--blue-dark);
}

.app-card .fickle-icon i {
    font-size: 1.15rem;
    color: var(--white);
}

.app-card .fickle-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--black);
}

.app-card .fickle-text-content {
    color: var(--gray-dark);
    font-size: 0.92rem;
    line-height: 1.65;
    flex: 1;
}

.app-card .fickle-text-content p { margin-bottom: 0; }

.app-card .fickle-button { margin-top: 1.25rem; }

.app-card .fickle-button .btn,
.app-card .btn {
    color: var(--blue) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
    height: auto !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.app-card .fickle-button .btn::after,
.app-card .btn::after {
    content: '→';
    transition: transform 0.3s ease;
}

.app-card .fickle-button .btn:hover,
.app-card .btn:hover {
    color: #4a6cf7 !important;
}

.app-card .fickle-button .btn:hover::after,
.app-card .btn:hover::after {
    transform: translateX(4px);
}


/* =====================================================
   FEATURE CARDS (centered)
   ===================================================== */

.feature-card.module-fickle-basic {
    text-align: center;
    padding: 2rem 1.25rem;
}

.feature-card .fickle-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    transition: var(--transition);
}

.feature-card:hover .fickle-icon {
    transform: scale(1.1);
    background: var(--blue-dark);
}

.feature-card .fickle-icon i {
    font-size: 1.25rem;
    color: var(--white);
}

.feature-card .fickle-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--black);
}

.feature-card .fickle-text-content {
    color: var(--gray-dark);
    font-size: 0.9rem;
    line-height: 1.65;
}


/* =====================================================
   CONTACT SECTION
   ===================================================== */

/* Section header pattern — first 2 cols: title left, text right */
.contact-section .builder-row > .col-lg-6:first-child,
.contact-section .builder-row > .col-lg-6:nth-child(2) {
    padding-bottom: 32px;
}

/* Fake border-bottom spanning both header cols */
.contact-section .builder-row > .col-lg-6:nth-child(2) {
    display: flex;
    align-items: flex-end;
}

.contact-section .builder-row > .col-lg-6:nth-child(2)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gray-border, #e9eaeb);
}

.contact-section .builder-row > .col-lg-6:nth-child(2) {
    position: relative;
}

.contact-section .builder-row > .col-lg-6:first-child h2 {
    margin: 0;
}

.contact-section .builder-row > .col-lg-6:nth-child(2) p {
    color: var(--gray-dark);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    text-align: right;
}

.contact-section .builder-row > .col-lg-6:nth-child(2) a {
    color: var(--color-primary);
    font-weight: 600;
}

@media (max-width: 767px) {
    .contact-section .builder-row > .col-lg-6:nth-child(2) p {
        text-align: left;
    }
}

.contact-section .contact-details {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-section .contact-details h2 { margin: 0; }

.contact-section .contact-details p {
    line-height: 1.7;
    color: var(--gray-dark);
}

.contact-section .contact-details a { color: var(--blue); font-weight: 600; }
.contact-section .contact-details a:hover { color: #4a6cf7; }
.contact-section .contact-details strong { color: var(--black); }

.contact-section .contact-map { flex: 1; margin-top: 16px; }

.contact-section .contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 250px;
    border-radius: var(--radius-lg) !important;
}

.contact-section .contact-form-col { padding-left: 2rem; }


/* =====================================================
   FORMS
   ===================================================== */

.c-form .form-control,
.c-form .form-select,
form .form-control,
form .form-select {
    border-radius: var(--radius-btn);
    border: 1.5px solid var(--gray-border);
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    background: var(--white);
    color: var(--black);
}

.c-form .form-control:focus,
.c-form .form-select:focus,
form .form-control:focus,
form .form-select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px var(--blue-10);
    outline: none;
}

.c-form .form-control::placeholder,
form .form-control::placeholder { color: var(--gray); }

.c-form textarea.form-control,
form textarea.form-control { min-height: 130px; resize: vertical; }

.c-form label, form label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 4px;
}

.c-form .btn-primary,
.c-form .btn-submit,
form .btn-submit {
    background: var(--blue) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: var(--radius-btn) !important;
    padding: 14px 32px !important;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.c-form .btn-primary:hover,
.c-form .btn-submit:hover,
form .btn-submit:hover {
    background: var(--blue-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(36, 52, 114, 0.25);
}

.field-message { font-size: 0.82rem; color: #4a6cf7; margin-top: 4px; }

.captcha-wrapper { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.captcha-input .form-control { max-width: 200px; }
.captcha-image img { border-radius: var(--radius); cursor: pointer; }

.form-check-acceptance { margin: 1rem 0; }
.form-check-acceptance .form-check-label { font-size: 0.85rem; color: var(--gray-dark); cursor: pointer; }


/* =====================================================
   PAGE TITLE — Dark bar
   ===================================================== */

.section-title-blue {
    background: var(--blue);
    padding: 3.5rem 0 !important;
    position: relative;
    overflow: hidden;
}

.section-title-blue h1 { color: var(--white); margin: 0; position: relative; }
.section-title-blue p { color: rgba(255,255,255,0.7) !important; position: relative; }
.section-title-blue .module-text p a { color: rgba(255,255,255,0.7) !important; }
.section-title-blue .module-text p a:hover { color: var(--white) !important; }


/* =====================================================
   CTA SECTION — Dark bg
   ===================================================== */

/* Old CTA styles removed — see redesign block below */

/* CTA btn inherits btn-primary / btn-with-icon */


/* =====================================================
   TABLES
   ===================================================== */

.section-table h2 { margin-bottom: 1.5rem; }

.section-text-image .content-text table,
.section-table .table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.section-table .table th {
    background: var(--blue);
    color: var(--white);
    font-weight: 600;
    padding: 12px 20px;
    border: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.section-table .table td,
.section-text-image .content-text table td {
    padding: 10px 20px;
    color: var(--black);
    vertical-align: middle;
    border-bottom: 1px solid var(--gray-border);
    font-size: 0.95rem;
}

.section-table .table td:first-child { font-weight: 600; }
.section-table .table-striped > tbody > tr:nth-of-type(odd) > td { background: var(--gray-light); }
.section-table .table tr:hover td { background: var(--blue-10); }


/* =====================================================
   GALLERY — Blue overlay + plus icon
   ===================================================== */

.module-gallery .module-gallery-inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.module-gallery .gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.module-gallery .gallery-item a { display: block; width: 100%; height: 100%; }

.module-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.module-gallery .gallery-item:hover img { transform: scale(1.06); }

.module-gallery .gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--blue);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 2;
}

.module-gallery .gallery-item:hover::before { opacity: 0.6; }

.module-gallery .gallery-item::after {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 300;
    width: 50px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 3;
}

.module-gallery .gallery-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}


/* =====================================================
   FAQ
   ===================================================== */

.module-faq .accordion-item {
    border: none;
    border-bottom: 1px solid var(--gray-border);
    background: transparent;
}

.module-faq .accordion-button {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--black);
    padding: 1.25rem 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.module-faq .accordion-button:not(.collapsed) { color: var(--blue); background: transparent; }

.module-faq .accordion-body {
    padding: 0 0 1.25rem;
    font-size: 1rem;
    color: var(--gray-dark);
    line-height: 1.7;
}


/* =====================================================
   SCROLL ANIMATIONS
   ===================================================== */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll:nth-child(2) { transition-delay: 0.1s; }
.animate-on-scroll:nth-child(3) { transition-delay: 0.15s; }
.animate-on-scroll:nth-child(4) { transition-delay: 0.2s; }
.animate-on-scroll:nth-child(5) { transition-delay: 0.25s; }
.animate-on-scroll:nth-child(6) { transition-delay: 0.3s; }
.animate-on-scroll:nth-child(7) { transition-delay: 0.35s; }
.animate-on-scroll:nth-child(8) { transition-delay: 0.4s; }


/* =====================================================
   FOOTER
   ===================================================== */

footer {
    background: var(--blue) !important;
    padding-top: 5rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

footer > .builder-section > .container {
    max-width: 1080px;
}

footer,
footer p, footer li, footer a, footer span,
footer div, footer ul, footer label,
footer strong, footer em {
    color: var(--white) !important;
}

footer a { transition: var(--transition-fast); }
footer a:hover { color: #4a6cf7 !important; }

footer ul, footer ol { list-style: none !important; padding-left: 0 !important; }

footer i, footer .fa, footer .icon, footer [class*="icon"] { color: var(--white) !important; }

footer svg {
    color: var(--white) !important;
}

footer svg path,
footer svg circle,
footer svg rect,
footer svg polygon,
footer svg line,
footer svg polyline,
footer svg ellipse {
    stroke: var(--white) !important;
}

/* Only fill paths that already have a fill (not fill="none") */
footer svg[fill="none"] path {
    fill: none !important;
}

footer svg:not([fill="none"]) path {
    fill: var(--white) !important;
}

footer a:hover i, footer a:hover .fa { color: #4a6cf7 !important; }
footer a:hover svg path { stroke: #4a6cf7 !important; }
footer a:hover svg:not([fill="none"]) path { fill: #4a6cf7 !important; }

footer .module-image img {
    filter: brightness(0) invert(1);
    max-height: 50px;
    width: auto;
    margin-bottom: 1.25rem;
    opacity: 0.9;
}

/* ANPC / legal images — no invert, align right */
footer .copyright-bar .legal-wrapper {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

footer .copyright-bar .legal-wrapper .module-image img {
    filter: none;
    max-height: 36px;
    margin-bottom: 0;
    opacity: 0.7;
}

footer .copyright-bar .legal-wrapper .module-image img:hover {
    opacity: 1;
}

footer h3, footer h4 {
    color: var(--white) !important;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

footer .module-text p, footer .module-text {
    color: rgba(255,255,255,0.6) !important;
    font-size: 0.9rem;
    line-height: 1.7;
}

footer .module-text a { color: rgba(255,255,255,0.8) !important; font-weight: 600; text-decoration: none !important; }
footer .module-text a:hover { color: #4a6cf7 !important; }

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

footer .footer-nav li a {
    color: rgba(255,255,255,0.6) !important;
    text-decoration: none !important;
    font-size: 0.9rem;
    display: inline-block;
    padding: 6px 0;
    transition: color 0.3s ease;
    position: relative;
}

footer .footer-nav li a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 1px;
    background: #4a6cf7;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

footer .footer-nav li a:hover {
    color: #4a6cf7 !important;
}

footer .footer-nav li a:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
}

/* Footer links — underline slide animation */
footer .footer-links .module-footer ul li a {
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none !important;
    display: inline-block;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

footer .footer-links .module-footer ul li a::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.7);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

footer .footer-links .module-footer ul li a:hover {
    color: var(--white) !important;
}

footer .footer-links .module-footer ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

footer .footer-contact strong { color: rgba(255,255,255,0.4) !important; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* Footer contact links */
footer .footer-contact .module-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer .footer-contact .module-contact ul li {
    margin-bottom: 12px;
}

footer .footer-contact .module-contact ul li a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none !important;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
}

footer .footer-contact .module-contact ul li a:hover {
    color: var(--white) !important;
}

/* Underline slide on footer contact links */
footer .footer-contact .module-contact ul li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 40px;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.7);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

footer .footer-contact .module-contact ul li a:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
}

/* SVG icons in circles */
footer .footer-contact .module-contact ul li a svg {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px;
    padding: 8px;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.3s ease;
    overflow: visible;
}

footer .footer-contact .module-contact ul li a svg path,
footer .footer-contact .module-contact ul li a svg circle {
    stroke: rgba(255, 255, 255, 0.6) !important;
}

footer .footer-contact .module-contact ul li a:hover svg {
    background: rgba(255, 255, 255, 0.2);
}

footer .footer-contact .module-contact ul li a:hover svg path,
footer .footer-contact .module-contact ul li a:hover svg circle {
    stroke: var(--white) !important;
}

footer .footer-social-links {
    display: flex;
    gap: 10px;
    margin-top: 1.25rem;
}

footer .footer-social-links a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5) !important;
    text-decoration: none !important;
    transition: var(--transition);
}

footer .footer-social-links a:hover {
    background: var(--white);
    color: var(--blue) !important;
    transform: translateY(-3px);
}

footer .footer-social-links a:hover i,
footer .footer-social-links a:hover .fa { color: var(--blue) !important; }

footer .footer-social-links a:hover svg,
footer .footer-social-links a:hover svg path { fill: var(--blue) !important; stroke: var(--blue) !important; }

footer .copyright-bar {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.25rem 0 !important;
    margin-top: 2.5rem;
}

footer .copyright-bar .module-text,
footer .copyright-bar .module-text p { color: rgba(255,255,255,0.3) !important; font-size: 0.8rem; margin-bottom: 0; }

footer .anpc-badges { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
footer .anpc-badges img { filter: none !important; opacity: 0.6; max-height: 40px !important; transition: var(--transition-fast); }
footer .anpc-badges img:hover { opacity: 1; }


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 991px) {
    .hero-home .module-fickle-basic {
        padding: 0 32px 100px;
    }

    .section-padding,
    .padding-section,
    .section-text { padding: 60px 0 !important; }

    .about-reverse .about-text { padding-left: 0; margin-top: 1.5rem; }
    .about-section .about-image { margin-bottom: 1.5rem; }
    .contact-section .contact-form-col { padding-left: 0.75rem; margin-top: 2rem; }
    .section-text-image .content-image { margin-bottom: 1.5rem; }
    .section-text-image.reverse .builder-row { flex-direction: column; }
    .section-contact-btn { padding: 0 1.5rem !important; }

    .module-gallery .module-gallery-inner {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 8px;
    }

    .hero-sidebar { left: 24px; height: 40%; }
    .hero-arrow-btn { width: 40px; height: 40px; }
}

@media (max-width: 767px) {
    .hero-home { margin-top: -80px; }
    .hero-home .module-fickle-basic { min-height: 100svh; padding: 0 20px 100px; }
    .section-padding,
    .padding-section,
    .section-text { padding: 48px 0 !important; }
    .section-table .table-responsive { overflow-x: auto; }
    .module-gallery .module-gallery-inner { grid-template-columns: repeat(2, 1fr); }
    .section-title-blue { padding: 2.5rem 0 !important; }
    footer { padding-top: 3rem; }
    .hero-sidebar { left: 12px; height: 30%; }
    .hero-sidebar-counter .hero-counter-current { font-size: 14px; }
    .hero-arrow-btn { width: 36px; height: 36px; }
    .hero-home .module-fickle-basic { padding: 0 20px 100px 40px !important; }
}


/* =====================================================
   NAVIGATION — Mobile
   ===================================================== */

@media (max-width: 991px) {
    .navbar-menu .navbar-nav { flex-direction: column; gap: 0; padding: 1rem 0; }

    .navbar-menu .navbar-nav > .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--gray-border);
    }

    .navbar-menu .navbar-nav > .nav-item > .nav-link {
        padding: 0.85rem 1.25rem;
        width: 100%;
        justify-content: space-between;
        border-radius: 0;
        color: var(--black) !important;
    }

    .navbar-menu .navbar-nav > .nav-item > .nav-link:hover { background: var(--blue-10); }
    .navbar-menu .navbar-nav > .nav-item > .nav-link::after { display: none; }

    .navbar-menu .nav-item.dropdown > .nav-link-dropdown {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        cursor: pointer;
        position: absolute;
        right: 0;
        top: 0;
    }

    .navbar-menu .nav-item.dropdown > .nav-link-dropdown svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
    .navbar-menu .nav-item.dropdown { position: relative; }

    .navbar-menu .dropdown-menu {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        width: 100%; height: 100vh;
        transform: translateX(100%);
        opacity: 1; visibility: visible; pointer-events: auto;
        border-radius: 0; border: none; box-shadow: none;
        z-index: 1100;
        overflow-y: auto;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navbar-menu .dropdown-menu.show { transform: translateX(0); }
    .navbar-menu .dropdown-menu .dropdown-menu-wrapper.mobile { flex-direction: column; padding: 0; }

    .dropdown-menu .close-dropdown-menu-wrapper { padding: 0.75rem 1rem; border-bottom: 1px solid var(--gray-border); }

    .dropdown-menu .close-dropdown-menu {
        display: flex; align-items: center; gap: 8px;
        background: none; border: none;
        font-size: 0.9rem; font-weight: 600; color: var(--blue);
        cursor: pointer; padding: 8px 0;
    }

    .dropdown-menu .close-dropdown-menu .icon { transform: rotate(180deg); display: flex; }
    .dropdown-menu .close-dropdown-menu .icon svg { width: 14px; height: 14px; }

    .dropdown-menu .dropdown-menu-items { list-style: none; margin: 0; padding: 0; }

    .dropdown-menu .dropdown-menu-items > .nav-item {
        border-bottom: 1px solid var(--gray-border);
        position: relative;
    }

    .dropdown-menu .dropdown-menu-items > .nav-item > .dropdown-item {
        padding: 0.85rem 1.25rem; font-weight: 600; font-size: 0.9rem; color: var(--black);
    }

    .dropdown-menu .dropdown-menu-items .nav-link-dropdown {
        position: absolute; right: 0; top: 0;
        width: 48px; height: 48px;
        display: flex; align-items: center; justify-content: center;
        cursor: pointer;
    }

    .dropdown-menu .dropdown-menu-items .nav-link-dropdown svg { width: 14px; height: 14px; }

    .dropdown-menu .sub-submenu-group { border-left: none; margin-left: 0; background: var(--gray-light); }
    .dropdown-menu .sub-submenu-group.hidden { display: none; }
    .dropdown-menu .sub-submenu-group li a { padding: 0.75rem 1.5rem; font-size: 0.9rem; border-bottom: 1px solid var(--gray-border); }

    .navbar-menu-contact { padding: 1.5rem 1.25rem; border-top: 1px solid var(--gray-border); }

    .navbar-menu-contact .title p {
        font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
        letter-spacing: 0.06em; color: var(--gray-dark); margin-bottom: 0.75rem;
    }

    .navbar-menu-contact .contact-links { list-style: none; padding: 0; margin: 0 0 1.5rem; }

    .navbar-menu-contact .contact-links .contact-item a {
        display: flex; align-items: center; gap: 8px;
        padding: 8px 0; text-decoration: none; color: var(--black); font-size: 0.9rem;
    }

    .navbar-menu-contact .social-media-links { list-style: none; padding: 0; margin: 0; display: flex; gap: 1rem; }
    .navbar-menu-contact .social-media-links a { color: var(--gray-dark); transition: var(--transition-fast); }
    .navbar-menu-contact .social-media-links a:hover { color: var(--blue); }
}


/* =====================================================
   ARTICLE CARDS
   ===================================================== */

.article-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-border);
    height: 100%;
    text-decoration: none;
    transition: var(--transition);
    margin-bottom: 1.5rem;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
    text-decoration: none;
}

.article-card-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.article-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.article-card-excerpt {
    font-size: 0.92rem;
    color: var(--gray-dark);
    line-height: 1.65;
    flex: 1;
}

.article-card-link {
    color: var(--blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 12px;
    display: inline-block;
    transition: var(--transition-fast);
}

.article-card:hover .article-card-link {
    color: #4a6cf7;
}


/* =====================================================
   PAGE TEXT CARDS (no image, title + text + button)
   ===================================================== */

.page-text-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-border);
    padding: 2rem;
    height: 100%;
    text-decoration: none;
    transition: var(--transition);
    margin-bottom: 1.5rem;
    position: relative;
}

.page-text-card:hover {
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.page-text-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
    transition: var(--transition-fast);
}

.page-text-card:hover .page-text-card-title {
    color: var(--blue);
}

.page-text-card-excerpt {
    font-size: 0.92rem;
    color: var(--gray-dark);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 0;
}

.page-text-card-btn {
    color: var(--blue);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1rem;
    display: inline-block;
    transition: var(--transition-fast);
}

.page-text-card:hover .page-text-card-btn {
    color: #4a6cf7;
}


/* =====================================================
   GLIGHTBOX
   ===================================================== */

.gslide-title {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
}
/* ==========================================================================
   HIDROINSTAL REDESIGN
   Plumbee visual language, Hidroinstal color palette
   Loaded LAST, overrides custom.css where needed
   ========================================================================== */

/* ---------- DESIGN TOKENS ---------- */

:root {
    /* Hidroinstal palette (preserved) */
    --color-primary: #243472;
    --color-primary-hover: rgba(36, 52, 114, 0.9);
    --color-primary-10: rgba(36, 52, 114, 0.1);
    --color-primary-20: rgba(36, 52, 114, 0.2);
    --color-secondary: #ce1d3f;
    --color-accent: #4a6cf7;
    --color-text: #181d27;
    --color-muted: #717680;
    --color-bg: #ffffff;
    --color-bg-alt: #f3f5f7;
    --color-bg-dark: #1a1a1a;
    --color-border: #e9eaeb;
    --color-border-dark: #3f3e3e;

    /* Typography */
    --font-primary: 'Inter Tight', 'Inter', sans-serif;
    --body-size: 17px;
    --body-lh: 1.77;

    /* Spacing */
    --section-py: 176px;
    --section-py-md: 120px;
    --section-py-sm: 72px;
    --container-max: 1320px;
    --container-px: 24px;

    /* Radii */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-pill: 999px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --duration: 300ms;
    --duration-slow: 600ms;
}

@media (max-width: 991px) {
    :root {
        --section-py: var(--section-py-md);
        --container-px: 20px;
    }
}

@media (max-width: 767px) {
    :root {
        --section-py: var(--section-py-sm);
        --container-px: 16px;
    }
}


/* ---------- BASE RESET ---------- */

body {
    font-family: var(--font-primary);
    font-size: var(--body-size);
    line-height: var(--body-lh);
    color: var(--color-text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

/* Heading styles — use global only (top of file) */

h4 {
    font-size: 1.5rem;
    line-height: 1.16em;
    letter-spacing: -0.96px;
    font-weight: 600;
}

p {
    color: var(--color-muted);
    font-size: var(--body-size);
    line-height: var(--body-lh);
}

/* Force consistent heading styles across all content sections */
.page-content h1 {
    font-weight: 400 !important;
    letter-spacing: -0.03em;
    font-size: clamp(2.5rem, 5vw, 3.5rem) !important;
    line-height: 1.1;
}

.page-content h2,
.page-content h2 strong,
.page-content h2 b {
    font-weight: 400 !important;
    letter-spacing: -0.02em;
    font-size: clamp(1.5rem, 3vw, 2.25rem) !important;
    line-height: 1.2;
}

/* Force consistent paragraph size across all content sections */
.module-text p,
.fickle-text-content p,
.fickle-content p,
.content-text p,
.about-text p,
.page-text-card-excerpt,
.article-card-excerpt,
.text-inner p,
.osmoza-header p {
    font-size: 17px !important;
    line-height: 1.7;
}

/* Exclude systems section — has its own dark theme sizing */
.systems-section .text-content p {
    font-size: 1.35rem !important;
}

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

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

::selection {
    background: var(--color-primary);
    color: var(--color-bg);
}


/* ---------- EYEBROW LABELS ---------- */

.eyebrow,
.section-eyebrow {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
    display: block;
}

.eyebrow::before { content: '('; }
.eyebrow::after { content: ')'; }


/* ---------- CONTAINER ---------- */

/* Boxed container - wider */
.container {
    max-width: 1600px !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
}

/* Full-width container */
.container-fluid {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Hero no padding */
.hero-home .container,
.hero-home .container-fluid {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Kill Bootstrap gutter on hero */
.hero-home .row,
.hero-home .builder-row,
.hero-home .row > *,
.hero-home .builder-row > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    --bs-gutter-x: 0;
}

@media (max-width: 991px) {
    .container {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }
}

@media (max-width: 767px) {
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}


/* Section text spacing — see redesign block */

.bg-alt {
    background: var(--color-bg-alt);
}


/* ---------- BUTTONS ---------- */

/* Plumbr-style pill button */
.btn-primary,
.btn.btn-primary {
    background: var(--blue) !important;
    color: var(--white) !important;
    border: none !important;
    border-radius: 107px !important;
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.25;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 10px 10px 28px !important;
    cursor: pointer;
    text-decoration: none !important;
    position: relative;
    overflow: hidden;
    transition: background 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 2px 8px rgba(36,52,114,0.18),
                0 6px 20px rgba(36,52,114,0.12) !important;
}

/* Arrow circle — hidden, replaced by JS-injected .btn-arrow-circle */
.btn-primary::after,
.btn.btn-primary::after {
    display: none !important;
}

/* Arrow circle (injected by JS) */
.btn-arrow-circle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    background: var(--white);
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    display: inline-block;
}

/* Arrow wrap: two SVGs stacked diagonally, only first visible */
.btn-arrow-circle .arrow-wrap {
    position: absolute;
    inset: 0;
    transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.1, 1);
}

.btn-arrow-circle .arrow-wrap svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: block;
    position: absolute;
}

/* First arrow: centered */
.btn-arrow-circle .arrow-wrap svg:first-child {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Second arrow: offset diagonally (bottom-left, outside circle) */
.btn-arrow-circle .arrow-wrap svg:last-child {
    top: 50%;
    left: 50%;
    transform: translate(calc(-50% - 34px), calc(-50% + 34px));
}

/* Hover: shift wrap diagonally so second arrow lands at center */
.btn-primary:hover .btn-arrow-circle .arrow-wrap,
.btn-with-icon:hover .btn-arrow-circle .arrow-wrap {
    transform: translate(34px, -34px);
}

/* Hover */
.btn-primary:hover,
.btn.btn-primary:hover {
    background: var(--blue-light) !important;
    color: var(--white) !important;
    transform: none !important;
    box-shadow: 0 2px 8px rgba(36,52,114,0.12),
                0 12px 32px rgba(36,52,114,0.16) !important;
}

.btn-primary:focus-visible,
.btn.btn-primary:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

/* Icon box hidden — arrow is via ::after */
.btn-primary .btn-icon-box {
    display: none;
}

/* Text slide animation (Plumbr style) — JS adds .btn-text-wrap */
.btn-text-wrap {
    display: inline-flex;
    flex-direction: column;
    overflow: hidden;
    height: 1.25em;
    line-height: 1.25;
}

.btn-text-top,
.btn-text-bottom {
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.btn-text-bottom {
    color: inherit;
}

/* Hover: slide text up */
.btn-primary:hover .btn-text-top,
.btn-with-icon:hover .btn-text-top {
    transform: translateY(-100%);
}

.btn-primary:hover .btn-text-bottom,
.btn-with-icon:hover .btn-text-bottom {
    transform: translateY(-100%);
}

/* Secondary button */
.btn-secondary,
.btn.btn-secondary,
.btn-outline-primary {
    background: transparent !important;
    color: var(--color-text) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: var(--radius-sm) !important;
    padding: 12px 24px !important;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--duration) ease-in-out;
}

.btn-secondary:hover,
.btn.btn-secondary:hover,
.btn-outline-primary:hover {
    background: var(--color-bg-alt) !important;
    border-color: var(--color-text) !important;
    color: var(--color-text) !important;
}

/* btn-with-icon — Plumbr pill (inherits primary style) */
.btn-with-icon {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 10px 10px 10px 28px !important;
    background: var(--blue) !important;
    color: var(--white) !important;
    border-radius: 107px !important;
    border: none !important;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none !important;
    overflow: hidden;
    transition: background 0.35s ease, box-shadow 0.35s ease;
    box-shadow: 0 2px 8px rgba(36,52,114,0.18),
                0 6px 20px rgba(36,52,114,0.12) !important;
}

/* Hide old inline SVG icon (only direct child, not arrow-circle SVGs) */
.btn-with-icon > .btn-icon-box svg,
.btn-with-icon > svg {
    display: none !important;
}

.btn-with-icon::after {
    display: none !important;
}

.btn-with-icon:hover {
    background: var(--blue-light) !important;
}

/* Secondary (white) variant — btn-secondary with icon */
.btn-secondary.btn-with-icon,
.btn-outline-primary.btn-with-icon,
.btn.btn-secondary {
    background: var(--white) !important;
    color: var(--blue) !important;
    border: 1px solid var(--gray-border) !important;
    box-shadow: none !important;
}

/* Secondary arrow circle color */
.btn-secondary .btn-arrow-circle,
.btn-outline-primary .btn-arrow-circle {
    background: var(--blue);
}

.btn-secondary .btn-arrow-circle svg,
.btn-outline-primary .btn-arrow-circle svg {
    fill: var(--white);
}

.btn-secondary.btn-with-icon:hover,
.btn-outline-primary.btn-with-icon:hover,
.btn.btn-secondary:hover {
    background: var(--gray-light) !important;
    color: var(--blue) !important;
    border-color: var(--gray) !important;
}

/* Old btn-arrow/btn-icon-box — no longer used */
.btn-icon-box { display: none !important; }
.btn-arrow::after { display: none; }


/* ---------- HEADER ---------- */

header#header {
    background: var(--color-bg) !important;
    z-index: 999;
    padding: 0 !important;
    transition: box-shadow var(--duration) var(--ease);
    border-bottom: 1px solid var(--color-border) !important;
    box-shadow: none !important;
}

header#header.fixed {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}

header#header .navbar {
    --bs-navbar-padding-y: 0 !important;
    padding-block: 0.5rem !important;
}

header#header .module-image img {
    filter: none !important;
    max-height: 48px;
}

/* Nav links */
.navbar-menu .navbar-nav > .nav-item > .nav-link {
    color: var(--color-text) !important;
    font-size: 15px !important;
    padding: 8px 14px !important;
}

.navbar-menu .navbar-nav > .nav-item:hover > .nav-link {
    color: var(--color-primary) !important;
}

header .module-image img {
    max-height: 48px;
    width: auto;
    transition: all var(--duration) var(--ease);
}

header.fixed .module-image img {
    max-height: 38px;
}


/* ---------- NAVIGATION ---------- */

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

.navbar-menu .navbar-nav > .nav-item > .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: color var(--duration) var(--ease);
    position: relative;
    white-space: nowrap;
}

/* Nav link — text slide up animation (like buttons) */
.navbar-menu .navbar-nav > .nav-item > .nav-link::after {
    display: none;
}

.navbar-menu .navbar-nav > .nav-item > .nav-link .nav-text-wrap {
    display: inline-flex;
    flex-direction: column;
    overflow: hidden;
    height: 1.25em;
    line-height: 1.25;
}

.navbar-menu .navbar-nav > .nav-item > .nav-link .nav-text-top,
.navbar-menu .navbar-nav > .nav-item > .nav-link .nav-text-bottom {
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.navbar-menu .navbar-nav > .nav-item:hover > .nav-link .nav-text-top,
.navbar-menu .navbar-nav > .nav-item.dropdown-open > .nav-link .nav-text-top {
    transform: translateY(-100%);
}

.navbar-menu .navbar-nav > .nav-item:hover > .nav-link .nav-text-bottom,
.navbar-menu .navbar-nav > .nav-item.dropdown-open > .nav-link .nav-text-bottom {
    transform: translateY(-100%);
}

.navbar-menu .navbar-nav > .nav-item.dropdown-open > .nav-link {
    color: var(--color-primary);
}

.navbar-menu .nav-item.dropdown-open > .nav-link .nav-chevron {
    transform: rotate(180deg);
    opacity: 0.7;
}

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

/* Chevron */
.navbar-menu .nav-link .nav-chevron {
    margin-left: 4px;
    opacity: 0.6;
    transition: transform 250ms ease, opacity 250ms ease;
    width: 12px;
    height: 12px;
}

.navbar-menu .nav-item.dropdown.dropdown-open > .nav-link .nav-chevron {
    transform: rotate(180deg);
    opacity: 0.7;
}

.navbar-menu .nav-item.dropdown > .nav-link-dropdown {
    display: none;
}

/* Mega menu dropdown */
.navbar-menu .nav-item.dropdown {
    position: static;
}

/* Bridge gap between nav-item and dropdown */
.navbar-menu .nav-item.dropdown::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    right: -20px;
    height: 20px;
    display: none;
    z-index: 999;
}

.navbar-menu .nav-item.dropdown:hover::after {
    display: block;
}

.navbar-menu .dropdown-menu,
.navbar-expand-lg .navbar-nav .dropdown-menu {
    display: block !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    margin-left: 0 !important;
    pointer-events: none;
    background: var(--color-primary) !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15) !important;
    padding: 0 !important;
    z-index: 1000 !important;
    transform: none !important;
    clip-path: inset(0 0 100% 0);
    opacity: 1;
    visibility: visible;
    transition: clip-path 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover no longer opens dropdown — click only via JS */
.navbar-menu .nav-item.dropdown:hover > .dropdown-menu {
    /* disabled — click only */
}

/* Staggered fade-in for dropdown items */
.navbar-menu .dropdown-menu .dropdown-item,
.navbar-menu .dropdown-menu .dropdown-menu-col ul li a {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.navbar-menu .nav-item.dropdown:hover > .dropdown-menu .dropdown-item,
.navbar-menu .nav-item.dropdown:hover > .dropdown-menu .dropdown-menu-col ul li a {
    opacity: 1;
    transform: translateY(0);
}

.navbar-menu .nav-item.dropdown:hover > .dropdown-menu .dropdown-item:nth-child(1),
.navbar-menu .nav-item.dropdown:hover > .dropdown-menu li:nth-child(1) a { transition-delay: 0.08s; }
.navbar-menu .nav-item.dropdown:hover > .dropdown-menu .dropdown-item:nth-child(2),
.navbar-menu .nav-item.dropdown:hover > .dropdown-menu li:nth-child(2) a { transition-delay: 0.12s; }
.navbar-menu .nav-item.dropdown:hover > .dropdown-menu .dropdown-item:nth-child(3),
.navbar-menu .nav-item.dropdown:hover > .dropdown-menu li:nth-child(3) a { transition-delay: 0.16s; }
.navbar-menu .nav-item.dropdown:hover > .dropdown-menu .dropdown-item:nth-child(4),
.navbar-menu .nav-item.dropdown:hover > .dropdown-menu li:nth-child(4) a { transition-delay: 0.20s; }
.navbar-menu .nav-item.dropdown:hover > .dropdown-menu .dropdown-item:nth-child(5),
.navbar-menu .nav-item.dropdown:hover > .dropdown-menu li:nth-child(5) a { transition-delay: 0.24s; }
.navbar-menu .nav-item.dropdown:hover > .dropdown-menu .dropdown-item:nth-child(6),
.navbar-menu .nav-item.dropdown:hover > .dropdown-menu li:nth-child(6) a { transition-delay: 0.28s; }
.navbar-menu .nav-item.dropdown:hover > .dropdown-menu .dropdown-item:nth-child(7),
.navbar-menu .nav-item.dropdown:hover > .dropdown-menu li:nth-child(7) a { transition-delay: 0.32s; }
.navbar-menu .nav-item.dropdown:hover > .dropdown-menu .dropdown-item:nth-child(8),
.navbar-menu .nav-item.dropdown:hover > .dropdown-menu li:nth-child(8) a { transition-delay: 0.36s; }

/* Keep dropdown open when hovering the dropdown itself */
.navbar-menu .dropdown-menu:hover {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.dropdown-menu .dropdown-menu-inner {
    padding: 0;
    max-width: 100%;
    margin: 0;
    display: flex;
    padding-left: 40px;
}

.dropdown-menu .dropdown-menu-row {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.dropdown-menu .dropdown-menu-wrapper {
    display: flex;
    gap: 0;
    flex: 1;
    padding: 20px 32px 20px 0;
}

.dropdown-menu .dropdown-menu-col {
    flex: 1;
    padding: 0 8px;
}

.dropdown-menu .dropdown-menu-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-menu .dropdown-menu-col ul li a,
.dropdown-menu .dropdown-item {
    display: block;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 450;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 150ms ease;
    white-space: nowrap;
    border-radius: var(--radius-sm);
}

.dropdown-menu .dropdown-menu-col ul li a:hover,
.dropdown-menu .dropdown-item:hover {
    color: var(--color-bg);
    background: rgba(255, 255, 255, 0.12);
}

/* Level 3 group headers */
.dropdown-menu .dropdown-menu-with-submenu > ul {
    padding: 0;
}

.dropdown-menu .dropdown-menu-with-submenu > ul > li {
    margin-bottom: 4px;
}

.dropdown-menu .dropdown-menu-with-submenu > ul > li > a {
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-bg);
    padding: 6px 12px 2px;
    border-radius: 0;
}

.dropdown-menu .dropdown-menu-with-submenu > ul > li > a:hover {
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
}

.dropdown-menu .sub-submenu-group {
    list-style: none;
    margin: 0 0 4px;
    padding: 0 0 0 12px;
    border-left: none;
    margin-left: 12px;
}

.dropdown-menu .sub-submenu-group li a {
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-sm);
}

.dropdown-menu .sub-submenu-group li a:hover {
    color: var(--color-bg);
    background: rgba(255, 255, 255, 0.12);
}

/* Mixed columns separator */
.dropdown-menu-wrapper.has-with-and-no-submenu .dropdown-menu-no-submenu {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 24px;
}

.dropdown-menu-wrapper.has-with-and-no-submenu .dropdown-menu-with-submenu {
    padding-left: 24px;
}

/* No-submenu grid layout */
.dropdown-menu-wrapper.has-only-no-submenu .dropdown-menu-no-submenu ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.dropdown-menu .dropdown-menu-image-part {
    padding: 20px 40px 20px 20px;
    display: flex;
    align-items: stretch;
    border-left: none;
    flex: 0 0 40%;
    overflow: hidden;
}

.dropdown-menu .dropdown-menu-image-part .dropdown-menu-image {
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
}

.dropdown-menu .dropdown-menu-image-part .dropdown-menu-image {
    width: 100%;
    height: 100%;
}

.dropdown-menu .dropdown-menu-image-part img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    border-radius: 0;
    display: block;
    transition: transform var(--duration-slow) var(--ease);
}

.dropdown-menu .dropdown-menu-image-part:hover img {
    transform: scale(1.04);
}

.dropdown-menu .dropdown-menu-no-submenu {
    padding: 4px 0;
}

/* Mega menu nav+panels layout */
.dropdown-menu-nav-col {
    flex: 0 0 auto;
    min-width: 240px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 16px !important;
}

.dropdown-menu-panels-col {
    flex: 1;
    padding-left: 16px !important;
    position: relative;
}

.mega-panel {
    display: none;
}

.mega-panel.mega-panel-visible {
    display: block;
}

/* Items with children — chevron */
.dropdown-item-has-children {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.dropdown-item-has-children .chevron-icon {
    opacity: 0.4;
    flex-shrink: 0;
    stroke: currentColor;
    transition: opacity 200ms ease;
}

.dropdown-item-has-children:hover .chevron-icon,
.dropdown-item.mega-nav-active .chevron-icon {
    opacity: 1;
}

/* Active nav item highlight */
.dropdown-item.mega-nav-active {
    color: var(--color-bg) !important;
    background: rgba(255, 255, 255, 0.12) !important;
}


/* ---------- HERO SLIDER (duplicate removed — see top of file) ---------- */


/* ---------- ABOUT SECTIONS (Plumbee — see top of file) ---------- */


/* ---------- SYSTEMS (DARK SECTION) ---------- */

.systems-section {
    background: var(--color-primary);
    position: relative;
    text-align: center;
}

.systems-section .builder-row {
    justify-content: center;
}

.systems-section .builder-row > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}


.systems-section p,
.systems-section .module-text > * {
    color: rgba(255, 255, 255, 0.8) !important;
    text-align: center;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.systems-section .text-content p {
    color: rgba(255, 255, 255, 0.2) !important;
    font-size: 1.35rem;
    line-height: 1.85;
    font-weight: 300;
}

.systems-section .module-text p {
    margin-bottom: 16px;
}

.systems-section ul {
    text-align: left;
    display: inline-block;
    max-width: 700px;
}

.systems-section ul li {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 8px;
}

/* Scroll-driven text reveal — words light up as you scroll */
.systems-section .text-content .reveal-word {
    color: rgba(255, 255, 255, 0.25);
    transition: color 0.3s ease;
    display: inline;
}

.systems-section .text-content .reveal-word.is-lit {
    color: rgba(255, 255, 255, 0.9);
}

/* Systems two-column layout (builder col-lg-6 + col-lg-6) */
.systems-section .builder-row {
    align-items: center;
}

.systems-section .systems-content {
    text-align: left;
    padding-right: 48px;
}

.systems-section .col-lg-6:last-child {
    padding-left: 40px;
}

.systems-section .systems-content .module-text > *,
.systems-section .systems-content p {
    text-align: left !important;
    max-width: none !important;
    margin-left: 0 !important;
}

.systems-section h2,
.systems-section h2.title,
.systems-section .module-text h2,
.systems-section .systems-content h2,
.systems-section h2 span {
    color: #ffffff !important;
}

/* Right column — fickle cards */
.systems-section .col-lg-6:last-child {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.systems-section .col-lg-6:last-child .module-fickle-basic {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: all 0.3s ease;
}


.systems-section .col-lg-6:last-child .fickle-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white) !important;
    margin-bottom: 8px;
}

.systems-section .col-lg-6:last-child .fickle-text-content,
.systems-section .col-lg-6:last-child .fickle-text-content p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55) !important;
    text-align: left !important;
    max-width: none !important;
    margin: 0 !important;
}

/* Systems fickle cards — full restyle */
.systems-section .col-lg-6:last-child .fickle-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.systems-section .col-lg-6:last-child .module-fickle-basic {
    background: rgba(255, 255, 255, 0.1) !important;
    background-image: none !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    padding: 28px 24px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Icon image — small, white */
.systems-section .col-lg-6:last-child .fickle-image {
    order: -2;
    margin-bottom: 16px;
}

.systems-section .col-lg-6:last-child .fickle-image img {
    width: 36px !important;
    height: 36px !important;
    max-width: 36px !important;
    filter: brightness(0) invert(1);
    opacity: 0.5;
}

/* Title */
.systems-section .col-lg-6:last-child .fickle-header {
    order: -1;
}

.systems-section .col-lg-6:last-child .fickle-title {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: var(--white) !important;
    margin-bottom: 8px !important;
}

/* Text */
.systems-section .col-lg-6:last-child .fickle-text-content,
.systems-section .col-lg-6:last-child .fickle-text-content p {
    font-size: 0.875rem !important;
    line-height: 1.7 !important;
    color: rgba(255, 255, 255, 0.55) !important;
    text-align: left !important;
    max-width: none !important;
    margin: 0 !important;
}

@media (max-width: 991px) {
    .systems-section .systems-content {
        position: static;
        padding-right: 0;
    }

    .systems-section .col-lg-6:last-child {
        padding-left: 15px;
    }

    .systems-section .text-content p,
    .systems-section .text-content .reveal-word {
        font-size: 1rem !important;
        line-height: 1.7 !important;
    }
}


/* ---------- CARDS (Osmoza style - image cards) ---------- */

.osmoza-card-col {
    margin-bottom: 24px;
}

.osmoza-card {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

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

.osmoza-card-img {
    overflow: hidden;
    aspect-ratio: 16/10;
}

.osmoza-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease);
}

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

.osmoza-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.osmoza-card-body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
    letter-spacing: 0;
}

.osmoza-card-body p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-muted);
    flex: 1;
}

.osmoza-card-body .card-link {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    margin-top: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 200ms ease;
}

.osmoza-card-body .card-link::after {
    content: '\2192';
    transition: transform 250ms ease;
}

.osmoza-card-body .card-link:hover {
    color: var(--color-accent);
}

.osmoza-card-body .card-link:hover::after {
    transform: translateX(4px);
}


/* ---------- APP CARDS (icon + text, fickle) ---------- */

.app-card-col {
    margin-bottom: 24px;
}

.app-card.module-fickle-basic {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    border: 1px solid var(--color-border);
    height: 100%;
    transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.app-card.module-fickle-basic:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.app-card .fickle-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: background var(--duration) var(--ease);
}

.app-card:hover .fickle-icon {
    background: var(--color-primary);
}

.app-card .fickle-icon i {
    font-size: 1.1rem;
    color: var(--color-primary);
    transition: color var(--duration) var(--ease);
}

.app-card:hover .fickle-icon i {
    color: var(--color-bg);
}

.app-card .fickle-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text);
}

.app-card .fickle-text-content {
    color: var(--color-muted);
    font-size: 16px;
    line-height: 1.6;
}

.app-card .fickle-text-content p { margin-bottom: 0; }

.app-card .fickle-button { margin-top: 16px; }

.app-card .fickle-button .btn,
.app-card .btn {
    color: var(--color-primary) !important;
    font-weight: 600;
    font-size: 15px;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
    height: auto !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.app-card .fickle-button .btn::after,
.app-card .btn::after {
    content: '\2192';
    transition: transform 250ms ease;
}

.app-card .fickle-button .btn:hover,
.app-card .btn:hover {
    color: var(--color-accent) !important;
}

.app-card .fickle-button .btn:hover::after,
.app-card .btn:hover::after {
    transform: translateX(4px);
}


/* ---------- FEATURE CARDS ---------- */

.feature-card.module-fickle-basic {
    text-align: center;
    padding: 32px 20px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all var(--duration) var(--ease);
}

.feature-card.module-fickle-basic:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.feature-card .fickle-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--color-bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    transition: background var(--duration) var(--ease);
}

.feature-card:hover .fickle-icon {
    background: rgba(255, 255, 255, 0.15);
}

.feature-card .fickle-icon i {
    font-size: 1.2rem;
    color: var(--color-primary);
    transition: color var(--duration) var(--ease);
}

.feature-card:hover .fickle-icon i {
    color: var(--color-bg);
}

.feature-card .fickle-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--color-text);
    transition: color var(--duration) var(--ease);
}

.feature-card:hover .fickle-title {
    color: var(--color-bg);
}

.feature-card .fickle-text-content {
    color: var(--color-muted);
    font-size: 15px;
    line-height: 1.6;
    transition: color var(--duration) var(--ease);
}

.feature-card:hover .fickle-text-content,
.feature-card:hover .fickle-text-content p {
    color: rgba(255, 255, 255, 0.75);
}


/* ---------- CONTACT SECTION ---------- */


.contact-section .contact-details p {
    line-height: 1.7;
    color: var(--color-muted, #717680);
    font-size: 15px;
    margin-bottom: 8px;
}

.contact-section .contact-details p strong {
    color: var(--color-text, #181d27);
    font-weight: 600;
}

.contact-section .contact-details a {
    color: var(--color-primary);
    font-weight: 500;
}

.contact-section .contact-details a:hover {
    color: var(--color-accent, #4a6cf7);
}

.contact-section .contact-details p em {
    font-size: 13px;
    color: var(--color-muted);
}

/* Map + contact card overlay */
.contact-section .contact-details {
    position: relative;
}

.contact-section .contact-map {
    margin: 0;
}

.contact-section .contact-details {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-section .contact-details .text-wrapper:empty,
.contact-section .contact-details .modules-wrapper:empty {
    display: none;
}

.contact-section .contact-map {
    flex: 1;
}

.contact-section .contact-map,
.contact-section .contact-map iframe {
    height: 100%;
}

.contact-section .contact-map iframe {
    border-radius: var(--radius-lg) !important;
    width: 100%;
    min-height: 400px;
}

/* Contact fickle cards — 3 columns row */
.contact-section .contact-details .text-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.contact-section .contact-details .text-wrapper .module-fickle-basic {
    background: var(--gray-light, #f3f5f7) !important;
    background-image: none !important;
    border-radius: var(--radius);
    padding: 20px 16px;
    min-height: auto;
    display: grid;
    grid-template-columns: 28px 1fr;
    grid-template-rows: auto auto;
    gap: 2px 14px;
    align-items: center;
}

/* Icon — left, spans both rows */
.contact-section .contact-details .text-wrapper .fickle-image {
    grid-row: 1 / 3;
    grid-column: 1;
}

.contact-section .contact-details .text-wrapper .fickle-image img {
    width: 28px !important;
    height: 28px !important;
    max-width: 28px !important;
    filter: none;
    opacity: 1;
}

/* Color SVG paths blue */
.contact-section .contact-details .text-wrapper .fickle-image img[src$=".svg"] {
    filter: invert(16%) sepia(80%) saturate(1800%) hue-rotate(215deg) brightness(70%);
}

/* Title row 1, text row 2 — right of icon */
.contact-section .contact-details .text-wrapper .fickle-header {
    grid-row: 1;
    grid-column: 2;
}

.contact-section .contact-details .text-wrapper .fickle-content {
    grid-row: 2;
    grid-column: 2;
}

.contact-section .contact-details .text-wrapper .fickle-title {
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--gray-dark) !important;
    margin-bottom: 2px !important;
}

/* Phone link */
.contact-section .contact-details .text-wrapper .fickle-text-content,
.contact-section .contact-details .text-wrapper .fickle-text-content p {
    font-size: 15px !important;
    font-weight: 600 !important;
    margin: 0 !important;
}

.contact-section .contact-details .text-wrapper .fickle-text-content a {
    color: var(--color-primary) !important;
    text-decoration: none;
}


/* Note — full width below cards, light blue bg */
.contact-section .contact-info-overlay,
.contact-section .contact-details .important {
    margin-top: 12px;
    background: #e8edf6 !important;
    border-radius: var(--radius);
    padding: 16px 20px;
}

.contact-section .contact-info-overlay p,
.contact-section .contact-details .important p {
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #3a4a6b !important;
}

.contact-section .contact-info-overlay strong,
.contact-section .contact-details .important strong {
    color: var(--color-primary) !important;
    font-weight: 700;
}

/* Phone links clickable */
.contact-section .contact-details .text-wrapper .fickle-text-content a {
    color: var(--color-primary) !important;
    text-decoration: none;
    pointer-events: auto;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: color 0.3s ease;
}

.contact-section .contact-details .text-wrapper .fickle-text-content a:hover {
    color: var(--black) !important;
    text-decoration: underline;
}

@media (max-width: 767px) {
    .contact-section .contact-details .text-wrapper {
        grid-template-columns: 1fr;
    }
    .contact-section .contact-map iframe {
        min-height: 280px;
    }
}

/* Contact form */
.contact-section .contact-form-col {
    background: var(--gray-light, #f3f5f7);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
}

.contact-section .contact-form-col .form-group {
    margin-bottom: 24px;
}

.contact-section .contact-form-col .form-control {
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius);
    padding: 14px 16px;
    font-size: 15px;
    font-family: var(--font-body);
    background: #fff;
    color: var(--color-text, #181d27);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-section .contact-form-col .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(36, 52, 114, 0.08);
    outline: none;
    background: #fff;
}

.contact-section .contact-form-col .form-control::placeholder {
    color: rgba(0, 0, 0, 0.35);
    font-weight: 400;
}

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

.contact-section .contact-form-col .form-check-acceptance {
    margin: 24px 0 8px;
}

.contact-section .contact-form-col .form-check-label {
    font-size: 13px;
    color: var(--gray-dark);
    cursor: pointer;
    line-height: 1.5;
}

.contact-section .contact-form-col .form-check-input {
    margin-right: 8px;
    margin-top: 2px;
    border-radius: 4px;
}

.contact-section .contact-form-col .form-submit {
    margin-top: 24px;
}

.contact-section .contact-form-col .btn-submit {
    width: auto;
    padding: 14px 36px !important;
    font-size: 15px;
    font-weight: 600;
    border-radius: 107px !important;
}

.contact-section .contact-form-col .field-message {
    display: none;
    font-size: 12px;
    color: #ce1d3f;
    margin-top: 4px;
}

@media (max-width: 991px) {
    .contact-section .contact-form-col {
        padding: 32px 24px;
        margin-top: 24px;
    }
}


/* ---------- CTA SECTION ---------- */

/* CTA section — transparent bg, text left + button right */
.section-contact-btn {
    background: transparent;
    padding: 80px 0 !important;
    margin-bottom: 0;
}

.section-contact-btn > .container {
    background: transparent;
    padding: 0;
}

.section-contact-btn .content {
    background: rgb(228, 234, 242);
    border-radius: 16px;
    padding: 56px 48px;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.section-contact-btn .module-text {
    flex: 1;
}

.section-contact-btn h2 {
    color: var(--black) !important;
    font-weight: 400 !important;
    letter-spacing: -0.02em;
}

.section-contact-btn p,
.section-contact-btn .module-text p {
    color: var(--black) !important;
    font-size: clamp(1.25rem, 2.5vw, 1.65rem) !important;
    font-weight: 400;
    letter-spacing: -0.01em;
    margin: 0;
    max-width: 560px;
    line-height: 1.45;
}

.section-contact-btn .module-button {
    flex-shrink: 0;
}

.section-contact-btn .btn-primary > svg {
    display: none;
}

@media (max-width: 767px) {
    .section-contact-btn > .container {
        padding: 0;
    }
    .section-contact-btn .content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 40px 24px;
    }
    .section-contact-btn p,
    .section-contact-btn .module-text p {
        max-width: none;
    }
}


/* ---------- FORMS ---------- */

.c-form .form-control,
.c-form .form-select,
form .form-control,
form .form-select {
    border-radius: 14px;
    border: 1px solid var(--color-border);
    padding: 14px 18px;
    font-family: var(--font-primary);
    font-size: 16px;
    transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
    background: var(--color-bg);
    color: var(--color-text);
}

.c-form .form-control:focus,
form .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-10);
    outline: none;
}

.c-form textarea.form-control,
form textarea.form-control {
    min-height: 140px;
}

.c-form label, form label {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 6px;
}


/* ---------- PAGE TITLE BAR ---------- */

.section-title-blue {
    background: rgb(228, 234, 242);
    padding: 80px 0 40px !important;
    margin-bottom: 0;
}

.section-title-blue > .container {
    border-bottom: 1px solid var(--gray-border);
    padding-bottom: 40px;
}

.section-title-blue .content.padding-section {
    padding: 0 !important;
}

/* Title sections — same bg as section-title-blue */
.builder-section:has(> .container > .row > .col-lg-12 > .title.padding-section:has(h1)):not(.section-title-blue):not(.hero-home):not(.section-category) {
    background: rgb(228, 234, 242);
    padding: 80px 0 40px !important;
    margin-bottom: 48px;
}

/* Section-category title bg */
.section-category {
    background: rgb(228, 234, 242);
}

.section-title-blue h1 {
    color: var(--black) !important;
    margin: 0;
    font-weight: 400 !important;
    letter-spacing: -0.03em;
}

.section-title-blue p {
    color: var(--color-muted) !important;
    margin-top: 8px;
}

.section-title-blue .module-button {
    margin-top: 24px;
}

/* section-title-blue uses default btn-primary styles */

/* ---------- TEXT+IMAGE SUBPAGES — Varianta A (clean minimal) ---------- */

.section-text-image {
    padding: 80px 0 !important;
}

.section-text-image:nth-of-type(even),
.section-text:nth-of-type(even) {
    background: var(--gray-light);
}

.section-text-image .builder-row {
    align-items: center;
}

.section-text-image .content-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-right: 64px;
}

.section-text-image.reverse .content-text {
    padding-right: 0;
    padding-left: 64px;
}

@media (max-width: 991px) {
    .section-text-image .content-text,
    .section-text-image.reverse .content-text {
        padding-right: 0;
        padding-left: 0;
    }
}

.section-text-image .content-text h2,
.section-text-image .content-text h3 {
    font-weight: 400 !important;
    letter-spacing: -0.02em;
    font-size: clamp(1.4rem, 2.5vw, 2rem) !important;
    line-height: 1.2;
    margin-bottom: 8px;
}

.section-text-image .content-text p {
    color: var(--color-muted);
    line-height: 1.7;
    font-size: 16px;
}

.section-text-image .content-image {
    background: rgb(228, 234, 242);
    border-radius: 16px;
    overflow: hidden;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-text-image .content-image img {
    border-radius: 8px;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Text-only sections */
.section-text {
    padding: 80px 0 !important;
}

.section-text .content-text h2,
.section-text .content-text h3 {
    font-weight: 400 !important;
    letter-spacing: -0.02em;
    font-size: clamp(1.4rem, 2.5vw, 2rem) !important;
    line-height: 1.2;
    margin-bottom: 8px;
}

/* Section-text with 2 columns — add gap + padding between */
.section-text .builder-row:has(.col-lg-6 + .col-lg-6) {
    align-items: start;
}

.section-text .builder-row .col-lg-6:first-child .content-text {
    padding-right: 40px;
}

.section-text .builder-row .col-lg-6:last-child .content-text {
    padding-left: 40px;
    border-left: 1px solid var(--gray-border);
}

@media (max-width: 991px) {
    .section-text .builder-row .col-lg-6:first-child .content-text {
        padding-right: 0;
    }
    .section-text .builder-row .col-lg-6:last-child .content-text {
        padding-left: 0;
        border-left: none;
        margin-top: 32px;
        padding-top: 32px;
        border-top: 1px solid var(--gray-border);
    }
}

/* Page-specific: sterilizatoare — no padding-bottom on 2-col section */
.page-slug-sterilizatoare-cu-uv .section-text:has(.col-lg-6 + .col-lg-6) {
    padding-bottom: 0 !important;
}

/* Page-specific: recipiente-presiune — table section tight */
.page-slug-recipiente-presiune .section-text-image:last-of-type {
    padding-bottom: 0 !important;
}

.page-slug-recipiente-presiune .section-text-image:last-of-type .content-text {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.page-slug-recipiente-presiune .section-text-image {
    padding-bottom: 0 !important;
}

/* Page-specific: gac-carbune — no padding-bottom on text section */
.page-slug-gac-carbune-granular-activat .section-text {
    padding-bottom: 0 !important;
}

/* Page-specific padding fixes */
.page-slug-valve-automate .section-text:has(.col-lg-6) {
    padding: 80px 0 0 0 !important;
}

.page-slug-piese-schimb-statii-tratare .section-text,
.page-slug-birm .section-text {
    padding: 80px 0 0 0 !important;
}

.page-slug-pyrolox .section-text-image {
    padding: 80px 0 0 0 !important;
}

.page-slug-rasina-dedurizare .section-text-image.reverse,
.page-slug-rasina-demineralizare .section-text-image.reverse,
.page-slug-rasina-denitrificare .section-text-image.reverse {
    padding: 80px 0 0 0 !important;
}

.page-slug-antiscalanti .section-text,
.page-slug-membrane-osmoza .section-text {
    padding: 80px 0 0 0 !important;
}

/* Full-width content-text (col-lg-12) — no side padding */
.section-text-image .col-lg-12 > .content-text {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

/* Bold-only paragraphs as badges — applied via JS (.is-badge) */
.module-text p.is-badge {
    background: var(--blue);
    color: var(--white) !important;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 14px !important;
    letter-spacing: 0.05em;
    margin-top: 24px;
}

.module-text p.is-badge strong {
    color: var(--white);
    font-weight: 600;
}

/* Inline tables in content — blue borders */
.module-text table,
.content-text table,
.module-text table[border],
.content-text table[border] {
    width: 100%;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin: 16px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--blue) !important;
}

.module-text table td,
.module-text table th,
.content-text table td,
.content-text table th,
.module-text table[border] td,
.module-text table[border] th,
.content-text table[border] td,
.content-text table[border] th {
    padding: 12px 16px !important;
    font-size: 15px !important;
    border: 1px solid rgba(36, 52, 114, 0.2) !important;
    color: var(--color-text) !important;
}

.module-text table td strong,
.content-text table td strong {
    font-weight: 600;
    color: var(--black);
}

.module-text table tr:nth-child(even) td,
.content-text table tr:nth-child(even) td {
    background: rgb(228, 234, 242);
}

.module-text table tr:nth-child(odd) td,
.content-text table tr:nth-child(odd) td {
    background: var(--white);
}

.section-text .content-text p {
    color: var(--color-muted);
    line-height: 1.7;
}

/* Borders removed — using alternating bg instead */

@media (max-width: 991px) {
    .section-text-image .content-image {
        position: static;
    }
    .section-text-image .builder-row {
        gap: 32px;
    }
}


/* ---------- TABLES ---------- */

.section-table .table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.section-table .table th {
    background: var(--color-primary);
    color: var(--color-bg);
    font-weight: 600;
    padding: 12px 20px;
    border: none;
    font-size: 15px;
}

.section-table .table td {
    padding: 12px 20px;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
}

.section-table .table tr:hover td {
    background: var(--color-bg-alt);
}


/* ---------- GALLERY ---------- */

.module-gallery .module-gallery-inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.module-gallery .gallery-item {
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.module-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--duration-slow) var(--ease);
}

.module-gallery .gallery-item:hover img {
    transform: scale(1.04);
}

/* Gallery hover — overlay stays, + icon removed, cursor circle instead */
.module-gallery .gallery-item::after {
    display: none !important;
}

.module-gallery .gallery-item {
    cursor: none;
}


/* ---------- ARTICLE CARDS ---------- */

.article-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

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

.article-card-image {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.article-card-image img {
    transition: transform var(--duration-slow) var(--ease);
}

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


/* ---------- PAGE TEXT CARDS ---------- */

.page-text-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

.page-text-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.page-text-card-title {
    color: var(--color-text);
    transition: color 200ms ease;
}

.page-text-card:hover .page-text-card-title {
    color: var(--color-primary);
}

.page-text-card-btn {
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
}

/* Page card button — flat style, text slide + arrow */
.page-card-btn.btn.btn-primary {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 16px 24px 24px !important;
    color: var(--black) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    box-shadow: none !important;
    margin-top: auto;
}

.page-card-btn.btn.btn-primary:hover {
    background: transparent !important;
    box-shadow: none !important;
}

.page-card-btn .btn-text-wrap .btn-text-top,
.page-card-btn .btn-text-wrap .btn-text-bottom {
    color: var(--black);
}

.page-card-btn .btn-arrow-circle {
    background: rgba(36, 52, 114, 0.08) !important;
    border: 1px solid rgba(36, 52, 114, 0.12);
}

.page-text-card:hover .page-card-btn .btn-arrow-circle {
    background: var(--color-primary) !important;
    border-color: var(--color-primary);
}

.page-text-card:hover .page-card-btn .btn-arrow-circle .arrow-wrap svg {
    stroke: #fff !important;
}

.page-text-card:hover .page-card-btn .btn-arrow-circle .arrow-wrap {
    transform: translate(34px, -34px);
}

/* Card-content button styling */
.card-content .module-fickle-basic {
    position: relative;
}

.card-content .fickle-button {
    margin-top: auto;
    padding-top: 20px;
}

.card-content .fickle-button .btn-primary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    color: var(--color-primary) !important;
    font-weight: 600;
    font-size: 14px;
}

.card-content .card-arrow {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.card-content .card-arrow svg {
    width: 14px;
    height: 14px;
    stroke: var(--color-primary);
    transition: stroke 0.3s ease;
}

.card-content .module-fickle-basic:hover .card-arrow {
    background: var(--color-primary);
}

.card-content .module-fickle-basic:hover .card-arrow svg {
    stroke: var(--white);
}



/* Apps slider (Plumio style — horizontal scroll from container, overflow right) */
.apps-section .app-card-col {
    overflow: visible;
}

.apps-section .pages-text-grid {
    margin-right: calc(-1 * (100vw - 100%) / 2);
    overflow: visible;
}

.apps-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
    padding-right: 60px;
}

/* Hide scrollbar */
.apps-slider::-webkit-scrollbar { display: none; }
.apps-slider { -ms-overflow-style: none; scrollbar-width: none; }

.apps-slide {
    flex: 0 0 360px;
    scroll-snap-align: start;
}

.apps-slider .page-text-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-border);
    text-decoration: none;
    transition: box-shadow 0.3s ease;
    height: 100%;
}

.apps-slider .page-text-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.apps-slider .page-text-card-title {
    padding: 24px 24px 0;
    font-size: 1.15rem !important;
    margin-bottom: 8px;
}

.apps-slider .page-text-card-title .aq-w > span {
    transform: translateY(0);
}

.apps-slider .page-text-card-excerpt {
    padding: 0 24px;
    font-size: 14px;
    color: var(--gray-dark);
    line-height: 1.6;
    flex: 1;
}

.apps-slider .page-text-card-btn {
    padding: 16px 24px 24px;
    border-top: none;
}

/* Arrow buttons — centered below slider */
.apps-arrows {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 32px;
}

.apps-arrows.hero-inline-arrows {
    justify-content: center;
    margin-top: 32px;
}

.apps-arrows .hero-arrow-btn {
    background: rgba(36, 52, 114, 0.06);
    border: 1px solid rgba(36, 52, 114, 0.15);
    color: var(--color-primary);
}

.apps-arrows .hero-arrow-btn:hover {
    background: rgba(36, 52, 114, 0.15);
    border-color: rgba(36, 52, 114, 0.3);
}

.apps-arrows .hero-arrow-btn svg {
    stroke: var(--color-primary);
}

@media (max-width: 767px) {
    .apps-slide {
        flex: 0 0 280px;
    }
    .apps-arrows {
        display: none;
    }
}

/* App section button — centered, margin top */
.app-card-col > .module-button {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* ---------- FAQ ---------- */

.module-faq .accordion-item {
    border: none;
    border-bottom: 1px solid var(--color-border);
    background: transparent;
}

.module-faq .accordion-button {
    font-weight: 600;
    font-size: 18px;
    color: var(--color-text);
    padding: 20px 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
}

.module-faq .accordion-button:not(.collapsed) {
    color: var(--color-primary);
}

.module-faq .accordion-body {
    padding: 0 0 20px;
    color: var(--color-muted);
    line-height: var(--body-lh);
}


/* ---------- FOOTER ---------- */

footer {
    background: var(--color-primary) !important;
    padding-top: 80px;
    padding-bottom: 28px;
    padding-left: 80px;
    color: var(--color-bg);
}

footer .footer-main .container {
    max-width: 1260px !important;
}

footer .footer-brand .module-text {
    padding-right: 50px;
}

footer, footer p, footer li, footer a, footer span,
footer div, footer ul, footer label, footer strong, footer em {
    color: var(--color-bg) !important;
}

footer a {
    transition: color 200ms ease;
}

footer a:hover {
    color: var(--color-accent) !important;
}

footer ul, footer ol {
    list-style: none !important;
    padding-left: 0 !important;
}

footer i, footer .fa, footer .icon, footer [class*="icon"] {
    color: var(--color-bg) !important;
}

footer svg { color: var(--color-bg) !important; }
footer svg path { stroke: var(--color-bg) !important; }
footer svg[fill="none"] path { fill: none !important; }
footer svg:not([fill="none"]) path { fill: var(--color-bg) !important; }

footer a:hover i, footer a:hover .fa {
    color: var(--color-accent) !important;
}

footer a:hover svg path {
    stroke: var(--color-accent) !important;
}

footer .module-image img {
    filter: brightness(0) invert(1);
    max-height: 56px;
    width: auto;
    margin-bottom: 20px;
    opacity: 0.9;
}

footer h3, footer h4 {
    color: var(--color-bg) !important;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

footer .module-text p, footer .module-text {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 16px;
    line-height: 1.7;
}

footer .module-text a {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 500;
    text-decoration: none !important;
}

footer .module-text a:hover {
    color: var(--color-accent) !important;
}

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

footer .footer-nav li a {
    color: rgba(255, 255, 255, 0.5) !important;
    text-decoration: none !important;
    font-size: 16px;
    display: inline-block;
    padding: 5px 0;
    transition: color 200ms ease;
    position: relative;
}

footer .footer-nav li a:hover {
    color: var(--white) !important;
}

footer .footer-social-links {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

footer .footer-social-links a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.06);
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: all var(--duration) var(--ease);
}

footer .footer-social-links a:hover {
    background: var(--color-bg);
    color: var(--color-bg-dark) !important;
}

footer .footer-social-links a:hover i,
footer .footer-social-links a:hover .fa {
    color: var(--color-bg-dark) !important;
}

footer .copyright-bar {
    border-top: none;
    padding: 20px 0 !important;
    margin-top: 60px;
}

footer .copyright-bar .container {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
}

footer .copyright-bar .module-text,
footer .copyright-bar .module-text p {
    color: rgba(255, 255, 255, 0.25) !important;
    font-size: 14px;
    margin-bottom: 0;
}

footer .anpc-badges {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

footer .anpc-badges img {
    filter: none !important;
    opacity: 0.5;
    max-height: 40px !important;
    transition: opacity 200ms ease;
}

footer .anpc-badges img:hover {
    opacity: 1;
}


/* ---------- SCROLL REVEAL ---------- */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity var(--duration-slow) var(--ease),
                transform var(--duration-slow) var(--ease);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger > .reveal:nth-child(6) { transition-delay: 400ms; }
.reveal-stagger > .reveal:nth-child(7) { transition-delay: 480ms; }
.reveal-stagger > .reveal:nth-child(8) { transition-delay: 560ms; }

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* ---------- RESPONSIVE ---------- */

@media (max-width: 991px) {
    .about-reverse .about-text { padding-left: 0; margin-top: 24px; }
    .about-section .about-image { margin-bottom: 24px; }
    .contact-section .contact-form-col { padding-left: 12px; margin-top: 32px; }
    .section-text-image .content-image { margin-bottom: 24px; }
    .section-text-image.reverse .builder-row { flex-direction: column; }

    footer { padding-top: 80px; }
}

@media (max-width: 767px) {
    /* hero responsive handled in first media queries */

    .section-title-blue { padding: 48px 0 !important; }

    .module-gallery .module-gallery-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    footer { padding-top: 56px; padding-left: 0; }
    footer .copyright-bar .legal-wrapper { justify-content: center; }
    .page-text-card { padding: 1rem; }
    .apps-slider .page-text-card-title { padding: 0; }
    .apps-slider .page-text-card-excerpt { padding: 0; }
    .apps-slider .page-text-card-btn { padding: 12px 0 0; }
}


/* ---------- MOBILE NAV ---------- */

@media (max-width: 991px) {
    .navbar-menu .navbar-nav {
        flex-direction: column;
        gap: 0;
        padding: 16px 0;
    }

    .navbar-menu .navbar-nav > .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--color-border);
    }

    .navbar-menu .navbar-nav > .nav-item > .nav-link {
        padding: 14px 20px;
        width: 100%;
        justify-content: space-between;
        color: var(--color-text) !important;
        font-size: 16px;
    }

    .navbar-menu .nav-item.dropdown > .nav-link-dropdown {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        cursor: pointer;
        position: absolute;
        right: 0;
        top: 0;
    }

    .navbar-menu .nav-item.dropdown {
        position: relative;
    }

    .navbar-menu .dropdown-menu {
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        width: 100%; height: 100vh;
        transform: translateX(100%);
        opacity: 1; visibility: visible; pointer-events: auto;
        border-radius: 0; border: none;
        box-shadow: none;
        z-index: 1100;
        overflow-y: auto;
        transition: transform 350ms var(--ease);
    }

    .navbar-menu .dropdown-menu.show {
        transform: translateX(0);
    }

    .navbar-menu .dropdown-menu .dropdown-menu-wrapper.mobile {
        flex-direction: column;
        padding: 0;
    }

    .dropdown-menu .close-dropdown-menu-wrapper {
        padding: 12px 16px;
        border-bottom: 1px solid var(--color-border);
    }

    .dropdown-menu .close-dropdown-menu {
        display: flex;
        align-items: center;
        gap: 8px;
        background: none;
        border: none;
        font-size: 15px;
        font-weight: 600;
        color: var(--color-primary);
        cursor: pointer;
        padding: 8px 0;
    }

    .dropdown-menu .close-dropdown-menu .icon {
        transform: rotate(180deg);
        display: flex;
    }

    .dropdown-menu .dropdown-menu-items {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .dropdown-menu .dropdown-menu-items > .nav-item {
        border-bottom: 1px solid var(--color-border);
        position: relative;
    }

    .dropdown-menu .dropdown-menu-items > .nav-item > .dropdown-item {
        padding: 14px 20px;
        font-weight: 600;
        font-size: 15px;
        color: var(--color-text);
    }

    .dropdown-menu .dropdown-menu-items .nav-link-dropdown {
        position: absolute;
        right: 0; top: 0;
        width: 48px; height: 48px;
        display: flex; align-items: center; justify-content: center;
        cursor: pointer;
    }

    .dropdown-menu .sub-submenu-group {
        border-left: none;
        margin-left: 0;
        background: var(--color-bg-alt);
    }

    .dropdown-menu .sub-submenu-group.hidden { display: none; }

    .dropdown-menu .sub-submenu-group li a {
        padding: 12px 24px;
        font-size: 15px;
        border-bottom: 1px solid var(--color-border);
        border-radius: 0;
    }

    .navbar-menu-contact {
        padding: 24px 20px;
        border-top: 1px solid var(--color-border);
    }

    .navbar-menu-contact .title p {
        font-size: 13px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        color: var(--color-muted);
        margin-bottom: 12px;
    }

    .navbar-menu-contact .contact-links {
        list-style: none;
        padding: 0;
        margin: 0 0 20px;
    }

    .navbar-menu-contact .contact-links .contact-item a {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 8px 0;
        color: var(--color-text);
        font-size: 15px;
    }

    .navbar-menu-contact .social-media-links {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        gap: 16px;
    }
}


/* ---------- HAMBURGER MENU ---------- */

/* Hamburger button */
/* Override Bootstrap navbar-expand-lg hiding toggler */
.navbar-expand-lg .navbar-toggler {
    display: none;
}

@media (max-width: 991px) {
    .navbar-expand-lg .navbar-toggler {
        display: flex !important;
    }
}

.navbar-toggler {
    border: none !important;
    padding: 8px !important;
    outline: none !important;
    box-shadow: none !important;
    z-index: 1200;
    position: relative;
}

.hamburger-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 24px;
    cursor: pointer;
}

.hamburger-icon .bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--black);
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
    transform-origin: center;
}

body.main-no-pt header#header:not(.fixed) .hamburger-icon .bar {
    background: var(--white);
}

/* X state when menu is open */
.navbar-toggler[aria-expanded="true"] .bar-1 {
    transform: translateY(7px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .bar-2 {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .bar-3 {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu panel - slide from right */
@media (max-width: 991px) {
    /* Header layout: logo left, hamburger right */
    header .navbar {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        grid-template-columns: none !important;
    }

    .navbar-toggler {
        display: flex !important;
        order: 3;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Hide nav menu by default on mobile - shown via slide panel */
    .navbar-menu {
        display: none;
    }

    .navbar-menu.is-open {
        display: block;
    }

    .navbar-menu.is-open {
        display: block !important;
        position: fixed !important;
        top: 0;
        left: 0;
        width: 85%;
        max-width: 380px;
        height: 100vh !important;
        background: #fff;
        z-index: 1100;
        padding: 40px 24px 24px;
        overflow-y: auto;
        box-shadow: 8px 0 30px rgba(0, 0, 0, 0.1);
        animation: slideFromLeft 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes slideFromLeft {
        from { transform: translateX(-100%); }
        to { transform: translateX(0); }
    }

    /* Kill ALL dropdown fixed/absolute positioning on mobile */
    .navbar-menu .dropdown-menu,
    .navbar-menu .navbar-expand-lg .navbar-nav .dropdown-menu,
    .navbar-menu.is-open .dropdown-menu,
    .navbar-menu.is-open .navbar-expand-lg .navbar-nav .dropdown-menu {
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
        background: var(--color-primary, #243472) !important;
        margin: 0 !important;
        padding: 8px 0 !important;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        border: none !important;
        border-radius: 0 !important;
    }

    .navbar-menu.is-open .nav-item.dropdown.mobile-open > .dropdown-menu {
        display: block !important;
        height: fit-content !important;
        padding: 8px 0 12px !important;
    }

    /* Hide utilities inside slide menu */
    .navbar-menu .navbar-utilities {
        display: none !important;
    }

    /* Search + hamburger grouped right */
    .navbar-utilities-mobile {
        display: flex !important;
        align-items: center;
        order: 3;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .navbar-toggler {
        order: 4 !important;
    }

    /* Wrap search+hamburger together */
    header .navbar {
        flex-wrap: nowrap !important;
    }

    .navbar-brand {
        flex: 1;
    }

    /* Dropdown inner on mobile */
    .navbar-menu.is-open .dropdown-menu .dropdown-menu-inner {
        padding: 0 !important;
        max-width: 100% !important;
    }

    .navbar-menu.is-open .dropdown-menu .dropdown-menu-wrapper {
        flex-direction: column !important;
        padding: 8px 12px !important;
    }

    .navbar-menu.is-open .dropdown-menu .dropdown-menu-image-part {
        display: none !important;
    }

    /* Nav col — show all items vertically */
    .navbar-menu.is-open .dropdown-menu-nav-col {
        width: 100% !important;
    }

    /* Panels col — hide by default, shown per-item */
    .navbar-menu.is-open .dropdown-menu-panels-col {
        width: 100% !important;
    }

    .navbar-menu.is-open .mega-panel {
        display: none !important;
    }

    .navbar-menu.is-open .mega-panel.mobile-panel-open {
        display: block !important;
    }

    /* Dropdown items on mobile */
    .navbar-menu.is-open .dropdown-menu .dropdown-menu-col ul li a,
    .navbar-menu.is-open .dropdown-menu .dropdown-item {
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 13px !important;
        padding: 4px 12px !important;
        line-height: 1.3 !important;
    }

    /* Items with children — add chevron indicator */
    .navbar-menu.is-open .dropdown-item-has-children .chevron-icon {
        transition: transform 0.3s ease;
    }

    .navbar-menu.is-open .dropdown-item-has-children.mobile-sub-open .chevron-icon {
        transform: rotate(90deg);
    }

    /* Sub-items indented */
    .navbar-menu.is-open .mega-panel.mobile-panel-open ul {
        padding-left: 16px !important;
    }

    .navbar-menu.is-open .mega-panel.mobile-panel-open .dropdown-item {
        font-size: 12px !important;
        opacity: 0.7;
    }

    /* No borders on nav items */
    .navbar-menu.is-open .navbar-nav > .nav-item {
        border: none !important;
        border-bottom: none !important;
    }

    .navbar-menu.is-open .dropdown-menu .dropdown-menu-items > .nav-item {
        border: none !important;
        border-bottom: none !important;
    }

    .navbar-menu.is-open .dropdown-menu .sub-submenu-group li a {
        border-bottom: none !important;
    }

    /* Chevron rotates when open */
    .navbar-menu.is-open .nav-item.dropdown.mobile-open > .nav-link .nav-chevron {
        transform: rotate(180deg);
    }

    /* Hide close/back button in dropdown */
    .navbar-menu.is-open .close-dropdown-menu-wrapper {
        display: none !important;
    }

    .navbar-menu.is-open .dropdown-menu .dropdown-menu-col ul li a:hover,
    .navbar-menu.is-open .dropdown-menu .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.12) !important;
        color: #fff !important;
    }

    /* Hide chevron arrow on top-level mobile nav links only */
    .navbar-menu.is-open > .navbar-nav > .nav-item > .nav-link-dropdown {
        display: none !important;
    }

    /* Show chevron on level 2 items (inside dropdown) */
    .navbar-menu.is-open .dropdown-menu .nav-link-dropdown {
        display: flex !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        padding: 0 4px !important;
        color: #fff;
    }

    .navbar-menu.is-open .dropdown-menu .nav-item:has(.nav-link-dropdown) {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    .navbar-menu.is-open .dropdown-menu .nav-item:has(.nav-link-dropdown) > .dropdown-item {
        flex: 1;
    }

    .navbar-menu.is-open .dropdown-menu .nav-item:has(.nav-link-dropdown) > .sub-submenu-group {
        width: 100%;
    }

    .navbar-menu.is-open .dropdown-menu .nav-link-dropdown svg,
    .navbar-menu.is-open .dropdown-menu .nav-link-dropdown svg path {
        stroke: #fff !important;
        fill: none !important;
        transition: transform 0.3s ease;
    }

    .navbar-menu.is-open .dropdown-menu .nav-link-dropdown svg {
        width: 10px !important;
        height: 10px !important;
    }

    /* Rotate chevron when sub-menu open */
    .navbar-menu.is-open .dropdown-menu .nav-link-dropdown.sub-open svg {
        transform: rotate(90deg);
    }

    /* Sub-submenu visible links */
    .navbar-menu.is-open .sub-submenu-group {
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 8px;
        margin: 4px 0 8px;
        padding: 4px 0 !important;
    }

    .navbar-menu.is-open .sub-submenu-group li a {
        color: rgba(255, 255, 255, 0.85) !important;
        font-size: 13px !important;
        padding: 8px 16px !important;
        display: block;
    }

    .navbar-menu.is-open .sub-submenu-group li a:hover {
        color: #fff !important;
    }

    /* Backdrop - only covers area outside menu */
    .mobile-menu-backdrop {
        position: fixed;
        top: 0;
        left: 85%;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: 1050;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .mobile-menu-backdrop.is-active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

/* Field messages always visible */
.field-message {
    font-size: 12px !important;
    color: #ce1d3f !important;
    margin-top: 4px;
    display: block !important;
}

/* Kill padding inside form builder-section */
.module-form .builder-section,
.module-form .builder-section .container,
.module-form .builder-section .row,
.module-form .builder-section .col-lg-12 {
    padding: 0 !important;
    margin: 0 !important;
    max-width: 100% !important;
}

.module-form .builder-section {
    margin: 0 !important;
}

/* Custom checkbox styling */
.form-check-acceptance .form-check-input {
    width: 20px !important;
    height: 20px !important;
    border: 2px solid var(--color-border, #e9eaeb) !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    top: 2px;
    margin-right: 10px !important;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.form-check-acceptance .form-check-input:checked {
    background-color: var(--color-primary, #243472) !important;
    border-color: var(--color-primary, #243472) !important;
    background-image: none !important;
}

/* Animated checkmark - SVG stroke draws from start to end */
.form-check-acceptance .form-check-input {
    position: relative;
    overflow: visible;
}

.form-check-acceptance .form-check-input::after {
    content: '';
    position: absolute;
    inset: -1px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12l5 5L20 7' stroke-dasharray='30' stroke-dashoffset='30'%3E%3Canimate attributeName='stroke-dashoffset' from='30' to='0' dur='0.4s' fill='freeze'/%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 18px;
    opacity: 0;
    pointer-events: none;
}

.form-check-acceptance .form-check-input:checked::after {
    opacity: 1;
}

.form-check-acceptance .form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(36, 52, 114, 0.15) !important;
    border-color: var(--color-primary, #243472) !important;
    outline: none;
}

.form-check-acceptance .form-check-label {
    display: flex !important;
    align-items: flex-start;
    font-size: 17px !important;
    color: var(--color-text, #181d27) !important;
    cursor: pointer;
    line-height: 1.5;
}

/* Page loader */
#page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease;
}

#page-loader .loader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

#page-loader .loader-logo-wrap {
    position: relative;
    clip-path: inset(0 100% 0 0);
    transform: scale(0.92);
    animation: logoWrapReveal 2.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

#page-loader .loader-logo {
    width: 260px;
    max-width: 65vw;
    height: auto;
    display: block;
}

/* Wipe line */
#page-loader .loader-logo-wrap::after {
    content: '';
    position: absolute;
    top: -10%;
    bottom: -10%;
    right: -3px;
    width: 3px;
    background: var(--blue);
    opacity: 0;
    animation: logoWipeLine 2.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

@keyframes logoWrapReveal {
    0% {
        clip-path: inset(0 100% 0 0);
        transform: scale(0.92);
    }
    70% {
        clip-path: inset(0 0% 0 0);
    }
    85% {
        transform: scale(1.02);
    }
    100% {
        clip-path: inset(0 0 0 0);
        transform: scale(1);
    }
}

@keyframes logoWipeLine {
    0% {
        opacity: 0;
    }
    5% {
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* (about overlay animation removed — now tab-based) */


/* =====================================================
   OSMOZA SECTION — AQUARC-style numbered list + image
   ===================================================== */

.osmoza-section {
    background: var(--white) !important;
    padding: 80px 0 !important;
}

.osmoza-section .container {
    max-width: 1400px;
}

/* Header area — title left, text right */
.osmoza-section .text-center.mb-4,
.osmoza-section .osmoza-header,
.app-header {
    text-align: left !important;
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 40px !important;
    padding-bottom: 32px !important;
    border-bottom: 1px solid var(--gray-border) !important;
}

.osmoza-section .osmoza-header .module-text:first-child,
.app-header .module-text:first-child {
    flex-shrink: 0;
}

.osmoza-section .osmoza-header .module-text:first-child h2,
.app-header .module-text:first-child h2 {
    margin-bottom: 0 !important;
}

.osmoza-section .osmoza-header .text-inner,
.app-header .text-inner {
    max-width: 480px;
    text-align: right;
}

.osmoza-section .osmoza-header .text-inner p,
.app-header .text-inner p {
    margin: 0;
}

@media (max-width: 767px) {
    .osmoza-section .osmoza-header,
    .app-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
    }
    .osmoza-section .osmoza-header .text-inner,
    .app-header .text-inner {
        text-align: left;
    }
}

/* Kicker — hidden */
.osmoza-kicker {
    display: none;
}

/* Title — uses default h2 styles */

/* Subtitle */
.osmoza-subtitle {
    color: var(--gray-dark) !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
    margin-top: 20px !important;
    max-width: 50ch;
}

/* Grid: list left, image right */
.osmoza-grid {
    display: grid !important;
    grid-template-columns: 1.05fr 1fr !important;
    gap: clamp(32px, 5vw, 88px) !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
}

/* List column */
.osmoza-list {
    min-width: 0;
}

.osmoza-list > div {
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
}

/* Card as list item */
.osmoza-section .article-card {
    display: grid !important;
    grid-template-columns: 48px minmax(0, 1fr) 28px !important;
    gap: 16px !important;
    align-items: center !important;
    padding: 26px 0 !important;
    border-top: 1px solid var(--gray-border) !important;
    border-radius: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    margin-bottom: 0 !important;
    cursor: pointer;
    text-decoration: none !important;
}

.osmoza-list > div:last-child .article-card {
    border-bottom: 1px solid var(--gray-border) !important;
}

.osmoza-section .article-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Hide card image + excerpt + link in list */
.osmoza-section .article-card-image {
    display: none !important;
}

.osmoza-section .article-card-excerpt {
    grid-column: 2;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.7s cubic-bezier(0.2, 0.7, 0.1, 1),
                opacity 0.5s;
    color: var(--gray-dark);
    font-size: 15px;
    line-height: 1.55;
    max-width: 44ch;
    margin: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.osmoza-section .article-card.is-active .article-card-excerpt {
    max-height: 80px;
    opacity: 1;
}

.osmoza-section .article-card-link {
    display: none !important;
}

/* Counter number */
.osmoza-section .article-card .osmoza-num {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.45;
    color: var(--gray);
    font-variant-numeric: tabular-nums;
    transition: color 0.4s;
}

.osmoza-section .article-card.is-active .osmoza-num {
    color: var(--blue);
}

/* Title */
.osmoza-section .article-card-body {
    padding: 0 !important;
    background: transparent !important;
    min-width: 0;
}

.osmoza-section .article-card-title {
    font-weight: 400 !important;
    font-size: clamp(22px, 2.6vw, 36px) !important;
    letter-spacing: -0.025em !important;
    line-height: 1.05 !important;
    color: var(--black) !important;
    margin-bottom: 0 !important;
    transition: color 0.4s, transform 0.6s cubic-bezier(0.2, 0.7, 0.1, 1) !important;
    transform: none;
    text-wrap: balance;
}

.osmoza-section .article-card.is-active .article-card-title {
    color: var(--blue) !important;
    transform: translateX(6px);
}

/* Arrow */
.osmoza-arrow {
    color: var(--gray);
    display: block;
    transition: color 0.4s;
}

.osmoza-arrow svg {
    stroke: currentColor;
    stroke-width: 1.4;
    opacity: 0.35;
    transform: none;
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.1, 1),
                opacity 0.4s;
}

.osmoza-section .article-card.is-active .osmoza-arrow {
    color: var(--blue);
}

.osmoza-section .article-card.is-active .osmoza-arrow svg {
    opacity: 1;
    transform: rotate(-45deg);
}

/* Button spacing inside osmoza */
.osmoza-section .module-button {
    margin-top: 40px !important;
    justify-content: center;
}

/* Sticky image panel */
.osmoza-image-panel {
    position: sticky;
    top: 110px;
}

.osmoza-image-frame {
    position: relative;
    height: 100%;
    min-height: 400px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--gray-light);
}

.osmoza-panel-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    clip-path: inset(0 0 100%);
    transform: scale(1.12);
    transition: clip-path 1.1s cubic-bezier(0.76, 0, 0.24, 1),
                transform 1.6s cubic-bezier(0.2, 0.7, 0.1, 1);
}

.osmoza-panel-img.is-active {
    z-index: 1;
    clip-path: inset(0);
    transform: none;
}

/* Caption under image */
.osmoza-image-caption {
    display: none;
}

.osmoza-caption-counter {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.osmoza-caption-counter b {
    color: #4a6cf7;
    font-weight: 500;
}


/* ---------- Osmoza responsive ---------- */

@media (max-width: 991px) {
    .osmoza-grid {
        grid-template-columns: 1fr !important;
    }

    .osmoza-image-panel {
        display: none;
    }

    .osmoza-section .article-card {
        grid-template-columns: 1fr 22px !important;
        padding: 24px 0 !important;
    }

    .osmoza-section .article-card-title {
        color: var(--black) !important;
        transform: none !important;
    }

    .osmoza-section .article-card .osmoza-arrow {
        color: var(--gray) !important;
    }

    .osmoza-section .article-card .osmoza-arrow svg {
        transform: none !important;
        opacity: 0.45 !important;
    }

    .osmoza-section .article-card-excerpt {
        max-height: none !important;
        opacity: 1 !important;
    }

    /* Show image inside card on mobile */
    .osmoza-section .article-card-image {
        display: block !important;
        grid-column: 1 / -1;
        aspect-ratio: 16 / 10;
        border-radius: 4px;
        overflow: hidden;
        margin-top: 14px;
    }

    .osmoza-section .article-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}


/* =====================================================
   SECTION CATEGORY — Plumbr service cards
   ===================================================== */

.section-category {
    padding: 0 0 80px !important;
}

/* Header — title spacing */
.section-category .title {
    padding: 80px 0 40px !important;
    margin-bottom: 48px;
    border-bottom: 1px solid rgba(36, 52, 114, 0.15);
}

.section-category .title h1,
.section-category .title h2 {
    font-weight: 400 !important;
    letter-spacing: -0.03em;
}

/* Cards grid spacing */
.section-category .card-content {
    margin-bottom: 24px;
}

.section-category .builder-row {
    row-gap: 0;
}

.section-category .module-fickle-basic {
    background: var(--gray-light);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: none;
    transition: background 0.3s ease;
    position: relative;
    cursor: pointer;
}

/* Make entire card clickable via stretched link */
.section-category .fickle-button a {
    position: static !important;
}

.section-category .fickle-button a::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
}

.section-category .module-fickle-basic {
    cursor: none;
}

.section-category .module-fickle-basic:hover {
    background: var(--white);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* Image thumbnail */
.section-category .fickle-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin: 12px;
    aspect-ratio: 1 / 1;
}

.section-category .fickle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.1, 1);
}

.section-category .module-fickle-basic:hover .fickle-image img {
    transform: scale(1.04);
}

/* Hover: light blur overlay */
.section-category .fickle-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(2px);
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 2;
}

/* Arrow removed — using custom cursor instead */
.section-category .fickle-image::after {
    display: none !important;
}

.section-category .module-fickle-basic:hover .fickle-image::before {
    opacity: 1;
}

/* Content area */
.section-category .fickle-header,
.section-category .fickle-content {
    padding: 0 20px;
}

.section-category .fickle-header {
    padding-top: 8px;
}

.section-category .fickle-content {
    padding-bottom: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* Title */
.section-category .fickle-title {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: var(--black) !important;
    margin: 0 !important;
}

/* Card button — flat, space-between, text slide + arrow circle */
.section-category .fickle-button .btn-primary {
    background: transparent !important;
    color: var(--black) !important;
    padding: 0 !important;
    box-shadow: none !important;
    font-size: 14px;
    font-weight: 500;
    border-radius: 0 !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.section-category .fickle-button .btn-primary:hover {
    background: transparent !important;
    box-shadow: none !important;
}

.section-category .fickle-button .btn-arrow-circle {
    background: rgba(36, 52, 114, 0.08) !important;
    border: 1px solid rgba(36, 52, 114, 0.12);
}

.section-category .module-fickle-basic:hover .fickle-button .btn-arrow-circle {
    background: var(--color-primary) !important;
    border-color: var(--color-primary);
}

.section-category .module-fickle-basic:hover .fickle-button .btn-arrow-circle .arrow-wrap svg {
    stroke: #fff !important;
}

.section-category .fickle-button .btn-text-wrap .btn-text-top,
.section-category .fickle-button .btn-text-wrap .btn-text-bottom {
    color: var(--black);
}


/* =====================================================
   SEARCH OVERLAY
   ===================================================== */

.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 20vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.search-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.search-overlay-inner {
    width: 100%;
    max-width: 640px;
    padding: 0 24px;
}

.search-overlay-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 12px;
}

.search-overlay-input-wrap svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-primary);
    flex-shrink: 0;
    margin-right: 16px;
}

.search-overlay-input {
    width: 100%;
    border: none;
    outline: none;
    background: none;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-family: var(--font-heading, var(--font-body));
    font-weight: 400;
    color: var(--black);
}

.search-overlay-input::placeholder {
    color: rgba(0, 0, 0, 0.25);
}

.search-overlay-close {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.search-overlay-close:hover {
    opacity: 1;
}

.search-overlay-close svg {
    width: 28px;
    height: 28px;
}

.search-overlay-results {
    margin-top: 32px;
    max-height: 50vh;
    overflow-y: auto;
}

.search-overlay-results .results-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.2s ease;
}

.search-overlay-results .results-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.search-overlay-results .img_search {
    display: none;
}

.search-overlay-results .desc_search a {
    color: var(--black);
    font-weight: 500;
    text-decoration: none;
    font-size: 15px;
}

.search-overlay-results .desc_search a:hover {
    color: var(--color-primary);
}

.search-overlay-results .empty-results p {
    color: var(--gray-dark);
    font-size: 15px;
}

.search-overlay-hint {
    margin-top: 16px;
    font-size: 13px;
    color: var(--gray-dark);
}

/* Search icon in header — thinner, elegant */
.navbar-utilities .icon-search svg,
.navbar-utilities-mobile .icon-search svg {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

@media (max-width: 767px) {
    .search-overlay {
        padding-top: 12vh;
    }
    .search-overlay-close {
        top: 16px;
        right: 16px;
    }
}

/* =====================================================
   COOKIE BANNER
   ===================================================== */

/* Overlay behind cookie banner — hidden by default, JS adds .cookie-visible */
#cookie-banner {
    background: rgba(0, 0, 0, 0.4);
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#cookie-banner.cookie-visible {
    display: flex !important;
    opacity: 1;
    visibility: visible;
}

.cookie-banner-inner,
.cookie-banner-inner * {
    color: var(--black) !important;
}

.cookie-banner-inner {
    background: var(--white) !important;
    backdrop-filter: none !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    max-width: 480px;
    overflow: hidden;
}

.cookie-banner-inner .cookie-logo-container {
    background: var(--white);
    border-bottom: 1px solid var(--gray-border) !important;
    padding: 16px 20px !important;
}

.cookie-banner-inner .cookie-logo-container img {
    max-height: 36px;
    width: auto;
}

.cookie-banner-inner .cookie-tabs {
    border-bottom: 1px solid var(--gray-border) !important;
    padding: 0 !important;
    gap: 0 !important;
}

.cookie-banner-inner .tab-button {
    background: none;
    border: none;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-dark);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

.cookie-banner-inner .tab-button:hover {
    color: var(--black);
}

.cookie-banner-inner .tab-button.active {
    color: var(--blue);
    border-bottom-color: var(--blue);
}

.cookie-banner-inner .tab-content {
    padding: 20px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--gray-dark);
    max-height: 200px;
    overflow-y: auto;
}

.cookie-banner-inner .tab-content a {
    color: var(--blue) !important;
}

.cookie-banner-inner .tab-button {
    color: var(--gray-dark) !important;
}

.cookie-banner-inner .tab-button.active {
    color: var(--blue) !important;
}

.cookie-banner-inner .tab-content {
    color: var(--gray-dark) !important;
}

.cookie-banner-inner #cookie-allow,
.cookie-banner-inner #cookie-allow * {
    color: var(--white) !important;
}

.cookie-banner-inner .cookie-buttons {
    border-top: 1px solid var(--gray-border) !important;
    padding: 16px 20px !important;
    gap: 12px !important;
}

.cookie-banner-inner .cookie-buttons .btn {
    flex: 1;
    font-size: 14px;
    padding: 10px 20px !important;
    border-radius: 107px !important;
}

.cookie-banner-inner #cookie-deny {
    background: var(--gray-light) !important;
    color: var(--black) !important;
    border: 1px solid var(--gray-border) !important;
}

@media (max-width: 767px) {
    .cookie-banner-inner {
        max-width: 100%;
        margin: 0 12px;
        border-radius: var(--radius) !important;
    }
}


/* =====================================================
   REFERINȚE — fullscreen bg from first gallery image
   ===================================================== */

/* ==========================================================
   REFERINȚE — Fullscreen bg + gallery overlay
   ========================================================== */

.section-gallery-referinta {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    background: var(--white, #fff);
}

/* Separator between sections — boxed */
.section-gallery-referinta + .section-gallery-referinta {
    border-top: none;
}

.section-gallery-referinta + .section-gallery-referinta > .container {
    border-top: 1px solid var(--gray-border, #e5e5e5);
    padding-top: 60px;
}

/* Content over bg */
.section-gallery-referinta > .container {
    position: relative;
    z-index: 1;
}

/* Title — white, big */
.section-gallery-referinta .title {
    margin-bottom: 32px;
}

.section-gallery-referinta .title h3,
.section-gallery-referinta .title h3 *,
.section-gallery-referinta .title h3 strong {
    color: var(--black, #1a1a1a) !important;
    font-weight: 400 !important;
    font-size: clamp(24px, 3vw, 42px) !important;
    letter-spacing: -0.025em !important;
    line-height: 1.15 !important;
}

/* Gallery 2x2 grid — full width */
.section-gallery-referinta .gallery-referinta .module-gallery-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.section-gallery-referinta .gallery-referinta .gallery-item {
    border-radius: var(--radius, 8px);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.section-gallery-referinta .gallery-referinta .gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.section-gallery-referinta .gallery-referinta .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.1, 1);
}

.section-gallery-referinta .gallery-referinta .gallery-item:hover img {
    transform: scale(1.06);
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
    .section-gallery-referinta {
        min-height: auto;
        padding: 48px 0;
    }

    .section-gallery-referinta .gallery-referinta .module-gallery-inner {
        gap: 8px;
    }

    .section-gallery-referinta .title h3,
    .section-gallery-referinta .title h3 * {
        font-size: clamp(18px, 5vw, 26px) !important;
    }
}
