/* _specialty.css — hero.big, scroll-immagini-farmacia, nostri-marchi, servizi-3d-debug, watch-quick */
/* =======================
   Sezioni immagini / marchi
   ======================= */
.hero.big {
    height: 24em;
    margin-bottom: 5em
}

@media (max-width: 928px) {
    .hero.big {
        height: 16em
    }
}

.scroll-immagini-farmacia {
    margin-top: 150px;
    padding-bottom: 40px;
    display: flex;
    overflow: auto;
    scroll-behavior: smooth;
    max-height: 700px;
    height: 30%;
    align-self: center;
    z-index: 100
}

.scroll-immagini-farmacia .immagine-farmacia {
    align-self: center;
    width: 80%;
    max-width: 500px;
    max-height: 400px;
    height: auto;
    flex-shrink: 0;
    border-radius: 15px;
    margin: 10px;
    box-shadow: 0 10px 34px -10px rgba(0, 0, 0, .31);
    z-index: 5
}

.nostri-marchi {
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center
}

/* --------- Brand grid --------- */
@media (hover: hover) {
    .marchio, .marchio-invert {
        padding: 20px;
        height: 100px;
        width: 50px;
        max-width: 231px;
        flex-shrink: 0;
        filter: grayscale();
        opacity: .5
    }

    .marchio:hover {
        border-radius: 25px;
        background: #fff;
        filter: none;
        opacity: 1
    }

    .marchio-invert:hover {
        border-radius: 25px;
        background: #fff;
        filter: invert(0);
        opacity: 1
    }
}

@media (hover: none) {
    .marchio, .marchio-invert {
        margin: 20px;
        height: 100px;
        width: 50px;
        max-width: 231px;
        flex-shrink: 0
    }
}

@media (prefers-color-scheme: dark) {
    .marchio-invert {
        filter: invert(1) grayscale()
    }
}

.text-marchi {
    font-size: 25px;
    max-width: 90%;
    margin: auto;
    padding: 40px 0 20px
}

#servizi-3d-debug {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999;
    width: min(430px, calc(100vw - 18px));
    max-height: min(86vh, 980px);
    overflow: auto;
    border-radius: 14px;
    border: 1px solid rgba(215, 230, 227, .26);
    background: linear-gradient(150deg, rgba(7, 21, 24, .95), rgba(12, 28, 27, .9));
    color: #eaf7f3;
    box-shadow: 0 16px 42px rgba(2, 12, 14, .45);
    padding: 12px 12px 10px;
    font-family: "Segoe UI", Helvetica, Arial, sans-serif;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

#servizi-3d-debug h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.15;
    letter-spacing: .01em;
}

.servizi-3d-debug-group {
    border-top: 1px solid rgba(228, 241, 239, .18);
    padding-top: 6px;
    margin-top: 8px;
}

.servizi-3d-debug-group > summary {
    cursor: pointer;
    user-select: none;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .02em;
    margin-bottom: 6px;
}

.servizi-3d-debug-row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr) 74px 24px;
    align-items: center;
    column-gap: 8px;
    min-height: 30px;
    margin: 3px 0;
}

.servizi-3d-debug-name {
    font-size: 15px;
    line-height: 1;
    opacity: .95;
}

.servizi-3d-debug-slider {
    width: 100%;
    min-width: 0;
}

.servizi-3d-debug-value {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 15px;
    text-align: right;
    letter-spacing: .01em;
    color: #ebfaf6;
}

.servizi-3d-debug-lock {
    width: 18px;
    height: 18px;
    margin: 0;
}

@media (max-width: 720px) {
    #servizi-3d-debug {
        top: 8px;
        left: 8px;
        width: calc(100vw - 16px);
        max-height: 72vh;
    }

    .servizi-3d-debug-row {
        grid-template-columns: 84px minmax(0, 1fr) 66px 22px;
        column-gap: 6px;
    }
}

/* Keep FAQ data in markup while hiding visible FAQ blocks on the site */
.fc-faq-section,
.faq-title,
.faq-subtitle,
.faq-answer {
    display: none !important;
}

/* watchOS-style quick view override: keep a pure black canvas and use
   neutral Liquid Glass-like controls to override the per-page inline CSS. */
#watch-quick {
    background: #000 !important;
    color: #fff !important;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", sans-serif !important;
    z-index: 420 !important;
    padding: calc(10px + env(safe-area-inset-top, 0px)) 0 calc(16px + env(safe-area-inset-bottom, 0px)) !important;
}

.watch-quick-inner {
    width: 100% !important;
    min-height: calc(100svh - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) !important;
    margin: 0 !important;
    padding: 0 14px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    text-align: center !important;
}

.watch-quick-inner::before {
    content: none !important;
}

.watch-quick-inner > * {
    width: 100% !important;
    max-width: 390px !important;
}

.watch-quick-status {
    margin: 0 !important;
    font-size: clamp(26px, 12vw, 34px) !important;
    font-weight: 780 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.03em !important;
    color: #fff !important;
    text-wrap: balance;
}

.watch-quick-status-sub {
    margin: 0 !important;
    font-size: clamp(19px, 8.7vw, 24px) !important;
    font-weight: 700 !important;
    line-height: 1.14 !important;
    letter-spacing: -0.02em !important;
    color: rgba(255, 255, 255, .96) !important;
    text-wrap: balance;
}

.watch-quick-address {
    margin: 2px 0 0 !important;
    font-size: clamp(14px, 5.8vw, 17px) !important;
    line-height: 1.2 !important;
    color: rgba(255, 255, 255, .72) !important;
    text-wrap: balance;
}

.watch-quick-actions {
    width: 100% !important;
    margin-top: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
}

.watch-quick-btn,
.watch-quick-btn[href^="tel:"] {
    width: 90vw !important;
    max-width: 340px !important;
    min-height: 64px !important;
    padding: 0 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255, 255, 255, .18) !important;
    background: rgba(255, 255, 255, .12) !important;
    -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
    backdrop-filter: blur(18px) saturate(180%) !important;
    color: #fff !important;
    font-size: clamp(20px, 8.8vw, 24px) !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: -0.02em !important;
    text-transform: none !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -.5px 0 rgba(255, 255, 255, .08), 0 8px 22px rgba(0, 0, 0, .38) !important;
}

.watch-quick-btn-secondary,
.watch-quick-btn-secondary[href^="tel:"] {
    min-height: 56px !important;
    background: rgba(255, 255, 255, .06) !important;
    color: rgba(255, 255, 255, .88) !important;
    border-color: rgba(255, 255, 255, .12) !important;
    font-size: clamp(17px, 7vw, 20px) !important;
    font-weight: 650 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 4px 14px rgba(0, 0, 0, .28) !important;
}

.watch-quick-btn:active {
    transform: scale(.985) !important;
}
