/* ===================================
   RENAU GROUP - FINTECH DESIGN SYSTEM
   Modern, Calm Aesthetic
   =================================== */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
    /* Forest Green Primary */
    --forest-50: #F3FAF7;
    --forest-100: #E6F5EF;
    --forest-200: #CDE9DE;
    --forest-300: #A7D6C2;
    --forest-400: #73B89A;
    --forest-500: #2F8D6F;
    --forest-600: #1F6E57;
    --forest-700: #175545;
    --forest-800: #123225;
    --forest-900: #0B2018;

    /* Warm Amber Secondary */
    --amber-50: #FFF7ED;
    --amber-100: #FFEDD5;
    --amber-200: #FED7AA;
    --amber-300: #FDBA74;
    --amber-400: #FB923C;
    --amber-500: #F97316;
    --amber-600: #EA580C;
    --amber-700: #C2410C;

    /* Neutrals */
    --page-bg: #EDEDED;
    --surface: #FFFFFF;
    --surface-muted: #F7F7F7;
    --border: #E8E8E8;
    --text-primary: #0F1A16;
    --text-muted: #6B7280;
    --icon-muted: #9CA3AF;

    /* Accents */
    --green-glow: rgba(47, 141, 111, 0.10);
    --mint: #4CBF9E;
    --mint-muted: #CFE7DF;
    --peach: #F7D9C9;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Radii */
    --radius-shell: 28px;
    --radius-card: 18px;
    --radius-pill: 9999px;
    --radius-media: 20px;

    /* Shadows */
    --shadow-card: 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-floating: 0 14px 34px rgba(15, 23, 42, 0.08);
    --shadow-subtle: 0 6px 18px rgba(15, 23, 42, 0.05);

    /* Focus */
    --focus-ring: 0 0 0 3px rgba(47, 141, 111, 0.20);

    /* Spacing */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 40px;
    --spacing-xxl: 64px;
    --spacing-xxxl: 96px;

    /* Missing variables */
    --surface-sunken: var(--forest-50);
    --text-secondary: var(--text-muted);
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-padding-top: 100px;
    overflow-x: hidden;
    width: 100%;
}

/* Enable smooth scroll only on desktop */
@media (min-width: 769px) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background-color: var(--page-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

/* ===== SKIP-TO-CONTENT (Accessibility) ===== */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--forest-800);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    position: fixed;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    overflow: visible;
}

/* ===== PAGE SHELL ===== */
.page-canvas {
    min-height: 100vh;
    padding: 24px;
}

.main-panel {
    max-width: 1280px;
    margin: 0 auto;
    background: var(--surface);
    border-radius: var(--radius-shell);
    box-shadow: var(--shadow-card);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

/* ===== NAVBAR ===== */
.navbar {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-between;
    padding-bottom: var(--spacing-lg);
    margin-bottom: var(--spacing-xxl);
    border-bottom: 1px solid var(--border);
    /* Changed to use defined variable */
}

@media (min-width: 1101px) {
    .navbar {
        display: grid;
        grid-template-columns: auto 1fr auto;
        column-gap: var(--spacing-lg);
        align-items: center;
    }

    .navbar-menu {
        margin-left: 0;
        margin-right: 0;
        justify-content: center;
    }
}

.navbar-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center content */
    gap: 2px;
    width: min-content;
    /* Allow width to be determined by content */
}

.logo-image {
    width: 100%;
    /* Fill the container width */
    height: auto;
    /* Maintain aspect ratio */
    display: block;
}

.navbar-logo-subtext {
    font-size: 8.5px;
    color: var(--forest-600);
    /* Updated to green */
    font-weight: 600;
    /* Slightly bolder for colored text */
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    /* Prevent wrapping */
}

.navbar-menu {
    display: flex;
    gap: var(--spacing-lg);
    margin-left: auto;
    margin-right: var(--spacing-lg);
    align-items: center;
}

.navbar-link {
    color: var(--forest-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    transition: color 0.2s;
    white-space: nowrap;
}

.navbar-link:hover {
    color: var(--forest-900);
}

.navbar-link.active {
    color: var(--text-muted);
    pointer-events: none;
}

.navbar-links {
    display: flex;
    gap: var(--spacing-xxl);
    /* Increased gap for better spacing */
    list-style: none;
    margin-left: auto;
    /* Push to the right */
    padding-right: var(--spacing-xxl);
    /* Add spacing between links and CTA */
}

.navbar-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.2s;
}

.navbar-links a:hover {
    color: var(--forest-700);
}

.navbar-cta {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    background: var(--forest-700);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s;
}

.navbar-cta svg {
    width: 16px;
    height: 16px;
}

.navbar-cta:hover {
    background: var(--forest-800);
    box-shadow: var(--shadow-subtle);
}

.navbar-cta:focus {
    outline: none;
    box-shadow: var(--focus-ring);
}

.cta-label-mobile {
    display: none;
}

@media (max-width: 768px) {
    .cta-label-desktop {
        display: none;
    }

    .cta-label-mobile {
        display: inline;
    }
}

/* ===== NAVBAR RIGHT CONTAINER ===== */
.navbar-right {
    position: absolute;
    top: -18px;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    flex-shrink: 0;
    z-index: 2;
}

@media (min-width: 1601px) {
    .navbar {
        padding-right: 240px;
    }

    .navbar-right {
        width: 230px;
    }

    .language-switcher {
        align-self: flex-end;
    }

    .renaudigital-logo {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 1600px) {
    .navbar {
        padding-right: 86px;
    }

    .navbar-right {
        align-items: flex-end;
        width: auto;
    }

    .renaudigital-logo {
        display: none;
    }
}

@media (max-width: 1200px) {

    .navbar-menu {
        margin-right: 0;
        gap: var(--spacing-md);
    }
}

@media (max-width: 1100px) {
    .navbar {
        row-gap: var(--spacing-sm);
    }

    .navbar-menu {
        order: 3;
        width: 100%;
        margin: var(--spacing-sm) 0 0;
        justify-content: center;
        flex-wrap: wrap;
    }

    .navbar-right {
        margin-left: auto;
    }
}

/* ===== LANGUAGE SWITCHER ===== */
.language-switcher {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    width: auto;
}

@media (max-width: 767px) {
    .language-switcher {
        font-size: 12px;
        gap: 6px;
    }
}

.lang-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    letter-spacing: 0.02em;
}

.lang-link.active {
    color: var(--forest-700);
    font-weight: 700;
}

.lang-link:hover {
    color: var(--forest-700);
}

