:root {
    --bg: #f4f7f9;
    --surface: #ffffff;
    --surface-soft: #f7fbfd;
    --surface-alt: #eaf3f8;
    --primary: #a7d9f2;
    --primary-strong: #7fc4e8;
    --primary-deep: #4f8fb3;
    --ink: #1b2a37;
    --ink-soft: #4f6575;
    --border: rgba(79, 143, 179, 0.18);
    --border-strong: rgba(79, 143, 179, 0.28);
    --shadow-soft: 0 16px 34px rgba(27, 42, 55, 0.07);
    --shadow-panel: 0 22px 42px rgba(27, 42, 55, 0.08);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #ffffff 0%, #f6fafc 100%);
}

a { text-decoration: none; }
img { max-width: 100%; display: block; }
.text-secondary { color: var(--ink-soft) !important; }
.bg-light-subtle { background: #f2f7fa !important; }

.site-navbar {
    background: rgba(167, 217, 242, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(79, 143, 179, 0.16);
    padding: .85rem 0;
    box-shadow: 0 12px 30px rgba(79, 143, 179, 0.10);
}
.site-navbar .navbar-brand {
    padding: 0;
    display: flex;
    align-items: center;
}
.site-logo {
    height: 60px;
    width: auto;
    max-width: min(280px, 48vw);
    object-fit: contain;
}
.site-navbar .nav-link {
    color: var(--ink);
    font-weight: 600;
    padding: .55rem .85rem !important;
    border-radius: var(--radius-sm);
    transition: .2s ease;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--ink);
    background: rgba(255,255,255,.52);
}
.site-navbar .navbar-toggler {
    border: 1px solid rgba(79, 143, 179, 0.30);
    border-radius: var(--radius-sm);
    padding: .45rem .6rem;
    background: rgba(255,255,255,.45);
    box-shadow: none;
}
.site-navbar .navbar-toggler:focus { box-shadow: none; }
.site-navbar .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2827,42,55,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hero-section {
    padding: 5.2rem 0 4rem;
    background:
        linear-gradient(135deg, rgba(167, 217, 242, 0.20) 0%, rgba(255,255,255,0.96) 42%, rgba(234,243,248,0.85) 100%);
}
.hero-home h1 {
    font-size: clamp(2.5rem, 4.6vw, 4.25rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin-top: 1rem;
    margin-bottom: 1rem;
}
.hero-copy {
    font-size: 1.08rem;
    line-height: 1.75;
    color: var(--ink-soft);
    max-width: 620px;
}
.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: 1.35rem;
}
.hero-points span,
.badge-soft,
.section-eyebrow,
.footer-kicker,
.admin-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: .35rem .8rem;
    border-radius: 999px;
    background: rgba(79, 143, 179, 0.10);
    color: var(--primary-deep);
    font-size: .79rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.hero-visual {
    position: relative;
    min-height: 530px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-panel);
    border: 1px solid rgba(79, 143, 179, 0.12);
}
.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(27,42,55,0.04) 0%, rgba(27,42,55,0.26) 100%);
}
.hero-visual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-visual-card {
    position: absolute;
    left: 1.4rem;
    right: 1.4rem;
    bottom: 1.4rem;
    z-index: 2;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(79, 143, 179, 0.15);
    box-shadow: 0 18px 34px rgba(27,42,55,0.12);
    padding: 1.15rem 1.2rem;
    border-radius: var(--radius-md);
}
.hero-visual-kicker {
    display: block;
    font-weight: 800;
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary-deep);
    margin-bottom: .55rem;
}

.page-banner {
    padding: 4.6rem 0 2.4rem;
    background: linear-gradient(180deg, rgba(167,217,242,.16) 0%, rgba(255,255,255,.94) 100%);
}
.small-banner { padding-bottom: 1.5rem; }
.catalog-banner { padding-bottom: 2rem; }
.section-heading h2,
.page-banner h1,
.section-title {
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: .8rem;
}
.section-heading p,
.page-banner p {
    color: var(--ink-soft);
    max-width: 760px;
    line-height: 1.75;
}

.brand-note,
.feature-panel,
.image-card,
.product-card,
.admin-login-card,
.admin-stat-card,
.admin-info-card,
.admin-actions-panel,
.admin-hero-card,
.soft-card,
.catalog-filter-panel,
.cta-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
    border-radius: var(--radius-md);
}
.brand-note,
.feature-panel,
.admin-login-card,
.catalog-filter-panel,
.soft-card { padding: 1.5rem; }
.brand-intro-section .section-heading { max-width: 780px; }
.compact-note { padding: 1.1rem 1.2rem; }
.feature-panel h3,
.soft-card h3 { font-size: 1.16rem; margin-bottom: .75rem; }
.feature-panel p,
.soft-card p,
.contact-card p { color: var(--ink-soft); line-height: 1.7; }
.square-card,
.image-card { padding: .7rem; overflow: hidden; }
.image-fit-cover { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--radius-md) - 2px); }

.latest-products-section { background: linear-gradient(180deg, #f8fbfd 0%, #eef5f9 100%); }
.products-preview-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: .15rem 0 .75rem;
    scrollbar-width: thin;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pinch-zoom;
    scroll-snap-type: x proximity;
    overscroll-behavior-x: contain;
}
.products-preview-scroll::-webkit-scrollbar { height: 8px; }
.products-preview-scroll::-webkit-scrollbar-thumb {
    background: rgba(79, 143, 179, 0.25);
    border-radius: 999px;
}
.product-preview-item { min-width: 300px; max-width: 300px; flex: 0 0 auto; scroll-snap-align: start; }
.product-card {
    height: 100%;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover,
.feature-panel:hover,
.category-box:hover,
.admin-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 36px rgba(27, 42, 55, 0.10);
    border-color: var(--border-strong);
}
.product-image-wrap {
    position: relative;
    display: block;
    width: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--surface-alt);
}
.product-image-wrap img,
.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-category {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: .28rem .72rem;
    border-radius: 999px;
    background: rgba(79, 143, 179, 0.10);
    color: var(--primary-deep);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .02em;
    margin-bottom: .95rem;
}
.product-card h2,
.product-card h3 { font-size: 1.2rem; line-height: 1.3; margin-bottom: .75rem; }
.product-card p { color: var(--ink-soft); line-height: 1.7; }
.product-card-catalog .product-image-wrap { cursor: zoom-in; }
.zoom-label {
    position: absolute;
    left: .9rem;
    bottom: .9rem;
    padding: .4rem .7rem;
    border-radius: 999px;
    background: rgba(27,42,55,.78);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .02em;
}

.categories-section { background: #fff; }
.category-box {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    min-height: 118px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
    font-weight: 700;
    color: var(--ink);
    box-shadow: 0 12px 22px rgba(27, 42, 55, 0.05);
    transition: .2s ease;
}

.catalog-filter-panel {
    padding: 1.4rem;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfd 100%);
}
.search-box .form-control,
.form-control,
.form-select {
    min-height: 52px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(79, 143, 179, 0.20);
    color: var(--ink);
}
.form-control:focus,
.form-select:focus {
    border-color: rgba(79, 143, 179, 0.45);
    box-shadow: 0 0 0 .18rem rgba(167, 217, 242, 0.28);
}
textarea.form-control { min-height: 150px; }
.form-label { font-weight: 600; color: var(--ink); }

