/* ==========================================================================
   Copernica Law - Custom CSS
   Additions NOT in the Lawfinity base CSS.
   Uses Lawfinity CSS variable system where appropriate.
   ========================================================================== */


/* ==========================================================================
   0. Global Overrides
   ========================================================================== */

.container {
    max-width: 1140px;
}

/* Button icon spacing: icon right = margin-left, icon left = margin-right */
.appointment > i:first-child,
.appointment-secondary > i:first-child,
.appointment-whatsapp > i:first-child,
.read_more > i:first-child {
    margin-left: 0 !important;
    margin-right: 8px !important;
}

.appointment > i:last-child,
.appointment-secondary > i:last-child,
.appointment-whatsapp > i:last-child,
.read_more > i:last-child {
    margin-left: 8px !important;
    margin-right: 0 !important;
}

/* ==========================================================================
   1. Hero Video Section
   ========================================================================== */

.hero-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

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

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
        background: linear-gradient(180deg, var(--e-global-color-very-dark-black-blue) 0%, var(--e-global-color-primary) 100%);
    opacity: .6;
    z-index: 1;
}

/* Hero Avatar — round profile picture, top-right of hero, overflowing the container */
.hero-avatar {
    position: absolute;
    top: -28px;
    right: -28px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
    background: #fff;
    z-index: 5;
    pointer-events: none;
}

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

@media (max-width: 991px) {
    .hero-avatar {
        width: 110px;
        height: 110px;
        top: -20px;
        right: -10px;
    }
}

@media (max-width: 575px) {
    .hero-avatar {
        width: 84px;
        height: 84px;
        top: -14px;
        right: 8px;
        border-width: 3px;
    }
}

/* Override Lawfinity's banner_outer background for video hero */
.banner_outer.position-relative {
    background: transparent;
}

.banner_outer::before {
    display: none; /* Hide the Lawfinity background image when using video */
}

.banner-con {
    padding: 160px 0 100px;
}

/* ==========================================================================
   Angled Section Dividers (clip-path on sections themselves)
   Works with ANY background — no color matching needed.
   ========================================================================== */

/* Hero (front page): clip bottom at angle — works with any background */
.banner_outer,
.banner_outer.position-relative {
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 0 100%) !important;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 0 100%) !important;
    margin-bottom: -60px;
}

/* Sub-banner (inner pages): clip bottom at angle */
.sub_banner {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 0 100%);
    -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 60px), 0 100%);
    margin-bottom: -60px;
}

/* Footer: angled top edge + pull up to overlap */
.footer-con {
    clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%);
    -webkit-clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%);
    margin-top: -60px;
    padding-top: calc(60px + 72px);
}

/* Responsive: smaller angles on mobile */
@media (max-width: 767px) {
    .banner_outer {
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%) !important;
        -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%) !important;
        margin-bottom: -30px !important;
    }
    .sub_banner {
        clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%) !important;
        -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), 0 100%) !important;
        margin-bottom: -30px !important;
    }
    .footer-con {
        clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%);
        -webkit-clip-path: polygon(0 30px, 100% 0, 100% 100%, 0 100%);
        margin-top: -30px;
        padding-top: calc(30px + 72px);
    }
}

.banner-con.has-video {
    position: relative;
    z-index: 1;
}

.banner-con.has-video .banner_content,
.banner-con.has-video .container {
    position: relative;
    z-index: 2;
}

/* Hero content layout */

.banner_content h1 {
    margin-bottom: 20px;
    font-size: 46px;
    line-height: 1.2;
}

.hero-description {
    max-width: 560px;
    opacity: 0.9;
    margin-bottom: 8px;
}

.hero-promise {
    margin-bottom: 28px;
}

/* Hero CTA row */
.hero-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

/* Hero Trust Row (reviews + flag) — centered under stats bar */
.hero-trust-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
}

/* Global Google Review Badge — reusable everywhere */
.google-review-badge {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    transition: background 0.3s ease;
}

.google-review-badge:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.google-review-badge .grb-logo {
    height: 18px;
    width: auto;
    flex-shrink: 0;
}

.google-review-badge .grb-rating {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.google-review-badge .fa-star {
    color: #fbbc04;
    font-size: 14px;
}

.google-review-badge .grb-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 4px;
    flex-shrink: 0;
}