.lang-separator {
    color: var(--text-muted);
    opacity: 0.5;
    user-select: none;
}

/* ===== RENAU DIGITAL LOGO ===== */
.renaudigital-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-left: var(--spacing-md);
    border-left: 1px solid var(--border);
    margin-left: 12px;
    gap: 0;
    text-decoration: none;
}

.renaudigital-logo:hover,
.renaudigital-logo:focus,
.renaudigital-logo:active,
.renaudigital-logo:visited {
    text-decoration: none;
}

.logo-text {
    font-size: 10px;
    font-weight: 800;
    color: #555;
    /* Medium grey */
    text-decoration: none;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    line-height: 1.2;
    display: block;
}

.logo-subtext {
    font-size: 8px;
    color: #aaa;
    /* Lighter grey */
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.02em;
    text-transform: none;
    line-height: 1.2;
    white-space: nowrap;
}

.logo-subtext-service {
    color: #777;
    font-weight: 600;
    letter-spacing: 0.01em;
}

@media (max-width: 768px) {
    .renaudigital-logo {
        display: none;
    }
}



/* ===== HERO SECTION ===== */
.hero-section {
    margin-bottom: var(--spacing-xxxl);
    padding-top: var(--spacing-lg);
}

.hero-section.hero-tight-pill {
    padding-top: 0;
}

.hero-section.hero-tight-pill.hero-lift {
    margin-top: -12px;
}

.breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
}

.project-breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
}

.project-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.project-breadcrumb a:hover {
    color: var(--forest-700);
    text-decoration: underline;
}

.section-pill {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
    vertical-align: middle;
    align-self: flex-start;
    width: fit-content;
}

.section-pill.inline-pill {
    margin-left: 16px;
    position: relative;
    top: -6px;
    /* Adjusted to better visually center with the large heading */
    white-space: nowrap;
}

.section-pill.amber {
    color: var(--amber-600);
    border-color: var(--amber-200);
    background: var(--amber-50);
    margin-bottom: var(--spacing-sm);
}

.section-pill.inline-pill.amber {
    margin-bottom: 0;
}

.inline-arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.inline-arrow-link::before {
    content: "->";
    color: var(--amber-600);
    font-weight: 700;
    line-height: 1;
}

/* New 2-Column Layout */
/* New 2-Column Layout */
.hero-container-2col {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    align-items: stretch;
    /* Stretch items to match height */
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 960px) {
    .hero-container-2col {
        grid-template-columns: 1.1fr 0.9fr;
        gap: var(--spacing-md);
    }
}

.hero-content-left {
    text-align: left;
    display: flex;
    flex-direction: column;
    /* justify-content: center; Removed to allow natural height matching */
    gap: var(--spacing-md);
}

.hero-title-new {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--forest-900);
    letter-spacing: -0.02em;
}

.hero-lead-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 500px;
}

.hero-claim-small {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
    max-width: 600px;
}

.section-intro-highlight {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--spacing-xl);
    font-weight: 500;
    color: var(--forest-800);
    line-height: 1.6;
}

.hero-cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.hero-secondary-link {
    color: var(--forest-700);
    text-decoration: underline;
    font-weight: 600;
}

.hero-content-right {
    display: flex;
    justify-content: center;
    align-items: stretch;
    /* Stretch to fill height */
    height: 100%;
    min-height: 300px;
    /* Ensure visibility on mobile */
}

.video-placeholder-4-3 {
    width: 100%;
    /* aspect-ratio: 4 / 3;  Removed to allow height to stretch */
    height: 100%;
    /* Fill the container height */
    min-height: 300px;
    /* Minimum height for safety */
    background-color: var(--forest-50);
    border: 2px dashed var(--forest-200);
    border-radius: var(--radius-card);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.placeholder-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--forest-400);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 16px;
    border-radius: var(--radius-pill);
}

/* ===== PROCESS SCHEMA ===== */
.process-schema {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    margin-top: var(--spacing-xxxl);
}

.process-card {
    background: var(--surface);
    border: 3px solid var(--border);
    border-radius: 12px;
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    width: 140px;
    height: 145px;
    justify-content: center;
    transition: all 0.2s;
    position: relative;
    box-sizing: border-box;
}

.process-card:hover {
    border-color: var(--forest-400);
    box-shadow: var(--shadow-subtle);
}

.process-number {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 10px;
    font-weight: 700;
    color: var(--forest-600);
    opacity: 0.6;
}

.process-icon {
    width: 52px;
    height: 52px;
    color: var(--forest-700);
}

.process-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

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

.process-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--forest-800);
    text-align: center;
    line-height: 1.3;
}

.process-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    color: var(--icon-muted);
}

.process-arrow svg {
    width: 100%;
    height: auto;
}

.process-description {
    text-align: center;
    font-size: 15px;
    color: var(--text-muted);
    margin-top: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Mobile: 5 process steps in 2 rows (3 top, 2 bottom centered) - PHONES ONLY */
@media (max-width: 480px) {
    .process-schema {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 50px));
        gap: 8px;
        justify-content: center;
        padding: 0 8px;
        max-width: 100%;
    }

    .process-card {
        width: 100%;
        height: 90px;
        padding: 8px 6px;
        border-width: 2px;
    }

    /* First row: cards 1, 2, 3 */
    .process-card:nth-child(1) {
        grid-column: 1 / 3;
    }

    .process-card:nth-child(3) {
        grid-column: 3 / 5;
    }

    .process-card:nth-child(5) {
        grid-column: 5 / 7;
    }

    /* Second row: cards 4, 5 centered */
    .process-card:nth-child(7) {
        grid-column: 2 / 4;
    }

    .process-card:nth-child(9) {
        grid-column: 4 / 6;
    }

    .process-number {
        font-size: 8px;
        top: 6px;
        left: 6px;
    }

    .process-icon {
        width: 32px;
        height: 32px;
    }

    .process-label {
        font-size: 8px;
        letter-spacing: 0.02em;
        line-height: 1.2;
    }

    .process-arrow {
        display: none;
    }

    .process-description {
        font-size: 13px;
        margin-top: var(--spacing-md);
        padding: 0 8px;
    }
}