.btn {
    border-radius: 0;
    font-weight: 400;
    padding: .8rem .4rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.75rem;
    background: transparent;
    border: none;
    position: relative;
    transition: color .2s ease;
}
.btn::after {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    bottom: 2px;
    height: 1px;
    background: currentColor;
    transition: left .3s ease, right .3s ease;
}
.btn:hover::after,
.btn:focus::after {
    left: .4rem;
    right: .4rem;
}
.btn-primary {
    color: var(--ink);
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    color: var(--ink) !important;
    background: transparent !important;
}
.btn-outline-dark {
    color: var(--ink);
}
.btn-outline-dark:hover,
.btn-outline-dark:focus {
    color: var(--ink);
    background: transparent;
}
.btn-dark {
    color: var(--ink);
    background: transparent;
}
.btn-dark:hover,
.btn-dark:focus {
    color: var(--ink);
    background: transparent;
}

.pagination .page-link {
    color: var(--ink);
    border-radius: var(--radius-sm);
    margin: 0 .15rem;
    border-color: rgba(79, 143, 179, .18);
}
.pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: rgba(79, 143, 179, 0.28);
    color: var(--ink);
}

.cta-panel {
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    background: linear-gradient(135deg, rgba(167,217,242,.18), rgba(255,255,255,.96));
}
.styled-list { padding-left: 1.15rem; }
.styled-list li { margin-bottom: .7rem; color: var(--ink-soft); line-height: 1.65; }

.site-footer {
    background: linear-gradient(180deg, #d8edf8 0%, #c4e4f5 100%);
    border-top: 1px solid rgba(79, 143, 179, 0.16);
    color: var(--ink);
}
.site-footer h5,
.site-footer h6 { color: var(--ink); }
.site-footer p { color: var(--ink-soft); line-height: 1.7; }
.footer-links a { color: var(--ink); font-weight: 600; }
.footer-links a:hover { color: var(--primary-deep); }

.product-preview-text {
    min-height: 3.4rem;
}
.product-read-more {
    font-size: .86rem;
    font-weight: 700;
    color: var(--primary-deep);
    text-decoration: none;
}
.product-read-more:hover,
.product-read-more:focus {
    color: var(--ink);
    text-decoration: underline;
}
.company-banner {
    padding: 4rem 0 2.2rem;
}
.company-intro-section,
.company-sections,
.company-details-section {
    position: relative;
    background: linear-gradient(180deg, #f8fbfd 0%, #f3f8fb 100%);
}
.clean-panel {
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(27, 42, 55, 0.05);
}
.company-facts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
}
.company-compact-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 1rem;
}
.company-compact-stack {
    display: grid;
    gap: 1rem;
}
.company-mini-card {
    padding: 1.1rem 1.15rem;
}
.company-mini-card h3 {
    font-size: 1rem;
    margin-bottom: .45rem;
}
.company-mini-card p {
    margin-bottom: 0;
}
.company-intro-section > .container,
.company-sections > .container,
.company-details-section > .container {
    position: relative;
    z-index: 1;
}
.company-map-wrap {
    border: 1px solid var(--border);
    background: #fff;
    overflow: hidden;
    min-height: 280px;
}
.company-map-wrap iframe {
    width: 100%;
    min-height: 280px;
    border: 0;
    display: block;
}
.company-tight-text p {
    margin-bottom: .75rem;
}
.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}
.product-lightbox.is-open { display: flex; }
.product-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 21, 31, 0.74);
}
.product-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 2.5rem));
    margin: auto;
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: 0 24px 60px rgba(0,0,0,.24);
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, .75fr);
    align-items: stretch;
    max-height: min(82vh, 760px);
}
.product-lightbox-dialog.no-media {
    width: min(760px, calc(100% - 2.5rem));
    grid-template-columns: minmax(0, 1fr);
    max-height: none;
}
.product-lightbox-media {
    background: #edf4f8;
    min-height: 420px;
}
.product-lightbox-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-lightbox-dialog.no-media .product-lightbox-media {
    display: none;
}
.product-lightbox-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.product-lightbox-dialog.no-media .product-lightbox-content {
    min-height: 360px;
}
.product-lightbox-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.1;
    margin-bottom: 1rem;
}
.product-lightbox-content p {
    color: var(--ink-soft);
    line-height: 1.8;
    font-size: .94rem;
}
.product-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(27,42,55,.86);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    z-index: 2;
}

[data-animate] {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .6s ease, transform .6s ease;
}
.js-animations [data-animate] {
    opacity: 0;
    transform: translateY(24px);
}
.js-animations [data-animate].show {
    opacity: 1;
    transform: translateY(0);
}

.admin-login-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #eef5f9, #f8fbfd);
    padding: 1.5rem;
}
.admin-login-card {
    width: min(100%, 460px);
    padding: 2rem;
}
.admin-body { background: #f2f7fa; }
.admin-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}
.admin-sidebar {
    background: linear-gradient(180deg, #d8edf8 0%, #c4e4f5 100%);
    color: var(--ink);
    padding: 2rem 1.25rem;
    position: sticky;
    top: 0;
    height: 100vh;
    border-right: 1px solid rgba(79, 143, 179, 0.14);
}
.admin-brand {
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 800;
}
.admin-link {
    color: rgba(27,42,55,.82);
    padding: .85rem 1rem;
    border-radius: var(--radius-sm);
    transition: .2s ease;
}
.admin-link:hover { background: rgba(255,255,255,.66); color: var(--ink); }
.admin-content { padding: 2rem; }
.admin-tile {
    display: block;
    padding: 1.5rem;
    color: var(--ink);
    height: 100%;
}
.admin-thumb { width: 72px; height: 56px; object-fit: cover; border-radius: var(--radius-sm); }
.admin-thumb-large { width: 160px; height: 120px; object-fit: cover; border-radius: var(--radius-md); }
.form-shell { max-width: 920px; }
.table > :not(caption) > * > * { padding: 1rem .8rem; }

.admin-hero-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.8rem;
    background: linear-gradient(135deg, rgba(167,217,242,0.30), rgba(255,255,255,0.95));
}
.admin-hero-card h1 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
}
.admin-hero-card p { max-width: 760px; color: var(--ink-soft); }
.admin-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.admin-stat-card,
.admin-info-card,
.admin-actions-panel {
    padding: 1.45rem;
}
.admin-stat-card strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
    margin: .6rem 0 .5rem;
}
.admin-stat-label {
    color: var(--primary-deep);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: .78rem;
}
.admin-info-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.admin-card-icon {
    min-width: 54px;
    height: 54px;
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    background: rgba(167,217,242,.35);
    color: var(--ink);
    font-weight: 800;
}
.admin-big-value {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: .45rem;
}
.admin-actions-panel h2,
.admin-info-card h2 { font-size: 1.2rem; }
.admin-action-btn {
    display: block;
    width: 100%;
    padding: .95rem 1rem;
    border-radius: var(--radius-sm);
    background: #203445;
    color: #fff;
    font-weight: 700;
    text-align: center;
}
.admin-action-btn:hover { background: #162736; color: #fff; }
.admin-help-note { color: var(--ink-soft); line-height: 1.7; margin-top: 1rem; }
.category-chip-wrap { display: flex; flex-wrap: wrap; gap: .7rem; }
.category-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: .55rem .95rem;
    border-radius: 999px;
    border: 1px solid rgba(79, 143, 179, .22);
    color: var(--ink);
    background: #fff;
    font-weight: 600;
}
.category-chip.active,
.category-chip.static {
    background: rgba(167, 217, 242, 0.22);
    border-color: rgba(79, 143, 179, 0.30);
    color: var(--ink);
}

