html {
    scroll-behavior: smooth;
}

:root {
    --bg-white: #FFFFFF;
    --text-dark: #1A1A1A;
    --brand-red: #D62828;
    --brand-yellow: #FFC300;
    --light-gray: #F8F9FA;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.floating-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--bg-white);
    box-shadow: -5px 0 30px rgba(0,0,0,.08);
    border-radius: 16px 0 0 16px;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #F0F0F0;
    border-right: none;
}

.fs-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    text-decoration: none;
    color: var(--text-dark);
    border-bottom: 1px solid #F0F0F0;
    transition: all .3s ease;
    min-width: 85px;
}

.fs-item:last-child {
    border-bottom: none;
}

.fs-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
    color: var(--brand-red);
    transition: transform .3s ease;
}

.fs-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 2;
}

.fs-text {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    text-align: center;
    line-height: 1.3;
}

.fs-item:hover .fs-icon {
    transform: scale(1.15);
}

.fs-item:hover {
    background-color: var(--light-gray);
}

.wa-btn:hover .fs-icon, .wa-btn:hover .fs-text {
    color: #25D366;
}

.fb-btn:hover .fs-icon, .fb-btn:hover .fs-text {
    color: #0084FF;
}

.quote-btn:hover .fs-icon, .quote-btn:hover .fs-text {
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .floating-sidebar {
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        transform: none;
        flex-direction: row;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -5px 25px rgba(0,0,0,.1);
        border: none;
        border-top: 1px solid #F0F0F0;
        justify-content: space-around;
    }
    .fs-item {
        border-bottom: none;
        border-right: 1px solid #F0F0F0;
        padding: 12px 5px;
        flex: 1;
    }
    .fs-item:last-child {
        border-right: none;
    }
    .fs-icon {
        margin-bottom: 4px;
    }
    body {
        padding-bottom: 75px;
    }
    .cookie-bubble {
        bottom: 90px;
    }
}

.main-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--bg-white);
    box-shadow: 0 4px 20px rgba(0,0,0,.05);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    box-sizing: border-box;
    transition: all .3s ease;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -.5px;
}

.logo span {
    color: var(--brand-red);
}

.header-action {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.call-btn {
    background-color: var(--brand-red);
    color: var(--bg-white);
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(214,40,40,.3);
    transition: all .3s ease;
    white-space: nowrap;
}

.call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(214,40,40,.4);
    background-color: #B31B1B;
}

main {
    padding-top: 40px;
    min-height: 100vh;
}

@media (max-width: 600px) {
    .header-spacer {
        display: none;
    }
    .logo {
        text-align: left;
        font-size: 20px;
    }
    .header-action {
        flex: auto;
        justify-content: flex-end;
    }
    .call-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(.2,.8,.2,1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fault-card:nth-child(even).active, .process-step:nth-child(even).active {
    transition-delay: .2s;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 5% 80px;
    background-color: var(--light-gray);
    min-height: 55vh;
}

.hero-content {
    width: 100%;
    max-width: 850px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--text-dark);
    letter-spacing: -1.5px;
}

.hero-content h1 span {
    color: var(--brand-red);
}

.hero-content p {
    font-size: 20px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--brand-red);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(214,40,40,.2);
}

.btn-primary:hover {
    background-color: #B31B1B;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--text-dark);
    border: 2px solid #E0E0E0;
}

.btn-secondary:hover {
    border-color: var(--text-dark);
    transform: translateY(-2px);
}

.trust-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 700;
}

.trust-badges span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-badges svg {
    color: var(--brand-yellow);
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
}

.faults-section {
    padding: 100px 5%;
    background-color: var(--bg-white);
    text-align: center;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 15px;
    letter-spacing: -.5px;
}

.section-header p {
    font-size: 18px;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.faults-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.fault-card {
    background-color: var(--light-gray);
    padding: 35px 25px;
    border-radius: 20px;
    transition: all .3s ease;
    text-align: center;
    border: 1px solid #F0F0F0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fault-card:hover {
    transform: translateY(-8px);
    background-color: var(--bg-white);
    border-color: #EAEAEA;
    box-shadow: 0 15px 35px rgba(0,0,0,.06);
}

.fault-icon {
    width: 70px;
    height: 70px;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    transition: transform .3s ease;
}

.fault-card:hover .fault-icon {
    transform: scale(1.05);
}

.fault-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.fault-icon circle {
    stroke: var(--light-gray);
    transition: stroke .3s ease;
}

.fault-card:hover .fault-icon circle {
    stroke: var(--bg-white);
}

.fault-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--text-dark);
}

