/* ==========================================================================
   Page About Us — Lindhaus custom template
   ========================================================================== */

/* ---------- Design tokens (shared) ---------- */
:root {
    --lh-blue: #4992BB;
    --lh-blue-light: #DCEBF3;
    --lh-gray-bg: #EBEBEB;
    --lh-text: #565656;
    --lh-text-dark: #333;
    --lh-footer-gray: #777474;
    --lh-white: #fff;
    --lh-radius: 10px;
    --lh-container: 1140px;
    --lh-gap: 30px;
    --lh-section-spacing: 60px;
    --lh-font-heading: 'Inter', sans-serif;
    --lh-font-body: 'Inter', sans-serif;
    --lh-font-btn: 'Roboto', sans-serif;
}

/* ---------- Base ---------- */
.lh-au {
    color: var(--lh-text);
    font-family: var(--lh-font-body);
    font-weight: 400;
    line-height: 1.6;
}

/* Override Hello Biz pink (#c36) */
.lh-au a {
    color: var(--lh-blue);
}

.lh-au a:hover,
.lh-au a:active {
    color: var(--lh-blue);
    opacity: 0.8;
}

.lh-au button,
.lh-au [type=button],
.lh-au [type=submit] {
    border-color: var(--lh-blue);
    color: var(--lh-blue);
}

.lh-au button:hover,
.lh-au button:focus,
.lh-au [type=button]:hover,
.lh-au [type=button]:focus,
.lh-au [type=submit]:hover,
.lh-au [type=submit]:focus {
    background-color: var(--lh-blue);
    color: var(--lh-white);
}

.lh-au *,
.lh-au *::before,
.lh-au *::after {
    box-sizing: border-box;
}

.lh-au img {
    max-width: 100%;
    height: auto;
    display: block;
}

.lh-au-container {
    max-width: var(--lh-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- 1. Hero (diagonal — same pattern as taxonomy-settore) ---------- */
.lh-au-hero {
    position: relative;
    overflow: clip;
    background-color: var(--lh-white);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: contain;
    min-height: 60vh;
    min-height: 60dvh;
}

.lh-au-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--lh-white);
    clip-path: polygon(0 0, 55% 0, 50% 100%, 0 100%);
    z-index: 1;
}

.lh-au-hero__inner {
    position: relative;
    z-index: 2;
    max-width: var(--lh-container);
    margin: 0 auto;
    padding: 0 20px;
    min-height: 60vh;
    min-height: 60dvh;
    display: flex;
    align-items: center;
}

.lh-au-hero__text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 400px;
}

.lh-au-hero__label {
    display: block;
    font-family: var(--lh-font-heading);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #000;
    margin: 0 0 8px;
}

.lh-au-hero__title {
    font-family: var(--lh-font-heading);
    font-size: 42px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.3;
    margin: 0 0 16px;
    color: var(--lh-blue);
}

.lh-au-hero__text {
    font-size: 14px;
    margin-bottom: 0;
    line-height: 1.3;
    color: #000;
}

.lh-au-hero__text p:last-child {
    margin-bottom: 0;
}

/* ---------- 2. Breadcrumb ---------- */
.lh-au-breadcrumb {
    background: #ebebeb;
    padding: 60px 0;
    font-size: 13px;
    color: var(--lh-footer-gray);
}

.lh-au-breadcrumb__inner {
    max-width: var(--lh-container);
    margin: 0 auto;
    padding: 0 20px;
}

.lh-au-breadcrumb__inner p {
    margin: 0;
}

.lh-au-breadcrumb__inner span:last-child {
    color: var(--lh-text-dark);
}

.lh-au-breadcrumb a {
    color: var(--lh-blue);
    text-decoration: none;
}

.lh-au-breadcrumb a:hover {
    text-decoration: underline;
}

/* ---------- 3. Tab bar (sticky — same pattern as single-prodotto) ---------- */
.lh-au-nav {
    background: var(--lh-white);
    border-bottom: 1px solid #e0e0e0;
    z-index: 99;
    transition: box-shadow 0.2s;
    position: sticky;
    top: var(--lh-header-height, 80px);
}

.lh-au-nav.is-sticky {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.lh-au-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    max-width: var(--lh-container);
    margin: 0 auto;
    padding: 0 20px;
}

.lh-au-nav__list::-webkit-scrollbar {
    display: none;
}

.lh-au-nav__list li {
    flex: 0 0 auto;
}

