@font-face {
    font-family: 'Manrope';
    src: url(../fonts/manrope/Manrope-400.woff2) format('woff2'), url(../fonts/manrope/Manrope-400.woff) format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Manrope';
    src: url(../fonts/manrope/Manrope-500.woff2) format('woff2'), url(../fonts/manrope/Manrope-500.woff) format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Manrope';
    src: url(../fonts/manrope/Manrope-700.woff2) format('woff2'), url(../fonts/manrope/Manrope-700.woff) format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.navbar .logo {
    width: 60px;
    height: auto;
}

.btn-close {
    width: inherit;
    height: inherit;
    filter: inherit;
}

.card .card-img-top.overlay div {
    position: relative;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    cursor: pointer !important;
}

.card .card-body img {
    width: 100%;
    filter: grayscale(100%);
}

.card:hover .card-body img {
    filter: none;
}

footer .logo {
    width: 125px;
    height: auto;
}

.ado-work-image {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
}

.ado-brand-card {
    min-height: 140px;
}

/* Cookie consent */
body.ado-cc-locked {
    overflow: hidden;
}

.ado-linkbtn {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.ado-cookie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    padding: 13px 24px;
    border-radius: 50px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.ado-cookie-btn--primary {
    background-color: var(--bs-primary);
    color: #fff;
}

.ado-cookie-btn--primary:hover,
.ado-cookie-btn--primary:focus-visible {
    background-color: #3466c0;
    color: #fff;
}

.ado-cookie-btn--ghost {
    background-color: transparent;
    border-color: #d3d3d3;
    color: #1a1a1a;
}

.ado-cookie-btn--ghost:hover,
.ado-cookie-btn--ghost:focus-visible {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

.ado-cookie-btn--text {
    background-color: transparent;
    border: none;
    color: #555;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding-left: 10px;
    padding-right: 10px;
}

.ado-cookie-btn--text:hover,
.ado-cookie-btn--text:focus-visible {
    color: var(--bs-primary);
}

.ado-cc-banner {
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 9999;
    width: 372px;
    max-width: calc(100vw - 32px);
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.ado-cc-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ado-cc-banner-inner {
    padding: 22px 24px 20px;
}

.ado-cc-head {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 11px;
}

.ado-cc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bs-soft-primary);
    color: var(--bs-primary);
    font-size: 16px;
    flex-shrink: 0;
}

.ado-cc-title {
    font-size: 16px;
    font-weight: 700;
    color: #141414;
    margin: 0;
    line-height: 1.2;
}

.ado-cc-text {
    font-size: 13.5px;
    line-height: 1.55;
    color: #5a5a5a;
    margin: 0 0 16px;
}

.ado-cc-banner .ado-cookie-btn {
    padding: 10px 18px;
    font-size: 13px;
}

.ado-cc-banner .ado-cookie-btn--text {
    padding-top: 6px;
    padding-bottom: 6px;
}

.ado-cc-policy-link {
    display: block;
    width: fit-content;
    margin-top: 6px;
    color: var(--bs-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}

.ado-cc-policy-link:hover {
    color: #3466c0;
}

.ado-cc-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.ado-cc-actions .ado-cookie-btn--primary,
.ado-cc-actions .ado-cookie-btn--ghost {
    flex: 1 1 auto;
}

.ado-cc-actions .ado-cookie-btn--text {
    flex: 1 1 100%;
    margin-top: 4px;
}

.ado-cc-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ado-cc-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.55);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ado-cc-modal.is-visible .ado-cc-modal-backdrop {
    opacity: 1;
}

.ado-cc-modal-card {
    position: relative;
    width: 600px;
    max-width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 20px;
    padding: 40px 40px 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
    transform: translateY(16px) scale(0.98);
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ado-cc-modal.is-visible .ado-cc-modal-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.ado-cc-modal-close {
    position: absolute;
    top: 20px;
    right: 22px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: #f3f3f1;
    color: #333;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ado-cc-modal-close:hover {
    background: var(--bs-primary);
    color: #fff;
}

.ado-cc-modal-title {
    font-size: 26px;
    font-weight: 700;
    color: #141414;
    margin: 0 0 14px;
    padding-right: 40px;
}

.ado-cc-modal-intro {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin: 0 0 26px;
}

.ado-cc-cat {
    padding: 22px 0;
    border-top: 1px solid #ededed;
}

.ado-cc-cat:last-of-type {
    border-bottom: 1px solid #ededed;
}

.ado-cc-cat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 10px;
}

.ado-cc-cat-title {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
}

.ado-cc-cat-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.ado-cc-badge {
    font-size: 12px;
    font-weight: 600;
    color: #343f52;
    background: var(--bs-soft-primary);
    padding: 6px 12px;
    border-radius: 50px;
    white-space: nowrap;
}

.ado-cc-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    width: 50px;
    height: 28px;
    cursor: pointer;
}

.ado-cc-switch input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
}