@media (max-width: 991px) {
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar { position: relative; height: auto; }
    .site-navbar { padding: .55rem 0; }
    .site-logo { height: 44px; max-width: 220px; }
    .site-navbar .container {
        position: relative;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .site-navbar .navbar-brand {
        max-width: calc(100% - 52px);
        margin-right: 0;
    }
    .site-navbar .navbar-toggler { padding: .32rem .45rem; }
    .site-navbar .navbar-collapse {
        position: absolute;
        top: calc(100% + .45rem);
        left: 1rem;
        right: 1rem;
        margin-top: 0;
        padding: .55rem;
        background: rgba(237, 247, 252, 0.98);
        border: 1px solid rgba(79, 143, 179, 0.16);
        border-radius: var(--radius-md);
        box-shadow: 0 16px 32px rgba(27, 42, 55, 0.12);
    }
    .site-navbar .nav-link { padding: .7rem .8rem !important; }
    .hero-section { padding-top: 1.8rem; padding-bottom: 1.8rem; }
    .hero-home h1 { font-size: 2rem; }
    .hero-visual { min-height: 360px; }
    .cta-panel,
    .admin-hero-card,
    .product-lightbox-dialog {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
    .product-lightbox-dialog {
        width: min(100%, calc(100% - .5rem));
        margin: 0;
        min-height: auto;
        max-height: calc(100vh - 1rem);
    }
    .product-lightbox-media { min-height: 320px; }
}

@media (max-width: 767px) {
    .hero-home h1 { font-size: 1.7rem; }
    .hero-copy { font-size: .96rem; }
    .hero-points { gap: .45rem; }
    .hero-points span { font-size: .72rem; }
    .product-preview-item { min-width: 78vw; max-width: 78vw; }
    .section-heading h2, .page-banner h1, .section-title { font-size: 1.65rem; }
    .feature-panel, .brand-note, .soft-card, .catalog-filter-panel { padding: 1.2rem; }
    .admin-content { padding: 1rem; }
    .admin-info-card { flex-direction: column; }
    .product-lightbox-content { padding: 1.35rem; }
}

@media (max-width: 575px) {
    .site-navbar { padding: .44rem 0; }
    .site-logo { height: 36px; max-width: 180px; }
    .site-navbar .container {
        padding-left: .85rem;
        padding-right: .85rem;
    }
    .site-navbar .navbar-collapse {
        left: .85rem;
        right: .85rem;
        padding: .45rem;
    }
    .hero-section { padding-top: 1.25rem; padding-bottom: 1.3rem; }
    .hero-home h1 { font-size: 1.46rem; }
    .hero-visual { min-height: 280px; }
    .hero-visual-card { left: .85rem; right: .85rem; bottom: .85rem; padding: .9rem; }
    .hero-visual-card p { font-size: .9rem; }
    .product-preview-item { min-width: 84vw; max-width: 84vw; }
    .category-box { min-height: 92px; font-size: .86rem; }
    .cta-panel { padding: 1.3rem; }
    .product-lightbox-media { min-height: 240px; }
    .product-lightbox-close { top: .7rem; right: .7rem; }
}

@media (max-width: 991px) {
    .company-facts-grid { grid-template-columns: 1fr; }
}

.hero-home-media,
.hero-home-image {
    width: 100%;
    height: 100%;
}
.hero-home-media {
    position: absolute;
    inset: 0;
}
.hero-home-image {
    object-fit: cover;
    object-position: center;
    display: block;
}
.hero-home-overlay {
    position: relative;
    z-index: 1;
    max-width: 620px;
    min-height: 580px;
    padding: 3.5rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(90deg, rgba(10, 32, 52, 0.92) 0%, rgba(10, 32, 52, 0.78) 45%, rgba(10, 32, 52, 0.08) 100%);
    color: #fff;
}
.hero-home-alt .section-eyebrow,
.hero-home-alt h1,
.hero-home-alt .hero-copy,
.hero-home-alt .hero-points span { color: #fff; }
.hero-home-alt h1 {
    font-size: clamp(2.6rem, 5vw, 4.6rem);
    line-height: .96;
    margin-bottom: 1.15rem;
    max-width: 11ch;
}
.hero-home-alt .hero-copy {
    max-width: 56ch;
    font-size: 1.06rem;
    line-height: 1.8;
    opacity: .96;
}
.hero-home-alt .hero-points {
    margin-top: 1rem;
    gap: .65rem;
}
.hero-home-alt .hero-points span {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.16);
}
.hero-home-alt .btn-outline-dark {
    background: rgba(255,255,255,.92);
    color: #183247;
    border-color: rgba(255,255,255,.92);
}
.hero-home-alt .btn-outline-dark:hover,
.hero-home-alt .btn-outline-dark:focus {
    background: #fff;
    color: #102436;
    border-color: #fff;
}
@media (max-width: 991.98px) {
    .hero-home-alt { padding-top: 1rem; }
    .hero-home-panel,
    .hero-home-overlay { min-height: 500px; }
    .hero-home-overlay {
        max-width: 100%;
        padding: 2.5rem 2rem;
        background: linear-gradient(180deg, rgba(10, 32, 52, 0.78) 0%, rgba(10, 32, 52, 0.72) 45%, rgba(10, 32, 52, 0.86) 100%);
    }
    .hero-home-alt h1 { max-width: 100%; }
}
@media (max-width: 575.98px) {
    .hero-home-panel,
    .hero-home-overlay { min-height: 430px; }
    .hero-home-overlay { padding: 2rem 1.25rem; }
    .hero-home-alt h1 { font-size: 2.1rem; }
    .hero-home-alt .hero-copy { font-size: .98rem; line-height: 1.65; }
}

/* Altomano visual refinement */
.hero-home-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 36, 56, 0.78) 0%, rgba(17, 36, 56, 0.52) 36%, rgba(17, 36, 56, 0.18) 68%, rgba(17, 36, 56, 0.12) 100%),
        linear-gradient(180deg, rgba(167, 217, 242, 0.10) 0%, rgba(8, 20, 34, 0.08) 100%);
    z-index: 0;
    pointer-events: none;
}
.hero-home-media::before,
.company-banner-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(167, 217, 242, 0.14), rgba(79, 143, 179, 0.18));
    mix-blend-mode: multiply;
    pointer-events: none;
}
.hero-home-image {
    filter: saturate(0.78) contrast(0.95) brightness(0.82);
}
.hero-home-overlay { z-index: 1; }
.company-banner {
    position: relative;
    overflow: hidden;
    padding: 5.2rem 0 3.2rem;
    background: linear-gradient(180deg, rgba(247, 251, 253, 0.60) 0%, rgba(244, 247, 249, 0.82) 100%);
}
.company-banner-media {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero-filati-azienda.png');
    background-size: cover;
    background-position: center;
    filter: saturate(0.62) contrast(0.92) brightness(0.72);
}
.company-banner .container { position: relative; z-index: 1; }
.company-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(245, 249, 251, 0.88) 0%, rgba(245, 249, 251, 0.74) 40%, rgba(245, 249, 251, 0.58) 100%);
}
.product-image-wrap.no-image {
    background: transparent;
    border-bottom: 1px solid rgba(79, 143, 179, 0.10);
}
.product-image-wrap.no-image::before,
.product-image-wrap.no-image::after,
.product-card .product-image-wrap.no-image img,
.product-card .product-image-wrap.no-image .zoom-label {
    display: none !important;
}
.product-card .product-image-wrap.no-image {
    aspect-ratio: auto;
    min-height: 0;
    height: 0;
    overflow: hidden;
}
.product-lightbox-media[style*="display: none"] + .product-lightbox-content,
.product-lightbox-dialog:has(.product-lightbox-media[style*="display: none"]) {
    grid-template-columns: 1fr;
}
@media (max-width: 991.98px) {
    .company-banner { padding: 3.5rem 0 2.1rem; }
    .company-compact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
    .company-facts-grid { grid-template-columns: 1fr; }
}