.lh-au-nav__list a {
    display: block;
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--lh-text);
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    border-bottom: 3px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.lh-au-nav__list a:hover,
.lh-au-nav__list a.is-active {
    color: var(--lh-blue);
    border-bottom-color: var(--lh-blue);
}

/* ---------- 4. Sections — shared ---------- */
.lh-au-section {
    padding: 0 0 var(--lh-section-spacing);
}

.lh-au-section--white {
    background: var(--lh-white);
}

.lh-au-section--gray {
    background: transparent;
}

.lh-au-section--blue-light {
    background: var(--lh-blue-light);
}

.lh-au-section__label {
    display: block;
    font-family: var(--lh-font-heading);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--lh-blue);
    margin: 0 0 8px;
}

.lh-au-section__title {
    font-family: var(--lh-font-heading);
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 16px;
    color: var(--lh-blue);
}

.lh-au-section__subtitle {
    font-family: var(--lh-font-heading);
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    color: var(--lh-footer-gray);
    margin: 0 0 12px;
}

.lh-au-section__text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--lh-text);
    margin-bottom: 24px;
}

.lh-au-section__text p:last-child {
    margin-bottom: 0;
}

/* ---------- 5. Timeline iframe ---------- */
.lh-au-timeline iframe {
    width: 100%;
    border: none;
    border-radius: var(--lh-radius);
    overflow: hidden;
    height: 3000px;
}

/* ---------- 5b. Mission box ---------- */
.lh-au-mission__box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--lh-gap);
    align-items: stretch;
    background: var(--lh-gray-bg);
    border-radius: var(--lh-radius);
    padding: 40px;
    margin-bottom: 48px;
}

.lh-au-mission__texts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

/* Testo corsivo con linea blu a sinistra */
.lh-au-mission__quote {
    font-style: italic;
    font-size: 16px;
    line-height: 1.7;
    color: var(--lh-text-dark);
    border-left: 3px solid var(--lh-blue);
    padding-left: 20px;
}

.lh-au-mission__quote p:last-child {
    margin-bottom: 0;
}

/* Testo normale sotto */
.lh-au-mission__body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--lh-text);
}

.lh-au-mission__body p:last-child {
    margin-bottom: 0;
}

.lh-au-mission__img-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lh-au-mission__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--lh-radius);
}

/* ---------- 6. Sezione Mission — Obiettivi ---------- */
.lh-au-obiettivi {
    margin-top: var(--lh-section-spacing);
    background: var(--lh-gray-bg);
    border-radius: var(--lh-radius);
    padding: 40px;
}

.lh-au-obiettivi__title {
    font-family: var(--lh-font-heading);
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 12px;
    color: var(--lh-blue);
}

.lh-au-obiettivi__text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--lh-text);
    margin-bottom: 28px;
}

.lh-au-obiettivi__text p:last-child {
    margin-bottom: 0;
}

.lh-au-obiettivi__pills {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.lh-au-obiettivi__pill {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--lh-white);
    border-radius: 50px;
    padding: 12px 20px 12px 14px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.lh-au-obiettivi__pill-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.lh-au-obiettivi__pill-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--lh-text-dark);
}

/* ---------- 7. Sezione Mission — Aspiriamo ---------- */
.lh-au-aspiriamo {
    margin-top: var(--lh-section-spacing);
    background: var(--lh-gray-bg);
    border-radius: var(--lh-radius);
    padding: 40px;
}

.lh-au-aspiriamo__gallery {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    margin-top: 24px;
    scrollbar-width: thin;
    scrollbar-color: var(--lh-blue) #e0e0e0;
}

.lh-au-aspiriamo__gallery::-webkit-scrollbar {
    height: 6px;
}

.lh-au-aspiriamo__gallery::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 3px;
}

.lh-au-aspiriamo__gallery::-webkit-scrollbar-thumb {
    background: var(--lh-blue);
    border-radius: 3px;
}

.lh-au-aspiriamo__gallery img {
    flex: 0 0 auto;
    width: 300px;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--lh-radius);
    scroll-snap-align: start;
}

@supports not (aspect-ratio: 4/3) {
    .lh-au-aspiriamo__gallery img {
        height: 225px;
    }
}

/* ---------- 8. Made in Italy (hotspot interattivo) ---------- */
.lh-au-madeinitaly {
    margin-top: var(--lh-section-spacing);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--lh-gap);
    align-items: center;
    background: var(--lh-blue-light);
    border-radius: var(--lh-radius);
    padding: 40px;
}