/* Tablet: 5 process steps in 2 rows (larger than mobile) - TABLETS */
@media (min-width: 481px) and (max-width: 768px) {
    .process-schema {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 70px));
        gap: 12px;
        justify-content: center;
        padding: 0 16px;
        max-width: 100%;
    }

    .process-card {
        width: 100%;
        height: 110px;
        padding: 12px 8px;
        border-width: 2px;
    }

    /* First row: cards 1, 2, 3 */
    .process-card:nth-child(1) {
        grid-column: 1 / 3;
    }

    .process-card:nth-child(3) {
        grid-column: 3 / 5;
    }

    .process-card:nth-child(5) {
        grid-column: 5 / 7;
    }

    /* Second row: cards 4, 5 centered */
    .process-card:nth-child(7) {
        grid-column: 2 / 4;
    }

    .process-card:nth-child(9) {
        grid-column: 4 / 6;
    }

    .process-number {
        font-size: 10px;
        top: 8px;
        left: 8px;
    }

    .process-icon {
        width: 40px;
        height: 40px;
    }

    .process-label {
        font-size: 10px;
        letter-spacing: 0.03em;
        line-height: 1.3;
    }

    .process-arrow {
        display: none;
    }

    .process-description {
        font-size: 14px;
        margin-top: var(--spacing-lg);
        padding: 0 12px;
    }
}

/* ===== STATS SECTION ===== */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xxxl);
    padding: var(--spacing-xl) 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--forest-700);
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ===== MISSION SECTION ===== */
.mission-section {
    max-width: 1200px;
    margin: 0 auto var(--spacing-xxl);
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    /* align-items: start; Removed to allow stretch */
    max-width: 1000px;
    margin: 0 auto;
}

.mission-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.mission-text .btn-secondary {
    margin-top: auto;
}

.mission-support-card {
    background: var(--surface);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-floating);
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 100%;
}

.mission-support-card .section-heading {
    margin-bottom: var(--spacing-md);
}

.mission-support-text {
    color: var(--forest-800);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.mission-support-link {
    margin: 0;
}

.support-home-section {
    margin-bottom: var(--spacing-xxl);
}

.support-home-card {
    max-width: 960px;
    margin: 0 auto;
}

.section-heading {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 600;
    line-height: 1.15;
    color: var(--forest-900);
    margin-bottom: var(--spacing-lg);
    letter-spacing: -0.01em;
}

.section-heading.centered {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
}

.advantage-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.advantage-list li {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.check-icon {
    width: 24px;
    height: 24px;
    color: var(--forest-600);
    flex-shrink: 0;
    margin-top: 2px;
}

.advantage-list strong {
    display: block;
    color: var(--forest-800);
    font-size: 16px;
    margin-bottom: 4px;
}

.advantage-list p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== CHART CARD ===== */
/* ===== COMPARISON CARD ===== */
.comparison-card {
    position: relative;
    background: var(--surface);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-floating);
    z-index: 1;
    overflow: hidden;
    max-width: 600px;
    /* Constrain width */
    margin: 0 auto;
    /* Center horizontally */
}

.comparison-grid {
    display: flex;
    min-height: 400px;
}

.comparison-col {
    flex: 1;
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
}

.comparison-col.left {
    background: var(--surface);
}

.comparison-col.right {
    background: #F5F5F0;
    /* Matching the beige tone from image */
}

.comparison-col h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
}

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    line-height: 1.5;
    color: var(--text-primary);
}

.icon-cross {
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1;
    font-weight: 300;
    flex-shrink: 0;
}

.icon-check {
    color: var(--text-muted);
    /* Grey check marks as requested/implied by "same style" but verified image has grey checks? No, let's look at image again. Image has GREY checks. "My przejmujemy" checks are grey. Keeping them grey for fidelity. Wait, user said "Match page style". Page uses green. I will use grey to match the provided image strictly first, but maybe simple grey checks are too boring? Let's stick to the image: grey thin checks. */
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.comparison-divider {
    width: 1px;
    background: var(--border);
    display: none;
    /* Hidden because different backgrounds provide separation */
}

.comparison-footer {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--surface);
    border-top: 1px solid var(--border);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
}

@media (max-width: 768px) {
    .comparison-grid {
        flex-direction: column;
    }
}

/* ===== PRODUCTION SCOPE SECTION ===== */
.production-scope-section {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.section-intro {
    font-size: 17px;
    color: var(--text-primary);
    max-width: 900px;
    margin: 0 auto var(--spacing-xxl);
    line-height: 1.8;
    text-align: center;
}

.production-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin: 0 auto;
    text-align: left;
}

.production-categories-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.production-categories-horizontal {
    grid-template-columns: 1fr;
    max-width: 1040px;
}

.production-categories-horizontal .production-category {
    display: grid;
    grid-template-columns: minmax(260px, 0.95fr) 1.2fr;
    align-items: start;
    gap: var(--spacing-lg);
}

.production-categories-horizontal .category-title {
    margin: 0;
    padding: 0;
    border-bottom: none;
}

.production-categories-horizontal .category-title-with-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 34px;
}

.category-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--amber-50);
    border: 1px solid var(--amber-200);
    color: var(--amber-600);
}

.category-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.production-categories-horizontal .category-list {
    margin: 0;
    padding-left: var(--spacing-lg);
    border-left: 1px solid var(--border);
}

.production-category {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: var(--spacing-lg) var(--spacing-xl);
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
}

.production-category:hover {
    border-color: var(--forest-200);
    box-shadow: var(--shadow-subtle);
}

.gadgets-categories-section .production-category {
    background: var(--forest-50);
    border-color: var(--forest-50);
}

.gadgets-categories-section .production-category:hover {
    background: var(--forest-100);
    border-color: var(--forest-300);
    box-shadow: 0 12px 28px rgba(18, 50, 37, 0.14);
    transform: translateY(-3px);
}

.category-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--forest-800);
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--forest-100);
}

.category-description {
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.5;
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    flex-grow: 1;
}

.category-list li {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    padding-left: 20px;
    position: relative;
}

.category-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--forest-600);
    font-weight: bold;
    font-size: 16px;
}

.category-cta {
    margin-top: auto;
    margin-bottom: 0;
    padding-top: var(--spacing-md);
}

.category-cta a {
    color: var(--forest-700);
    text-decoration: underline;
    font-weight: 600;
}

.pos-scope-list {
    column-count: 2;
    column-gap: var(--spacing-xxl);
    max-width: 900px;
    margin: 0 auto;
}

.pos-scope-list li {
    break-inside: avoid;
}

.pos-process-grid {
    align-items: stretch;
}