.product-card-catalog {
    border-radius: 8px;
}
.product-card-catalog .product-image-wrap {
    aspect-ratio: 4 / 3;
    background: #eef4f7;
}
.product-card-catalog .product-image-wrap.no-image {
    min-height: 250px;
    background: #eef4f7;
}
.product-card-catalog .product-image-wrap.no-image .zoom-label {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
}
.product-card-body-compact {
    padding: .95rem 1rem 1.05rem;
    min-height: 140px;
}
.product-card-body-compact .product-category {
    margin-bottom: .55rem;
}
.product-card-body-compact h2 {
    font-size: 1rem;
    line-height: 1.25;
}
.product-preview-text.compact {
    font-size: .93rem;
    line-height: 1.45;
    color: var(--ink-soft);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-read-more {
    color: var(--primary-deep);
    font-size: .9rem;
    font-weight: 600;
}
.product-read-more:hover {
    color: var(--ink);
}
@media (max-width: 767.98px) {
    .product-card-body-compact {
        padding: .85rem .9rem .95rem;
        min-height: 126px;
    }
    }

/* Home latest products: match catalog behavior when images are missing */
.latest-products-section .product-card {
    border-radius: 8px;
}
.latest-products-section .product-image-wrap {
    aspect-ratio: 4 / 3;
    background: #eef4f7;
}
.latest-products-section .product-card-body-compact {
    padding: .95rem 1rem 1.05rem;
    min-height: 140px;
}
.latest-products-section .product-preview-text {
    font-size: .93rem;
    line-height: 1.45;
    color: var(--ink-soft);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .product-lightbox-dialog,
    .product-lightbox-dialog.no-media {
        width: min(100%, calc(100% - 1.5rem));
        grid-template-columns: 1fr;
        max-height: calc(100vh - 1.5rem);
    }

    .product-lightbox-media {
        min-height: 260px;
        max-height: 34vh;
    }

    .product-lightbox-content,
    .product-lightbox-dialog.no-media .product-lightbox-content {
        min-height: 0;
        padding: 1.35rem;
    }
}

.hero-home-overlay h1,
.hero-home-overlay .hero-copy { color: #fff; }
.hero-home-overlay .section-eyebrow,
.hero-home-overlay .hero-points span {
    background: rgba(255,255,255,.14);
    color: #fff;
    backdrop-filter: blur(4px);
}
.hero-home-overlay .btn-outline-dark {
    color: #fff;
    border-color: rgba(255,255,255,.72);
}
.hero-home-overlay .btn-outline-dark:hover,
.hero-home-overlay .btn-outline-dark:focus {
    color: #16212c;
    background: #fff;
    border-color: #fff;
}
.brand-intro-simplified { padding-top: 2.2rem !important; padding-bottom: 3rem !important; }
.brand-intro-main,
.brand-intro-side,
.intro-mini-card {
    background: #fff;
    border: 1px solid rgba(79, 143, 179, 0.14);
    box-shadow: 0 14px 28px rgba(27, 42, 55, 0.06);
    border-radius: 18px;
}
.brand-intro-main { padding: 2rem; }
.brand-intro-main h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.12; margin: .9rem 0 1rem; }
.brand-intro-main p { margin: 0; color: var(--ink-soft); line-height: 1.8; }
.brand-intro-side {
    padding: 1rem;
    display: grid;
    gap: 1rem;
}
.intro-mini-card { padding: 1.15rem 1.2rem; }
.intro-mini-card h3 { font-size: 1.05rem; margin-bottom: .45rem; }
.intro-mini-card p { margin: 0; color: var(--ink-soft); line-height: 1.65; font-size: .96rem; }
.products-preview-scroll.is-autoplaying { scroll-behavior: smooth; }
@media (max-width: 991.98px) {
    .hero-home-alt .hero-home-panel,
    .hero-home-alt .hero-home-overlay { min-height: 520px; }
    .hero-home-alt .hero-home-panel::after {
        background: linear-gradient(180deg, rgba(17,29,38,0.54) 0%, rgba(17,29,38,0.52) 38%, rgba(17,29,38,0.2) 100%);
    }
    .brand-intro-main { padding: 1.5rem; }
}
@media (max-width: 575.98px) {
    .hero-home-alt .hero-home-panel,
    .hero-home-alt .hero-home-overlay { min-height: 470px; }
    .hero-home-overlay { padding: 1.5rem 0 2rem; }
    .hero-home-overlay h1 { font-size: clamp(2rem, 8vw, 2.6rem); }
    .brand-intro-simplified { padding-top: 2.5rem !important; }
}

.hero-home-alt {
    padding: 1.1rem 0 0;
    position: relative;
}
.hero-home-alt .container.hero-home-container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.hero-home-alt .hero-home-panel {
    position: relative;
    min-height: clamp(520px, 74vh, 760px);
    overflow: hidden;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    background: #102436;
}
.hero-home-alt .hero-home-media,
.hero-home-alt .hero-home-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.hero-home-alt .hero-home-image {
    object-fit: cover;
    object-position: center center;
    transform: none;
    filter: saturate(0.96) contrast(0.98) brightness(0.88);
}
.hero-home-alt .hero-home-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(17, 53, 84, 0.34);
    z-index: 1;
    pointer-events: none;
}
.hero-home-alt .hero-home-panel::after {
    content: none;
}
.hero-home-overlay {
    position: relative;
    z-index: 2;
    min-height: clamp(520px, 74vh, 760px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 860px;
    padding: clamp(2rem, 4vw, 4rem) clamp(1rem, 4.5vw, 4.5rem);
}
.hero-home-overlay h1,
.hero-home-overlay .hero-copy { color: #fff; }
.hero-home-overlay .section-eyebrow,
.hero-home-overlay .hero-points span {
    background: rgba(255,255,255,.14);
    color: #fff;
    backdrop-filter: blur(4px);
}
.hero-home-overlay .btn-outline-dark {
    color: #fff;
    border-color: rgba(255,255,255,.78);
    background: rgba(255,255,255,.06);
}
.hero-home-overlay .btn-outline-dark:hover,
.hero-home-overlay .btn-outline-dark:focus {
    color: #16212c;
    background: #fff;
    border-color: #fff;
}
.brand-intro-simplified { padding-top: 1.4rem !important; padding-bottom: 3rem !important; }
@media (max-width: 991.98px) {
    .hero-home-alt { padding-top: .5rem; }
    .hero-home-alt .hero-home-panel,
    .hero-home-alt .hero-home-overlay { min-height: 500px; }
}
@media (max-width: 575.98px) {
    .hero-home-alt .hero-home-panel,
    .hero-home-alt .hero-home-overlay { min-height: 440px; }
    .hero-home-overlay { padding: 1.5rem 1rem 2rem; }
    .hero-home-overlay h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
}

.hero-home-overlay-centered {
    margin: 0 auto;
    align-items: center;
    text-align: center;
    max-width: 980px;
}
.hero-home-overlay-centered .hero-copy {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.hero-home-overlay-centered .section-eyebrow {
    margin-left: auto;
    margin-right: auto;
}
.hero-home-overlay-centered .hero-points {
    justify-content: center;
}
.product-card-home-compact .product-card-body-compact {
    padding: .8rem .9rem .9rem;
    min-height: 122px;
}
.product-card-home-compact .product-category {
    margin-bottom: .45rem;
}
.product-card-home-compact h3 {
    font-size: 1rem;
    line-height: 1.25;
}
@media (max-width: 767.98px) {
    .products-preview-scroll {
        overflow-x: auto;
        touch-action: pan-x pinch-zoom;
        scroll-behavior: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }
    .product-card-home-compact .product-card-body-compact {
        padding: .8rem .85rem .9rem;
        min-height: 118px;
    }
    .hero-home-overlay-centered {
        max-width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Final home hero fix: remove all gradients and keep only a blue opaque veil */
.hero-home-alt .hero-home-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(17, 53, 84, 0.42) !important;
    z-index: 1;
    pointer-events: none;
}
.hero-home-alt .hero-home-panel::after,
.hero-home-alt .hero-home-media::before,
.hero-home-alt .hero-home-overlay {
    background: none !important;
}
.hero-home-alt .hero-home-panel::after,
.hero-home-alt .hero-home-media::before {
    content: none !important;
}
.hero-home-alt .hero-home-overlay {
    position: relative;
    z-index: 2;
}
@media (max-width: 991.98px) {
    .hero-home-alt .hero-home-overlay {
        background: none !important;
    }
}

/* Home hero and catalog cards refinements */
.hero-home-overlay-centered h1 {
    max-width: 17ch;
    margin-left: auto;
    margin-right: auto;
}
.hero-home-overlay-centered .hero-copy {
    max-width: 860px;
}
.hero-home-overlay-centered .hero-points {
    margin-top: 1.25rem;
}

.intro-mini-card h3 {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: .28rem .72rem;
    border-radius: 999px;
    background: rgba(79, 143, 179, 0.10);
    color: var(--primary-deep);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .02em;
    margin-bottom: .8rem;
}

.product-card-catalog .product-image-wrap {
    aspect-ratio: auto;
    height: 250px;
}
.product-card-catalog .product-image,
.product-card-catalog .product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}
@media (max-width: 767.98px) {
    .product-card-catalog .product-image-wrap {
        height: 220px;
    }
    .hero-home-overlay-centered h1 {
        max-width: 12ch;
    }
}

.hero-home-overlay h1 {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.08em;
    line-height: 0.98;
}
.hero-home-overlay h1 span {
    display: block;
    white-space: nowrap;
}
.intro-mini-card h3 {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #d8edf8 0%, #c4e4f5 100%);
    color: #4f8fb3;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.intro-mini-card p {
    margin-top: 0.1rem;
}
.category-box-static {
    cursor: default;
}
@media (max-width: 767.98px) {
    .hero-home-overlay h1 {
        font-size: clamp(1.45rem, 7vw, 2.25rem) !important;
    }
}

/* Fix definitivo home + catalogo */
.hero-home-overlay h1 {
    display: block !important;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
}
.hero-home-overlay h1 span {
    display: block !important;
    white-space: nowrap !important;
}
.hero-home-overlay h1 span:first-child,
.hero-home-overlay h1 span:last-child {
    width: 100%;
}

.intro-mini-title,
.intro-mini-card h3 {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 38px !important;
    padding: 0.45rem 0.9rem !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #d8edf8 0%, #c4e4f5 100%) !important;
    color: #4f8fb3 !important;
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
    margin-bottom: 0.75rem !important;
    width: auto !important;
    line-height: 1.1 !important;
}

.product-card-catalog,
.latest-products-section .product-card {
    display: flex;
    flex-direction: column;
}
.product-card-catalog .product-image-wrap,
.latest-products-section .product-card .product-image-wrap {
    height: 250px !important;
    min-height: 250px !important;
    max-height: 250px !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
}
.product-card-catalog .product-image-wrap img,
.product-card-catalog .product-image,
.latest-products-section .product-card .product-image-wrap img,
.latest-products-section .product-card .product-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}
@media (max-width: 767.98px) {
    .hero-home-overlay h1 {
        transform: scale(0.92);
        transform-origin: center top;
    }
    .product-card-catalog .product-image-wrap,
    .latest-products-section .product-card .product-image-wrap {
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
    }
}

/* --- Fix richiesti home/catalogo 2026-04-23 --- */
.hero-home-overlay-centered h1,
.hero-home-overlay h1 {
    max-width: none !important;
    width: auto !important;
    white-space: normal !important;
}
.hero-home-overlay h1 span {
    display: block !important;
    white-space: nowrap !important;
}

/* Badge laterali come Bordificio Altomano */
.intro-mini-card .intro-mini-title,
.intro-mini-card h3 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    padding: .35rem .8rem !important;
    border-radius: 999px !important;
    background: rgba(79, 143, 179, 0.10) !important;
    color: var(--primary-deep) !important;
    font-size: .79rem !important;
    font-weight: 700 !important;
    letter-spacing: .03em !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    margin-bottom: .9rem !important;
    width: auto !important;
}

/* Anteprime catalogo tutte uguali */
.latest-products-section .product-preview-item,
.latest-products-section .product-card,
.catalog-page-grid .product-card,
.catalog-page-grid [data-animate] {
    height: 100%;
}

.product-card-catalog,
.latest-products-section .product-card {
    display: flex !important;
    flex-direction: column !important;
}

.product-card-catalog .product-image-wrap,
.latest-products-section .product-card .product-image-wrap {
    height: 250px !important;
    min-height: 250px !important;
    max-height: 250px !important;
    aspect-ratio: auto !important;
    flex: 0 0 250px !important;
    overflow: hidden !important;
}

.product-card-catalog .product-card-body-compact,
.latest-products-section .product-card .product-card-body-compact {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 210px !important;
}

.product-card-catalog h2,
.product-card-catalog h3,
.latest-products-section .product-card h2,
.latest-products-section .product-card h3 {
    min-height: 2.7em;
}

.product-card-catalog .product-preview-text,
.latest-products-section .product-card .product-preview-text {
    min-height: 3.5em;
}

@media (max-width: 767.98px) {
    .product-card-catalog .product-image-wrap,
    .latest-products-section .product-card .product-image-wrap {
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
        flex-basis: 220px !important;
    }

    .product-card-catalog .product-card-body-compact,
    .latest-products-section .product-card .product-card-body-compact {
        min-height: 190px !important;
    }
}

/* Premium azienda page */
.company-hero-premium {
    position: relative;
    padding: 6.2rem 0 4.2rem;
}
.company-hero-premium::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 180px;
    background: linear-gradient(180deg, rgba(246,250,252,0) 0%, #f7fbfd 100%);
    z-index: 0;
}
.company-hero-content {
    position: relative;
    z-index: 2;
}
.company-hero-premium h1 {
    max-width: 9.6ch;
    margin-bottom: 1rem;
}
.company-hero-copy {
    font-size: 1.08rem;
    line-height: 1.8;
    max-width: 760px;
}
.company-hero-points span {
    background: rgba(255,255,255,.68);
    border: 1px solid rgba(255,255,255,.4);
    box-shadow: 0 10px 24px rgba(27,42,55,.08);
    color: #27495f;
}
.company-hero-side {
    display: grid;
    gap: 1rem;
}
.company-glass-card {
    background: linear-gradient(180deg, rgba(255,255,255,.78) 0%, rgba(255,255,255,.92) 100%);
    border: 1px solid rgba(255,255,255,.55);
    box-shadow: 0 26px 46px rgba(27,42,55,.12);
    backdrop-filter: blur(10px);
}
.company-hero-highlight {
    padding: 1.35rem;
    border-radius: 18px;
}
.company-hero-highlight h2 {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    line-height: 1.1;
    letter-spacing: -.03em;
    margin: .9rem 0 .75rem;
}
.company-hero-highlight p {
    margin-bottom: 0;
    color: var(--ink-soft);
    line-height: 1.72;
}
.company-hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.company-stat-card {
    padding: 1rem 1rem 1.05rem;
    border-radius: 16px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(79, 143, 179, 0.14);
    box-shadow: 0 16px 32px rgba(27,42,55,.08);
}
.company-stat-card strong {
    display: block;
    font-size: .98rem;
    margin-bottom: .38rem;
}
.company-stat-card span {
    display: block;
    color: var(--ink-soft);
    line-height: 1.6;
    font-size: .94rem;
}
.company-story-section,
.company-special-section,
.company-production-band,
.company-details-section {
    position: relative;
    background: linear-gradient(180deg, #f8fbfd 0%, #f3f8fb 100%);
}
.company-story-card,
.company-process-card,
.company-contact-card,
.company-map-card,
.company-value-card {
    border-radius: 18px;
}
.company-section-title {
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.08;
}
.company-story-card {
    padding: 2rem;
}
.company-value-stack {
    display: grid;
    gap: 1rem;
    height: 100%;
}
.company-value-card {
    padding: 1.25rem 1.2rem;
}
.company-value-card h3 {
    font-size: 1.12rem;
    margin: .85rem 0 .45rem;
}
.company-value-card p {
    margin-bottom: 0;
    color: var(--ink-soft);
    line-height: 1.65;
}
.company-special-visual {
    position: relative;
    min-height: 520px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(79, 143, 179, 0.14);
    box-shadow: 0 28px 54px rgba(27,42,55,.10);
    background:
        linear-gradient(140deg, rgba(17,36,56,.66) 0%, rgba(17,36,56,.32) 44%, rgba(17,36,56,.20) 100%),
        url('../images/hero-filati-azienda.png') center/cover no-repeat;
}
.company-special-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(167,217,242,.12) 0%, rgba(79,143,179,.18) 100%);
}
.company-special-visual-card {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 1;
    padding: 1.35rem;
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 20px 36px rgba(0,0,0,.14);
}
.company-special-visual-card h2 {
    font-size: clamp(1.65rem, 2.4vw, 2.35rem);
    line-height: 1.08;
    margin: .85rem 0 .7rem;
}
.company-special-visual-card p {
    margin-bottom: 0;
    color: var(--ink-soft);
    line-height: 1.72;
}
.company-process-card {
    padding: 1.6rem;
    height: 100%;
}
.company-process-step {
    position: relative;
    padding: 0 0 1.1rem 1.35rem;
    margin-top: 1rem;
    border-left: 1px solid rgba(79,143,179,.22);
}
.company-process-step::before {
    content: "";
    position: absolute;
    left: -6px;
    top: .28rem;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: linear-gradient(180deg, #a7d9f2 0%, #72bee5 100%);
    box-shadow: 0 0 0 6px rgba(167,217,242,.16);
}
.company-process-step:last-child {
    padding-bottom: 0;
}
.company-process-step strong {
    display: block;
    margin-bottom: .4rem;
    font-size: 1.02rem;
}
.company-process-step p {
    margin-bottom: 0;
    color: var(--ink-soft);
    line-height: 1.65;
}
.company-band-panel {
    padding: 2rem;
    border-radius: 24px;
    background: linear-gradient(135deg, #17324a 0%, #244963 55%, #2d5a76 100%);
    color: #fff;
    box-shadow: 0 30px 54px rgba(17,36,56,.18);
}
.company-band-panel .section-eyebrow {
    background: rgba(255,255,255,.14);
    color: #d9effa;
}
.company-band-panel p,
.company-band-panel h2 {
    color: #fff;
}
.company-band-quote {
    padding: 1.25rem;
    border-radius: 18px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.16);
    backdrop-filter: blur(6px);
}
.company-band-quote strong {
    display: block;
    font-size: 1.08rem;
    margin-bottom: .55rem;
}
.company-band-quote p {
    color: rgba(255,255,255,.88);
    line-height: 1.7;
}
.company-contact-card {
    padding: 1.8rem;
}
.company-contact-list {
    display: grid;
    gap: .9rem;
    margin-top: 1.5rem;
}
.company-contact-list div {
    padding: .95rem 1rem;
    border-radius: 14px;
    background: linear-gradient(180deg, #f7fbfd 0%, #eef6fa 100%);
    border: 1px solid rgba(79,143,179,.12);
}
.company-contact-list small {
    display: block;
    margin-bottom: .24rem;
    color: var(--primary-deep);
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 700;
}
.company-contact-list strong {
    display: block;
    font-size: .98rem;
    line-height: 1.5;
}
.company-map-card {
    padding: 1.2rem;
}
.premium-map {
    min-height: 100%;
    border-radius: 18px;
    border: 1px solid rgba(79,143,179,.14);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.3);
}
.premium-map iframe {
    min-height: 420px;
}
@media (max-width: 991.98px) {
    .company-hero-premium {
        padding: 4.8rem 0 3rem;
    }
    .company-hero-premium h1 {
        max-width: none;
    }
    .company-special-visual {
        min-height: 460px;
    }
}
@media (max-width: 767.98px) {
    .company-hero-stats-grid {
        grid-template-columns: 1fr;
    }
    .company-story-card,
    .company-process-card,
    .company-contact-card,
    .company-map-card,
    .company-band-panel {
        padding: 1.35rem;
    }
    .company-special-visual {
        min-height: 420px;
    }
    .company-special-visual-card {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
    }
    .premium-map iframe {
        min-height: 320px;
    }
}

/* Azienda refinements */
.company-hero-simple {
    position: relative;
    z-index: 2;
    max-width: 900px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.company-hero-simple .section-eyebrow {
    margin-bottom: 1.1rem;
}
.company-hero-premium {
    padding: 7rem 0 5rem;
}
.company-hero-premium h1 {
    max-width: 14ch;
    margin: 0 auto 1.1rem;
    text-wrap: balance;
}
.company-hero-copy {
    max-width: 820px;
    margin: 0 auto;
}
.company-value-label {
    background: linear-gradient(180deg, #a7d9f2 0%, #86cbe9 100%);
    color: #14344b;
    border-color: rgba(79,143,179,.18);
}
.company-value-card h3 {
    margin-top: 1rem;
}
.company-special-text-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.company-special-text-card p {
    line-height: 1.8;
}
.company-map-layout {
    padding: 1.8rem;
    border-radius: 24px;
}
.company-map-heading {
    max-width: 860px;
    margin-bottom: 1.5rem;
}
.company-contact-list-inline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0 0 1.5rem;
}
.company-map-standalone {
    border-radius: 22px;
    overflow: hidden;
}
.company-map-standalone iframe {
    min-height: 460px;
}
@media (max-width: 991.98px) {
    .company-contact-list-inline {
        grid-template-columns: 1fr;
    }
    .company-hero-premium {
        padding: 5.2rem 0 3.4rem;
    }
}
@media (max-width: 767.98px) {
    .company-hero-premium h1 {
        max-width: 11ch;
    }
    .company-special-text-card,
    .company-map-layout {
        padding: 1.35rem;
    }
    .company-map-standalone iframe {
        min-height: 340px;
    }
}

.footer-manage-cookies {
    background: none;
    border: 0;
    padding: 0;
    text-align: left;
    color: var(--primary-deep);
    font-weight: 600;
}
.footer-manage-cookies:hover {
    color: var(--ink);
}

.cookie-banner {
    position: fixed;
    inset: 0;
    z-index: 1200;
}
.cookie-banner[hidden] {
    display: none !important;
}
.cookie-banner__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 15, 24, 0.5);
    backdrop-filter: blur(4px);
}
.cookie-banner__panel {
    position: relative;
    z-index: 1;
    width: min(640px, calc(100vw - 2rem));
    margin: min(18vh, 10rem) auto 0;
    background: #ffffff;
    border: 1px solid rgba(17, 37, 58, 0.14);
    border-radius: 6px;
    box-shadow: 0 28px 70px rgba(10, 21, 34, 0.22);
    padding: 1.4rem 1.45rem;
}
.cookie-banner__eyebrow {
    display: inline-flex;
    margin-bottom: .5rem;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary-deep);
}
.cookie-banner__copy h2 {
    margin: 0 0 .6rem;
    font-size: clamp(1.22rem, 2vw, 1.55rem);
    line-height: 1.15;
}
.cookie-banner__copy p {
    margin: 0;
    color: var(--ink-soft);
    line-height: 1.72;
}
.cookie-banner__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: .75rem;
    flex-wrap: wrap;
    margin-top: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(17, 37, 58, 0.08);
}
.cookie-banner__link {
    margin-right: auto;
    color: var(--primary-deep);
    font-weight: 700;
    text-decoration: none;
}
.cookie-banner__link:hover {
    color: var(--ink);
}
.cookie-btn {
    min-width: 120px;
    border-radius: 4px;
    padding: .72rem 1.1rem;
    font-weight: 700;
}
.cookie-fab {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1150;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(17, 37, 58, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.76);
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 30px rgba(27, 42, 55, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-deep);
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}
.cookie-fab:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 34px rgba(27, 42, 55, 0.18);
}
.cookie-fab svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
body.cookie-consent-open {
    overflow: hidden;
}
body.cookie-consent-open::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 1190;
}