.fault-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 5% 60px;
    }
    .hero-content h1 {
        font-size: 40px;
        letter-spacing: -1px;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 350px;
    }
    .trust-badges {
        align-items: center;
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .faults-section {
        padding: 60px 5%;
    }
    .section-header h2 {
        font-size: 28px;
    }
    .fault-card {
        padding: 30px 20px;
    }
}

.process-section {
    padding: 100px 5%;
    background-color: var(--light-gray);
    text-align: center;
}

.process-container {
    max-width: 1200px;
    margin: 60px auto 0;
    position: relative;
}

.process-line-desktop {
    position: absolute;
    top: 28px;
    left: 12.5%;
    right: 12.5%;
    height: 4px;
    background-color: #EAEAEA;
    z-index: 1;
    border-radius: 4px;
}

.process-fill-desktop {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--brand-red);
    transition: width .8s ease-out;
    border-radius: 4px;
}

.process-line-mobile {
    display: none;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
}

.step-number {
    width: 60px;
    height: 60px;
    background-color: var(--bg-white);
    border: 3px solid #EAEAEA;
    color: #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 25px;
    transition: all .4s cubic-bezier(.175,.885,.32,1.275);
}

.process-step.active-step .step-number {
    background-color: var(--brand-red);
    color: var(--bg-white);
    border-color: var(--brand-red);
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(214,40,40,.3);
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 15px;
}

.step-desc {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 900px) {
    .process-line-desktop {
        display: none;
    }
    .process-container {
        padding-left: 10px;
        margin-top: 40px;
        position: relative;
    }
    .process-line-mobile {
        display: block;
        position: absolute;
        top: 60px;
        bottom: 60px;
        left: 30px;
        width: 4px;
        background-color: #EAEAEA;
        z-index: 1;
        border-radius: 4px;
    }
    .process-fill-mobile {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 0;
        background-color: var(--brand-red);
        transition: height .8s ease-out;
        border-radius: 4px;
        z-index: 2;
    }
    .process-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 450px;
        margin: 0 auto;
        position: relative;
        z-index: 5;
    }
    .process-step {
        background-color: var(--bg-white);
        padding: 25px;
        border-radius: 16px;
        align-items: flex-start;
        text-align: left;
        position: relative;
        margin-left: 70px;
        box-shadow: 0 8px 25px rgba(0,0,0,.04);
        flex-direction: column;
    }
    .step-number {
        position: absolute;
        top: 50%;
        left: -71px;
        transform: translateY(-50%);
        margin-bottom: 0;
        width: 40px;
        height: 40px;
        font-size: 16px;
        z-index: 10;
        background-color: var(--bg-white);
        border: 3px solid #EAEAEA;
        box-shadow: 0 4px 10px rgba(0,0,0,.05);
    }
    .process-step.active-step .step-number {
        transform: translateY(-50%) scale(1.15);
        background-color: var(--brand-red);
        border-color: var(--brand-red);
        color: var(--bg-white);
        box-shadow: 0 6px 20px rgba(214,40,40,.35);
        transition-delay: .5s;
    }
    .step-title {
        margin-bottom: 8px;
        font-size: 16px;
    }
    .step-desc {
        font-size: 13px;
    }
}

.stats-section {
    padding: 80px 5%;
    background-color: var(--bg-white);
    border-bottom: 1px solid #F0F0F0;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-box {
    padding: 20px;
}

.stat-value {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    letter-spacing: -1px;
}

.stat-suffix {
    color: var(--brand-red);
    margin-left: 2px;
}

.stat-label {
    font-size: 15px;
    color: #555;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 900px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .stat-value {
        font-size: 36px;
    }
    .stat-label {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .stats-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.reviews-section {
    padding: 80px 0;
    background-color: #F8F9FA;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reviews-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.reviews-subtitle {
    font-size: 13px;
    font-weight: 700;
    color: #555;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.reviews-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -.5px;
}

.reviews-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    gap: 20px;
    padding: 20px 5% 50px;
    box-sizing: border-box;
    align-items: stretch;
}

.reviews-track::-webkit-scrollbar {
    display: none;
}

.reviews-track .review-card {
    flex: 0 0 calc(75vw - 20px);
    max-width: 450px;
    scroll-snap-align: center;
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,.05);
    border: 1px solid #FDFDFD;
    display: flex;
    flex-direction: column;
    position: relative;
}

