/*
 * A' Niche Solutions: home page (2026 redesign).
 * Every rule is under .hp so nothing here reaches the header, footer or other pages.
 * Brand colours are the site's own: blue #125D8F, gold #E5BB19, cream #FFFAE8.
 */

.hp {
    --hp-blue: #125d8f;
    --hp-blue-dark: #0c4468;
    --hp-navy: #0a2c46;
    --hp-gold: #e5bb19;
    --hp-gold-dark: #c9a20f;
    --hp-cream: #fffae8;
    --hp-ink: #14212b;
    --hp-muted: #56687a;
    --hp-line: #e2e8ee;
    --hp-alt: #f3f7fa;
    --hp-radius: 12px;
    --hp-shadow: 0 10px 30px rgba(10, 44, 70, 0.08);
    --hp-pad: 48px;
    color: var(--hp-ink);
    font-size: 16px;
    line-height: 1.6;
}

.hp *, .hp *::before, .hp *::after { box-sizing: border-box; }
.hp h2, .hp h3 { font-weight: 700; color: var(--hp-ink); line-height: 1.25; }
.hp p { line-height: 1.65; }
.hp a { transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s, transform .2s; }

/* ---------- Shared pieces ---------- */

.hp-section { padding: var(--hp-pad) 0; background: #fff; }
.hp-section--alt { background: var(--hp-alt); }
.hp-section--tight { padding-top: 40px; padding-bottom: 40px; }

.hp-head { margin-bottom: 32px; }
.hp-head h2 { font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.35rem); margin-bottom: 10px; }
.hp-head p { color: var(--hp-muted); font-size: 1.05rem; margin: 0; }
.hp-head--center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.hp-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hp-head--split > div:first-child { max-width: 720px; }
.hp-head__sub { font-size: 1.15rem !important; color: var(--hp-blue) !important; font-weight: 500; }

.hp-eyebrow {
    display: inline-block; margin: 0 0 12px; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
    text-transform: uppercase; color: var(--hp-blue);
}
.hp-eyebrow--light { color: var(--hp-gold); }

