
/* =====================================================
   ANS TV PLAY v0.7.3 — PRIVACY, COOKIE E CONTATTI
===================================================== */

.site-footer {
    margin-top: 72px;
    border-top: 1px solid rgba(255,255,255,.10);
    background:
        radial-gradient(circle at top left, rgba(40,94,255,.12), transparent 38%),
        #07090f;
    color: rgba(255,255,255,.72);
}

.site-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .9fr 1.2fr;
    gap: 48px;
    padding-top: 52px;
    padding-bottom: 38px;
}

.site-footer-brand strong {
    color: #fff;
    font-size: 1.25rem;
    letter-spacing: .08em;
}

.site-footer-brand p,
.site-footer-company p {
    margin: 8px 0 0;
    line-height: 1.55;
}

.site-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.site-footer-links a,
.site-footer-cookie-button {
    color: rgba(255,255,255,.78);
    text-decoration: none;
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
}

.site-footer-links a:hover,
.site-footer-links a:focus,
.site-footer-cookie-button:hover,
.site-footer-cookie-button:focus {
    color: #fff;
}

.site-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 20px;
    padding-bottom: 24px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: .86rem;
}

.site-footer-version {
    white-space: nowrap;
    color: rgba(255,255,255,.5);
}

.legal-page {
    min-height: 70vh;
    padding: 132px 22px 30px;
    background:
        radial-gradient(circle at 12% 5%, rgba(28,90,255,.17), transparent 32%),
        radial-gradient(circle at 88% 12%, rgba(255,186,65,.09), transparent 26%),
        #080a10;
    color: #f7f8fc;
}

.legal-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.legal-hero {
    padding: 48px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 30px;
    background: linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
    box-shadow: 0 24px 80px rgba(0,0,0,.30);
    backdrop-filter: blur(18px);
}

.legal-kicker {
    display: block;
    margin-bottom: 12px;
    color: #f6c66e;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .78rem;
}

.legal-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.15rem, 5vw, 4.7rem);
    line-height: .98;
}

.legal-hero p {
    max-width: 760px;
    margin: 20px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 1.05rem;
    line-height: 1.65;
}

.legal-hero .legal-updated {
    font-size: .88rem;
    color: rgba(255,255,255,.46);
}

.legal-layout {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.legal-index {
    position: sticky;
    top: 120px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 22px;
    background: rgba(255,255,255,.035);
}

.legal-index strong {
    margin-bottom: 8px;
    color: #fff;
}

.legal-index a {
    color: rgba(255,255,255,.64);
    text-decoration: none;
    font-size: .91rem;
}

.legal-index a:hover,
.legal-index a:focus {
    color: #fff;
}

.legal-content {
    min-width: 0;
}

.legal-content-single {
    width: min(920px, 100%);
    margin: 40px auto 0;
}

.legal-content section,
.contact-card {
    scroll-margin-top: 120px;
    margin-bottom: 22px;
    padding: 34px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 24px;
    background: rgba(255,255,255,.035);
    box-shadow: 0 18px 55px rgba(0,0,0,.16);
}

.legal-content h2,
.contact-card h2 {
    margin: 0 0 18px;
    color: #fff;
    font-size: 1.42rem;
}

.legal-content h3 {
    margin: 0 0 8px;
    color: #fff;
}

.legal-content p,
.legal-content li,
.contact-card p {
    color: rgba(255,255,255,.72);
    line-height: 1.72;
}

.legal-content a,
.contact-card a {
    color: #8bb4ff;
}

.legal-content ul {
    padding-left: 22px;
}

.legal-table-wrap {
    overflow-x: auto;
    border-radius: 16px;
}

.legal-table {
    width: 100%;
    min-width: 720px;
    border-collapse: collapse;
}

.legal-table th,
.legal-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    text-align: left;
    vertical-align: top;
    color: rgba(255,255,255,.72);
}

.legal-table th {
    color: #fff;
    background: rgba(255,255,255,.045);
}

.legal-callout,
.cookie-audit-placeholder {
    margin-top: 28px;
    padding: 26px;
    border: 1px solid rgba(246,198,110,.28);
    border-radius: 20px;
    background: rgba(246,198,110,.065);
}

.legal-callout strong,
.cookie-audit-placeholder strong {
    color: #fff;
}

.legal-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: linear-gradient(135deg, #f4c365, #d79b31);
    color: #111;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
}

.legal-button:hover,
.legal-button:focus {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.cookie-category {
    margin-top: 16px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 18px;
    background: rgba(0,0,0,.14);
}

.cookie-category p {
    margin-bottom: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: .85fr 1.35fr;
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    margin-bottom: 0;
}

.contact-direct {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
}

.contact-note {
    margin-top: 28px;
    font-size: .9rem;
}

.anstv-contact-form {
    display: grid;
    gap: 18px;
}

.anstv-contact-form label {
    display: grid;
    gap: 8px;
    color: rgba(255,255,255,.84);
    font-weight: 700;
}

.anstv-contact-form input[type="text"],
.anstv-contact-form input[type="email"],
.anstv-contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 14px;
    background: rgba(3,6,13,.72);
    color: #fff;
    padding: 14px 16px;
    font: inherit;
    outline: none;
}

.anstv-contact-form textarea {
    resize: vertical;
}

.anstv-contact-form input:focus,
.anstv-contact-form textarea:focus {
    border-color: rgba(106,157,255,.75);
    box-shadow: 0 0 0 4px rgba(69,126,255,.12);
}

.form-consent {
    grid-template-columns: 20px 1fr !important;
    align-items: start;
    font-weight: 400 !important;
    line-height: 1.5;
}

.form-consent input {
    margin-top: 4px;
}

.form-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-message {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
}

.form-success {
    background: rgba(45,192,114,.13);
    border: 1px solid rgba(45,192,114,.28);
    color: #a8f0c8;
}

.form-error {
    background: rgba(236,73,73,.12);
    border: 1px solid rgba(236,73,73,.27);
    color: #ffc0c0;
}

.contact-submit {
    justify-self: start;
    border: 0;
}

@media (max-width: 900px) {
    .site-footer-grid,
    .legal-layout,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .legal-index {
        position: static;
        display: none;
    }

    .legal-page {
        padding-top: 106px;
    }
}

@media (max-width: 640px) {
    .legal-page {
        padding-left: 14px;
        padding-right: 14px;
    }

    .legal-hero,
    .legal-content section,
    .contact-card {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .site-footer-grid {
        gap: 28px;
        padding-top: 38px;
    }

    .site-footer-bottom {
        flex-direction: column;
        gap: 10px;
    }

    .legal-hero h1 {
        font-size: 2.45rem;
    }
}