.google-review-badge .grb-count {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

/* Mobile: center badge */
@media (max-width: 991px) {
    .google-review-badge {
        margin-left: auto;
        margin-right: auto;
    }
    /* Center the wrapper div too */
    .banner_content + div,
    .sub-banner-trust {
        text-align: center;
    }
}

/* Light variant (for use on white backgrounds) */
.google-review-badge--light {
    background: var(--e-global-color-light-grayish-orange, #f8f5f0);
    border-color: rgba(0, 0, 0, 0.06);
    color: var(--e-global-color-primary);
}

.google-review-badge--light:hover {
    background: #eee;
    color: var(--e-global-color-primary);
}

.google-review-badge--light .grb-rating {
    color: var(--e-global-color-primary);
}

.google-review-badge--light .grb-divider {
    background: rgba(0, 0, 0, 0.15);
}

.google-review-badge--light .grb-count {
    color: #555;
}

/* Legacy alias — keep old selectors working */
.hero-trust-reviews {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 40px;
    padding: 10px 20px;
    transition: background 0.3s ease;
}

.hero-trust-reviews:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.hero-google-logo {
    height: 18px;
    width: auto;
    flex-shrink: 0;
}

.hero-google-rating {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.hero-trust-reviews .fa-star {
    color: #fbbc04;
    font-size: 14px;
}

.hero-google-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 4px;
    flex-shrink: 0;
}

.hero-google-count {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

.hero-trust-flag {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 500;
}

.hero-trust-flag svg {
    border-radius: 2px;
    flex-shrink: 0;
}

/* Hero Right Column - "Vi tilbyder" */
/* ==========================================================================
   Unified Inline Contact Form — dark & light variants
   ========================================================================== */

/* Shared base */
.inline-form__heading {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
    padding-right: 90px;
    text-align: left;
}

.inline-form__sub {
    font-size: 13px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    text-align: left;
}

.inline-form__form input,
.inline-form__form select,
.inline-form__form textarea {
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    font-family: inherit;
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.inline-form__row {
    margin-bottom: 10px;
}

.inline-form__row--half {
    display: flex;
    gap: 10px;
}

.inline-form__row--half input {
    flex: 1;
    min-width: 0;
}

.inline-form__form select {
    appearance: none;
    -webkit-appearance: none;
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
}

.inline-form__form textarea {
    resize: vertical;
    min-height: 100px;
}

.inline-form__submit {
    width: 100%;
    padding: 13px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 2px;
}

.inline-form__submit:hover {
    transform: translateY(-1px);
}

.inline-form__response {
    margin-top: 8px;
    font-size: 13px;
    text-align: center;
}

.inline-form__disclaimer {
    font-size: 11px;
    text-align: center;
    margin: 10px 0 0;
}

/* File upload — compact single line */
.inline-form__file {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.inline-form__file i {
    font-size: 14px;
    flex-shrink: 0;
}

.inline-form__file-name {
    font-weight: 600;
    display: none;
}

.inline-form__file-name.has-file {
    display: inline;
}

/* === DARK variant (glassmorphism — hero, sub-banner) === */
.inline-form--dark .inline-form__heading { color: #fff; }
.inline-form--dark .inline-form__sub { color: rgba(255,255,255,0.6); border-bottom: 1px solid rgba(255,255,255,0.1); }

.inline-form--dark .inline-form__form input,
.inline-form--dark .inline-form__form select,
.inline-form--dark .inline-form__form textarea {
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
}

.inline-form--dark .inline-form__form input::placeholder,
.inline-form--dark .inline-form__form textarea::placeholder { color: rgba(255,255,255,0.45); }

.inline-form--dark .inline-form__form input:focus,
.inline-form--dark .inline-form__form select:focus,
.inline-form--dark .inline-form__form textarea:focus { border-color: var(--e-global-color-accent); background: rgba(255,255,255,0.12); }

.inline-form--dark .inline-form__form select {
    background: rgba(255,255,255,0.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='rgba(255,255,255,0.5)'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E") no-repeat right 12px center;
}

.inline-form--dark .inline-form__form select option { background: var(--e-global-color-primary); color: #fff; }

.inline-form--dark .inline-form__submit {
    background: var(--e-global-color-accent);
    color: var(--e-global-color-primary);
}

.inline-form--dark .inline-form__submit:hover { background: #c49a48; box-shadow: 0 4px 20px rgba(212,168,83,0.4); }

.inline-form--dark .inline-form__disclaimer { color: rgba(255,255,255,0.35); }

.inline-form--dark .inline-form__file {
    color: rgba(255,255,255,0.5);
    border: 1px dashed rgba(255,255,255,0.15);
}

.inline-form--dark .inline-form__file:hover { border-color: rgba(255,255,255,0.3); color: rgba(255,255,255,0.7); }
.inline-form--dark .inline-form__file-name { color: var(--e-global-color-accent); }

/* === LIGHT variant (white card — contact section, kontakt-os) === */
.inline-form--light .inline-form__heading { color: var(--e-global-color-primary); }
.inline-form--light .inline-form__sub { color: #888; border-bottom: 1px solid #eee; }

.inline-form--light .inline-form__form input,
.inline-form--light .inline-form__form select,
.inline-form--light .inline-form__form textarea {
    color: var(--e-global-color-primary);
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
}

.inline-form--light .inline-form__form input::placeholder,
.inline-form--light .inline-form__form textarea::placeholder { color: #999; }

.inline-form--light .inline-form__form input:focus,
.inline-form--light .inline-form__form select:focus,
.inline-form--light .inline-form__form textarea:focus { border-color: var(--e-global-color-accent); background: #fff; }

.inline-form--light .inline-form__form select {
    background: #f8f9fa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23999'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E") no-repeat right 12px center;
}

.inline-form--light .inline-form__submit {
    background: var(--e-global-color-primary);
    color: #fff;
}

.inline-form--light .inline-form__submit:hover { background: #162440; box-shadow: 0 4px 20px rgba(15,29,47,0.3); }

.inline-form--light .inline-form__disclaimer { color: #aaa; }

.inline-form--light .inline-form__file {
    color: #888;
    border: 1px dashed #ddd;
}

.inline-form--light .inline-form__file:hover { border-color: #bbb; color: #666; }
.inline-form--light .inline-form__file-name { color: var(--e-global-color-accent); }

/* Responsive */
@media (max-width: 575px) {
    .inline-form__row--half {
        flex-direction: column;
        gap: 10px;
    }
}

/* Hero Contact Card (glassmorphism form) */
.hero-contact-card {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 20px;
    padding: 32px 30px 28px;
}

.hero-contact-heading {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
}

.hero-contact-sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-form-group {
    margin-bottom: 12px;
}

.hero-form-group input,
.hero-form-group select,
.hero-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
    font-family: inherit;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
    box-sizing: border-box;
}

.hero-form-group input::placeholder,
.hero-form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.hero-form-group input:focus,
.hero-form-group select:focus,
.hero-form-group textarea:focus {
    border-color: var(--e-global-color-accent);
    background: rgba(255, 255, 255, 0.12);
}

.hero-form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='rgba(255,255,255,0.6)'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}

.hero-form-group select option {
    background: var(--e-global-color-primary);
    color: #fff;
}

.hero-form-group textarea {
    resize: none;
    min-height: 56px;
}

.hero-form-submit {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    color: var(--e-global-color-primary);
    background: var(--e-global-color-accent);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 4px;
}

.hero-form-submit:hover {
    background: #c49a48;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(212, 168, 83, 0.4);
}

.hero-form-submit i {
    transition: transform 0.3s ease;
}

.hero-form-submit:hover i {
    transform: translateX(4px);
}

/* Hero Secondary CTA button */
.appointment-secondary {
    display: inline-block;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    color: var(--e-global-color-white, #ffffff);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.appointment-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--e-global-color-white, #ffffff);
}

.appointment-secondary i {
    margin-right: 6px;
}

/* Hero Stats Bar - glassmorphism */
.hero-stats-bar {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 28px 40px;
    /*margin-top: 40px;*/
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.hero-stat-item {
    text-align: center;
    color: var(--e-global-color-white, #ffffff);
    flex: 1;
}

.hero-stat-item .stat-number,
.hero-stat-item .hero-stat-number {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--e-global-color-secondary, #c9d6e8);
    display: block;
}

.hero-stat-item .stat-label,
.hero-stat-item .hero-stat-label {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-top: 4px;
}

/* Rotating Badge — positioned on hero-contact-card */
.hero-rotating-badge {
    position: absolute;
    bottom: -40px;
    right: -40px;
    z-index: 10;
    width: 110px;
    height: 110px;
    cursor: pointer;
}

.hero-rotating-badge svg {
    animation: rotateBadge 15s linear infinite;
}

.hero-rotating-badge .rotating-text {
    fill: #ffffff;
    font-size: 15.5px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-rotating-badge .badge-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 46px;
    height: 46px;
    background: var(--e-global-color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

.hero-rotating-badge:hover .badge-icon {
    transform: translate(-50%, -50%) scale(1.1);
}

@keyframes rotateBadge {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Google trust mini-badge inside hero contact card */
.hero-form-trust {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 14px;
    padding-bottom: 0;
}

.hero-form-trust span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-weight: 500;
    margin-left: 2px;
}

/* Hero button variants */
.appointment-outline {
    display: inline-block;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    color: var(--e-global-color-white, #ffffff);
    border: 2px solid var(--e-global-color-white, #ffffff);
    border-radius: 30px;
    background: transparent;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    cursor: pointer;
}

.appointment-outline:hover {
    background: var(--e-global-color-white, #ffffff);
    color: var(--e-global-color-accent, #0F1D2F);
}

.appointment-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 20px 32px 22px;
    font-size: 16px;
    font-weight: 700;
    line-height: 16px;
    color: #fff;
    background: #25d366;
    border: none;
    border-radius: 30px;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    cursor: pointer;
}

.appointment-whatsapp:hover {
    background: #1da851;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.appointment-whatsapp i {
    font-size: 22px;
    color: #fff;
    line-height: 1;
}


/* ==========================================================================
   2. Floating Action Buttons (FABs) — unified system
   Order bottom→top: Phone (20px) → WhatsApp (78px) → Back-to-top (136px)
   Same size on ALL devices. No breakpoint overrides.
   ========================================================================== */

.floating-actions {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fab {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.4s ease;
    opacity: 0;
    transform: translateX(80px);
}

.fab.visible {
    opacity: 1;
    transform: translateX(0);
}

.fab:hover {
    transform: translateX(0) scale(1.12);
}

/* Phone (bottom — always visible) */
.fab-phone {
    background: var(--e-global-color-accent);
    color: var(--e-global-color-primary);
}

.fab-phone:hover {
    box-shadow: 0 6px 24px rgba(212, 168, 83, 0.5);
}

/* WhatsApp (middle — always visible) */
.fab-whatsapp {
    background: #25d366;
    color: #fff;
}

.fab-whatsapp:hover {
    box-shadow: 0 6px 24px rgba(18, 140, 126, 0.5);
    color: #fff;
}

/* Back to top (top position — only on scroll) */
.fab-top {
    background: rgba(15, 29, 47, 0.85);
    color: #fff;
    opacity: 0;
    transform: translateX(80px);
    pointer-events: none;
}

.fab-top.visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.fab-top:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}


/* ==========================================================================
   3. (Removed — floating phone bar no longer used)
   ========================================================================== */

/* Legacy — kept for reference, element removed from template
.floating-phone-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--e-global-color-accent, #0F1D2F);
    color: var(--e-global-color-white, #ffffff);
    z-index: 9998;
    padding: 12px 16px;
    display: none;
*/

/* ==========================================================================
   4. Google Review Components
   ========================================================================== */

.google-review-badge {
    text-align: center;
    margin-bottom: 40px;
}

.google-badge-inner {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 16px 32px;
    background: var(--e-global-color-white, #ffffff);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.google-badge-inner img.google-logo-small {
    height: 24px;
    width: auto;
}

.google-badge-inner .badge-rating {
    font-size: 24px;
    font-weight: 700;
    color: var(--e-global-color-primary, #282828);
    line-height: 1;
}

.google-badge-inner .badge-stars {
    display: flex;
    gap: 2px;
}

.google-badge-inner .badge-stars i {
    color: #fbbc04;
    font-size: 16px;
}

.google-badge-inner .badge-count {
    font-size: 14px;
    font-weight: 400;
    color: var(--e-global-color-text, #575757);
}

/* Review avatar */
.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--e-global-color-accent, #0F1D2F);
    color: var(--e-global-color-white, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
}

/* Review stars */
.review-stars i {
    color: #fbbc04;
    font-size: 14px;
}

/* Review card (Google) */
.review-card-google {
    background: var(--e-global-color-white, #ffffff);
    border: 1px solid var(--e-global-color-light-white, #ececec);
    border-radius: 12px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.review-card-google:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.review-card-google .review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-card-google .review-author {
    font-size: 15px;
    font-weight: 600;
    color: var(--e-global-color-primary, #282828);
    margin: 0;
    line-height: 1.3;
}

.review-card-google .review-date {
    font-size: 13px;
    color: var(--e-global-color-dark-gray, #a3a3a3);
    margin: 0;
}

.review-card-google .review-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--e-global-color-text, #575757);
    flex-grow: 1;
}

.review-card-google .review-text-short {
    display: block;
}

.review-card-google .review-text-full {
    display: none;
}

/* Review text truncation */
.review-text-wrap.is-truncated .review-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-text-wrap.is-expanded .review-text {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

/* Read more link */
.review-read-more,
.review-read-more-btn {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--e-global-color-accent, #0F1D2F);
    cursor: pointer;
    text-decoration: none;
    margin-top: 8px;
    border: none;
    background: none;
    padding: 0;
    transition: color 0.2s ease;
}

.review-read-more:hover,
.review-read-more-btn:hover {
    color: var(--e-global-color-very-soft-orange, #E8C97A);
    text-decoration: underline;
}

/* Google logo in reviews */
.google-logo-small {
    height: 24px;
    width: auto;
}


/* ==========================================================================
   4b. Testimonial Section Overrides (front page)
   Uses Lawfinity base .testimonial-con styles, only overrides what's needed.
   ========================================================================== */

/* Make wrapper a real box so we can position image/bg relative to it */
.testimonial-redesigned .testimonial_wrapper {
    display: block !important;
    position: relative;
    height: 100%;
}

/* Colored bg — extends from far left to 80% of the wrapper width */
.testimonial-redesigned .image-bg {
    left: -100vw !important;
    right: 50% !important;
    top: 0;
    height: 100%;
    width: auto !important;
}

/* No avatar — remove padding-left, add right space for nav arrows */
.testimonial-redesigned .review-content {
    padding-left: 0;
    padding-right: 80px;
}

/* Narrower review text */
.testimonial-redesigned .testimonial_content p {
    max-width: 520px;
}

/* Clip bg overflow */
.testimonial-redesigned {
    overflow: hidden;
}

/* Quote icon — Font Awesome instead of Lawfinity's PNG image */
.testimonial-redesigned .testimonial-quote {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-redesigned .testimonial-quote i {
    color: var(--e-global-color-white, #ffffff);
    font-size: 28px;
}

/* Nav arrows — aligned with reviewer detail row */
.testimonial-redesigned .owl-carousel .owl-nav {
    position: absolute !important;
    bottom: 0 !important;
    right: 0 !important;
    top: auto !important;
    left: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    display: inline-flex;
    gap: 8px;
    width: auto !important;
}

/* Make carousel item relative so arrows anchor to it */
.testimonial-redesigned .owl-carousel .owl-stage-outer {
    position: relative;
}

.testimonial-redesigned .owl-carousel {
    position: relative;
    padding-bottom: 0;
}


/* Google badge pill */
.testimonial-google-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--e-global-color-light-grayish-orange, #f5f2ec);
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 10px;
}

.testimonial-google-badge .badge-rating {
    font-size: 16px;
    font-weight: 700;
    color: var(--e-global-color-primary, #282828);
}

.testimonial-google-badge .badge-stars i {
    color: #fbbc04;
    font-size: 12px;
}

.testimonial-google-badge .badge-divider {
    width: 1px;
    height: 14px;
    background: var(--e-global-color-very-light-gray, #dedede);
}

.testimonial-google-badge .badge-count {
    color: var(--e-global-color-text, #575757);
    font-weight: 500;
}

/* Review stars */
.testimonial-redesigned .review-stars i {
    color: #fbbc04;
}

.testimonial-con .testimonial-image {
    left: 60px;
}

/* CTA button — Lawfinity appointment style */
.testimonial-redesigned .testimonial-cta-btn {
    display: inline-block;
    margin-top: 20px;
    font-size: 16px;
    line-height: 16px;
    font-weight: 700;
    padding: 20px 34px 22px;
    border-radius: 30px;
    color: var(--e-global-color-very-dark-black-blue, #202226);
    background: var(--e-global-color-secondary, #c9d6e8);
    border: none;
    transition: all 0.3s ease-in-out;
}

.testimonial-redesigned .testimonial-cta-btn i {
    font-size: 14px;
    margin-left: 18px;
    color: var(--e-global-color-very-dark-black-blue, #202226);
    transition: all 0.3s ease-in-out;
}

.testimonial-redesigned .testimonial-cta-btn:hover {
    color: var(--e-global-color-white, #ffffff);
    background: var(--e-global-color-very-dark-black-blue, #202226);
}

.testimonial-redesigned .testimonial-cta-btn:hover i {
    color: var(--e-global-color-white, #ffffff);
}

/* ==========================================================================
   5. Review Grid Layout
   ========================================================================== */

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

@media screen and (max-width: 991px) {
    .review-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media screen and (max-width: 575px) {
    .review-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}


/* ==========================================================================
   6. Language Switcher (Header Flags)
   ========================================================================== */



/* ==========================================================================
   7. Preloader / Loader (Lawfinity compatible overrides)
   ========================================================================== */

.loader-mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: var(--e-global-color-very-dark-black-blue, #0a0e2a);
    z-index: 99999;
}

.loader {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 110px;
    margin: 0 !important;
    text-indent: 0 !important;
    font-size: inherit !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-logo {
    width: 100%;
    height: 100%;
    animation: loaderPulse 1.6s ease-in-out infinite;
    opacity: 0.9;
}

@keyframes loaderPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}


/* ==========================================================================
   8. Navbar Enhancements
   ========================================================================== */

/* Sticky header on all pages */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background-color: var(--e-global-color-primary, #0F1D2F);
    transition: background-color 0.3s ease-in-out,
                padding 0.3s ease-in-out,
                box-shadow 0.3s ease-in-out,
                backdrop-filter 0.3s ease-in-out;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 16px;
    margin-right: 8px;
}

.lang-btn {
    background: none;
    border: 2px solid transparent;
    border-radius: 4px;
    padding: 2px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease, border-color 0.3s ease;
    display: flex;
    align-items: center;
    line-height: 0;
}

.lang-btn:hover {
    opacity: 0.8;
}

.lang-btn.active {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.5);
}

.lang-btn svg {
    display: block;
    border-radius: 2px;
}

/* Hide Google Translate UI */
.goog-te-banner-frame {
    height: 0 !important;
    overflow: hidden !important;
    border: none !important;
}

.skiptranslate:not(#google_translate_element),
#goog-gt-tt {
    display: none !important;
}

body {
    top: 0 !important;
}

.navbar-nav li,
.navbar-nav li:last-child {
    margin: 0 10px;
}

.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

/* Mobile: lang switcher in collapsed nav */
@media (max-width: 991px) {
    .lang-switcher {
        margin: 12px 0;
        justify-content: center;
    }
}

/* Header: positioned absolutely over the banner, fixed when scrolled */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

/* Inner pages: dark header background (since header is now outside the banner) */
.header:not(.header-transparent) {
    background: var(--e-global-color-primary);
}

/* Front page: transparent header before scroll */
.header.header-transparent {
    background-color: transparent;
}

/* Scrolled state: fixed + glassmorphism on all pages */
.header.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 29, 47, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    padding: 12px 0;
}

/* Offset page content for fixed header (inner pages only) */
.sub_banner {
    padding-top: 0;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.sub_banner::before {
    display: none;
}

/* clip-path divider is on .sub_banner itself (see section 1) */

.sub-banner-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    clip-path: inset(0);
}

.sub-banner-video {
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

.sub-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(15, 29, 47, 0.45) 0%,
        rgba(15, 29, 47, 0.6) 100%
    );
}

.sub_banner .container {
    position: relative;
    z-index: 1;
}

.sub_banner .sub_banner_con {
    padding: 210px 0 120px;
}

.sub_banner .sub_banner_con p {
    margin-bottom: 0;
}

/* Sub-banner Google trust badge — uses global .google-review-badge */
.sub-banner-trust {
    margin-bottom: 16px;
}

.sub-banner-google-badge,
.google-review-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 30px;
    padding: 8px 16px;
    transition: background 0.3s;
}

.sub-banner-google-badge:hover {
    background: rgba(255,255,255,0.18);
}

.sub-banner-rating {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.sub-banner-count {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    margin-left: 4px;
}

/* Sub-banner contact form card */
.sub-banner-form-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 20px;
    padding: 28px 24px 20px;
    margin-top: 10px;
}

.sub-banner-form-heading {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
}

.sub-banner-form-sub {
    color: rgba(255,255,255,0.65);
    font-size: 13px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sub-banner-form input,
.sub-banner-form select,
.sub-banner-form textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 13px;
    font-family: inherit;
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 8px;
    outline: none;
    margin-bottom: 10px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.sub-banner-form input::placeholder,
.sub-banner-form textarea::placeholder {
    color: rgba(255,255,255,0.45);
}

.sub-banner-form input:focus,
.sub-banner-form select:focus,
.sub-banner-form textarea:focus {
    border-color: var(--e-global-color-accent);
}

.sub-banner-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='rgba(255,255,255,0.5)'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
    cursor: pointer;
}

.sub-banner-form select option {
    background: var(--e-global-color-primary);
    color: #fff;
}

.sub-banner-form textarea {
    resize: none;
    min-height: 50px;
}

.sub-banner-form-row {
    display: flex;
    gap: 10px;
}

.sub-banner-form-row input {
    flex: 1;
}

.sub-banner-form button {
    width: 100%;
    padding: 12px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    color: var(--e-global-color-primary);
    background: var(--e-global-color-accent);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
}

.sub-banner-form button:hover {
    background: #c49a48;
    transform: translateY(-1px);
}

.sub-banner-form-disclaimer {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    text-align: center;
    margin: 10px 0 0;
}

/* Responsive: sub-banner form */
@media (max-width: 991px) {
    .sub-banner-form-card {
        margin-top: 30px;
    }
    .sub_banner_content.text-lg-start {
        text-align: center;
    }
    .sub-banner-trust {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .sub-banner-form-row {
        flex-direction: column;
        gap: 0;
    }
}

.violence-con {
    background: url(../images/klartilhjaelp.jpg);
    background-size: cover;
}

/* Front page banner already fills viewport, no extra offset needed */
.banner_outer {
    padding-top: 0;
}

/* Phone icon next to number in nav */
.nav-phone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--e-global-color-very-soft-orange, #E8C97A);
    margin-right: 8px;
    transition: all 0.3s ease-in-out;
}

.nav-phone-icon i {
    font-size: 14px;
    color: var(--e-global-color-white, #ffffff);
}

.nav-phone-icon:hover {
    background: var(--e-global-color-accent, #0F1D2F);
    transform: translateY(-2px);
}

/* Copernica adjustments for .last_list */
.last_list {
    display: flex;
    align-items: center;
}

.last_list .nav-phone-icon + a {
    margin-left: 0;
}


/* ==========================================================================
   9. Contact Form - Lawfinity Integration
   ========================================================================== */

/* Form response messages */
.form-response {
    margin-top: 16px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.5;
    display: none;
}

.form-response.alert-success {
    display: block;
    background-color: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.form-response.alert-danger {
    display: block;
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

/* Loading button state */
.btn-loading {
    display: none;
}

.btn-loading .spinner-border {
    width: 18px;
    height: 18px;
    border-width: 2px;
    vertical-align: middle;
    margin-right: 6px;
}

/* Contact form grid layout */
.copernicalaw-contact-form .form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.copernicalaw-contact-form .form-col {
    flex: 1;
    min-width: 0;
}

.copernicalaw-contact-form .form-col-full {
    flex: 0 0 100%;
}

/* Override Lawfinity hardcoded widths */
.consultation-con .consultation_content input,
.consultation-con .consultation_content select {
    width: 100%;
}

.consultation-con .consultation_content textarea {
    width: 100%;
}

/* Contact section (front page redesigned) */
.contact-section .copernicalaw-contact-form input,
.contact-section .copernicalaw-contact-form select {
    font-size: 14px;
    line-height: 14px;
    font-weight: 400;
    height: 53px;
    width: 100%;
    padding: 10px 10px 14px 26px;
    color: var(--e-global-color-text);
    background-color: var(--e-global-color-white);
    border-radius: 25px;
    border: 1px solid var(--e-global-color-grayish-orange);
    outline: none;
    transition: all 0.3s ease;
}

.contact-section .copernicalaw-contact-form textarea {
    font-size: 14px;
    font-weight: 400;
    width: 100%;
    height: 118px;
    padding: 16px 26px;
    color: var(--e-global-color-text);
    background-color: var(--e-global-color-white);
    border-radius: 18px;
    border: 1px solid var(--e-global-color-grayish-orange);
    resize: none;
    outline: none;
    transition: all 0.3s ease;
}

.contact-section .copernicalaw-contact-form input:focus,
.contact-section .copernicalaw-contact-form textarea:focus,
.contact-section .copernicalaw-contact-form select:focus {
    border-color: var(--e-global-color-accent);
    box-shadow: 0 0 0 3px rgba(212, 168, 83, 0.15);
}

.contact-section .appointment {
    font-size: 16px;
    line-height: 16px;
    font-weight: 700;
    padding: 21px 33.5px;
    border: none;
    border-radius: 30px;
    color: var(--e-global-color-white);
    background: var(--e-global-color-primary);
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-section .appointment i {
    font-size: 14px;
    margin-left: 18px;
    color: var(--e-global-color-white);
}

.contact-section .appointment:hover {
    background: var(--e-global-color-very-dark-black-blue);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Why Choose Us - pillar card hover */
.pillar-card:hover {
    background: rgba(255,255,255,0.12) !important;
    border-color: rgba(212,168,83,0.3) !important;
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Select dropdown arrow */
select.form_style {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23575757' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

/* Form response message */
.copernicalaw-contact-form .form-response {
    margin-bottom: 16px;
}

/* Responsive: stack on mobile */
@media (max-width: 575px) {
    .copernicalaw-contact-form .form-row {
        flex-direction: column;
    }

    footer#footer .row > :nth-child(3) .links {
        padding: 0 !important;
    }
}


/* ==========================================================================
   10. Footer CTA Buttons
   ========================================================================== */

/* Footer needs position:relative for the angled divider */
.footer-con {
    position: relative;
}

/* Footer side motif */
.footer-con .footer-sideimage img {
    width: 100%;
    filter: brightness(0) invert(1);
    opacity: .1;
}

/* Consultation overrides */
.consultation-con .consultation-sideimage img {
    width: 100%;
    pointer-events: none;
}

.consultation-con .consultation-image {
    right: 50%;
    left: 0;
}

/* Footer upper CTA box — now lives in .footer-cta-bar, styles moved there */

.footer-cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.footer-cta-buttons .appointment-outline {
    padding: 12px 24px;
    font-size: 14px;
}

.footer-cta-buttons .appointment-outline:hover {
    background: var(--e-global-color-very-soft-orange, #E8C97A);
    border-color: var(--e-global-color-very-soft-orange, #E8C97A);
    color: var(--e-global-color-white, #ffffff);
}

.footer-con .middle_portion {
    padding: 98px 0px 90px 0px;
}

.footer-con .middle_portion .links,
.footer-con .middle_portion .icon {
    padding-left: 30px;
}

.footer-con .middle_portion .icon .text {
    margin-bottom: 5px;
}

.footer-con .middle_portion .social-icons i {
    font-size: 22px;
}


/* ==========================================================================
   11. Stats Bar on single-arbejdsomrade
   ========================================================================== */

.area-stats-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 24px;
    padding: 30px 40px;
    background: var(--e-global-color-light-grayish-orange, #f5f2ec);
    border-radius: 12px;
    margin-bottom: 40px;
}

.area-stats-bar .area-stat {
    text-align: center;
}

.area-stats-bar .area-stat .stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--e-global-color-accent, #0F1D2F);
    display: block;
    line-height: 1.2;
}

.area-stats-bar .area-stat .stat-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--e-global-color-text, #575757);
    margin-top: 4px;
    display: block;
}


/* ==========================================================================
   12. Responsive Overrides
   ========================================================================== */

/* Lang switcher on mobile: move outside collapse */
@media screen and (max-width: 991px) {
    .lang-switcher {
        border-left: none;
        margin-left: 0;
        padding-left: 0;
    }
}

/* (Old #button rules removed — replaced by .fab system) */

@keyframes spineer-small {
    from {
        box-shadow: 0 0 0 0 rgb(225 187 152 / 41%);
    }
    to {
        box-shadow: 0 0 0 12px rgba(250, 87, 51, .01);
    }
}

@-webkit-keyframes spineer-small {
    from {
        box-shadow: 0 0 0 0 rgb(225 187 152 / 41%);
    }
    to {
        box-shadow: 0 0 0 12px rgba(250, 87, 51, .01);
    }
}

/* Mobile adjustments */
@media screen and (max-width: 767px) {

    .sub_banner .sub_banner_con {
        padding: 130px 0 120px;
    }

    .banner-con .col-lg-7 {
        text-align: center;
    }

    .hero-stats-bar {
        flex-wrap: wrap;
        gap: 16px;
        padding: 20px 24px;
        margin-top: 24px;
        justify-content: center;
    }

    .hero-stat-item {
        flex: 0 0 calc(50% - 10px);
    }

    .hero-stat-item .stat-number,
    .hero-stat-item .hero-stat-number {
        font-size: 24px;
    }

    .hero-contact-card {
        margin-top: 30px;
        padding: 24px 20px;
    }

    .hero-rotating-badge {
        display: none;
    }

    .hero-trust-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .hero-trust-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-trust-flag {
        border-left: none;
        padding-left: 0;
        justify-content: center;
    }

    .hero-trust-reviews {
        justify-content: center;
    }

    .hero-promise {
        text-align: center;
    }

    .hero-cta-row {
        flex-direction: column;
    }

    .hero-cta-row .appointment {
        text-align: center;
    }

    .appointment-outline,
    .appointment-whatsapp {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .google-badge-inner {
        flex-direction: column;
        gap: 10px;
        padding: 14px 20px;
    }

    .testimonial-google-badge {
        flex-wrap: wrap;
        justify-content: center;
        padding: 6px 12px;
        gap: 6px;
    }

    .testimonial-redesigned .testimonial-cta-btn {
        margin-top: 20px;
        padding: 16px 28px 18px;
        font-size: 14px;
    }

    .area-stats-bar {
        flex-direction: column;
        gap: 16px;
        padding: 24px 20px;
    }

    .footer-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .footer-cta-buttons .appointment-outline {
        width: 100%;
        text-align: center;
    }
}

/* Tablet grid adjustments */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .hero-stats-bar {
        gap: 16px;
        padding: 20px 30px;
    }

    .hero-stat-item .hero-stat-number {
        font-size: 26px;
    }

    /* hero contact card — tablet adjustments already handled above */

    .area-stats-bar {
        padding: 24px 30px;
    }

    .google-badge-inner {
        padding: 14px 24px;
    }

}

/* Large screens */
@media screen and (min-width: 1200px) {
    .hero-stats-bar {
        max-width: none;
    }
}


/* ==========================================================================
   13. Navbar / Dropdown Fixes for BS5 + Lawfinity
   ========================================================================== */

/* Fix Lawfinity's display:inherit breaking BS5 flexbox nav */
.navbar-collapse ul.navbar-nav {
    display: flex !important;
    align-items: center;
}

/* Lawfinity dropdown: pure CSS hover for desktop */
@media screen and (min-width: 992px) {
    /* Parent li needs padding-bottom to bridge gap to dropdown */
    .navbar-nav .dropdown {
        padding-bottom: 16px;
        margin-bottom: -16px;
    }

    .navbar-nav .dropdown-menu.drop-down-content {
        display: none;
        position: absolute;
        left: 0;
        top: 100%;
        min-width: 200px;
        padding: 0;
        border: none;
        border-radius: 15px;
        box-shadow: 0 0 100px rgba(0, 0, 0, 0.1);
        background-color: var(--e-global-color-white, #ffffff);
        z-index: 1000;
        opacity: 0;
        transform: translateY(8px);
        transition: opacity 0.25s ease, transform 0.25s ease;
        pointer-events: none;
    }

    /* Show on hover — no click needed */
    .navbar-nav .dropdown:hover > .dropdown-menu.drop-down-content {
        display: block;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Make dropdown link clickable (navigable) */
    .navbar-nav .dropdown > a.dropdown-toggle {
        pointer-events: auto;
    }
}

/* Ensure drop-down-pages inherits properly */
.drop-down-pages {
    padding: 0;
    margin: 0;
}

/* Logo size and color control */
.navbar-brand .logo img {
    max-height: 50px;
    width: 100%;
    filter: brightness(0) invert(1); /* Make logo white for dark header */
    transition: filter 0.3s ease;
}

/* Footer logo - keep original colors */
.footer-con .logo-content img,
.footer-con .footer-logo img {
    width: 100%;
    filter: brightness(0) invert(1); /* White logo on dark footer */
}

/* Nav phone icon (Lawfinity style) */
.last_list .nav-phoneicon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.last_list .nav-phoneicon img {
    max-width: 100%;
}


/* ==========================================================================
   14. Lawfinity BS4 to BS5 Compatibility Fixes
   ========================================================================== */

/* .float-left -> float-start compatibility */
.float-left,
.float-start {
    float: left !important;
}

/* .float-right -> float-end compatibility */
.float-right,
.float-end {
    float: right !important;
}

/* .ml-auto -> ms-auto compatibility */
.ml-auto,
.ms-auto {
    margin-left: auto !important;
}

/* .mr-auto -> me-auto compatibility */
.mr-auto,
.me-auto {
    margin-right: auto !important;
}

/* .pl-* -> .ps-* and .pr-* -> .pe-* basic overrides */
.pl-0, .ps-0 { padding-left: 0 !important; }
.pr-0, .pe-0 { padding-right: 0 !important; }

/* data-toggle vs data-bs-toggle - make both selectors target same visual states */
/* Collapse */
[data-toggle="collapse"].collapsed .fa-minus::before,
[data-bs-toggle="collapse"].collapsed .fa-minus::before {
    content: "\f067"; /* plus icon */
}

/* ==========================================================================
   Mobile Fullscreen Menu
   ========================================================================== */
@media screen and (max-width: 991.98px) {
    /* Fullscreen overlay */
    .navbar-collapse {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100% !important;
        height: 100vh !important;
        background: rgba(10, 14, 42, 0.95);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        z-index: 9999;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        padding: 80px 32px 40px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.35s ease, visibility 0.35s ease;
        overflow-y: auto;
    }

    .navbar-collapse.show {
        opacity: 1;
        visibility: visible;
    }

    /* Prevent body scroll when menu is open */
    body.mobile-menu-open {
        overflow: hidden;
    }

    /* Mobile logo at top */
    .mobile-menu-logo {
        position: absolute;
        top: 24px;
        left: 32px;
    }

    .mobile-menu-logo img {
        filter: brightness(0) invert(1);
    }

    /* Hamburger on top of overlay */
    .navbar-toggler {
        position: relative;
        z-index: 10000;
    }

    /* Nav items styling */
    .navbar-collapse .navbar-nav {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0;
        width: 100%;
        margin: 0 !important;
    }

    .navbar-collapse .navbar-nav li {
        width: 100%;
        margin: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navbar-collapse .navbar-nav li a {
        color: #fff !important;
        font-size: 20px !important;
        font-weight: 600 !important;
        padding: 16px 0 !important;
        display: block;
        letter-spacing: 0.3px;
    }

    .navbar-collapse .navbar-nav li a:hover,
    .navbar-collapse .navbar-nav li a.active {
        color: var(--e-global-color-accent) !important;
    }

    /* Dropdown submenu */
    .navbar-nav .dropdown-menu.drop-down-content {
        display: none;
        position: static !important;
        box-shadow: none;
        border-radius: 0;
        background: transparent !important;
        padding: 0 0 8px 20px !important;
        border: none;
    }

    .navbar-nav .dropdown-menu.drop-down-content.show {
        display: block;
    }

    .navbar-nav .dropdown-menu.drop-down-content li {
        border-bottom: none;
    }

    .navbar-nav .dropdown-menu.drop-down-content li a {
        font-size: 16px !important;
        font-weight: 500 !important;
        color: rgba(255, 255, 255, 0.7) !important;
        padding: 10px 0 !important;
    }

    .navbar-nav .dropdown-menu.drop-down-content li a:hover {
        color: var(--e-global-color-accent) !important;
    }

    /* Dropdown arrow */
    .navbar-nav .dropdown > a.dropdown-toggle::after {
        content: '';
        display: inline-block;
        width: 0;
        height: 0;
        margin-left: 8px;
        vertical-align: middle;
        border-top: 6px solid;
        border-right: 6px solid transparent;
        border-left: 6px solid transparent;
        transition: transform 0.3s ease;
    }

    .navbar-nav .dropdown.show > a.dropdown-toggle::after {
        transform: rotate(180deg);
    }

    /* Lang switcher in mobile */
    .navbar-collapse .lang-switcher {
        margin-top: 24px;
        padding-top: 16px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* Contact footer */
    .mobile-menu-footer {
        margin-top: auto;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .mobile-menu-contact {
        display: flex;
        align-items: center;
        gap: 12px;
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
        font-size: 15px;
        transition: color 0.3s ease;
    }

    .mobile-menu-contact:hover {
        color: var(--e-global-color-accent);
    }

    .mobile-menu-contact i {
        width: 20px;
        text-align: center;
        color: var(--e-global-color-accent);
        font-size: 16px;
    }
}

/* Dropdown visual fixes */
[data-toggle="dropdown"],
[data-bs-toggle="dropdown"] {
    cursor: pointer;
}

/* Tab visual fixes */
[data-toggle="tab"].active,
[data-bs-toggle="tab"].active {
    color: var(--e-global-color-accent, #0F1D2F);
    border-bottom-color: var(--e-global-color-accent, #0F1D2F);
}

/* Modal backdrop */
.modal-backdrop {
    z-index: 1040;
}

.modal {
    z-index: 1050;
}


/* ==========================================================================
   15. Visual Polish & Refinements
   ========================================================================== */

/* --- Hero flag icons row --- */
.hero-flag-icons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.hero-flag-icons svg {
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.25);
    vertical-align: middle;
}

/* Om os section — flag row */
.lang-flag-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 2px 0 24px;
    padding: 10px 18px;
    background: var(--e-global-color-light-grayish-orange, #f8f5f0);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    width: fit-content;
}
@media screen and (max-width: 991px) {
    .lang-flag-row {
        margin-left: auto;
        margin-right: auto;
    }
}

.lang-flag {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 26px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    flex-shrink: 0;
}

.lang-flag svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* --- Testimonials / Reviews section: heading on one line --- */
.testimonial-redesigned .content h2 {
    white-space: nowrap;
    font-size: 32px;
}

/* --- Testimonials: quote icon bigger + properly centered --- */
.testimonial-redesigned .testimonial-quote {
    width: 60px !important;
    height: 60px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.testimonial-redesigned .testimonial-quote i {
    font-size: 36px;
    line-height: 1;
}

/* ==========================================================================
   Blog Preview Cards (front page + archive)
   ========================================================================== */

.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.blog-card-image {
    display: block;
    height: 200px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

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

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    font-size: 12px;
}

.blog-card-cat {
    background: var(--e-global-color-accent);
    color: var(--e-global-color-primary);
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-date {
    color: #888;
    font-size: 12px;
}

.blog-card-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
}

.blog-card-title a {
    color: var(--e-global-color-primary);
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: var(--e-global-color-accent);
}

.blog-card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 14px;
    flex: 1;
}

.blog-card-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--e-global-color-accent);
    text-decoration: none;
    transition: gap 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.blog-card-link:hover {
    gap: 10px;
    color: var(--e-global-color-accent);
}

/* Blog filter pills */
.blog-filter-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.blog-pill {
    display: inline-block;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 30px;
    border: 1px solid var(--e-global-color-accent);
    color: var(--e-global-color-accent);
    background: transparent;
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-pill.active,
.blog-pill:hover {
    background: var(--e-global-color-accent);
    color: var(--e-global-color-primary);
}

/* Blog single post */
.blog-single-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
}

.blog-single-date,
.blog-single-reading {
    color: #888;
}

.blog-single-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.blog-single-content h2 {
    font-size: 24px;
    margin-top: 32px;
    margin-bottom: 16px;
}

.blog-single-content h3 {
    font-size: 20px;
    margin-top: 28px;
    margin-bottom: 12px;
}

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

.blog-single-content ul,
.blog-single-content ol {
    margin-bottom: 18px;
    padding-left: 24px;
}

.blog-single-content li {
    margin-bottom: 6px;
}

/* Tags */
.blog-tag {
    display: inline-block;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 500;
    color: #666;
    background: #f0f0f0;
    border-radius: 20px;
    text-decoration: none;
    margin-right: 6px;
    margin-bottom: 6px;
    transition: all 0.2s ease;
}

.blog-tag:hover {
    background: var(--e-global-color-accent);
    color: var(--e-global-color-primary);
}

/* Share buttons */
.blog-single-share {
    display: flex;
    align-items: center;
    gap: 16px;
}

.blog-share-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--e-global-color-primary);
}

.blog-share-buttons {
    display: flex;
    gap: 8px;
}

.blog-share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: var(--e-global-color-primary);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.2s ease;
}

.blog-share-btn:hover {
    background: var(--e-global-color-accent);
    color: #fff;
}

/* Blog sidebar (sticky) */
.blog-sidebar {
    position: sticky;
    top: 100px;
}

.blog-sidebar-cta {
    background: var(--e-global-color-primary);
    border-radius: 20px;
    padding: 30px 24px;
    text-align: center;
    margin-bottom: 24px;
}

.blog-sidebar-cta h4 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
}

.blog-sidebar-cta p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 18px;
}

.blog-sidebar-btn {
    display: block;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.blog-sidebar-btn.primary {
    background: var(--e-global-color-accent);
    color: var(--e-global-color-primary);
}

.blog-sidebar-btn.primary:hover {
    background: #c49a48;
}

.blog-sidebar-btn.outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
}

.blog-sidebar-btn.outline:hover {
    border-color: #fff;
}

.blog-sidebar-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}

.blog-sidebar-card h5 {
    font-size: 16px;
    font-weight: 700;
    color: var(--e-global-color-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

/* Recent posts in sidebar */
.blog-sidebar-post {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    text-decoration: none;
    transition: opacity 0.2s;
}

.blog-sidebar-post:last-child {
    border-bottom: none;
}

.blog-sidebar-post:hover {
    opacity: 0.8;
}

.blog-sidebar-post-img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.blog-sidebar-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-sidebar-post-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--e-global-color-primary);
    line-height: 1.4;
}

.blog-sidebar-post-date {
    display: block;
    font-size: 11px;
    color: #999;
    margin-top: 2px;
}

/* Sidebar areas list */
.blog-sidebar-areas {
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-sidebar-areas li {
    border-bottom: 1px solid #f0f0f0;
}

.blog-sidebar-areas li:last-child {
    border-bottom: none;
}

.blog-sidebar-areas a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    color: var(--e-global-color-primary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-sidebar-areas a:hover {
    color: var(--e-global-color-accent);
}

.blog-sidebar-areas a i {
    font-size: 11px;
    color: var(--e-global-color-accent);
}

/* --- Practice cards: remove hover bg image, use solid accent color --- */
.practice-con .box::before {
    background-image: none !important;
    background: var(--e-global-color-primary) !important;
    opacity: 0 !important;
}

.practice-con .box:hover::before {
    opacity: 0 !important;
}

.practice-con .box:hover {
    background-color: var(--e-global-color-accent);
}

/* --- Committed-box (arbejdsområder cards): subtle hover color --- */
.committed-con .committed-box:hover {
    background: var(--e-global-color-accent);
    border-color: var(--e-global-color-accent);
}

.committed-con .committed-box:hover h5,
.committed-con .committed-box:hover i {
    color: var(--e-global-color-white) !important;
}

.committed-con .committed-box:hover .icon i {
    color: var(--e-global-color-white) !important;
}

/* --- Footer CTA bar: sits between violence-con and footer, overlapping both --- */
.footer-cta-bar {
    position: relative;
    z-index: 10;
    pointer-events: none;
}

.footer-cta-bar .container {
    position: relative;
}

.footer-cta-bar .upper_portion {
    pointer-events: auto;
    position: absolute;
    width: 100%;
    padding: 45px 55px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-sizing: border-box;
}

.footer-cta-bar .upper_portion h6 {
    font-size: 12px;
    line-height: 12px;
    margin-bottom: 14px;
}

.footer-cta-bar .upper_portion h6::before {
    background: var(--e-global-color-white);
}

.footer-cta-bar .upper_portion .span_borderbootom {
    border-bottom: 1px solid var(--e-global-color-white);
}

.footer-cta-bar .upper_portion .appointment {
    display: inline-block;
    font-size: 16px;
    line-height: 16px;
    font-weight: 700;
    padding: 20px 32px 22px;
    border-radius: 50px;
    color: var(--e-global-color-very-dark-black-blue, #202226);
    background: var(--e-global-color-white, #ffffff);
    border: 1px solid var(--e-global-color-white, #ffffff);
    transition: all 0.3s ease-in-out;
}

.footer-cta-bar .upper_portion .appointment i {
    font-size: 14px;
    margin-left: 18px;
    color: var(--e-global-color-very-dark-black-blue, #202226);
    transition: all 0.3s ease-in-out;
}

.footer-cta-bar .upper_portion .appointment:hover {
    color: var(--e-global-color-white, #ffffff);
    background: var(--e-global-color-very-dark-black-blue, #202226);
    border-color: var(--e-global-color-very-dark-black-blue, #202226);
}

.footer-cta-bar .upper_portion .appointment:hover i {
    color: var(--e-global-color-white, #ffffff);
}

/* Override AOS transforms for the footer CTA bar only */
.footer-cta-bar .upper_portion[data-aos^=fade] {
    transform: translate3d(0, calc(-50% + 100px), 0) !important;
    opacity: 0;
    transition-property: opacity, transform;
}

.footer-cta-bar .upper_portion[data-aos^=fade].aos-animate {
    transform: translate3d(0, -50%, 0) !important;
    opacity: 1;
}

/* --- Process Steps / Timeline --- */
.process-section {
    padding: 120px 0;
    background: var(--e-global-color-light-grayish-orange, #f8f5f0);
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.process-step-number {
    color: var(--e-global-color-accent);
    font-weight: 800;
}

.process-step-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--e-global-color-primary, #0F1D2F);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.process-step-icon i {
    font-size: 2rem;
    color: var(--e-global-color-accent);
}

/* Connector line between steps */
.process-step-connector {
    position: absolute;
    top: 40px;
    left: calc(50% + 40px);
    width: calc(100% - 80px);
    height: 2px;
    background: repeating-linear-gradient(
        90deg,
        var(--e-global-color-accent) 0,
        var(--e-global-color-accent) 6px,
        transparent 6px,
        transparent 12px
    );
    z-index: 1;
}

.process-step:last-child .process-step-connector {
    display: none;
}

.process-step-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--e-global-color-primary);
    margin-bottom: 8px;
}

.process-step-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--e-global-color-text);
    margin-bottom: 0;
}

/* Mobile: vertical centered timeline */
@media (max-width: 767px) {
    .process-timeline {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 360px;
        margin: 0 auto;
    }

    .process-step {
        display: grid;
        grid-template-columns: 64px 1fr;
        grid-template-rows: auto auto;
        column-gap: 16px;
        text-align: left;
        padding: 0;
        align-items: start;
    }

    .process-step-icon {
        grid-column: 1;
        grid-row: 1 / 3;
        width: 64px;
        height: 64px;
        border-radius: 16px;
        margin: 0;
    }

    .process-step-icon i {
        font-size: 1.6rem;
    }

    .process-step-title {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 2px;
        font-size: 16px;
    }

    .process-step-desc {
        grid-column: 2;
        grid-row: 2;
        font-size: 13px;
    }

    .process-step-connector {
        display: none;
    }
}

/* Tablet: 2x2 grid */
@media (min-width: 768px) and (max-width: 991px) {
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 0;
    }

    .process-step-connector {
        display: none;
    }
}

/* --- Testimonial section: mobile fixes --- */
@media (max-width: 991px) {
    .testimonial-redesigned .content {
        padding: 0 !important;
        margin-bottom: 20px !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .testimonial-redesigned .testimonial-quote {
        position: relative !important;
        left: auto !important;
        margin-bottom: 12px;
    }

    .testimonial-redesigned .content h2 {
        white-space: normal;
        font-size: 26px;
        text-align: center;
    }

    .testimonial-redesigned .testimonial-google-badge {
        justify-content: center;
    }

    .testimonial-redesigned .testimonial_content {
        text-align: center;
        padding: 60px 20px !important;
    }

    .testimonial-redesigned .testimonial_content p {
        text-align: center;
        max-width: none;
        padding: 0 !important;
        margin-bottom: 20px;
    }

    .testimonial-redesigned .review-content {
        padding-left: 0 !important;
        padding-right: 0 !important;
        justify-content: center;
    }

    .testimonial-redesigned .review-content .detail {
        text-align: center;
        width: 100%;
    }

    .testimonial-redesigned .review-content .detail .name,
    .testimonial-redesigned .review-content .detail .position {
        display: block;
        text-align: center;
    }

    .testimonial-redesigned .owl-carousel .owl-nav {
        position: relative !important;
        bottom: auto !important;
        right: auto !important;
        justify-content: center;
        margin-top: 16px !important;
    }

    .testimonial-redesigned .testimonial-cta-btn {
        display: block;
        text-align: center;
        margin: 24px auto 0;
    }
}


/* --- Violence-con + footer CTA bar: mobile fixes --- */
@media (max-width: 767px) {
    .violence-con .violence_content h1 {
        font-size: 28px !important;
        line-height: 1.25 !important;
    }

    .violence-con {
        padding-bottom: 140px !important;
    }

    .violence-con .violence_content a,
    .violence-con .violence_content .appointment-whatsapp {
        display: block;
        width: 260px;
        max-width: 100%;
        text-align: center;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .violence-con .violence_content a + a,
    .violence-con .violence_content .appointment-whatsapp {
        margin-top: 12px;
        margin-left: auto !important;
    }

    .footer-cta-bar .upper_portion {
        padding: 28px 24px !important;
        flex-direction: column;
        text-align: center;
        gap: 16px;
        left: 0;
        right: 0;
        width: auto !important;
        margin: 0 16px;
        box-sizing: border-box;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .violence-con .violence_content h1 {
        font-size: 34px !important;
    }

    .violence-con {
        padding-bottom: 80px !important;
    }
}

/* --- Sub-banner: smaller h1 + breadcrumbs on mobile --- */
@media (max-width: 575px) {
    .sub_banner .sub_banner_con h1,
    .sub_banner .sub_banner_content h1 {
        font-size: 24px !important;
        line-height: 1.2 !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .sub_banner .sub_banner_con .box,
    .sub_banner .sub_banner_content .box {
        font-size: 11px !important;
        padding: 6px 12px 8px !important;
    }

    .sub_banner .sub_banner_con .box span,
    .sub_banner .sub_banner_content .box span,
    .sub_banner .sub_banner_con .box a span,
    .sub_banner .sub_banner_content .box a span {
        font-size: 11px !important;
    }

    .sub_banner .sub_banner_con .box .arrow,
    .sub_banner .sub_banner_content .box .arrow {
        font-size: 8px !important;
        margin: 0 4px !important;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .sub_banner .sub_banner_con h1,
    .sub_banner .sub_banner_content h1 {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }

    .sub_banner .sub_banner_con .box,
    .sub_banner .sub_banner_content .box {
        font-size: 12px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .sub_banner .sub_banner_con h1,
    .sub_banner .sub_banner_content h1 {
        font-size: 34px !important;
        line-height: 1.2 !important;
    }

    .sub_banner .sub_banner_con .box,
    .sub_banner .sub_banner_content .box {
        font-size: 13px !important;
    }
}

/* --- Contact section: less padding on mobile --- */
@media (max-width: 767px) {
    .contact-section {
        padding: 60px 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .contact-section {
        padding: 80px 0 !important;
    }
}

/* --- Mobile: force all AOS animations to fade-up (prevent horizontal overflow) --- */
@media (max-width: 991px) {
    [data-aos="fade-left"],
    [data-aos="fade-right"] {
        transform: translate3d(0, 50px, 0) !important;
        opacity: 0;
    }

    [data-aos="fade-left"].aos-animate,
    [data-aos="fade-right"].aos-animate {
        transform: translate3d(0, 0, 0) !important;
        opacity: 1;
    }
}

/* Prevent horizontal overflow globally */
html, body {
    overflow-x: hidden;
}

/* --- Footer contact items: each on own line --- */
.footer-con .middle_portion .icon .text {
    display: block;
    width: 100%;
}

/* --- Social Proof Ticker --- */
.social-proof-ticker {
    background: var(--e-global-color-very-dark-black-blue, #0a0e2a);
    padding: 14px 0;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: inline-flex;
    animation: tickerScroll 40s linear infinite;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 40px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.ticker-item i {
    color: var(--e-global-color-accent);
    font-size: 16px;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Tak page — area cards */
.tak-area-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 28px 16px;
    text-align: center;
    transition: all 0.3s;
    height: 100%;
    min-height: 120px;
}

.tak-area-card:hover {
    border-color: var(--e-global-color-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.tak-area-card i {
    font-size: 2.2rem;
    color: var(--e-global-color-accent);
    margin-bottom: 10px;
}

.tak-area-card span {
    color: var(--e-global-color-primary);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
}

/* (Old callback-float rules removed — replaced by .fab system) */

/* --- Scroll Progress Bar --- */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--e-global-color-accent);
    z-index: 99999;
    transition: width 0.05s linear;
}

/* --- File upload zone --- */
.file-upload-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px dashed rgba(0,0,0,0.15);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    gap: 4px;
}

.file-upload-zone:hover {
    border-color: var(--e-global-color-accent);
    background: rgba(212, 168, 83, 0.04);
}

.file-upload-zone.has-file {
    border-color: var(--e-global-color-accent);
    border-style: solid;
    background: rgba(212, 168, 83, 0.06);
}

.file-upload-zone i {
    font-size: 24px;
    color: var(--e-global-color-accent);
}

.file-upload-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--e-global-color-primary);
}

.file-upload-hint {
    font-size: 12px;
    color: #999;
}

.file-upload-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--e-global-color-accent);
    margin-top: 4px;
}

/* --- FAQ Page --- */
.faq-page-section {
    padding: 80px 0 120px;
}

.faq-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.faq-filter-btn {
    padding: 8px 20px;
    border-radius: 30px;
    border: 2px solid var(--e-global-color-accent);
    background: transparent;
    color: var(--e-global-color-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-filter-btn:hover,
.faq-filter-btn.active {
    background: var(--e-global-color-accent);
    color: var(--e-global-color-primary);
}

.faq-category-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--e-global-color-accent);
    font-size: 11px;
    font-weight: 600;
    margin-right: 12px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* --- FAQ Accordion (all pages) --- */
.faq-con .faq_content h2 {
    font-size: 24px;
    margin-bottom: 28px;
}

.faq-con .faq_content h2 i {
    color: var(--e-global-color-accent);
}

.faq-con .accordion .accordion-item {
    border: none;
    border-radius: 16px !important;
    margin-bottom: 12px;
    background: var(--e-global-color-very-dark-black-blue, #0a0e2a);
    overflow: hidden;
}

.faq-con .accordion .accordion-button {
    background: var(--e-global-color-very-dark-black-blue, #0a0e2a);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 20px 24px;
    border: none;
    box-shadow: none !important;
    transition: background 0.3s ease;
}

.faq-con .accordion .accordion-button:not(.collapsed) {
    background: var(--e-global-color-primary, #0F1D2F);
    color: var(--e-global-color-accent);
}

.faq-con .accordion .accordion-button::after {
    filter: brightness(0) invert(1);
    width: 16px;
    height: 16px;
    background-size: 16px;
}

.faq-con .accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(0.7) sepia(1) hue-rotate(10deg) saturate(5);
}

.faq-con .accordion .accordion-body {
    background: var(--e-global-color-primary, #0F1D2F);
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    line-height: 1.8;
    padding: 0 24px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.faq-con .accordion .accordion-header {
    margin-bottom: 0;
}

/* --- Arbejdsomrade: smaller content text --- */
.area-content h1,
.area-content h2 {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 16px;
}

.area-content h3 {
    font-size: 22px;
    line-height: 1.3;
}

.area-content p,
.area-content li {
    font-size: 15px;
    line-height: 1.75;
}

/* --- Arbejdsomrade: sticky sidebar --- */
.area-sidebar {
    position: sticky;
    top: 100px;
}

/* --- Arbejdsomrade CTA button --- */
.area-cta-btn {
    display: inline-block;
    font-size: 16px;
    line-height: 16px;
    font-weight: 700;
    padding: 20px 32px 22px;
    border-radius: 30px;
    color: var(--e-global-color-white, #fff);
    background: var(--e-global-color-accent, #D4A853);
    transition: all 0.3s ease-in-out;
}

.area-cta-btn:hover {
    background: var(--e-global-color-primary, #0F1D2F);
    color: var(--e-global-color-white, #fff);
}

.area-cta-btn i {
    color: var(--e-global-color-white, #fff);
    transition: all 0.3s ease-in-out;
}

/* --- Violence-con (CTA section): smaller heading to fit 2 lines + WhatsApp button --- */
.violence-con .violence_content h1 {
    font-size: 42px;
    line-height: 1.2;
}

/* WhatsApp button in violence-con — ensure green overrides lawfinity link styles */
.violence-con .violence_content .appointment-whatsapp {
    background: #25d366;
    color: #fff;
    border: none;
    max-height: 59px;
    box-sizing: border-box;
}

.violence-con .violence_content .appointment-whatsapp i {
    font-size: 22px;
    color: #fff;
    margin-left: 0;
}

.violence-con .violence_content .appointment-whatsapp:hover {
    background: #1da851;
    color: #fff;
}

/* Succeed-box cards: prevent overflow on mobile */
@media screen and (max-width: 767px) {
    .succeed-con .succeed-box {
        max-width: 100%;
        overflow: hidden;
    }
    .succeed-con .succeed-box .text {
        word-break: break-word;
        overflow-wrap: break-word;
    }
}