.hp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 13px 26px; border-radius: 8px; border: 2px solid transparent;
    font-weight: 600; font-size: 1rem; line-height: 1.2; cursor: pointer; text-decoration: none;
}
.hp-btn--gold { background: var(--hp-gold); color: var(--hp-navy); }
.hp-btn--gold:hover { background: #f2c928; color: var(--hp-navy); transform: translateY(-1px); }
.hp-btn--primary { background: var(--hp-blue); color: #fff; }
.hp-btn--primary:hover { background: var(--hp-blue-dark); color: #fff; }
.hp-btn--outline { border-color: var(--hp-blue); color: var(--hp-blue); background: transparent; }
.hp-btn--outline:hover { background: var(--hp-blue); color: #fff; }
.hp-btn--ghost { border-color: rgba(255, 255, 255, .55); color: #fff; background: transparent; }
.hp-btn--ghost:hover { background: #fff; color: var(--hp-navy); }
.hp-btn--block { width: 100%; }

.hp-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--hp-blue); white-space: nowrap; }
.hp-link i { font-size: .85em; transition: transform .2s; }
.hp-link:hover { color: var(--hp-blue-dark); }
.hp-link:hover i { transform: translateX(3px); }

.hp-icon {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
    width: 52px; height: 52px; border-radius: 12px; background: rgba(18, 93, 143, .1); color: var(--hp-blue); font-size: 1.35rem;
}
.hp-icon--gold { background: var(--hp-cream); color: var(--hp-gold-dark); border: 1px solid rgba(229, 187, 25, .45); }

/* ---------- 1. Hero ---------- */

.hp-hero {
    position: relative; padding: 64px 0 96px; color: #fff;
    background-color: var(--hp-navy); background-size: cover; background-position: center right;
}
.hp-hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(100deg, rgba(8, 36, 58, .96) 0%, rgba(10, 44, 70, .9) 45%, rgba(18, 93, 143, .72) 100%);
}
.hp-hero .container { position: relative; }
.hp-hero__title { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); font-weight: 800; color: #fff; line-height: 1.1; margin-bottom: 20px; }
.hp-hero__lead { font-size: 1.15rem; color: rgba(255, 255, 255, .88); max-width: 620px; margin-bottom: 28px; }
.hp-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hp-hero__call { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }
.hp-hero__call i { color: var(--hp-gold); }
.hp-hero__call:hover { color: var(--hp-gold); }

.hp-form-card {
    background: #fff; color: var(--hp-ink); border-radius: 16px; padding: 28px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28); scroll-margin-top: 140px;
}
.hp-form-card__title { font-size: 1.5rem; margin-bottom: 4px; }
.hp-form-card__sub { color: var(--hp-muted); font-size: .95rem; margin-bottom: 18px; }
.hp-form-alert { background: #fdecea; color: #a1271b; border-radius: 8px; padding: 10px 12px; font-size: .9rem; margin-bottom: 14px; }

.hp-form .hp-field { margin-bottom: 14px; min-width: 0; }
.hp-form .hp-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp-form label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 5px; color: var(--hp-ink); }
.hp-form input, .hp-form select {
    width: 100%; height: 46px; padding: 0 12px; border: 1px solid #cfd8e1; border-radius: 8px;
    font: inherit; font-size: .95rem; color: var(--hp-ink); background: #fff; outline: none;
}
.hp-form select { appearance: auto; }
.hp-form input:focus, .hp-form select:focus { border-color: var(--hp-blue); box-shadow: 0 0 0 3px rgba(18, 93, 143, .15); }
.hp-form .is-invalid { border-color: #c0392b; }
.hp-form .iti { width: 100%; }
.hp-field__error { display: block; color: #c0392b; font-size: .8rem; margin-top: 4px; }
.hp-form__note { font-size: .8rem; color: var(--hp-muted); text-align: center; margin: 10px 0 0; }
.hp-hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- 2. Trust bar ---------- */

.hp-trust { position: relative; z-index: 2; margin-top: -48px; }
.hp-trust__list {
    display: grid; grid-template-columns: repeat(4, 1fr); background: #fff;
    border-radius: var(--hp-radius); box-shadow: var(--hp-shadow); border: 1px solid var(--hp-line);
}
.hp-trust__list li { display: flex; align-items: center; gap: 14px; padding: 22px 24px; font-size: .98rem; color: var(--hp-muted); }
.hp-trust__list li + li { border-left: 1px solid var(--hp-line); }
.hp-trust__list i { font-size: 1.6rem; color: var(--hp-gold-dark); }
.hp-trust__list strong { display: block; font-size: 1.3rem; color: var(--hp-ink); line-height: 1.2; }

/* ---------- 3. Products ---------- */

.hp-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hp-product {
    display: flex; flex-direction: column; background: #fff; border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius); overflow: hidden; color: var(--hp-ink);
}
.hp-product:hover { border-color: var(--hp-blue); box-shadow: var(--hp-shadow); transform: translateY(-3px); color: var(--hp-ink); }
.hp-product__img { display: block; background: var(--hp-cream); aspect-ratio: 600 / 362; overflow: hidden; }
.hp-product__img img { width: 100%; height: 100%; object-fit: contain; }
.hp-product__name { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 16px; font-weight: 600; font-size: 1rem; }
.hp-product__name i { color: var(--hp-blue); font-size: .85rem; }
.hp-product--all { background: var(--hp-blue); border-color: var(--hp-blue); color: #fff; justify-content: center; }
.hp-product--all:hover { background: var(--hp-blue-dark); color: #fff; }
.hp-product__all-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 24px; }
.hp-product__all-inner i { font-size: 2rem; color: var(--hp-gold); margin-bottom: 4px; }
.hp-product__all-inner strong { font-size: 1.15rem; }
.hp-product__all-inner span { font-size: .9rem; color: rgba(255, 255, 255, .8); }

/* ---------- 4. About ---------- */

.hp-about__media { position: relative; }
.hp-about__media img { width: 100%; border-radius: var(--hp-radius); }
.hp-about__badge {
    position: absolute; left: 20px; bottom: 20px; background: var(--hp-navy); color: #fff;
    border-radius: 10px; padding: 14px 18px; max-width: 250px; box-shadow: var(--hp-shadow);
}
.hp-about__badge strong { display: block; color: var(--hp-gold); font-size: 1.35rem; }
.hp-about__badge span { font-size: .88rem; color: rgba(255, 255, 255, .85); }
.hp-prose p { color: #33434f; margin-bottom: 16px; }
.hp-prose + .hp-btn { margin-top: 8px; }

/* ---------- 5. Partners ---------- */

.hp-partners { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.hp-partners li {
    display: flex; align-items: center; justify-content: center; background: #fff;
    border: 1px solid var(--hp-line); border-radius: 10px; padding: 10px; aspect-ratio: 5 / 2;
}
.hp-partners img { max-height: 100%; width: auto; object-fit: contain; }

/* ---------- 6. Solutions slider ---------- */

.hp-slider-nav { display: flex; gap: 10px; }
.hp-slider-nav__btn {
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hp-line); background: #fff;
    color: var(--hp-blue); cursor: pointer;
}
.hp-slider-nav__btn:hover { background: var(--hp-blue); color: #fff; border-color: var(--hp-blue); }

.hp-solution {
    position: relative; display: block; border-radius: var(--hp-radius); overflow: hidden;
    aspect-ratio: 410 / 520; background: var(--hp-navy); color: #fff;
}
.hp-solution img { position: absolute; inset: 0; width: 100% !important; height: 100%; object-fit: cover; transition: transform .5s; }
.hp-solution::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 28, 45, .95) 0%, rgba(6, 28, 45, .55) 45%, rgba(6, 28, 45, .05) 75%); }
.hp-solution__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px; }
.hp-solution h3 { color: #fff; font-size: 1.2rem; margin-bottom: 8px; }
.hp-solution p { color: rgba(255, 255, 255, .85); font-size: .93rem; margin-bottom: 12px; }
.hp-solution__more { color: var(--hp-gold); font-weight: 600; font-size: .92rem; display: inline-flex; gap: 8px; align-items: center; }
.hp-solution:hover { color: #fff; }
.hp-solution:hover img { transform: scale(1.05); }
.hp-solutions .owl-dots { margin-top: 20px; display: flex; justify-content: center; }
.hp-solutions .owl-dot { background: none; border: 0; padding: 0; }
.hp-solutions .owl-dot span { width: 10px; height: 10px; margin: 4px; background: #c5d2dd; border-radius: 50%; display: block; }
.hp-solutions .owl-dot.active span { background: var(--hp-blue); width: 26px; border-radius: 6px; }

/* ---------- 7. Technologies ---------- */

.hp-tech { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hp-tech__item { border: 1px solid var(--hp-line); border-radius: var(--hp-radius); padding: 24px; background: #fff; }
.hp-tech__item:hover { border-color: rgba(18, 93, 143, .45); box-shadow: var(--hp-shadow); }
.hp-tech__item h3 { font-size: 1.12rem; margin: 16px 0 6px; }
.hp-tech__item p { color: var(--hp-muted); font-size: .95rem; margin: 0; }

/* ---------- 8. Industries ---------- */

.hp-industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hp-industry { background: #fff; border-radius: var(--hp-radius); overflow: hidden; border: 1px solid var(--hp-line); display: flex; flex-direction: column; }
.hp-industry img { width: 100%; aspect-ratio: 700 / 400; object-fit: cover; }
.hp-industry__body { padding: 18px 20px 22px; border-top: 3px solid var(--hp-gold); }
.hp-industry h3 { font-size: 1.15rem; margin-bottom: 6px; }
.hp-industry p { color: var(--hp-muted); font-size: .95rem; margin: 0; }

/* ---------- 9. Blogs ---------- */

.hp-blogs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hp-blog { border: 1px solid var(--hp-line); border-radius: var(--hp-radius); overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.hp-blog__img { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--hp-alt); }
.hp-blog__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hp-blog:hover .hp-blog__img img { transform: scale(1.04); }
.hp-blog__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.hp-blog__date { font-size: .82rem; color: var(--hp-muted); font-weight: 500; margin-bottom: 6px; }
.hp-blog h3 { font-size: 1.12rem; margin-bottom: 8px; }
.hp-blog h3 a { color: var(--hp-ink); }
.hp-blog h3 a:hover { color: var(--hp-blue); }
.hp-blog p { color: var(--hp-muted); font-size: .94rem; margin-bottom: 14px; flex: 1; }

/* ---------- 10. Support band ---------- */

.hp-band { background: var(--hp-blue); padding: 40px 0; background-image: linear-gradient(110deg, var(--hp-blue) 0%, var(--hp-blue-dark) 100%); }
.hp-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.hp-band h2 { color: #fff; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: 6px; }
.hp-band p { color: rgba(255, 255, 255, .85); margin: 0; font-size: 1.05rem; }

/* ---------- 11. Why choose us ---------- */

.hp-reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hp-reason { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--hp-radius); background: #fff; border: 1px solid var(--hp-line); }
.hp-reason h3 { font-size: 1.08rem; margin-bottom: 6px; }
.hp-reason p { color: var(--hp-muted); font-size: .95rem; margin: 0; }

/* ---------- 12. Success stories ---------- */

.hp-cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hp-case { background: #fff; border-radius: var(--hp-radius); padding: 24px; border: 1px solid var(--hp-line); border-top: 4px solid var(--hp-blue); display: flex; flex-direction: column; }
.hp-case__tag { align-self: flex-start; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--hp-gold-dark); background: var(--hp-cream); border-radius: 20px; padding: 4px 10px; margin-bottom: 12px; }
.hp-case h3 { font-size: 1.1rem; margin-bottom: 10px; }
.hp-case h3 a { color: var(--hp-ink); }
.hp-case h3 a:hover { color: var(--hp-blue); }
.hp-case p { color: var(--hp-muted); font-size: .95rem; margin-bottom: 16px; flex: 1; }

.hp-clients { margin-top: 36px; }
.hp-clients__label { text-align: center; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--hp-muted); margin-bottom: 14px; }
.hp-clients__logo { background: #fff; border: 1px solid var(--hp-line); border-radius: 10px; height: 96px; display: flex; align-items: center; justify-content: center; padding: 10px; }
.hp-clients__logo img { max-height: 100%; width: auto !important; max-width: 100%; object-fit: contain; }

/* ---------- 13. Demo CTA ---------- */

.hp-cta { background: var(--hp-navy); color: #fff; padding: 56px 0; }
.hp-cta h2 { color: #fff; font-size: clamp(1.6rem, 1.15rem + 1.5vw, 2.35rem); margin-bottom: 12px; }
.hp-cta p { color: rgba(255, 255, 255, .82); font-size: 1.05rem; margin-bottom: 24px; }
.hp-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hp-contact { display: grid; gap: 14px; }
.hp-contact li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; padding: 16px 18px; color: rgba(255, 255, 255, .9); }
.hp-contact small { display: block; color: var(--hp-gold); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.hp-contact a { color: #fff; }
.hp-contact a:hover { color: var(--hp-gold); }
.hp-contact__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--hp-gold); color: var(--hp-navy); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }

/* ---------- 14. FAQ ---------- */

.hp-faq__head { position: sticky; top: 150px; }
.hp-faq__head p { margin-bottom: 14px; }
.hp-faq__item { border: 1px solid var(--hp-line); border-radius: 10px; margin-bottom: 12px; background: #fff; }
.hp-faq__item[open] { border-color: rgba(18, 93, 143, .4); box-shadow: 0 6px 18px rgba(10, 44, 70, .06); }
.hp-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; }
.hp-faq__item summary::-webkit-details-marker { display: none; }
.hp-faq__item summary h3 { font-size: 1.05rem; margin: 0; font-weight: 600; }
.hp-faq__item summary i { color: var(--hp-blue); transition: transform .2s; }
.hp-faq__item[open] summary i { transform: rotate(45deg); }
.hp-faq__item p { padding: 0 20px 18px; margin: 0; color: #3a4a56; }

/* ---------- Responsive ---------- */

@media (max-width: 1199.98px) {
    .hp-partners { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 991.98px) {
    .hp { --hp-pad: 32px; }
    .hp-hero { padding: 40px 0 80px; }
    .hp-trust__list { grid-template-columns: repeat(2, 1fr); }
    .hp-trust__list li:nth-child(3) { border-left: 0; }
    .hp-trust__list li:nth-child(n+3) { border-top: 1px solid var(--hp-line); }
    .hp-products { grid-template-columns: repeat(3, 1fr); }
    .hp-tech, .hp-industries, .hp-reasons, .hp-cases { grid-template-columns: repeat(2, 1fr); }
    .hp-blogs { grid-template-columns: repeat(2, 1fr); }
    .hp-faq__head { position: static; }
}

@media (max-width: 767.98px) {
    .hp-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hp-product__name { font-size: .9rem; padding: 10px 12px; }
    .hp-partners { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .hp-tech, .hp-industries, .hp-reasons, .hp-cases, .hp-blogs { grid-template-columns: 1fr; }
    .hp-form-card { padding: 22px 18px; }
    .hp-form .hp-field-row { grid-template-columns: 1fr; gap: 0; }
    .hp-trust__list li { padding: 16px; gap: 10px; font-size: .9rem; }
    .hp-trust__list strong { font-size: 1.1rem; }
    .hp-head--split { align-items: flex-start; }
    .hp-slider-nav { display: none; }
    .hp-cta { padding: 40px 0; }
}

/* ---------- 1. Hero slider (solutions and product lines) ---------- */

.hp-slider { position: relative; background: var(--hp-navy); }
.hp-slide { position: relative; min-height: 620px; padding: 80px 0 96px; color: #fff; background-color: var(--hp-navy); background-size: cover; background-position: center right; }
.hp-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8, 36, 58, .9) 0%, rgba(10, 44, 70, .7) 42%, rgba(10, 44, 70, .1) 72%, rgba(10, 44, 70, 0) 100%); }
.hp-slide--product { background-image: radial-gradient(circle at 80% 40%, rgba(18, 93, 143, .55), transparent 55%), linear-gradient(120deg, #08243a 0%, #0c3d61 100%); }
.hp-slide--product::before { background: none; }
.hp-slide .container { position: relative; z-index: 1; }
.hp-slide__row { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.hp-slide__content { max-width: 680px; }
.hp-slide__title { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); font-weight: 800; color: #fff; line-height: 1.15 !important; margin-bottom: 18px !important; }
.hp-slide .hp-hero__lead { margin-bottom: 26px; }
.hp-slide__product { flex: 0 0 440px; background: var(--hp-cream); border-radius: 20px; padding: 26px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); display: block; }
.hp-slide__product img { width: 100%; aspect-ratio: 600 / 362; object-fit: contain; }
.hp-slide__product:hover { transform: translateY(-4px); }

.hp-slider .carousel-indicators { bottom: 24px; margin-bottom: 0; z-index: 3; }
.hp-slider .carousel-indicators [data-bs-target] { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .5); opacity: 1; margin: 0 5px; transition: width .3s, background .3s; }
.hp-slider .carousel-indicators .active { width: 28px; border-radius: 6px; background: var(--hp-gold); }
.hp-slider__ctrl { width: 48px; height: 48px; top: 50%; bottom: auto; transform: translateY(-50%); border-radius: 50%; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3); opacity: 1; color: #fff; margin: 0 18px; z-index: 3; }
.hp-slider__ctrl:hover { background: var(--hp-gold); color: var(--hp-navy); }

@media (max-width: 1199.98px) {
    .hp-slide__product { flex-basis: 360px; }
}
@media (max-width: 991.98px) {
    .hp-slide { min-height: 0; padding: 40px 0 64px; }
    .hp-slide__row { flex-direction: column; align-items: flex-start; gap: 24px; }
    .hp-slide__product { flex-basis: auto; width: 100%; max-width: 420px; padding: 16px; }
    .hp-slider__ctrl { display: none; }
}
@media (max-width: 575.98px) {
    .hp-slide .hp-hero__actions .hp-btn { flex: 1 1 100%; }
    /* Keeps every slide the same height on phones, so the page does not jump as slides change */
    .hp-slide__product { display: none; }
}

/* A form card inside a dark section keeps its own dark text (the section's white h2/p rules must not reach it) */
.hp-cta .hp-form-card h2, .hp-band .hp-form-card h2 { color: var(--hp-ink); font-size: 1.5rem; margin-bottom: 4px; }
.hp-cta .hp-form-card p, .hp-band .hp-form-card p { color: var(--hp-muted); font-size: .95rem; }
.hp-cta .hp-form-card .hp-form-card__sub { margin-bottom: 18px; }
.hp-cta .hp-form-card .hp-form__note { font-size: .8rem; margin: 10px 0 0; }

.hp-form .hp-file { height: auto; padding: 9px 10px; font-size: .88rem; background: #f8fafc; border-style: dashed; cursor: pointer; }
.hp-form .hp-file::file-selector-button { border: 0; background: var(--hp-blue); color: #fff; border-radius: 6px; padding: 6px 12px; margin-right: 10px; cursor: pointer; font: inherit; font-size: .85rem; }

/* Folded optional fields (repair form) */
.hp-form .hp-more { margin: 2px 0 14px; border: 1px dashed #cfd8e1; border-radius: 8px; background: #f8fafc; }
.hp-form .hp-more summary { list-style: none; cursor: pointer; padding: 10px 12px; font-size: .88rem; font-weight: 600; color: var(--hp-blue); display: flex; align-items: center; gap: 8px; }
.hp-form .hp-more summary::-webkit-details-marker { display: none; }
.hp-form .hp-more summary i { font-size: .75rem; transition: transform .2s; }
.hp-form .hp-more[open] summary i { transform: rotate(45deg); }
.hp-form .hp-more[open] { padding: 0 12px 2px; background: #fff; }
.hp-form .hp-more[open] summary { padding-left: 0; padding-right: 0; }

/* Category images are background-free cut-outs (upload/master-category/clean); every card shows them
   on the same soft neutral backdrop with a light shadow under the product. */
.hp-product__img { background: radial-gradient(ellipse at 50% 40%, #ffffff 0%, #eef2f6 75%); padding: 16px 20px 12px; }
.hp-product__img img { object-fit: contain; filter: drop-shadow(0 10px 12px rgba(10, 44, 70, .16)); transition: transform .35s ease; }
.hp-product:hover .hp-product__img img { transform: scale(1.04); }
.hp-slide__product { background: radial-gradient(ellipse at 50% 40%, #ffffff 0%, #e8eef4 80%); }
.hp-slide__product img { filter: drop-shadow(0 14px 16px rgba(10, 44, 70, .22)); }

/* Product slides: three real models on a showroom panel, plus brand links (2026-09-30) */
.hp .hp-slide--product {
    background-color: #0a2c46;
    background-image:
        radial-gradient(circle at 78% 45%, rgba(58, 144, 204, .45), transparent 42%),
        radial-gradient(circle at 96% 100%, rgba(229, 187, 25, .22), transparent 30%),
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(120deg, #08243a 0%, #0c3d61 100%);
    background-size: auto, auto, 44px 44px, 44px 44px, auto;
}
.hp-slide__brands { margin: 22px 0 0; color: rgba(255, 255, 255, .75); font-size: .92rem; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hp-slide__brands a { color: #fff; font-weight: 600; text-decoration: none; padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 18px; }
.hp-slide__brands a:hover { border-color: var(--hp-gold); color: var(--hp-gold); }

.hp-showcase { flex: 0 0 540px; height: 430px; display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; }
.hp-showcase__item { position: relative; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: transform .3s ease; }
.hp-showcase__item--main { grid-row: 1 / span 2; }
.hp-showcase__item:hover { transform: translateY(-6px); }
/* Cut-out product photos (transparent WebP) sit straight on the slide, grounded by a soft shadow */
.hp-showcase__item img { width: 100%; height: 100%; min-height: 0; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45)); transition: filter .3s ease; }
.hp-showcase__item:hover img { filter: drop-shadow(0 24px 30px rgba(0, 0, 0, .55)); }
@media (max-width: 1199.98px) { .hp-showcase { flex-basis: 440px; } }
@media (max-width: 991.98px) {
    .hp-showcase { flex-basis: auto; width: 100%; max-width: 520px; height: 300px; }
}
@media (max-width: 575.98px) { .hp-showcase { display: none; } }

/* Lead form requirement box: lives here, not in solution.css, because every page with the
   shared lead form loads home.css (the calculator and category/brand pages do not load solution.css). */
.hp-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #cfd8e1; border-radius: 8px; font: inherit; font-size: .95rem; resize: vertical; outline: none; background: #fff; color: var(--hp-ink); }
.hp-form textarea:focus { border-color: var(--hp-blue); box-shadow: 0 0 0 3px rgba(18, 93, 143, .15); }