.cookie-embed-placeholder {
    background: linear-gradient(135deg, rgba(167, 217, 242, 0.24), rgba(255, 255, 255, 0.95));
    border: 1px solid rgba(79, 143, 179, 0.16);
    border-radius: inherit;
    min-height: 420px;
    display: grid;
    place-items: center;
    padding: 1.4rem;
}
.cookie-embed-placeholder__card {
    max-width: 540px;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(79, 143, 179, 0.15);
    border-radius: 18px;
    padding: 1.4rem;
    box-shadow: 0 18px 36px rgba(27, 42, 55, 0.1);
}
.cookie-embed-placeholder__card h3 {
    font-size: 1.2rem;
    margin-bottom: .65rem;
}
.cookie-embed-placeholder__card p {
    margin-bottom: 1rem;
    color: var(--ink-soft);
    line-height: 1.7;
}
.cookie-embed-placeholder__actions {
    display: flex;
    gap: .75rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 767.98px) {
    .cookie-banner__panel {
        width: min(100vw - 1rem, 640px);
        margin-top: 8vh;
        padding: 1rem;
        border-radius: 4px;
    }
    .cookie-banner__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .cookie-banner__link {
        grid-column: 1 / -1;
        margin-right: 0;
    }
    .cookie-btn {
        width: 100%;
        min-width: 0;
    }
    .cookie-fab {
        right: .75rem;
        bottom: .75rem;
        width: 46px;
        height: 46px;
    }
    .cookie-embed-placeholder {
        min-height: 320px;
    }
}