.ado-cc-slider {
    position: absolute;
    inset: 0;
    background: #cfcfcf;
    border-radius: 50px;
    transition: background 0.25s ease;
}

.ado-cc-slider::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease;
}

.ado-cc-switch input:checked + .ado-cc-slider {
    background: var(--bs-primary);
}

.ado-cc-switch input:checked + .ado-cc-slider::before {
    transform: translateX(22px);
}

.ado-cc-switch input:focus-visible + .ado-cc-slider {
    outline: 2px solid #3466c0;
    outline-offset: 2px;
}

.ado-cc-modal-actions {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 30px;
}

.ado-cc-modal-actions .ado-cookie-btn {
    padding: 12px 18px;
    font-size: 13.5px;
}

.ado-cookie-table-wrap {
    overflow-x: auto;
    border: 1px solid #ececec;
    border-radius: 14px;
}

.ado-cookie-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
    font-size: 15px;
}

.ado-cookie-table th {
    text-align: left;
    background: #f6f6f3;
    color: #555;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 16px 18px;
    white-space: nowrap;
}

.ado-cookie-table td:nth-child(4) {
    white-space: nowrap;
}

.ado-cookie-table td {
    padding: 16px 18px;
    border-top: 1px solid #efefef;
    color: #444;
    line-height: 1.5;
    vertical-align: top;
}

.ado-cookie-table code {
    background: #f3f3f1;
    color: var(--bs-primary);
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
}

.ado-cookie-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
    white-space: nowrap;
}

.ado-cookie-tag--necessary {
    background: var(--bs-pale-primary);
    color: #343f52;
}

.ado-cookie-tag--analytics {
    background: rgba(63, 120, 224, 0.1);
    color: var(--bs-primary);
}

@media (max-width: 575px) {
    .ado-cc-banner {
        left: 16px;
        right: 16px;
        bottom: 16px;
        width: auto;
    }

    .ado-cc-banner-inner {
        padding: 26px 24px 24px;
    }

    .ado-cc-actions .ado-cookie-btn--primary,
    .ado-cc-actions .ado-cookie-btn--ghost {
        flex: 1 1 100%;
    }

    .ado-cc-modal-card {
        padding: 32px 24px 26px;
    }

    .ado-cc-modal-actions {
        flex-wrap: wrap;
    }

    .ado-cc-modal-actions .ado-cookie-btn {
        flex: 1 1 100%;
        font-size: 14px;
        padding: 13px 24px;
    }
}

/* FAQ (shared include/faq.blade.php) */
.faq-list {
    border-top: 1px solid #e1e3e6;
}

.faq-item {
    border-bottom: 1px solid #e1e3e6;
}

.faq-question {
    position: relative;
    display: block;
    padding: 22px 48px 22px 0;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    color: #343f52;
    list-style: none;
    cursor: pointer;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 4px;
    transform: translateY(-50%);
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
    color: var(--bs-primary);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-question:hover,
.faq-item[open] .faq-question {
    color: var(--bs-primary);
}

.faq-question:focus-visible {
    outline: 2px solid var(--bs-primary);
    outline-offset: 4px;
}

.faq-answer {
    padding: 0 48px 24px 0;
    font-family: inherit;
    font-size: .85rem;
    line-height: 1.6;
    color: #60697b;
}

/* Opening animation: height transition where ::details-content is supported, fade/slide everywhere */
.faq-item {
    interpolate-size: allow-keywords;
}

.faq-item::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 0.35s ease, content-visibility 0.35s allow-discrete;
}

.faq-item[open]::details-content {
    block-size: auto;
}

.faq-question {
    transition: color 0.2s ease;
}

.faq-item[open] .faq-answer {
    animation: faq-answer-in 0.35s ease;
}

@keyframes faq-answer-in {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .faq-item::details-content,
    .faq-question,
    .faq-question::after {
        transition: none;
    }

    .faq-item[open] .faq-answer {
        animation: none;
    }
}

/* Home slider: switch slides without sliding when reduced motion is requested */
@media (prefers-reduced-motion: reduce) {
    .swiper-wrapper {
        transition-duration: 0ms !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ado-cookie-btn,
    .ado-cc-banner,
    .ado-cc-modal-backdrop,
    .ado-cc-modal-card,
    .ado-cc-modal-close,
    .ado-cc-slider,
    .ado-cc-slider::before {
        transition: none;
    }

    .ado-cc-banner,
    .ado-cc-modal-card {
        transform: none;
    }
}
