/* Ted Car v2 - Template-inspired, light body + dark header/footer */
@import url("accessibility.css");

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-400.woff2") format("woff2");
}
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-600.woff2") format("woff2");
}
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-700.woff2") format("woff2");
}
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-800.woff2") format("woff2");
}

:root {
    --dark: #0f1419;
    --dark-soft: #1a1a1a;
    --light: #ffffff;
    --light-alt: #f5f7fa;
    --text: #1e293b;
    --text-muted: #64748b;
    --blue: #4a90e2;
    --blue-dark: #003366;
    --cta: #f5b400;
    --cta-hover: #ff8c00;
    --radius: 10px;
    --container: 1140px;
    --font: "Plus Jakarta Sans", system-ui, sans-serif;
    --shadow: 0 12px 40px rgba(15, 20, 25, 0.08);
    --header-h: 72px;
    --mobile-bar-h: 52px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    background: var(--light-alt);
    padding-bottom: var(--mobile-bar-h);
}
body.cookie-banner-open { overflow: hidden; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    background: var(--cta);
    color: var(--dark);
    padding: .75rem 1rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header scuro */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--dark);
    border-bottom: 1px solid rgba(255,255,255,.08);
    transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0,0,0,.35); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--header-h);
}

.brand img { width: min(150px, 40vw); }

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: .5rem;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
}

.main-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--dark-soft);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: .25s;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
}
.main-nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }

.main-nav ul { list-style: none; margin: 0; padding: 1rem; }
.main-nav a {
    display: block;
    padding: .85rem 1rem;
    color: #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
}
.main-nav a:hover,
.main-nav a.is-active { background: rgba(74,144,226,.2); color: #fff; }

.hide-mobile { display: none; }

.mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,.1);
    height: var(--mobile-bar-h);
}
.mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: .875rem;
    text-decoration: none;
}
.mobile-bar a:nth-child(2) { background: var(--blue); }
.mobile-bar a:nth-child(3) { background: #25d366; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .9rem 1.6rem;
    border-radius: 6px;
    border: 0;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform .15s, background .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-cta { background: var(--cta); color: var(--dark); }
.btn-cta:hover { background: var(--cta-hover); color: var(--dark); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.5);
}
.btn-outline-light:hover { border-color: #fff; color: #fff; }
.btn-sm { padding: .55rem 1rem; font-size: .875rem; }
.btn-block { width: 100%; }

/* Hero home */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    /* --hero-image va impostata inline con path assoluto da root (/assets/img/...) */
    background-image: linear-gradient(105deg, rgba(15,20,25,.88) 0%, rgba(15,20,25,.62) 42%, rgba(15,20,25,.28) 100%), var(--hero-image);
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    z-index: 0;
}
.hero__inner { position: relative; z-index: 1; padding: 4rem 0; }

.hero__eyebrow {
    display: inline-block;
    padding: .35rem .85rem;
    background: rgba(245,180,0,.2);
    color: var(--cta);
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 1rem;
}

.hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.1;
    max-width: 16ch;
}
.hero h1 span { color: var(--cta); display: block; }

.hero__lead {
    margin: 0 0 1.75rem;
    color: rgba(255,255,255,.85);
    max-width: 52ch;
    font-size: 1.05rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Page hero interne */
.page-hero {
    position: relative;
    padding: 3rem 0;
    color: #fff;
    overflow: hidden;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(105deg, rgba(15,20,25,.9) 0%, rgba(15,20,25,.68) 50%, rgba(15,20,25,.35) 100%), var(--hero-image);
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin: 0 0 .75rem; font-size: clamp(1.75rem, 4vw, 2.5rem); }
.page-hero .hero__lead { color: rgba(255,255,255,.85); margin: 0; }

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    font-size: .875rem;
    color: rgba(255,255,255,.7);
}
.breadcrumb a { color: rgba(255,255,255,.85); }
.breadcrumb li + li::before { content: "/"; margin-right: .35rem; opacity: .5; }