.pos-related-links {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.faq-section.faq-roomy .accordion-content p {
    padding: var(--spacing-xs) var(--spacing-lg) var(--spacing-lg);
}

.production-footer {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 800px;
    margin: var(--spacing-xl) auto 0;
    line-height: 1.7;
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
    .production-categories {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .pos-scope-list {
        column-count: 1;
    }

    .section-intro {
        font-size: 16px;
        margin-bottom: var(--spacing-xl);
    }
}

@media (max-width: 900px) {
    .production-categories-horizontal .production-category {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .production-categories-horizontal .category-title {
        margin-bottom: var(--spacing-xs);
        padding-bottom: var(--spacing-sm);
        border-bottom: 2px solid var(--forest-100);
    }

    .production-categories-horizontal .category-list {
        padding-left: 0;
        border-left: none;
    }
}

@media (max-width: 1024px) {
    .production-categories-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .quality-checks-inline {
        grid-template-columns: repeat(2, minmax(180px, 1fr));
        max-width: 640px;
    }
}

@media (max-width: 640px) {
    .quality-checks-inline {
        grid-template-columns: 1fr;
        max-width: 320px;
        gap: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .production-categories-4 {
        grid-template-columns: 1fr;
    }

    .pos-process-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== VALUES SECTION ===== */
.values-section {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.values-media {
    max-width: 80%;
    margin: var(--spacing-sm) auto;
    border-radius: var(--radius-media);
    overflow: hidden;
}

.hero-media-feature .values-media {
    position: relative;
}

.hero-image-kicker {
    position: absolute;
    top: 24%;
    right: 10%;
    max-width: 560px;
    color: #F2F2F2;
    font-size: clamp(48px, 4vw, 56px);
    font-weight: 650;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-align: left;
    margin: 0;
    text-wrap: balance;
}

.hero-image-kicker-mobile {
    display: none;
    margin: 0 0 24px;
    color: var(--forest-900);
    font-size: clamp(28px, 8vw, 32px);
    font-weight: 650;
    line-height: 1.25;
    letter-spacing: -0.5px;
    text-align: left;
}

@media (max-width: 1024px) {
    .hero-image-kicker {
        font-size: clamp(38px, 4.8vw, 42px);
        line-height: 1.2;
    }
}

@media (max-width: 768px) {
    .hero-image-kicker {
        display: none;
    }

    .hero-image-kicker-mobile {
        display: block;
        max-width: 92%;
        margin-left: auto;
        margin-right: auto;
    }
}

.section-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.warehouse-services {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) var(--spacing-md);
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    text-align: center;
    flex: 0 1 auto;
    min-width: 0;
}

.service-icon {
    width: 22px;
    height: 22px;
    opacity: 0.9;
    flex-shrink: 0;
}

.service-text {
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-secondary);
}


.media-placeholder {
    aspect-ratio: 16/9;
    background: var(--surface-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    color: var(--text-muted);
}

.media-placeholder svg {
    width: 64px;
    height: 64px;
}

.media-placeholder span {
    font-size: 16px;
    font-weight: 600;
}

.values-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
}

.copy-column p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.operational-insight {
    margin-top: var(--spacing-md);
}

/* ===== EXPERIENCE SECTION ===== */
.experience-section {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.experience-copy {
    display: flex;
    justify-content: center;
    text-align: center;
    max-width: 600px;
    margin: var(--spacing-sm) auto 0;
}

.experience-copy .copy-column p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

.experience-copy .copy-column p:not(:last-child) {
    margin-bottom: var(--spacing-md);
}

.experience-stats {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.experience-stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
}

.stat-bullet {
    width: 6px;
    height: 6px;
    background: var(--amber-500);
    border-radius: 50%;
    flex-shrink: 0;
}

.experience-stat p {
    font-size: 15px;
    font-weight: 500;
    color: var(--forest-800);
    line-height: 1.4;
}

@media (max-width: 768px) {

    .experience-copy {
        grid-template-columns: 1fr;
        padding: 0 var(--spacing-lg);
    }

    .experience-section {
        padding: var(--spacing-sm) 0;
        width: 100%;
        max-width: 100%;
    }

    .experience-copy {
        max-width: 100%;
        padding: 0 var(--spacing-md);
    }

    .client-logos {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
        padding: 0;
        width: 100%;
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }
}

/* ===== CLIENT LOGOS ===== */
.client-logos {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: var(--spacing-xxl) auto var(--spacing-md);
}

.logo-container {
    aspect-ratio: 3/2;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
    transition: all 0.2s;
    width: 100%;
    box-sizing: border-box;
}

.logo-container:hover {
    border-color: var(--forest-200);
    box-shadow: var(--shadow-subtle);
}

.client-logo {
    max-width: 75%;
    max-height: 75%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.2s;
}

.logo-container:hover .client-logo {
    filter: grayscale(0%) opacity(1);
}

.client-logos-caption {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: var(--spacing-md);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .client-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
        max-width: none;
        width: 100%;
        margin: var(--spacing-xl) 0 var(--spacing-md) 0;
        padding: 0;
        box-sizing: border-box;
    }

    .logo-container {
        padding: 6px;
        width: 100%;
        min-height: 0;
        height: auto;
    }

    .client-logo {
        max-width: 70%;
        max-height: 70%;
    }
}

@media (max-width: 480px) {
    .client-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
        margin: var(--spacing-lg) 0 var(--spacing-sm) 0;
    }

    .logo-container {
        padding: 4px;
    }
}


/* ===== HEALTHCARE SECTION ===== */
.healthcare-section {
    text-align: center;
    margin-bottom: var(--spacing-xxxl);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.healthcare-intro {
    max-width: 900px;
    margin: 0 auto var(--spacing-xxl);
    text-align: left;
}

.healthcare-intro p {
    font-size: 16px;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.healthcare-intro p:last-child {
    margin-bottom: 0;
}

.healthcare-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    text-align: left;
}

.healthcare-block {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: var(--spacing-xl);
    transition: all 0.2s;
}

.healthcare-block:hover {
    border-color: var(--forest-200);
    box-shadow: var(--shadow-subtle);
}

.healthcare-block h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--forest-800);
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--forest-100);
}

.block-intro {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
    font-style: italic;
}

.healthcare-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.healthcare-list li {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    padding-left: 24px;
    position: relative;
}

.healthcare-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--forest-600);
    font-weight: bold;
    font-size: 18px;
}

.healthcare-list.centered-bullets {
    list-style: disc;
    list-style-position: inside;
    text-align: center;
}

.healthcare-list.centered-bullets li {
    padding-left: 0;
    position: static;
    text-align: center;
}

.healthcare-list.centered-bullets li::before {
    content: none;
}

