
/* ================================================
   PISCINE ITALIA - PREVENDITE ACCONTI 2027
   STILE WARM PREMIUM
================================================ */

.pa-page {
    --pa-bg: #f6f3ed;
    --pa-white: #ffffff;
    --pa-dark: #203b3a;
    --pa-muted: #61716d;
    --pa-gold: #a98147;
    --pa-teal: #0c838a;

    background: var(--pa-bg);
    color: var(--pa-dark);
    font-family: 'Inter', Arial, sans-serif;
    padding: 55px 30px 90px;
}

.pa-page * {
    box-sizing: border-box;
}

.pa-container {
    width: 100%;
    max-width: none;
    margin: 0;
}

.pa-kicker {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    color: var(--pa-gold);
    margin-bottom: 20px;
}

/* HERO */

.pa-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
    gap: 40px;
    align-items: center;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 50px 0 85px;
}

.pa-hero h1 {
    font-size: clamp(38px, 5vw, 70px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.04em;
    color: var(--pa-dark);
    margin: 0;
}

.pa-hero h1 span {
    display: inline;
}

.pa-hero h2 {
    font-size: clamp(27px, 3vw, 40px);
    font-weight: 500;
    color: var(--pa-gold);
    margin: 12px 0 25px;
}

.pa-hero__intro p {
    max-width: 100%;
    color: var(--pa-muted);
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 28px;
}

.pa-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    background: var(--pa-teal);
    color: #fff;
    padding: 15px 23px;
    font-weight: 800;
    font-size: 13px;
    text-decoration: none;
    transition: background .2s ease;
}

.pa-hero__cta:hover {
    background: #086970;
    color: #fff;
    text-decoration: none;
}

/* PANNELLO INFORMATIVO */

.pa-hero__info {
    background: #fff;
    border: 1px solid #e8e3d9;
    border-radius: 15px;
    padding: 32px;
}

.pa-info-step {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 25px;
}

.pa-info-step:last-child {
    margin-bottom: 0;
}

.pa-info-step > span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #dac9a9;
    color: var(--pa-gold);
    font-weight: 700;
    font-size: 12px;
}

.pa-info-step strong {
    font-size: 16px;
    color: var(--pa-dark);
}

.pa-info-step p {
    color: var(--pa-muted);
    font-size: 13px;
    line-height: 1.6;
    margin: 6px 0 0;
}

/* CATEGORIE */

.pa-categorie {
    padding: 60px 0;
    border-top: 1px solid #ded9cf;
}

.pa-section-heading h2,
.pa-catalogo h2 {
    color: var(--pa-dark);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    margin: 0 0 12px;
}

.pa-section-heading p,
.pa-catalogo > p {
    color: var(--pa-muted);
    font-size: 15px;
    line-height: 1.6;
}

.pa-categorie__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 35px;
}

.pa-categoria {
    display: flex;
    flex-direction: column;
    padding: 35px;
    min-height: 235px;
    background: #fff;
    border: 1px solid #e5dfd4;
    border-radius: 12px;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease;
}

.pa-categoria:hover {
    transform: translateY(-4px);
    border-color: var(--pa-gold);
    text-decoration: none;
}

.pa-categoria__numero {
    color: var(--pa-gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
}

.pa-categoria h3 {
    color: var(--pa-dark);
    font-size: 27px;
    font-weight: 800;
    margin: 22px 0 8px;
}

.pa-categoria p {
    color: var(--pa-muted);
    font-size: 14px;
    line-height: 1.6;
}

.pa-categoria__link {
    margin-top: auto;
    padding-top: 18px;
    color: var(--pa-teal);
    font-weight: 800;
    font-size: 13px;
}

/* CATALOGHI */

.pa-catalogo {
    padding: 65px 0;
    border-top: 1px solid #ded9cf;
    scroll-margin-top: 75px;
}

/* RESPONSIVE */

@media (max-width: 980px) {
    .pa-hero {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 20px 0 55px;
    }
}

@media (max-width: 620px) {
    .pa-page {
        padding: 30px 15px 65px;
    }

    .pa-hero__info {
        padding: 22px;
    }

    .pa-categorie__grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .pa-categoria {
        min-height: 190px;
        padding: 25px;
    }

    .pa-categoria h3 {
        font-size: 23px;
    }

    .pa-categorie,
    .pa-catalogo {
        padding: 40px 0;
    }
}

/* ==========================================
   ACCONTI 2027 - CARD PRODOTTI
========================================== */

.pa-prodotti-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    margin-top: 30px;
}

