/* ========== COOKIE CONTENT SECTION ========== */
.cookie-content-section {
    padding: 70px 0 80px;
    background: #fff;
}

.intro-card {
    background: #f8fafc;
    border-left: 5px solid #2dba7e;
    padding: 32px 40px;
    border-radius: 24px;
    margin-bottom: 50px;
    box-shadow: 0 12px 28px -12px rgba(0, 0, 0, 0.06);
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #2c3e44;
    margin-bottom: 20px;
}

.intro-text strong {
    color: #1f6e4a;
    font-weight: 700;
}

.intro-meta {
    font-size: 13px;
    color: #7f8c8d;
    border-top: 1px solid #e2e8f0;
    padding-top: 18px;
    display: inline-block;
}

.intro-meta i {
    margin-right: 8px;
    color: #2dba7e;
}

.cookie-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px 24px;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #edf2f7;
    height: 100%;
    text-align: center;
}

.cookie-card:hover {
    transform: translateY(-5px);
    border-color: #c6f0df;
    box-shadow: 0 28px 40px -16px rgba(45, 186, 126, 0.15);
}

.card-icon {
    font-size: 42px;
    color: #2dba7e;
    margin-bottom: 20px;
}

.cookie-card h4 {
    font-family: 'Raleway', 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 14px;
    color: #1e2f3c;
}

.cookie-card p {
    font-size: 14px;
    line-height: 1.65;
    color: #4a5b66;
    margin-bottom: 20px;
}

.badge-cookie {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

.badge-cookie.always {
    background: #e0f2e9;
    color: #1e6f4c;
    border: 1px solid #b8dfce;
}

/* services */

.services-title {
    font-size: 38px;
    font-weight: 700;
    color: #1f2d3d;
    margin-bottom: 15px;
}

.services-subtitle {
    max-width: 700px;
    margin: auto;
    color: #6c757d;
    font-size: 17px;
}

.service-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: 0.4s;
    border-top: 4px solid #2cc58d;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: #2cc58d;
    color: white;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.service-card h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1f2d3d;
}

.service-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991px) {
    .nav-links {
        flex-direction: column;
        gap: 15px;
        margin-top: 15px;
        align-items: flex-start;
    }

    .cookie-hero-title {
        font-size: 42px;
    }

    .control-panel-inner {
        padding: 32px 28px;
    }

    .pref-buttons {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .cookie-hero-title {
        font-size: 32px;
        letter-spacing: 1px;
    }

    .cookie-hero {
        min-height: 400px;
    }

    .intro-card {
        padding: 24px 20px;
    }

    .intro-text {
        font-size: 1rem;
    }

    .section-header h3 {
        font-size: 26px;
    }

    .cookie-card {
        padding: 26px 20px;
    }

    .control-panel-inner {
        text-align: center;
    }

    .pref-buttons {
        justify-content: center;
    }

    .cookie-table th,
    .cookie-table td {
        padding: 12px 14px;
    }

    .faq-question {
        padding: 18px 20px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .cookie-badge {
        width: 64px;
        height: 64px;
    }

    .cookie-badge i {
        font-size: 32px;
    }

    .cookie-hero-title {
        font-size: 26px;
    }

    .pref-btn {
        padding: 10px 16px;
        font-size: 12px;
    }
}

@media (min-width: 577px) and (max-width: 992px) {

    .top-navbar {
        padding: 12px 0;
    }

    .navbar-logo img {
        height: 26px;
    }

    .cards-section {
        padding: 50px 0 70px;
        min-height: 220px;
        background: linear-gradient(180deg, #f9f8f5 0%, #ffffff 100%);
    }

    .cards-track {
        gap: 18px;
        max-width: 100%;
        padding: 0 24px;
        align-items: flex-end;
    }

    .card {
        width: 76px;
        height: 104px;
        border-radius: 12px;
        opacity: 1;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.13);
        transition: transform 0.35s cubic-bezier(.23, 1, .32, 1),
            box-shadow 0.35s ease;
    }

    /* Restore arc rotations — tablet-sized */
    .card:nth-child(1) {
        transform: rotate(-16deg) !important;
        margin-bottom: 0px !important;
    }

    .card:nth-child(2) {
        transform: rotate(-10deg) !important;
        margin-bottom: 22px !important;
    }

    .card:nth-child(3) {
        transform: rotate(-5deg) !important;
        margin-bottom: 36px !important;
    }

    .card:nth-child(4) {
        transform: rotate(0deg) !important;
        margin-bottom: 42px !important;
    }

    .card:nth-child(5) {
        transform: rotate(5deg) !important;
        margin-bottom: 36px !important;
    }

    .card:nth-child(6) {
        transform: rotate(10deg) !important;
        margin-bottom: 22px !important;
    }

    .card:nth-child(7) {
        transform: rotate(16deg) !important;
        margin-bottom: 0px !important;
    }

    .card:hover {
        transform: translateY(-14px) !important;
        box-shadow: 0 18px 40px var(--shadow-color), 0 6px 16px rgba(0, 0, 0, 0.16) !important;
    }

    .card-back span:first-child {
        font-size: 9px;
    }

    .card-back span:last-child {
        font-size: 11px;
    }
}

/* ─── MOBILE (≤ 576px) ───────────────────────────────────────────── */
@media (max-width: 576px) {

    .top-navbar {
        padding: 10px 0;
        position: sticky;
        top: 0;
        z-index: 100;
        box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    }

    .top-navbar .container {
        padding: 0 16px;
    }

    .navbar-logo img {
        height: 22px;
    }

    /* ── Cards section ── */
    .cards-section {
        padding: 32px 0 52px;
        min-height: 170px;
        background: linear-gradient(180deg, #f4f7f6 0%, #ffffff 100%);
    }

    .cards-track {
        gap: 10px;
        max-width: 100%;
        padding: 0 12px;
        align-items: flex-end;
    }

    .card {
        width: 46px;
        height: 64px;
        border-radius: 9px;
        opacity: 1;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14);
        transition: transform 0.3s cubic-bezier(.23, 1, .32, 1),
            box-shadow 0.3s ease;
    }

    /* Arc rotations — mobile */
    .card:nth-child(1) {
        transform: rotate(-14deg) !important;
        margin-bottom: 0px !important;
    }

    .card:nth-child(2) {
        transform: rotate(-8deg) !important;
        margin-bottom: 12px !important;
    }

    .card:nth-child(3) {
        transform: rotate(-4deg) !important;
        margin-bottom: 20px !important;
    }

    .card:nth-child(4) {
        transform: rotate(0deg) !important;
        margin-bottom: 24px !important;
    }

    .card:nth-child(5) {
        transform: rotate(4deg) !important;
        margin-bottom: 20px !important;
    }

    .card:nth-child(6) {
        transform: rotate(8deg) !important;
        margin-bottom: 12px !important;
    }

    .card:nth-child(7) {
        transform: rotate(14deg) !important;
        margin-bottom: 0px !important;
    }

    .card:hover {
        transform: translateY(-10px) !important;
        box-shadow: 0 14px 32px var(--shadow-color), 0 4px 10px rgba(0, 0, 0, 0.14) !important;
    }

    /* Flip back panel — compact */
    .card-back {
        gap: 4px;
    }

    .card-back span:first-child {
        font-size: 7px;
        letter-spacing: 1.5px;
    }

    .card-back span:last-child {
        font-size: 8px;
        padding: 2px 7px;
    }

    /* ── Footer ── */
    .footer-bar {
        padding: 12px 16px;
        text-align: center;
    }

    .footer-bar p {
        font-size: 10.5px;
    }
}