.quality-checks-inline {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    justify-items: center;
    gap: var(--spacing-lg);
    max-width: 1080px;
    margin: var(--spacing-xl) auto 0;
    padding: 0;
}

.quality-checks-inline li {
    width: 100%;
    max-width: 220px;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    text-align: center;
    min-height: 0;
}

.quality-check-icon {
    width: 32px;
    height: 32px;
    color: var(--forest-700);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.quality-check-icon svg {
    width: 32px;
    height: 32px;
    display: block;
}

.quality-check-text {
    font-size: 15px;
    line-height: 1.5;
    color: var(--forest-800);
    font-weight: 500;
}

.hero-cta-centered {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
}

.block-footer {
    font-size: 15px;
    color: var(--text-primary);
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border);
    font-style: italic;
    line-height: 1.7;
}

.healthcare-footer {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 900px;
    margin: var(--spacing-xxl) auto 0;
    line-height: 1.7;
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--forest-50);
    border-radius: var(--radius-card);
    font-weight: 500;
}

@media (max-width: 768px) {
    .healthcare-intro {
        text-align: left;
        padding: 0 var(--spacing-md);
    }

    .healthcare-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .healthcare-block {
        padding: var(--spacing-lg);
    }

    .healthcare-block h3 {
        font-size: 20px;
    }
}

/* ===== TESTIMONIALS CAROUSEL ===== */
.testimonials-section {
    margin-bottom: var(--spacing-xxxl);
    text-align: center;
}

.section-subtext {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: var(--spacing-xl);
}

.carousel-container {
    margin-top: var(--spacing-xl);
}

.carousel-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: 0;
}

.carousel-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-subtle);
    transition: all 0.2s;
    text-align: left;
}

.carousel-card:hover {
    box-shadow: var(--shadow-card);
    border-color: var(--forest-200);
}

.card-image {
    margin-bottom: var(--spacing-md);
    border-radius: var(--spacing-sm);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.image-placeholder {
    aspect-ratio: 4/3;
    background: var(--surface-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--forest-800);
    margin-bottom: var(--spacing-xs);
}

.card-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.carousel-dots {
    display: flex;
    gap: var(--spacing-xs);
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    transition: all 0.2s;
}

.dot.active {
    background: var(--forest-600);
    width: 24px;
    border-radius: 4px;
}

.carousel-buttons {
    display: flex;
    gap: var(--spacing-sm);
}

.carousel-btn {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

.carousel-btn:hover {
    border-color: var(--forest-300);
    color: var(--forest-700);
}

.carousel-btn.next {
    background: var(--forest-700);
    color: white;
    border-color: var(--forest-700);
}

.carousel-btn.next:hover {
    background: var(--forest-800);
}


.realizacje-summary {
    margin-top: var(--spacing-xxl);
    font-size: 15px;
    color: var(--text-muted);
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}



/* ===== FAQ SECTION ===== */
.faq-section {
    background: var(--surface-muted);
    margin: 0 auto var(--spacing-xxxl);
    padding: var(--spacing-xxl) var(--spacing-xl);
    border-radius: var(--radius-card);
    max-width: 1000px;
}

.faq-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-xl);
}

.faq-intro {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
}

.faq-illustration {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    height: 120px;
    margin-top: var(--spacing-lg);
}

.barcode-line {
    flex: 1;
    border-radius: 4px 4px 0 0;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.accordion-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--spacing-sm);
    overflow: hidden;
    transition: all 0.2s;
}

.accordion-item:hover {
    border-color: var(--forest-200);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--forest-800);
    font-family: var(--font-primary);
}

.accordion-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: var(--surface-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    color: var(--forest-700);
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background-color: currentColor;
    border-radius: 2px;
    transition: all 0.2s ease;
}

/* Horizontal line (always visible) */
.accordion-icon::before {
    width: 14px;
    height: 2px;
}

/* Vertical line (hidden when active to make minus) */
.accordion-icon::after {
    width: 2px;
    height: 14px;
}

.accordion-item.active .accordion-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content p {
    padding: 0 var(--spacing-lg) var(--spacing-lg);
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    margin-bottom: var(--spacing-xxl);
    text-align: center;
}

.contact-form {
    max-width: 700px;
    margin: var(--spacing-xl) auto 0;
}

.contact-summary {
    max-width: 760px;
    margin: 0 auto var(--spacing-xl);
    text-align: left;
}

.contact-summary p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-primary);
}

.contact-summary p:not(:last-child) {
    margin-bottom: var(--spacing-sm);
}

.form-group {
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--forest-800);
    margin-bottom: var(--spacing-xs);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-primary);
    font-size: 15px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--spacing-sm);
    color: var(--text-primary);
    transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--forest-500);
    box-shadow: var(--focus-ring);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-consent {
    margin: var(--spacing-md) 0 var(--spacing-lg);
    text-align: left;
}

.consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--text-muted);
    cursor: pointer;
}

.consent-label input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: var(--forest-700);
    flex: 0 0 auto;
}

.consent-label a {
    color: var(--forest-700);
    text-decoration: underline;
}

.btn-primary {
    background: var(--forest-700);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-pill);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-primary);
    text-decoration: none;
    /* Removed underline */
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--forest-800);
    box-shadow: var(--shadow-subtle);
}

.btn-primary:focus {
    outline: none;
    box-shadow: var(--focus-ring);
}