.reviews-track .review-card::before {
    content: '“';
    font-size: 110px;
    font-family: Georgia, serif;
    color: rgba(214,40,40,.07);
    position: absolute;
    top: -10px;
    left: 20px;
    line-height: 1;
}

.review-card .stars {
    color: var(--brand-yellow);
    font-size: 24px;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    letter-spacing: 3px;
}

.review-card .review-text {
    font-size: 18px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 15px;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.review-card .review-author {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-dark);
    text-align: right;
    border-top: 1px solid #F5F5F5;
    padding-top: 15px;
    margin-top: auto;
}

.slider-nav {
    display: flex;
    gap: 15px;
    margin-top: -10px;
}

.slider-btn {
    background-color: #FFF;
    color: var(--text-dark);
    border: 1px solid #EAEAEA;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,.05);
    transition: all .3s ease;
}

.slider-btn:hover {
    background-color: var(--brand-red);
    color: #FFF;
    border-color: var(--brand-red);
}

.faq-section {
    padding: 80px 5%;
    background-color: var(--bg-white);
}

.faq-layout {
    max-width: 800px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 10px;
    letter-spacing: -.5px;
}

.faq-header p {
    color: #555;
    font-size: 18px;
}

.faq-item {
    background-color: #F8F9FA;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid #EEE;
}

.faq-item summary {
    padding: 20px 25px;
    font-weight: 600;
    font-size: 16px;
    color: var(--text-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 24px;
    color: var(--brand-red);
    font-weight: 400;
    transition: transform .3s ease;
}

.faq-item details[open] summary::after {
    transform: rotate(45deg);
}

.faq-content {
    padding: 0 25px 25px;
    color: #555;
    line-height: 1.6;
    font-size: 15px;
}

@media (max-width: 900px) {
    .reviews-layout {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    .reviews-section {
        padding-right: 0;
    }
    .reviews-sidebar {
        flex: auto;
        padding-right: 5%;
    }
    .reviews-track .review-card {
        flex: 0 0 85vw;
    }
    .reviews-track .review-card::before {
        font-size: 80px;
        top: 0;
        left: 15px;
    }
    .review-card .stars {
        font-size: 20px;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }
    .review-card .review-text {
        font-size: 16px;
        margin-top: 10px;
        line-height: 1.6;
    }
}

.quote-section {
    padding: 100px 5%;
    background-color: var(--light-gray);
    background-image: radial-gradient(circle at top right, rgba(214,40,40,.03), transparent 40%);
}

.quote-container {
    max-width: 850px;
    margin: 0 auto;
    background-color: var(--bg-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,.08);
    border: 1px solid #F0F0F0;
}

.quote-header {
    text-align: center;
    margin-bottom: 30px;
}

.quote-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 0 0 10px;
    letter-spacing: -.5px;
}

.quote-header p {
    color: #555;
    font-size: 16px;
    margin: 0;
}

.step-header-with-link {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 2px solid var(--light-gray);
    margin: 30px 0 20px;
    padding-bottom: 10px;
}

.form-group-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.help-link {
    font-size: 13px;
    color: #555;
    text-decoration: underline;
    transition: color .3s ease;
}

.help-link:hover {
    color: var(--brand-red);
}

.step-progress {
    background: #F0F0F0;
    height: 6px;
    border-radius: 10px;
    margin-bottom: 40px;
    position: relative;
}

.progress-bar {
    background: var(--brand-red);
    height: 100%;
    width: 25%;
    border-radius: 10px;
    transition: width .4s ease;
}

.steps-info {
    position: absolute;
    right: 0;
    top: -25px;
    font-size: 12px;
    font-weight: 700;
    color: #555;
}

.form-step {
    display: none;
    animation: fadeIn .4s ease;
}

.form-step.active {
    display: block;
}

.form-option input {
    display: none;
}

.option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background: #F8F9FA;
    border: 2px solid #EAEAEA;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-dark);
    cursor: pointer;
    transition: all .2s ease;
    height: 100%;
    box-sizing: border-box;
}

.form-option input:checked+.option-card {
    border-color: var(--brand-red);
    background: #FFF;
    color: var(--brand-red);
    box-shadow: 0 5px 15px rgba(214,40,40,.1);
}