.pa-prodotto {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5dfd4;
    border-radius: 12px;
    transition: border-color .2s ease,
                transform .2s ease;
}

/*.pa-prodotto:hover {
    border-color: var(--pa-gold);
    transform: translateY(-3px);
}*/

/* Fotografia quadrata, senza padding */

.pa-prodotto__foto {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
}

.pa-prodotto__foto img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin: 0;
    padding: 0;
}

.pa-prodotto__foto span {
    color: #999;
    font-size: 13px;
}

/* Contenuto */

.pa-prodotto__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 14px;
}

.pa-prodotto__badge {
    display: inline-block;
    width: max-content;
    max-width: 100%;
    margin-bottom: 10px;
    padding: 7px 9px;
    background: #bfe7c3;
    border-radius: 4px;
    color: #154f36;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .7px;
}

.pa-prodotto h3 {
    color: var(--pa-dark);
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 6px;
}

.pa-prodotto__descrizione {
    color: var(--pa-muted);
    font-size: 11px;
    line-height: 1.4;
    margin: 0 0 14px;
}

/* Prezzi */

.pa-prodotto__prezzi {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-top: 0;
    margin-bottom: 12px;
}

.pa-prezzo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 0;
    min-height: 62px;
    padding: 8px 3px;
    border: 1px solid #e7e7e7;
    border-radius: 5px;
    background: #ededed;
    text-align: center;
}

.pa-prezzo span {
    color: #262626;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.15;
}

.pa-prezzo strong {
    color: #111;
    font-size: clamp(11px, .85vw, 15px);
    font-weight: 800;
    letter-spacing: -.4px;
    line-height: 1.15;
    white-space: nowrap;
}

.pa-prezzo--acconto {
    background: #e7f3e9;
    border-color: #dce9de;
}

.pa-prezzo--acconto strong {
    color: #08633d;
}

.pa-prodotto__prezzi .pa-prezzo:last-child {
    background: #f5edd5;
    border-color: #eee5cb;
}

.pa-prodotto__prezzi .pa-prezzo:last-child strong {
    color: #9c7410;
}

/* Pulsanti */

.pa-prodotto__azioni {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.pa-prodotto__acconto,
.pa-prodotto__acconto:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    min-height: 45px;
    padding: 10px 6px;
    background: var(--pa-teal);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease;
}

.pa-prodotto__acconto:hover {
    color: #fff;
    background: #086970;
    text-decoration: none;
}

.pa-prodotto__dettagli,
.pa-prodotto__dettagli:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    color: var(--pa-dark);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.pa-prodotto__dettagli:hover {
    color: var(--pa-teal);
    text-decoration: underline;
}

.pa-catalogo-vuoto {
    padding: 30px;
    background: #fff;
    border-radius: 10px;
}

/* Responsive */

@media (max-width: 1500px) {
    .pa-prodotti-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .pa-prodotti-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .pa-prodotti-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .pa-prodotti-grid {
        grid-template-columns: 1fr;
    }

    .pa-prodotto__body {
        padding: 19px;
    }

    .pa-prezzo strong {
        font-size: clamp(13px, 4vw, 18px);
    }
}

@media (max-width: 560px) {
    .pa-prodotti-grid {
        grid-template-columns: 1fr;
    }

    .pa-prodotto__body {
        padding: 18px;
    }

    .pa-prezzo strong {
        font-size: 17px;
    }

    .pa-prodotto__acconto {
        font-size: 14px;
    }
}

/* ==========================================
   ACCONTI 2027 - CONFRONTO PREZZI
========================================== */

.pa-prodotto__confronto {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: auto;
    margin-bottom: 12px;
    padding: 10px 8px;
    border-radius: 5px;
    background: #f5f5f5;
    text-align: center;
}

.pa-prodotto__prezzo-online {
    color: #555;
    font-size: 12px;
    line-height: 1.5;
}

.pa-prodotto__prezzo-online del {
    color: #777;
    font-weight: 700;
    white-space: nowrap;
}