.btn-secondary {
    background: transparent;
    color: var(--forest-700);
    padding: 10px 24px;
    border: 1.5px solid var(--forest-200);
    border-radius: var(--radius-pill);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.btn-secondary:hover {
    border-color: var(--forest-500);
    background: var(--forest-50);
}

.btn-large {
    padding: 16px 40px;
    font-size: 16px;
}

.form-status {
    margin: var(--spacing-md) 0;
    padding: var(--spacing-md);
    border-radius: var(--spacing-sm);
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    display: none;
}

.form-status.loading,
.form-status.success,
.form-status.error {
    display: block;
}

.form-status.loading {
    background: var(--forest-50);
    color: var(--forest-700);
    border: 1px solid var(--forest-200);
}

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

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

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* ===== FOOTER ===== */
.footer {
    background: var(--forest-700);
    border-radius: var(--radius-shell);
    padding: var(--spacing-xxl) var(--spacing-xl);
    color: rgba(255, 255, 255, 0.8);
    max-width: 1280px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: 4px;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: -2px;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-xxl);
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: var(--spacing-sm);
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-legal {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: white;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .mission-content {
        grid-template-columns: 1fr;
    }

    .chart-glow {
        display: none;
    }

    .faq-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-canvas {
        padding: 12px;
    }

    .main-panel {
        padding: var(--spacing-md);
        border-radius: var(--spacing-lg);
    }

    .navbar {
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }

    .navbar-cta {
        padding: 8px 16px;
        font-size: 13px;
    }

    .hero-title br {
        display: none;
    }

    .hero-title {
        font-size: clamp(30px, 8vw, 36px);
        word-break: break-word;
    }

    .hero-cta-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-pill.inline-pill {
        display: block;
        margin-left: 0;
        margin-top: var(--spacing-sm);
        top: 0;
        width: fit-content;
    }

    .values-media {
        padding: 0;
    }

    .warehouse-services {
        gap: var(--spacing-md);
        padding: var(--spacing-md) var(--spacing-sm);
    }

    .service-text {
        font-size: 0.85rem;
    }



    .process-schema {
        flex-direction: column;
    }

    .process-arrow {
        transform: rotate(90deg);
    }

    .stats-section {
        grid-template-columns: 1fr;
    }

    .values-copy {
        grid-template-columns: 1fr;
    }

    .carousel-track {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer {
        padding: var(--spacing-xl) var(--spacing-lg);
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
        justify-content: flex-start;
        gap: var(--spacing-lg);
    }

    .faq-section {
        margin: 0 auto;
        padding: var(--spacing-xl) var(--spacing-lg);
    }

    .footer-column a {
        display: inline-block;
        padding: 8px 0;
    }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

*:focus-visible {
    outline: 2px solid var(--forest-600);
    outline-offset: 2px;
}

/* ===== PROJECT DETAIL PAGES ===== */
.project-hero {
    margin-bottom: var(--spacing-xxl);
}

.project-hero.project-hero-tight {
    margin-bottom: var(--spacing-xs);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: var(--spacing-lg);
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--forest-700);
}

.back-link svg {
    width: 16px;
    height: 16px;
}

.project-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 600;
    line-height: 1.2;
    color: var(--forest-900);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.01em;
}

.project-subtitle {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 800px;
}

/* Project Detail Layout */
/* ===== PROJECT DETAIL PAGE ===== */
.project-detail {
    margin-bottom: var(--spacing-xxl);
}

.project-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: var(--spacing-xxl);
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Image Gallery */
.project-gallery {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    min-width: 0;
    /* Critical for preventing grid blowout */
    width: 100%;
    order: 1;
    /* Display on LEFT (first) on desktop despite being second in HTML */
}

.gallery-image {
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--surface-muted);
    width: 100%;
}

.gallery-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: var(--radius-card);
}

/* Project Description */
.project-description {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    min-width: 0;
    /* Critical for preventing overflow */
    max-width: 100%;
    width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    order: 2;
    /* Display on RIGHT (second) on desktop despite being first in HTML */
}

.project-description .project-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
    overflow-wrap: break-word;
    max-width: 100%;
}

.project-description .project-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    overflow-wrap: break-word;
    max-width: 100%;
}

.description-text {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    max-width: 100%;
    overflow-wrap: break-word;
}

.description-text p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    overflow-wrap: break-word;
    max-width: 100%;
}

/* Project Meta Information */
.project-meta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border);
    margin-top: var(--spacing-md);
    max-width: 100%;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.meta-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.meta-value {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
}

/* Project CTA Section */
.project-cta {
    text-align: center;
    padding: var(--spacing-xxl) var(--spacing-xl);
    background: var(--surface-sunken);
    border-radius: var(--radius-card);
    margin-bottom: var(--spacing-xl);
}

.project-cta h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--forest-900);
    margin-bottom: var(--spacing-sm);
}

.project-cta p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
}

/* Clickable Carousel Cards */
.carousel-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-floating);
}

.carousel-card:hover .card-title {
    color: var(--forest-700);
}


/* Responsive Design for Project Pages */
@media (max-width: 768px) {
    .project-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    /* Reset order on mobile - use natural HTML order (text first, images second) */
    .project-gallery,
    .project-description {
        order: unset;
    }

    .project-title {
        font-size: 24px;
    }

    .project-subtitle {
        font-size: 15px;
    }

    .project-cta {
        padding: var(--spacing-xl) var(--spacing-lg);
    }

    .project-cta h2 {
        font-size: 22px;
    }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--surface);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    padding: var(--spacing-lg) var(--spacing-md);
    z-index: 10000;
    animation: slideUp 0.5s ease-out forwards;
}

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

    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    text-align: center;
}