.selection-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.selection-grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.selection-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.fault-icon-form {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    color: var(--text-dark);
    transition: color .2s;
}

.form-option input:checked+.option-card .fault-icon-form {
    color: var(--brand-red);
}

.fault-label {
    font-size: 13px;
    line-height: 1.3;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-full {
    grid-column: 1/-1;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #DEDEDE;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    background-color: #FAFAFA;
    box-sizing: border-box;
    transition: all .3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-red);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 4px rgba(214,40,40,.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.form-navigation {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-next, .btn-prev, .btn-submit {
    flex: 1;
    padding: 16px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all .3s;
    text-align: center;
}

.btn-next {
    background: var(--text-dark);
    color: #FFF;
}

.btn-prev {
    background: #EEE;
    color: #555;
}

.btn-submit {
    background: var(--brand-red);
    color: #FFF;
    width: 100%;
    display: block;
    margin-top: 20px;
}

.btn-next:hover {
    background: #333;
}

.btn-prev:hover {
    background: #DDD;
}

.btn-submit:hover {
    background: #B31B1B;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(214,40,40,.4);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .quote-container {
        padding: 30px 20px;
    }
    .selection-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .step-header-with-link {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

.site-footer {
    background-color: #111;
    color: var(--bg-white);
    padding: 60px 5% 20px;
}

.footer-top {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--bg-white);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: -.5px;
}

.footer-logo span {
    color: var(--brand-red);
}

.footer-desc {
    color: #999;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-heading {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--bg-white);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #CCC;
    font-size: 15px;
}

.footer-contact-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-contact-list svg {
    color: var(--brand-red);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-map iframe {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    border: none;
    opacity: .9;
    transition: opacity .3s ease;
}

.footer-map iframe:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #999;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-links a {
    color: #CCC;
    text-decoration: none;
    margin-left: 20px;
    transition: color .3s ease;
}

.footer-links a:hover {
    color: var(--brand-red);
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-links a {
        margin: 0 10px;
    }
}

.success-message {
    display: none;
    background-color: #E8F5E9;
    border: 1px solid #4CAF50;
    color: #2E7D32;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 15px rgba(76,175,80,.1);
    animation: fadeInDown .5s ease forwards;
}

.success-message svg {
    vertical-align: middle;
    margin-right: 8px;
    margin-top: -2px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity .3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-white);
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 16px;
    padding: 40px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,.2);
    transform: translateY(20px);
    transition: transform .3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: 0 0;
    border: none;
    font-size: 28px;
    color: #555;
    cursor: pointer;
    transition: color .3s ease;
}

.modal-close:hover {
    color: var(--brand-red);
}

.modal-content h2 {
    margin-top: 0;
    color: var(--text-dark);
}

.modal-text {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

.modal-text h3 {
    color: var(--text-dark);
    margin-top: 25px;
    margin-bottom: 10px;
}

.cookie-bubble {
    position: fixed;
    bottom: 30px;
    left: 30px;
    max-width: 320px;
    background-color: var(--bg-white);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,.15);
    z-index: 1500;
    display: none;
}

.cookie-bubble p {
    margin: 0 0 15px;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s ease;
}

.cookie-accept {
    background-color: var(--brand-red);
    color: var(--bg-white);
    flex: 1;
}

.cookie-accept:hover {
    background-color: #B31B1B;
}

.cookie-decline {
    background-color: #F0F0F0;
    color: #555;
}

.cookie-decline:hover {
    background-color: #E0E0E0;
}

@media (max-width: 600px) {
    .cookie-bubble {
        bottom: 15px;
        left: 15px;
        right: 15px;
        max-width: none;
    }
}

.cookie-modal-content {
    max-width: 700px;
    padding: 40px;
}

.cookie-modal-content h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -.5px;
}

.cookie-category {
    border-bottom: 1px solid #EAEAEA;
    padding: 20px 0;
}

.cookie-category:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
}

.cookie-cat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.cookie-cat-title {
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.cookie-cat-title svg {
    width: 16px;
    height: 16px;
    transition: transform .3s ease;
}

.always-active {
    color: #2E7D32;
    font-weight: 700;
    font-size: 14px;
}

.cookie-cat-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-top: 15px;
    display: none;
}

.cookie-category.expanded .cookie-cat-desc {
    display: block;
}

.cookie-category.expanded .cookie-cat-title svg {
    transform: rotate(90deg);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #CCC;
    transition: .4s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.toggle-slider {
    background-color: var(--text-dark);
}

input:checked+.toggle-slider:before {
    transform: translateX(22px);
}

.cookie-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #EAEAEA;
}