/* Barra punti di forza sotto l'hero */
.cta-bar {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: -1px;
    background: var(--dark);
}
.cta-bar__item {
    padding: 1.35rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    text-align: left;
    border-top: 1px solid rgba(255,255,255,.08);
}
.cta-bar__item--accent { background: var(--cta); color: var(--dark); }
.cta-bar__item--dark { background: var(--dark); color: #fff; }
.cta-bar__item--blue { background: var(--blue); color: #fff; }

.cta-bar__icon {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    font-weight: 800;
}
.cta-bar__item--dark .cta-bar__icon {
    background: rgba(245,180,0,.15);
    color: var(--cta);
}
.cta-bar__item--dark .cta-bar__icon::before { content: "1"; }
.cta-bar__item--accent .cta-bar__icon {
    background: rgba(15,20,25,.12);
    color: var(--dark);
}
.cta-bar__item--accent .cta-bar__icon::before { content: "2"; }
.cta-bar__item--blue .cta-bar__icon {
    background: rgba(255,255,255,.18);
    color: #fff;
}
.cta-bar__item--blue .cta-bar__icon::before { content: "3"; }

.cta-bar__text {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    min-width: 0;
}
.cta-bar__text strong {
    display: block;
    font-size: 1rem;
    line-height: 1.25;
}
.cta-bar__text span {
    display: block;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.4;
    opacity: .88;
}
.cta-bar__item--accent .cta-bar__text span { color: rgba(15,20,25,.78); }
.cta-bar__item:first-child { border-top: 0; }

/* Sezioni chiare */
.section { padding: 4rem 0; background: var(--light); }
.section--alt { background: var(--light-alt); }

.section-head { margin-bottom: 2.5rem; position: relative; }
.section-head .num {
    position: absolute;
    top: -1.5rem;
    left: 0;
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 800;
    color: rgba(30,41,59,.06);
    line-height: 1;
    pointer-events: none;
}
.section-head h2 {
    margin: 0 0 .5rem;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--text);
}
.section-head h2 span { color: var(--blue); }
.section-head p { margin: 0; color: var(--text-muted); max-width: 560px; }

.split {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}
.split img { border-radius: var(--radius); box-shadow: var(--shadow); }

.check-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}
.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: .75rem;
    color: var(--text-muted);
}
.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--cta);
    font-weight: 800;
}

/* Stats */
.stats {
    position: relative;
    padding: 4rem 0;
    color: #fff;
    overflow: hidden;
}
.stats::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(15,20,25,.82), rgba(15,20,25,.82)), var(--stats-image, url('../img/pages/centro-demolizione.jpeg'));
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.stats .container { position: relative; z-index: 1; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}
.stat__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: grid;
    place-items: center;
    background: rgba(245,180,0,.15);
    border-radius: 50%;
    color: var(--cta);
    font-size: 1.5rem;
}
.stat__icon svg {
    width: 1.5rem;
    height: 1.5rem;
    display: block;
}
.stat__num {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--cta);
    line-height: 1;
}
.stat__label { margin-top: .5rem; color: rgba(255,255,255,.8); font-size: .9rem; }