.cookie-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.cookie-content a {
    color: var(--forest-600);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-buttons {
    display: flex;
    gap: var(--spacing-md);
}

.btn-cookie-accept,
.btn-cookie-decline {
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cookie-accept {
    background-color: var(--forest-600);
    color: white;
    border: none;
}

.btn-cookie-accept:hover {
    background-color: var(--forest-700);
}

.btn-cookie-decline {
    background-color: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-cookie-decline:hover {
    background-color: var(--background);
    color: var(--text-primary);
}

@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* ===== NEW HERO DESIGN (2025 Refused) ===== */
.hero-new-container {
    background-color: #F4F3EF;
    /* Cream background */
    background-image: url('ikony/hero-bg.svg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    min-height: 500px;
    /* Reduced height as it's a card */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 60px 20px;
    overflow: hidden;
}

/* Background decoration stripes (CSS approximation) */
/* Background decoration stripes (CSS approximation) - REMOVED in favor of SVG */
.hero-new-container::before {
    display: none;
}

.hero-new-card {
    background: #FFFFFF;
    border-radius: 32px;
    padding: 60px 40px;
    max-width: 900px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(31, 77, 54, 0.08);
    /* Soft green shadow */
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.hero-pill-wrapper {
    display: inline-block;
    margin-bottom: 8px;
}

.hero-pill-new {
    /* Matching .section-pill.amber style */
    background-color: var(--amber-50);
    color: var(--amber-600);
    border: 1px solid var(--amber-200);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 100px;
    display: inline-block;
}

.hero-new-title {
    font-family: 'Inter', sans-serif;
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    color: #1A3C34;
    /* Dark Forest Green */
    margin: 0;
    letter-spacing: -0.02em;
}

.hero-new-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: #4A5552;
    /* Muted Green/Grey */
    max-width: 700px;
    margin: 0;
}

.hero-new-cta {
    margin-top: 16px;
}

.btn-hero-new {
    background-color: #1F4D36;
    /* Dark Green */
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-hero-new:hover {
    background-color: #2A6648;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(31, 77, 54, 0.2);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-new-card {
        padding: 40px 24px;
        border-radius: 24px;
    }

    .hero-new-title {
        font-size: 28px;
    }

    .hero-new-subtitle {
        font-size: 15px;
    }
}

/* ===== HEALTHCARE PAGE: Text width = Image width ===== */
.hero-section .hero-text-wrapper,
.hero-section .section-heading,
.hero-section .section-intro {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.values-section .section-heading,
.values-section .section-intro,
.values-section .values-copy {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.values-section .experience-copy {
    max-width: 80%;
}

.production-scope-section .section-heading,
.production-scope-section .section-intro {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.production-scope-section .production-categories {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.production-scope-section .production-footer {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.healthcare-footer {
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* ===== KNOWLEDGE BASE PAGE ===== */
.knowledge-hero {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

.knowledge-section {
    margin: 0 auto var(--spacing-xxl);
    max-width: 1120px;
    text-align: center;
}

.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-lg);
    margin: 0 auto;
}

.knowledge-card {
    display: flex;
    flex-direction: column;
    text-align: left;
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--surface);
    box-shadow: var(--shadow-subtle);
}

.knowledge-card-media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--forest-900);
}

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

.knowledge-card-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    min-height: 300px;
}

.knowledge-card-category {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--amber-600);
    margin: 0;
}

.knowledge-card-preview .knowledge-card-category {
    color: var(--forest-600);
}

.knowledge-card-title {
    font-size: clamp(23px, 2.4vw, 30px);
    line-height: 1.3;
    font-weight: 600;
    color: var(--forest-900);
    margin: 0;
}

.knowledge-card-excerpt {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-muted);
}

.knowledge-card-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    font-weight: 600;
    color: var(--forest-700);
    text-decoration: none;
    transition: color 0.2s;
}

.knowledge-card-link:hover {
    color: var(--forest-900);
}

.knowledge-card-link.is-disabled {
    color: var(--text-muted);
    pointer-events: none;
}

@media (max-width: 900px) {
    .knowledge-grid {
        grid-template-columns: 1fr;
    }

    .knowledge-card-content {
        min-height: auto;
    }
}

/* ===== BLOG ARTICLE PAGE ===== */
.blog-hero {
    margin-bottom: var(--spacing-xxl);
}

.blog-hero-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-media);
    overflow: hidden;
    background: var(--forest-900);
}

.blog-hero-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 32, 24, 0.15) 0%, rgba(11, 32, 24, 0.8) 72%);
}

.blog-hero-content {
    position: absolute;
    left: var(--spacing-xl);
    right: var(--spacing-xl);
    bottom: var(--spacing-xl);
    max-width: 820px;
    z-index: 1;
}

.blog-hero-category {
    display: inline-flex;
    margin: 0 0 var(--spacing-sm);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.92);
    color: var(--forest-800);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.blog-hero-title {
    margin: 0;
    color: #fff;
    font-size: clamp(30px, 4.3vw, 52px);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.blog-hero-lead {
    margin: var(--spacing-md) 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 17px;
    line-height: 1.7;
    max-width: 760px;
}

.blog-article {
    max-width: 920px;
    margin: 0 auto var(--spacing-xxl);
}

.blog-article p {
    margin: 0 0 var(--spacing-md);
    color: var(--text-primary);
    font-size: 17px;
    line-height: 1.8;
}

.blog-article h2 {
    margin: var(--spacing-xl) 0 var(--spacing-sm);
    color: var(--forest-900);
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.2;
    font-weight: 600;
}

.blog-article ul,
.blog-article ol {
    margin: 0 0 var(--spacing-lg) 22px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.blog-article li {
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.7;
}

.related-articles {
    margin: 0 auto var(--spacing-xxl);
    max-width: 1120px;
    text-align: center;
}

.related-articles .knowledge-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
}

.contact-section-page {
    max-width: 940px;
    margin-left: auto;
    margin-right: auto;
}

.contact-section-page .contact-form {
    margin-top: 0;
}

.contact-direct {
    margin-top: var(--spacing-lg);
    font-size: 14px;
    color: var(--text-muted);
}

.contact-direct a {
    color: var(--forest-700);
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 768px) {
    .blog-hero-content {
        left: var(--spacing-md);
        right: var(--spacing-md);
        bottom: var(--spacing-md);
    }

    .blog-hero-lead {
        font-size: 15px;
        line-height: 1.6;
    }

    .blog-article p {
        font-size: 16px;
    }

    .blog-article h2 {
        margin-top: var(--spacing-lg);
    }
}

/* ===== DE PAGE LAYOUT ===== */
.de-hero {
    margin-bottom: var(--spacing-xxl);
    text-align: center;
}

.de-hero-media {
    max-width: 100%;
    margin-top: var(--spacing-lg);
}

.de-hero-image {
    aspect-ratio: 16 / 9;
}

.de-hero-phone {
    margin-bottom: 0;
    text-align: center;
}

.de-hero-phone a {
    color: var(--forest-800);
    font-weight: 600;
    text-decoration: none;
}

.de-hero-phone a+a {
    display: inline-block;
    margin-top: 4px;
}

.de-hero-phone span {
    color: var(--text-muted);
    font-size: 14px;
}

.de-content-section {
    margin-bottom: var(--spacing-xxl);
}

.de-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.de-list li {
    position: relative;
    padding-left: 18px;
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.6;
}

.de-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--forest-600);
    font-weight: 700;
}

.de-list-centered {
    max-width: 760px;
    margin: 0 auto;
    text-align: left;
}

.de-list-centered-text li {
    padding-left: 0;
    text-align: center;
}

.de-list-centered-text li::before {
    position: static;
    margin-right: 8px;
    display: inline-block;
}

.de-section-cta {
    margin-top: var(--spacing-lg);
}

.de-split-section {
    margin-bottom: var(--spacing-xxl);
}

.de-split-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--spacing-xl);
    align-items: center;
    max-width: 1080px;
    margin: 0 auto;
}

.de-split-grid-reverse {
    grid-template-columns: 0.95fr 1.05fr;
}

.de-split-grid-reverse .de-split-copy {
    order: 2;
}

.de-split-grid-reverse .de-media-frame {
    order: 1;
}

.de-split-copy {
    text-align: left;
}

.de-split-copy .hero-cta-centered {
    justify-content: flex-start;
}

.de-split-copy .section-heading {
    text-align: left;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: var(--spacing-md);
}

.de-split-copy .section-intro {
    text-align: left;
    max-width: none;
    margin: 0 0 var(--spacing-md);
}