.cookie-modal-actions button {
    padding: 12px;
    font-size: 14px;
    width: 100%;
    border-radius: 6px;
    cursor: pointer;
    border: none;
    transition: .3s;
    font-weight: 600;
}

.cookie-modal-actions .btn-primary {
    background: var(--brand-red);
    color: #fff;
}

.cookie-modal-actions .btn-secondary {
    background: #EAEAEA;
    color: var(--text-dark);
}

.cookie-modal-actions .btn-primary:hover {
    background: #B31B1B;
}

.cookie-modal-actions .btn-secondary:hover {
    background: #D0D0D0;
}

@media (max-width: 600px) {
    .cookie-modal-content {
        padding: 25px 20px;
        width: 95%;
    }
    .cookie-modal-actions {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.floating-cookie-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-white);
    border: 1px solid #EAEAEA;
    box-shadow: 0 4px 15px rgba(0,0,0,.1);
    color: var(--text-dark);
    z-index: 990;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s ease;
}

.floating-cookie-btn:hover {
    transform: scale(1.1);
    color: var(--brand-red);
    border-color: var(--brand-red);
}

.floating-cookie-btn svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .floating-cookie-btn {
        bottom: 95px;
        left: 20px;
    }
}

.blog-hero-compact {
    background-color: var(--light-gray);
    padding: 35px 5%;
    text-align: center;
    border-bottom: 1px solid #EAEAEA;
}

.blog-hero-compact h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.blog-hero-compact h1 span {
    color: var(--brand-red);
}

.blog-hero-compact p {
    font-size: 16px;
    color: #555;
    margin: 0;
}

/* ZMODYFIKOWANA KARUZELA AKTUALNOŚCI */
.news-ticker-section {
    background: var(--bg-white);
    padding: 40px 0;
    border-bottom: 1px solid #F0F0F0;
}

.news-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: var(--brand-red);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(214,40,40,.7);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(.95); box-shadow: 0 0 0 0 rgba(214,40,40,.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(214,40,40,0); }
    100% { transform: scale(.95); box-shadow: 0 0 0 0 rgba(214,40,40,0); }
}

.news-header h3 {
    font-size: 18px;
    margin: 0;
    color: var(--text-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.news-slider-wrapper {
    position: relative;
}

.news-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    scroll-behavior: smooth;
    border-radius: 24px;
    box-shadow: 0 8px 25px rgba(0,0,0,.06);
}

.news-track::-webkit-scrollbar {
    display: none;
}

.news-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    background: var(--light-gray);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .news-card {
        flex-direction: row;
        align-items: stretch;
        height: 240px;
    }
}

.news-image {
    width: 100%;
    height: 180px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .news-image {
        width: 40%;
        height: 100%;
    }
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .news-content {
        padding: 30px 40px;
    }
}

.news-date {
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-red);
    display: block;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-card h4 {
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 10px;
    color: var(--text-dark);
    letter-spacing: -.5px;
    line-height: 1.2;
}

.news-card p {
    font-size: 15px;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.carousel-dots {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
    padding-right: 20px;
}

.carousel-dot {
    appearance: none;
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    min-width: 10px;
    min-height: 10px;
    border-radius: 50%;
    background-color: #D0D0D0;
    cursor: pointer;
    transition: all .3s ease;
    border: none;
    padding: 0;
    margin: 0;
    display: block;
}

.carousel-dot:hover {
    background-color: #A0A0A0;
}

.carousel-dot.active {
    background-color: var(--brand-red);
    transform: scale(1.4);
}

.blog-main-section {
    padding: 60px 20px;
}

.blog-card {
    background: var(--bg-white);
    border: 1px solid #EAEAEA;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,.08);
    border-color: #DDD;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 13px;
    font-weight: 600;
}

.blog-tag {
    background: var(--light-gray);
    color: var(--brand-red);
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.blog-date {
    color: #555;
}

.blog-card h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 15px;
    line-height: 1.3;
    letter-spacing: -.5px;
}

.blog-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px;
    line-height: 1.3;
}

.blog-card p {
    font-size: 15px;
    color: #555;
    margin: 0 0 20px;
    line-height: 1.6;
}

.read-more {
    color: var(--text-dark);
    font-weight: 700;
    text-decoration: none;
    margin-top: auto;
    transition: color .2s;
    font-size: 14px;
}