.policy-page {
    padding: 4.5rem 0 1rem;
}
.policy-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    padding: clamp(1.4rem, 3vw, 2rem);
}
.policy-panel h1 {
    font-size: clamp(2rem, 3.6vw, 3rem);
    line-height: 1.08;
    margin-bottom: 1rem;
}
.policy-panel h2 {
    font-size: 1.15rem;
    margin-top: 1.6rem;
    margin-bottom: .65rem;
}
.policy-panel p,
.policy-panel li {
    color: var(--ink-soft);
    line-height: 1.8;
}
.policy-panel ul {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .cookie-banner {
        bottom: 5.25rem;
    }
    .cookie-banner__inner {
        align-items: stretch;
        flex-direction: column;
    }
    .cookie-banner__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .cookie-banner {
        left: .75rem;
        right: .75rem;
        bottom: 4.85rem;
    }
    .cookie-banner__inner {
        padding: 1rem;
        border-radius: 16px;
    }
    .cookie-banner__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .cookie-banner__link {
        grid-column: 1 / -1;
    }
    .cookie-fab {
        right: .75rem;
        bottom: .75rem;
        width: 48px;
        height: 48px;
    }
    .cookie-embed-placeholder {
        min-height: 320px;
    }
}

.contact-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.contact-privacy-check {
    padding: 1rem 1rem 1rem 2rem;
    border: 1px solid rgba(17, 37, 58, 0.08);
    border-radius: 14px;
    background: rgba(167, 217, 242, 0.12);
}
.company-map-static {
    background:
        linear-gradient(135deg, rgba(14, 40, 66, 0.14), rgba(167, 217, 242, 0.28)),
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.82));
}
.company-map-static__card {
    max-width: 600px;
}