/* ==========================================
   RISPARMIO EXTRA - IN EVIDENZA
========================================== */

.pa-prodotto__risparmio {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 11px 6px;
    background: #e7f3e9;
    border: 1px solid #c9e4d0;
    border-radius: 5px;
    color: #08633d;
    text-align: center;
    line-height: 1.3;
}

.pa-prodotto__risparmio-label {
    color: #154f36;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .03em;
}

.pa-prodotto__risparmio strong {
    display: block;
    color: #08633d;
    font-size: clamp(20px, 1.2vw, 24px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -.3px;
    white-space: nowrap;
}

.pa-prodotto__risparmio-note {
    color: #285f43;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

/* White Pool - offerte in preparazione */

.pa-categoria--soon {
    background: #fdfbf8;
    border-color: #e8e2d7;
    cursor: default;
}

.pa-categoria--soon:hover {
    transform: none;
    border-color: #e8e2d7;
}

.pa-categoria__soon {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    margin-top: auto;
    padding: 9px 12px;
    border-radius: 4px;
    background: #ede6d9;
    color: #92713f;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
}

.pa-catalogo[hidden] {
    display: none !important;
}

/* ==========================================
   HERO - DISPONIBILITA LIMITATA
========================================== */

.pa-hero__disponibilita {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0 0 24px;
    padding: 14px 18px;
    background: #FFFFFF;
    border-left: 3px solid var(--pa-gold);
    border-radius: 0 6px 6px 0;
}

.pa-hero__disponibilita strong {
    color: #9b7037;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
}

.pa-hero__disponibilita span {
    color: var(--pa-dark);
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 620px) {
    .pa-hero__disponibilita {
        padding: 13px 15px;
    }

    .pa-hero__disponibilita span {
        font-size: 14px;
    }

    .pa-hero .pa-kicker {
        line-height: 1.6;
    }
}

/* ==========================================
   FAQ - PREORDINI SAUNE
========================================== */

.pa-faq {
    padding: 65px 0 30px;
    border-top: 1px solid #ded9cf;
    scroll-margin-top: 75px;
}

.pa-faq__intro {
    margin-bottom: 30px;
}

.pa-faq__intro h2 {
    color: var(--pa-dark);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    margin: 0 0 12px;
}

.pa-faq__intro p {
    color: var(--pa-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Due colonne */

.pa-faq__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 14px;
}

/* Singola domanda */

.pa-faq__item {
    min-width: 0;
    background: #fff;
    border: 1px solid #e5dfd4;
    border-radius: 10px;
    overflow: hidden;
}

.pa-faq__item[open] {
    border-color: var(--pa-gold);
}

/* Domanda cliccabile */

.pa-faq__item summary {
    position: relative;
    display: block;
    padding: 21px 55px 21px 22px;
    color: var(--pa-dark);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
}

.pa-faq__item summary::-webkit-details-marker {
    display: none;
}

.pa-faq__item summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--pa-gold);
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
}

.pa-faq__item[open] summary::after {
    content: "−";
}

.pa-faq__item summary:hover {
    color: var(--pa-teal);
}

.pa-faq__item summary:focus-visible {
    outline: 2px solid var(--pa-teal);
    outline-offset: -3px;
}

/* Risposta */

.pa-faq__item p {
    margin: 0;
    padding: 0 22px 22px;
    color: var(--pa-muted);
    font-size: 14px;
    line-height: 1.75;
}

/* Contatti */

.pa-faq__contatti {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    color: var(--pa-muted);
    font-size: 15px;
}

.pa-faq__contatti a {
    color: var(--pa-teal);
    font-weight: 800;
    text-decoration: none;
}

.pa-faq__contatti a:hover {
    color: var(--pa-dark);
    text-decoration: underline;
}

/* Responsive */

@media (max-width: 800px) {

    .pa-faq__grid {
        grid-template-columns: 1fr;
    }

    .pa-faq {
        padding: 45px 0 20px;
    }

}

@media (max-width: 620px) {

    .pa-faq__item summary {
        padding: 18px 48px 18px 18px;
        font-size: 15px;
    }

    .pa-faq__item p {
        padding: 0 18px 20px;
        font-size: 14px;
    }

}