.de-split-copy .section-pill {
    display: inline-flex;
    margin-left: 0;
    margin-right: 0;
}

.de-split-copy .de-list {
    text-align: left;
}

.de-split-copy .de-list li {
    padding-left: 0;
}

.de-split-copy .de-list li::before {
    position: static;
    margin-right: 8px;
    display: inline-block;
}

.de-split-section-centered .de-split-grid {
    grid-template-columns: 1fr;
    max-width: 860px;
}

.de-split-section-centered .de-split-copy {
    text-align: center;
}

.de-split-section-centered .de-split-copy .section-heading,
.de-split-section-centered .de-split-copy .section-intro {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.de-split-section-centered .de-split-copy .section-pill {
    margin-left: auto;
    margin-right: auto;
}

.de-split-section-centered .de-split-copy .de-list {
    text-align: center;
}

#branchen .de-split-grid {
    grid-template-columns: 1fr;
    max-width: 860px;
}

#branchen .de-split-copy,
#branchen .de-split-copy .section-heading,
#branchen .de-split-copy .section-intro,
#branchen .de-split-copy .de-list,
#branchen .de-split-copy .de-list li {
    text-align: center;
}

#branchen .de-split-copy .section-pill {
    display: table;
    margin: 0 auto var(--spacing-sm);
}

#branchen .de-split-copy .de-list li {
    padding-left: 0;
}

#branchen .de-split-copy .de-list li::before {
    position: static;
    margin-right: 8px;
    display: inline-block;
}

.de-inline-link {
    margin-top: var(--spacing-md);
    margin-bottom: 0;
}

.de-media-frame {
    width: 100%;
    border-radius: var(--radius-media);
    overflow: hidden;
    background: var(--surface-muted);
    box-shadow: var(--shadow-subtle);
}

.de-media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.de-media-frame.portrait {
    aspect-ratio: 4 / 5;
    background: #0f1720;
    padding: var(--spacing-xs);
}

.de-media-frame.portrait img {
    object-fit: contain;
}

.de-media-frame.landscape {
    aspect-ratio: 16 / 9;
}

.de-wide-media {
    max-width: 1000px;
    margin: var(--spacing-xl) auto 0;
}

.de-contact-note {
    margin-top: var(--spacing-md);
    margin-bottom: 0;
}

@media (max-width: 960px) {
    .de-split-grid,
    .de-split-grid-reverse {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .de-split-grid-reverse .de-split-copy,
    .de-split-grid-reverse .de-media-frame {
        order: unset;
    }

    .de-split-copy .section-heading,
    .de-split-copy .section-intro {
        text-align: center;
    }

    .de-split-copy .hero-cta-centered {
        justify-content: center;
    }

    .de-split-copy .de-list {
        max-width: 720px;
        margin: 0 auto;
    }

    .de-media-frame.portrait {
        max-width: 430px;
        margin: 0 auto;
    }
}

/* ===== SUPPORT PAGE HERO OVERLAY ===== */
.pharma-hero-media {
    position: relative;
}

.pharma-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 32, 24, 0.78) 0%, rgba(11, 32, 24, 0.5) 38%, rgba(11, 32, 24, 0.12) 68%, rgba(11, 32, 24, 0) 100%);
    pointer-events: none;
}

.pharma-hero-overlay {
    position: absolute;
    left: clamp(18px, 4vw, 56px);
    top: 50%;
    transform: translateY(-50%);
    max-width: min(520px, 46%);
    text-align: left;
    z-index: 1;
}

.pharma-hero-overlay .section-heading {
    color: #fff;
    margin: 0;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.38);
}

@media (max-width: 1024px) {
    .pharma-hero-overlay {
        max-width: min(520px, 58%);
    }

    .pharma-hero-overlay .section-heading {
        font-size: clamp(28px, 4.6vw, 38px);
    }
}

@media (max-width: 768px) {
    .pharma-hero-media::after {
        background: linear-gradient(180deg, rgba(11, 32, 24, 0.08) 0%, rgba(11, 32, 24, 0.58) 68%, rgba(11, 32, 24, 0.82) 100%);
    }

    .pharma-hero-overlay {
        left: 16px;
        right: 16px;
        top: auto;
        bottom: 16px;
        transform: none;
        max-width: none;
    }

    .pharma-hero-overlay .section-heading {
        font-size: clamp(24px, 6.8vw, 31px);
    }
}

.support-hero-media {
    position: relative;
    max-width: 92%;
    margin-top: var(--spacing-md);
}

.support-hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 32, 24, 0.78) 0%, rgba(11, 32, 24, 0.54) 36%, rgba(11, 32, 24, 0.12) 68%, rgba(11, 32, 24, 0) 100%);
    pointer-events: none;
}

.support-hero-overlay {
    position: absolute;
    left: clamp(18px, 4vw, 56px);
    top: 50%;
    transform: translateY(-50%);
    max-width: min(620px, 62%);
    text-align: left;
    z-index: 1;
}

.support-hero-overlay .section-pill.amber {
    background: rgba(255, 247, 237, 0.95);
    border-color: rgba(254, 215, 170, 0.9);
    color: var(--amber-700);
    margin-bottom: var(--spacing-md);
}

.support-hero-heading {
    color: #fff;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.38);
}

.support-hero-lead {
    color: rgba(255, 255, 255, 0.96);
    text-align: left;
    max-width: none;
    margin: 0;
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.7;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.34);
}

@media (max-width: 1024px) {
    .support-hero-overlay {
        max-width: min(640px, 72%);
    }

    .support-hero-heading {
        font-size: clamp(28px, 4.6vw, 38px);
    }

    .support-hero-lead {
        font-size: 15px;
        line-height: 1.65;
    }
}

@media (max-width: 768px) {
    .support-hero-media {
        max-width: 100%;
    }

    .support-hero-media::after {
        background: linear-gradient(180deg, rgba(11, 32, 24, 0.12) 0%, rgba(11, 32, 24, 0.64) 72%, rgba(11, 32, 24, 0.84) 100%);
    }

    .support-hero-overlay {
        left: 16px;
        right: 16px;
        top: auto;
        bottom: 16px;
        transform: none;
        max-width: none;
    }

    .support-hero-overlay .section-pill.amber {
        margin-bottom: var(--spacing-sm);
    }

    .support-hero-heading {
        font-size: clamp(24px, 6.8vw, 31px);
        margin-bottom: var(--spacing-sm);
    }

    .support-hero-lead {
        font-size: 14px;
        line-height: 1.55;
    }
}