/* Ripristino pill titoli home */
.intro-mini-card .intro-mini-title {
    display: block !important;
    margin: 0 0 .85rem !important;
}
.intro-mini-card .intro-mini-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: .5rem 1rem !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #d8edf8 0%, #c4e4f5 100%) !important;
    color: #4f8fb3 !important;
    font-size: .86rem !important;
    font-weight: 800 !important;
    letter-spacing: .03em !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 6px 16px rgba(79,143,179,.08) !important;
}

/* Titoli card home semplificati */
.intro-mini-card .intro-card-eyebrow {
    margin-bottom: .85rem;
    background: linear-gradient(180deg, #d8edf8 0%, #c4e4f5 100%);
    color: #4f8fb3;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 6px 16px rgba(79,143,179,.08);
}

/* Modifiche home 2026-04-24: badge ovali uniformi nei quattro riquadri introduttivi */
.brand-intro-main,
.intro-mini-card {
    background: #ffffff !important;
    border: 1px solid rgba(79, 143, 179, 0.14) !important;
    box-shadow: 0 14px 28px rgba(27, 42, 55, 0.06) !important;
    border-radius: 18px !important;
}

.brand-intro-main .section-eyebrow,
.intro-mini-card .intro-card-eyebrow,
.intro-mini-card .intro-mini-title,
.intro-mini-card h3 {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-height: 38px !important;
    padding: .5rem 1rem !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #d8edf8 0%, #c4e4f5 100%) !important;
    color: #4f8fb3 !important;
    font-size: .86rem !important;
    font-weight: 800 !important;
    letter-spacing: .03em !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    margin: 0 0 .85rem !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7), 0 6px 16px rgba(79,143,179,.08) !important;
}
.hero-home-overlay .btn-primary,
.hero-home-overlay .btn-outline-dark,
.hero-home-alt .btn-primary,
.hero-home-alt .btn-outline-dark {
    color: #fff !important;
    background: transparent !important;
    border-color: transparent !important;
}
.hero-home-overlay .btn-primary:hover,
.hero-home-overlay .btn-primary:focus,
.hero-home-overlay .btn-outline-dark:hover,
.hero-home-overlay .btn-outline-dark:focus,
.hero-home-alt .btn-primary:hover,
.hero-home-alt .btn-primary:focus,
.hero-home-alt .btn-outline-dark:hover,
.hero-home-alt .btn-outline-dark:focus {
    color: #fff !important;
    background: transparent !important;
    border-color: transparent !important;
}