/* Service cards */
.services-grid {
    display: grid;
    gap: 1.5rem;
}
.service-card {
    background: var(--light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(15,20,25,.06);
    transition: transform .25s, box-shadow .25s;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(15,20,25,.12);
}
.service-card__media { aspect-ratio: 16/10; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.service-card:hover .service-card__media img { transform: scale(1.05); }
.service-card__body { padding: 1.25rem 1.5rem 1.5rem; }
.service-card h3 { margin: 0 0 .5rem; color: var(--text); }
.service-card p { margin: 0 0 1rem; color: var(--text-muted); font-size: .95rem; }
.service-card a { font-weight: 700; color: var(--blue); }

/* Content pages */
.content-block { max-width: 760px; }
.legal-updated {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #cbd5e1;
    font-size: .95rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: right;
}
.content-block h2 { margin-top: 2rem; color: var(--text); }
.content-block p, .content-block li { color: var(--text-muted); }

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: .9rem;
}
.legal-table th,
.legal-table td {
    border: 1px solid #cbd5e1;
    padding: .65rem .75rem;
    text-align: left;
    vertical-align: top;
    color: var(--text);
}
.legal-table code {
    font-size: .85em;
    word-break: break-word;
}
.legal-table th {
    background: var(--light-alt);
    color: var(--text);
    font-weight: 700;
}
.legal-table-wrap { overflow-x: auto; }

.cta-section {
    background: linear-gradient(135deg, var(--cta) 0%, var(--cta-hover) 100%);
    padding: 3rem 0;
    text-align: center;
    color: var(--dark);
}
.cta-section h2 { margin: 0 0 .5rem; }
.cta-section p { margin: 0 0 1.25rem; }
.cta-section .btn { background: var(--dark); color: #fff; }
.cta-section .btn:hover { background: var(--blue-dark); color: #fff; }

.shop-band {
    background: var(--light);
    border: 1px solid rgba(15,20,25,.08);
    border-radius: var(--radius);
    padding: 2rem;
    display: grid;
    gap: 1.5rem;
    align-items: center;
    box-shadow: var(--shadow);
}
.shop-band img { border-radius: var(--radius); }

/* Contact */
.contact-grid {
    display: grid;
    gap: 2rem;
}
.contact-info, .form-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(15,20,25,.06);
}
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; margin-bottom: .35rem; font-weight: 600; color: var(--text); }
.form-group input:not([type="checkbox"]):not([type="radio"]),
.form-group textarea {
    width: 100%;
    padding: .75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font: inherit;
}
.form-group input:focus:not([type="checkbox"]):not([type="radio"]),
.form-group textarea:focus {
    outline: 2px solid var(--blue);
    border-color: var(--blue);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-check {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    margin-bottom: 1rem;
}
.form-check input[type="checkbox"] {
    width: 1.05rem;
    height: 1.05rem;
    margin: .2rem 0 0;
    padding: 0;
    flex: 0 0 auto;
    cursor: pointer;
}
.form-check label {
    display: block;
    margin-bottom: 0;
    font-weight: 400;
    line-height: 1.45;
    color: var(--text-muted);
    cursor: pointer;
}
.form-check label a { font-weight: 600; }
.form-hint {
    margin: .4rem 0 0;
    font-size: .85rem;
    color: var(--text-muted);
}
.form-captcha input[type="number"] { max-width: 120px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.alert { padding: 1rem; border-radius: 8px; margin-bottom: 1rem; }
.alert--success { background: #dcfce7; color: #166534; }
.alert--error { background: #fee2e2; color: #991b1b; }

/* News pubbliche */
.news-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}
.news-card__link:hover .news-card__more {
    color: var(--blue-dark);
}
.news-card__more {
    font-weight: 700;
    color: var(--blue);
    font-size: .95rem;
}
.news-card__date {
    display: block;
    margin-bottom: .5rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--text-muted);
}
.news-card .service-card__body p:last-child { margin-bottom: 0; }

.news-detail { max-width: 820px; }
.news-detail__figure {
    margin: 0 0 2rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.news-detail__figure img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.news-detail__content {
    max-width: none;
    font-size: 1.05rem;
    line-height: 1.75;
}
.news-detail__back {
    margin-top: 2rem;
    font-weight: 600;
}
.news-detail__back a {
    color: var(--blue);
    text-decoration: none;
}
.news-detail__back a:hover {
    color: var(--blue-dark);
}
.news-detail__date {
    display: block;
    margin-bottom: .75rem;
    font-size: .9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
}
.page-hero .news-detail__date { color: rgba(255, 255, 255, .85); }

/* Area admin */
.admin-body {
    background: var(--light-alt);
    min-height: 100vh;
}
.admin-wrap { padding: 2rem 0 3rem; }
.admin-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.admin-header h1 { margin: 0; }
.admin-header__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.admin-subtitle {
    margin: .35rem 0 0;
    color: var(--text-muted);
    font-size: .95rem;
}
.admin-section { margin-top: 2rem; }
.admin-section h2 { margin: 0 0 1rem; }
.admin-login { max-width: 420px; margin: 0 auto; }
.admin-back { margin-top: 1.25rem; font-size: .9rem; }
.admin-empty { color: var(--text-muted); }
.admin-table-wrap { overflow-x: auto; }
.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--light);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.admin-table th,
.admin-table td {
    padding: .75rem 1rem;
    border-bottom: 1px solid rgba(15,20,25,.08);
    text-align: left;
    vertical-align: middle;
}
.admin-table th {
    background: var(--light-alt);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-muted);
}
.admin-table tr:last-child td { border-bottom: 0; }
.admin-thumb {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}
.admin-delete-form { margin: 0; }

.admin-profile-btn {
    cursor: pointer;
    font-family: inherit;
}
.admin-profile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 25, .55);
    z-index: 9000;
}
.admin-profile-modal {
    position: fixed;
    inset: 0;
    z-index: 9001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}
.admin-profile-modal[hidden],
.admin-profile-overlay[hidden] {
    display: none !important;
}
.admin-profile-modal__box {
    width: 100%;
    max-width: 440px;
    margin: auto;
}
.admin-profile-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .5rem;
}
.admin-profile-modal__head h2 {
    margin: 0;
}
.admin-profile-modal__close {
    border: 0;
    background: transparent;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0 .25rem;
}
.admin-profile-modal__close:hover {
    color: var(--text);
}
.admin-profile-modal__section {
    margin: 1.25rem 0 1rem;
    font-size: 1rem;
    color: var(--text);
}
.admin-profile-modal__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: flex-end;
    margin-top: .5rem;
}
body.admin-modal-open {
    overflow: hidden;
}

/* Admin: niente animazione reveal (v2.js non caricato) */
.admin-body .reveal {
    opacity: 1;
    transform: none;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-muted);
    color: var(--text);
}
.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
}
.btn-danger {
    background: #dc2626;
    color: #fff;
    border: 2px solid #dc2626;
}
.btn-danger:hover {
    background: #b91c1c;
    border-color: #b91c1c;
    color: #fff;
}

.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li { display: flex; justify-content: space-between; padding: .35rem 0; color: var(--text-muted); font-size: .925rem; }
.map-wrap iframe { width: 100%; min-height: 360px; border: 0; border-radius: var(--radius); }