.read-more:hover {
    color: var(--brand-red);
}

.blog-footer {
    padding: 30px 5% 20px;
    background-color: #111;
    color: #FFF;
}

.blog-footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-footer-logo {
    font-size: 24px;
    font-weight: 800;
    color: #FFF;
    text-decoration: none;
    letter-spacing: -.5px;
    margin: 0;
}

.blog-footer-logo span {
    color: var(--brand-red);
}

.blog-footer p {
    margin: 5px 0 0;
    font-size: 13px;
    color: #999;
}

.blog-footer-right {
    text-align: right;
}

.blog-footer-right strong {
    color: #FFF;
}

.blog-copyright {
    color: #999 !important;
    margin-top: 10px !important;
}

@media (max-width: 600px) {
    .blog-footer-flex {
        flex-direction: column;
        text-align: center;
    }
    .blog-footer-right {
        text-align: center;
    }
}

.article-main {
    background-color: var(--bg-white);
    padding: 60px 20px;
}

.single-article {
    max-width: 800px;
    margin: 0 auto;
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

.read-time {
    color: var(--brand-yellow);
}

.article-header h1 {
    font-size: 38px;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    letter-spacing: -1px;
    margin: 0;
}

.article-hero-image {
    margin-bottom: 50px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.article-hero-image img {
    width: 100%;
    display: block;
}

.article-content {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.article-content .lead {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 40px;
    line-height: 1.6;
}

.article-content h2 {
    font-size: 28px;
    font-weight: 800;
    margin: 50px 0 20px;
    color: var(--text-dark);
}

.article-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 40px 0 15px;
}

.article-content p {
    margin-bottom: 25px;
}

.article-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content blockquote {
    font-size: 20px;
    font-style: italic;
    font-weight: 600;
    color: var(--text-dark);
    padding: 30px;
    margin: 40px 0;
    background: var(--light-gray);
    border-left: 4px solid var(--brand-red);
    border-radius: 0 12px 12px 0;
}

.article-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #EAEAEA;
}

.author-box {
    display: flex;
    gap: 20px;
    align-items: center;
    background: var(--light-gray);
    padding: 30px;
    border-radius: 12px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--text-dark);
    color: #FFF;
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.author-avatar span {
    color: var(--brand-red);
}

.author-info h4 {
    margin: 0 0 5px;
    font-size: 18px;
    color: var(--text-dark);
}

.author-info p {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .article-header h1 {
        font-size: 28px;
    }
    .article-content {
        font-size: 16px;
    }
    .author-box {
        flex-direction: column;
        text-align: center;
    }
}

.phone-link, .email-link {
    color: #FFF;
    text-decoration: none;
    font-weight: 800;
    transition: color .3s ease;
}

.phone-link:hover, .email-link:hover {
    color: var(--brand-red);
}

/* POPRAWKA NACHODZENIA ARTYKUŁU NA MENU */
.article-main {
    padding-top: 120px !important;
}

@media(max-width: 600px) {
    .article-main {
        padding-top: 100px !important;
    }
}

/* --- SIATKA BENTO (NOWA, PŁASKA WERSJA) --- */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Pierwszy artykuł rośnie na podwójny rozmiar */
.bento-grid .blog-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

/* Ukrywamy wszystko od 7 w górę (poza klasą expanded) */
.bento-grid .blog-card:nth-child(n+7) {
    display: none;
}

/* Klasa expanded odkrywa resztę elementów */
.bento-grid.expanded .blog-card:nth-child(n+7) {
    display: flex;
    animation: fadeIn 0.5s ease forwards;
}

/* Wewnętrzna struktura kart w bento */
.featured-card .card-image {
    height: 100%;
    min-height: 350px;
}

.mini-img {
    height: 200px;
}

/* Baza wiedzy (Zwykła Siatka) */
.standard-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Responsywność siatek na mniejsze ekrany */
@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    /* Główne bento zajmuje 2 kolumny na tablecie, ale tylko 1 wiersz */
    .bento-grid .blog-card:nth-child(1) {
        grid-column: span 2;
        grid-row: span 1;
    }
    .featured-card .card-image {
        height: 250px;
        min-height: auto;
    }
    .standard-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .bento-grid, .standard-grid {
        grid-template-columns: 1fr;
    }
    .bento-grid .blog-card:nth-child(1) {
        grid-column: span 1;
    }
}