/* Immagine con hotspot overlay */
.lh-au-madeinitaly__img-wrap {
    position: relative;
}

.lh-au-madeinitaly__img {
    width: 100%;
    height: auto;
    border-radius: var(--lh-radius);
}

/* Hotspot button */
.lh-au-hotspot {
    position: absolute;
    width: 64px;
    height: 64px;
    transform: translate(-50%, -50%);
    background: var(--lh-blue-light);
    border: 2px solid transparent;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(73, 146, 187, 0.4);
    animation: lh-hotspot-pulse 2s ease-in-out infinite;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.lh-au-hotspot.is-active {
    border-color: var(--lh-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 0 0 4px rgba(73, 146, 187, 0.3);
    animation: none;
}

.lh-au-hotspot__icon {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
}

/* Fallback dot (no icon) */
.lh-au-hotspot__dot {
    display: block;
    width: 14px;
    height: 14px;
    background: var(--lh-blue);
    border-radius: 50%;
}

.lh-au-hotspot.is-active .lh-au-hotspot__dot {
    background: var(--lh-text-dark);
}

@keyframes lh-hotspot-pulse {

    0%,
    100% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(73, 146, 187, 0.4);
    }

    50% {
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 0 0 8px rgba(73, 146, 187, 0);
    }
}

/* Contenuto a destra */
.lh-au-madeinitaly__content {
    padding: 10px 0;
}

.lh-au-madeinitaly__title {
    font-family: var(--lh-font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--lh-blue);
    margin: 0 0 12px;
}

.lh-au-madeinitaly__text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--lh-text);
}

.lh-au-madeinitaly__text p:last-child {
    margin-bottom: 0;
}

/* ---------- 9. Sezione Certificazioni — Slider ---------- */
.lh-au-cert__slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0 16px;
    scrollbar-width: thin;
    scrollbar-color: var(--lh-blue) #e0e0e0;
    margin-top: 32px;
}

.lh-au-cert__slider::-webkit-scrollbar {
    height: 6px;
}

.lh-au-cert__slider::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 3px;
}

.lh-au-cert__slider::-webkit-scrollbar-thumb {
    background: var(--lh-blue);
    border-radius: 3px;
}

.lh-au-cert-card {
    flex: 0 0 200px;
    scroll-snap-align: start;
    background: transparent;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.lh-au-cert-card__logo {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.lh-au-cert-card__name {
    font-family: var(--lh-font-heading);
    font-size: 13px;
    font-weight: 600;
    color: var(--lh-text-dark);
    margin: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

/* Tablet large (new breakpoint) */
@media (max-width: 1100px) {
    .lh-au-hero {
        background-size: cover;
    }

    .lh-au-hero::before {
        display: none;
    }

    .lh-au-hero__text-col {
        max-width: 100%;
        padding: 20px;
        background: rgba(255, 255, 255, 0.95);
        border-radius: var(--lh-radius);
    }
}

/* Tablet */
@media (max-width: 768px) {

    /* Hero */
    .lh-au-hero {
        min-height: auto;
    }

    .lh-au-hero__inner {
        min-height: auto;
        padding: 40px 20px;
    }

    .lh-au-hero__title {
        font-size: 30px;
    }

    /* Mission box */
    .lh-au-mission__box {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    /* Obiettivi */
    .lh-au-obiettivi__pills {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Aspiriamo */
    .lh-au-aspiriamo {
        padding: 30px;
    }

    /* Made in Italy */
    .lh-au-madeinitaly {
        grid-template-columns: 1fr;
        padding: 30px;
    }

}

/* Small mobile */
@media (max-width: 480px) {

    /* Hero */
    .lh-au-hero {
        min-height: 300px;
    }

    .lh-au-hero__inner {
        padding: 20px;
    }

    .lh-au-hero__title {
        font-size: 26px;
    }

    /* Obiettivi pills */
    .lh-au-obiettivi__pills {
        grid-template-columns: 1fr;
    }

    .lh-au-obiettivi {
        padding: 24px;
    }

    .lh-au-aspiriamo {
        padding: 24px;
    }

    /* Certificazioni */
    .lh-au-cert-card {
        flex: 0 0 160px;
    }

    /* Nav tabs */
    .lh-au-nav__list a {
        padding: 12px 14px;
        font-size: 12px;
    }
}