/* Footer scuro */
.site-footer {
    background: var(--dark);
    color: #e2e8f0;
    padding-top: 3rem;
}
.site-footer h2 {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--cta);
    margin: 0 0 1rem;
}
.site-footer p { margin: 0 0 .75rem; color: rgba(255,255,255,.75); font-size: .925rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--cta); }
.footer-vat,
.footer-legal { font-size: .85rem; color: rgba(255,255,255,.85); }
.footer-legal strong { color: #fff; font-weight: 700; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-map iframe { width: 100%; height: 160px; border: 0; border-radius: 8px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1rem 0 1.5rem;
}
.footer-bottom-inner {
    display: flex;
    flex-direction: column;
    gap: .5rem;
    font-size: .875rem;
    color: rgba(255,255,255,.6);
    text-align: center;
}
.footer-credit a { color: var(--cta); font-weight: 600; }
.footer-credit a:hover { color: #fff; }
.footer-cookie-btn {
    background: none;
    border: 0;
    padding: 0;
    color: var(--cta);
    font: inherit;
    font-size: inherit;
    cursor: pointer;
    text-decoration: underline;
}
.footer-cookie-btn:hover { color: #fff; }

/* Banner cookie conforme GDPR */
.cookie-overlay {
    position: fixed;
    inset: 0;
    z-index: 94;
    background: rgba(15, 20, 25, 0.55);
    backdrop-filter: blur(2px);
}
.cookie-overlay[hidden] { display: none; }

.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--mobile-bar-h);
    z-index: 95;
    padding: 1rem 0 1.25rem;
    color: #fff;
}
.cookie-banner[hidden] { display: none; }

.cookie-banner__box {
    background: var(--dark-soft);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 1.25rem 1.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.cookie-banner__title {
    margin: 0 0 .65rem;
    font-size: 1.15rem;
    color: var(--cta);
}

.cookie-banner__text {
    margin: 0 0 1rem;
    font-size: .9rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}
.cookie-banner__text a { color: var(--cta); font-weight: 600; }

.cookie-banner__panel {
    display: grid;
    gap: .85rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.cookie-banner__panel[hidden] { display: none; }

.cookie-category h3 {
    margin: 0;
    font-size: .95rem;
}
.cookie-category p {
    margin: .45rem 0 0;
    font-size: .85rem;
    color: rgba(255, 255, 255, 0.75);
}
.cookie-category__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}
.cookie-badge {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--cta);
}
.cookie-toggle {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-size: .85rem;
    cursor: pointer;
}
.cookie-toggle input { accent-color: var(--cta); }

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}
.cookie-banner__actions .btn { flex: 1 1 auto; min-width: 140px; }

.map-placeholder {
    display: grid;
    place-items: center;
    gap: .85rem;
    min-height: 160px;
    padding: 1.25rem;
    text-align: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.75);
    font-size: .9rem;
}
.map-placeholder[hidden] { display: none; }
.map-wrap .map-placeholder {
    background: var(--light-alt);
    border-color: rgba(15, 20, 25, 0.12);
    color: var(--text-muted);
    min-height: 360px;
}
.cookie-map-iframe { width: 100%; border: 0; border-radius: 8px; }
.footer-map .cookie-map-iframe { height: 160px; }
.map-wrap .cookie-map-iframe { min-height: 360px; }

/* Animazioni reveal */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (min-width: 640px) {
    .cta-bar { grid-template-columns: repeat(3, 1fr); }
    .cta-bar__item {
        border-top: 0;
        padding: 1.5rem 1.35rem;
        clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 16px 100%);
    }
    .cta-bar__item:first-child {
        clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%);
    }
    .cta-bar__item:last-child {
        clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%);
    }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
    body { padding-bottom: 0; }
    .mobile-bar { display: none; }
    .nav-toggle { display: none; }
    .hide-mobile { display: inline-flex; }
    .main-nav {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        max-height: none;
        overflow: visible;
    }
    .main-nav ul { display: flex; gap: .15rem; padding: 0; }
    .main-nav a { padding: .5rem .65rem; font-size: .875rem; white-space: nowrap; }
    .split { grid-template-columns: 1fr 1fr; }
    .services-grid { grid-template-columns: repeat(4, 1fr); }
    .contact-grid { grid-template-columns: 1fr 1.2fr; }
    .footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1.2fr; }
    .footer-bottom-inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }
    .footer-bottom-inner p:first-child { text-align: left; }
    .footer-bottom-inner p:last-child { text-align: right; }
    .footer-credit { margin-inline: 0; }
    .shop-band { grid-template-columns: 1.1fr 1fr; }
    .cookie-banner { bottom: 0; }
    .cookie-banner__actions { justify-content: flex-end; }
    .cookie-banner__actions .btn { flex: 0 1 auto; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}
