/* ==========================================================================
   Page Configuratore — 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: 24px;
    --lh-section-spacing: 60px;
    --lh-font-heading: 'Inter', sans-serif;
    --lh-font-body: 'Inter', sans-serif;
    --lh-font-btn: 'Roboto', sans-serif;
}

/* ---------- Base ---------- */
.lh-conf-page {
    color: var(--lh-text);
    font-family: var(--lh-font-body);
    font-weight: 400;
    line-height: 1.6;
    overflow-x: hidden;
    overflow-x: clip;
}

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

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

/* Override Hello Biz pink */
.lh-conf-page a {
    color: var(--lh-blue);
}

.lh-conf-page a:hover {
    color: var(--lh-blue);
}

/* ==========================================================================
   1. Hero (diagonal — same as tecnologie)
   ========================================================================== */
.lh-conf-hero {
    position: relative;
    overflow: hidden;
    background-color: var(--lh-white);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: contain;
    min-height: 380px;
}

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

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

.lh-conf-hero__text-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 45%;
    padding: 40px 0;
}

.lh-conf-hero__title {
    font-family: var(--lh-font-heading);
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 16px;
    color: var(--lh-blue);
}

/* "Inizia" button */
.lh-conf-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--lh-font-btn);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: var(--lh-radius);
    border: 2px solid var(--lh-blue);
    color: var(--lh-blue);
    background: transparent;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

.lh-conf-hero__btn:hover {
    background: var(--lh-blue);
    color: var(--lh-white);
}

.lh-conf-hero__btn svg {
    flex-shrink: 0;
}

/* ==========================================================================
   2. Breadcrumb
   ========================================================================== */
.lh-conf-breadcrumb {
    background: var(--lh-white);
    padding: 15px 0;
    font-size: 13px;
    color: var(--lh-footer-gray);
}

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

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

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

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

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

/* ==========================================================================
   3. Iframe Section (full-width, auto-height)
   ========================================================================== */
.lh-conf-iframe-section {
    background: var(--lh-white);
}

.lh-conf-iframe-wrap {
    max-width: var(--lh-container);
    margin: 0 auto;
    padding: 0 20px var(--lh-section-spacing);
}

.lh-conf-iframe-wrap iframe {
    width: 100%;
    border: none;
    border-radius: var(--lh-radius);
    overflow: hidden;
    min-height: 600px;
    height: auto;
}

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

/* Tablet */
@media (max-width: 768px) {
    .lh-conf-hero {
        background-size: contain;
        background-position: center;
        min-height: 300px;
    }

    .lh-conf-hero::before {
        clip-path: polygon(0 0, 65% 0, 55% 100%, 0 100%);
    }

    .lh-conf-hero__text-col {
        max-width: 55%;
        padding: 40px 0;
    }

    .lh-conf-hero__title {
        font-size: 28px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .lh-conf-hero {
        min-height: auto;
        background-size: 100% 200px;
        background-position: top center;
    }

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

    .lh-conf-hero__inner {
        padding-top: 200px;
    }

    .lh-conf-hero__text-col {
        max-width: 100%;
        padding: 24px 0 40px;
    }

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

    .lh-conf-iframe-wrap {
        padding: 0 10px var(--lh-section-spacing);
    }
}