/* ===== Pagina Azienda - stile piu' fashion/elegante ===== */

/* 1. Etichette sezione - solo testo, niente badge pieno (tranne sul pannello scuro) */
.company-story-card .section-eyebrow,
.company-value-label,
.company-special-text-card .section-eyebrow,
.company-process-card .section-eyebrow,
.company-map-heading .section-eyebrow {
    background: transparent !important;
    color: rgb(27,42,55) !important;
    font-weight: 400 !important;
    letter-spacing: 0.14em !important;
    padding: 0 !important;
    border-radius: 0 !important;
}
/* eyebrow sul pannello scuro: resta leggibile, solo alleggerita */
.company-band-panel .section-eyebrow {
    background: transparent !important;
    font-weight: 400 !important;
    letter-spacing: 0.14em !important;
    padding: 0 !important;
}

/* 2. Titoli sezione interni - piu' leggeri, piu' respiro */
.company-section-title {
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
    line-height: 1.35 !important;
}

/* 3. Le tre card "valori" - da scatole a lista con linea sottile */
.company-value-card {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-top: 1px solid rgba(27,42,55,0.15) !important;
    border-radius: 0 !important;
    padding: 1.25rem 0 !important;
}
.company-value-stack .company-value-card:first-child {
    border-top: none !important;
    padding-top: 0 !important;
}

/* 4. "Come lavoriamo" - linea sottile invece del pallino colorato */
.company-process-step {
    border-left: none !important;
    padding-left: 1.5rem !important;
}
.company-process-step::before {
    content: "" !important;
    width: 24px !important;
    height: 1px !important;
    background: rgb(127,196,232) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    left: 0 !important;
    top: .55rem !important;
}

/* 5. Foto nelle card - angoli vivi, piu' presenza editoriale */
.company-story-card img,
.company-special-text-card img {
    border-radius: 0 !important;
}

/* 6. Pannelli della pagina - meno "scatola", piu' respiro (solo pagina Azienda) */
.company-story-card,
.company-special-text-card,
.company-process-card,
.company-map-layout {
    box-shadow: none !important;
    border: 1px solid rgba(27,42,55,0.1) !important;
    border-radius: 2px !important;
}

/* 7. Pannello scuro "Flessibilita' produttiva" - ombra piu' leggera, coerente col resto */
.company-band-panel {
    box-shadow: 0 16px 32px rgba(17,36,56,.12) !important;
}

/* 8. Blocchi Sede/Telefono/Email - stile a lista invece che a scatola */
.company-contact-list-inline > div {
    background: transparent !important;
    border: none !important;
    border-right: 1px solid rgba(27,42,55,0.12);
    padding-right: 1.25rem !important;
}
.company-contact-list-inline > div:last-child {
    border-right: none;
}

/* Titolo header pagina Azienda - 2 righe, piu' leggero ed elegante */
.company-hero-premium h1 {
    max-width: 40ch !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
    font-size: clamp(2rem, 4vw, 2.75rem) !important;
    line-height: 1.3 !important;
}

/* ===== Barra di navigazione - bordo a treccia (motivo cordoncino) ===== */
.site-navbar {
    backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom: none !important;
}
@keyframes navShimmerMove {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.site-navbar::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background-image: linear-gradient(90deg, rgb(127,196,232) 0%, rgb(27,42,55) 50%, rgb(127,196,232) 100%);
    background-size: 200% 100%;
    animation: navShimmerMove 4s linear infinite;
    z-index: 5;
    pointer-events: none;
}
.site-navbar .nav-link {
    font-weight: 400 !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase !important;
    font-size: 0.8rem !important;
    border-radius: 0 !important;
}
.site-navbar .nav-link.active {
    background: transparent !important;
    font-weight: 600 !important;
    color: var(--primary-deep) !important;
}
.site-navbar .nav-link:hover {
    color: var(--primary-deep) !important;
}

/* Logo - leggera animazione al passaggio (effetto "filo che si muove") */
.site-navbar .navbar-brand img {
    transition: transform .45s cubic-bezier(.34,1.56,.64,1);
}
.site-navbar .navbar-brand:hover img {
    transform: rotate(-3deg) scale(1.05);
}


/* ===== Home - stesso stile "editoriale" della pagina Azienda ===== */

/* Etichette sezione - solo testo, niente badge pieno */
.brand-intro-section .section-eyebrow,
.latest-products-section .section-eyebrow,
.categories-section .section-eyebrow,
.cta-panel .section-eyebrow,
.intro-card-eyebrow {
    background: transparent !important;
    color: rgb(27,42,55) !important;
    font-weight: 400 !important;
    letter-spacing: 0.14em !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* Le tre mini-card (Catalogo leggibile / Rapporto diretto / Impostazione professionale) - da scatole a lista */
.intro-mini-card {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-top: 1px solid rgba(27,42,55,0.15) !important;
    border-radius: 0 !important;
    padding: 1.25rem 0 !important;
}
.brand-intro-side .intro-mini-card:first-child {
    border-top: none !important;
    padding-top: 0 !important;
}

/* Pannello CTA finale - bordo sottile invece di ombra/gradiente */
.cta-panel {
    background: var(--surface) !important;
    box-shadow: none !important;
    border: 1px solid rgba(27,42,55,0.1) !important;
    border-radius: 2px !important;
}

/* ===== Catalogo - stile originale invariato, solo altezza card e zoom foto ===== */
.product-image-wrap {
    overflow: hidden;
}
.product-image-wrap img,
.product-image {
    transition: transform .5s ease;
}
.product-image-wrap:hover img {
    transform: scale(1.05);
}
/* La vera causa dello spazio vuoto era un'altezza minima fissa (210px)
   specifica per le card del catalogo, indipendente dalla lunghezza della descrizione */
.product-card-catalog .product-card-body-compact {
    min-height: auto !important;
}
.col-12.col-sm-6.col-xl-4 {
    align-self: flex-start !important;
}
