/*
 * VineCARD frontend chrome — topstrip, header, footer, page-head.
 * Condiviso da layout home + main. Classi namespaced (no collisione Bootstrap).
 * Token brand definiti in common/assets/brand/css/brand.css.
 */

/* ---- Top strip ---- */
.topstrip {
    background: var(--wine);
    color: #fff;
    font-size: 13px;
    padding: 8px 0;
    letter-spacing: .02em;
}
.topstrip .topstrip-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.topstrip .lang a {
    margin-left: 12px;
    color: #fff;
    opacity: .7;
    font-weight: 600;
    text-decoration: none;
}
.topstrip .lang a.active {
    opacity: 1;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 2px;
}

/* ---- Header ---- */
.site-header {
    background: rgba(255, 253, 251, .94);
    border-bottom: 1px solid var(--line);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
}
.site-header .site-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}
.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.site-brand .mark {
    width: 230px;
    max-width: 230px;
    max-height: 230px;
    height: auto;
    background-color: #ffffff00;
}
.site-brand .wordmark .name {
    font-size: 24px;
    font-weight: 300;
    color: var(--gray);
    line-height: 1;
}
.site-brand .wordmark .name b {
    font-weight: 800;
    color: var(--ink);
}
.site-brand .wordmark .tag {
    display: block;
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gray);
    margin-top: 4px;
    max-width: 220px;
    line-height: 1.3;
}
.site-nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
    margin: 0;
    padding: 0;
}
.site-nav a {
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}
.site-nav a:hover {
    color: var(--wine);
}
/* hamburger (mobile) */
.site-nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--wine);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
}

/* ---- Page head (layout pagina singola) ---- */
.vc-pagehead {
    background:
        radial-gradient(circle at 12% 30%, var(--gold-tint), transparent 30%),
        radial-gradient(circle at 90% 70%, var(--wine-tint), transparent 32%),
        var(--paper);
    border-bottom: 1px solid var(--line);
    padding: clamp(1.75rem, 5vw, 2.75rem) 0;
}
.vc-pagehead h1 {
    margin: 0;
    font-size: clamp(1.7rem, 3.5vw, 2.6rem);
}
.vc-pagehead .breadcrumb {
    margin: 0 0 .5rem;
    font-size: 13px;
    --bs-breadcrumb-divider-color: var(--gray);
}

/* ---- Footer ---- */
.site-footer {
    background: var(--ink);
    color: #d8d6d4;
    padding: 60px 0 26px;
    font-size: 14px;
}
.site-footer a { color: #d8d6d4; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 42px;
    margin-bottom: 42px;
}
.site-footer .col h4 {
    color: #fff;
    font-size: 1.02rem;
    margin-bottom: 15px;
    font-weight: 700;
}
.site-footer .col ul { list-style: none; margin: 0; padding: 0; }
.site-footer .col li { margin-bottom: 9px; }
.site-footer .brand-mini { margin-bottom: 15px; }
.site-footer .brand-mini img { max-width: 200px; height: auto; }
.site-footer .footer-lead {
    margin-bottom: 15px;
    font-size: 13.5px;
    color: #c4c2c0;
}
.site-footer .disclaimer {
    background: rgba(255, 255, 255, .06);
    border-left: 3px solid var(--gold);
    padding: 15px 18px;
    font-size: 12.5px;
    line-height: 1.55;
    border-radius: 0 10px 10px 0;
}
.site-footer .disclaimer strong {
    color: #fff;
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
}
.site-footer .contact {
    font-size: 13.5px;
    line-height: 1.6;
    color: #c4c2c0;
}
.site-footer .logos-strip {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding: 20px 0;
    border-top: 1px solid #5e5e5e;
    border-bottom: 1px solid #5e5e5e;
    margin-bottom: 20px;
}
.site-footer .logos-strip .lg {
    height: 48px;
    background: #fff;
    color: var(--ink);
    padding: 6px 13px;
    display: grid;
    place-items: center;
    font-size: 10.5px;
    text-align: center;
    border-radius: 8px;
    line-height: 1.15;
    font-weight: 700;
}
.site-footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12px;
    color: #a8a6a4;
}
.site-footer .footer-bottom a { color: #a8a6a4; margin-left: 16px; }
.site-footer .footer-bottom a:hover { color: var(--gold); }

/* ---- Funding logos strip (footer_icons.png) — box bianco per leggibilità su scuro ---- */
.vc-funding {
    background: #fff;
    border-radius: 12px;
    padding: 14px 20px;
    margin: 0 0 20px;
}
.vc-funding img {
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
    margin: 0 auto;
}
.vc-funding--center { max-width: 820px; margin-left: auto; margin-right: auto; }

/* ---- Responsive ---- */
@media (max-width: 980px) {
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        padding: 16px 26px 22px;
        box-shadow: 0 18px 40px rgba(74, 74, 74, .12);
    }
    .site-header { position: sticky; }
    .site-header .site-header-row { position: relative; }
    .site-nav.open { display: block; }
    .site-nav ul { flex-direction: column; gap: 14px; }
    .site-nav-toggle { display: block; order: 3; }
    .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 600px) {
    .header-cta { display: none; }
    .site-footer .footer-grid { grid-template-columns: 1fr; }
    .topstrip { font-size: 12px; }
}

/* ---- Construction / coming-soon splash ---- */
.vc-construction-body { background: var(--ink); }
.vc-construction {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: #fff;
    text-align: center;
    overflow: hidden;
    /* sfondo: gradient brand ora; immagine futura via --vc-construction-bg */
    background:
        radial-gradient(circle at 18% 22%, rgba(209,138,18,.28), transparent 38%),
        radial-gradient(circle at 84% 80%, rgba(155,23,49,.45), transparent 45%),
        linear-gradient(160deg, var(--wine-dark), #2c0a13 70%);
    background-size: cover;
    background-position: center;
    background-image: var(--vc-construction-bg, none);
}
/* overlay scuro: serve quando arriverà l'immagine di sfondo (leggibilità testo) */
.vc-construction__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(42,10,19,.72), rgba(42,10,19,.55));
    z-index: 0;
    /* attivo solo se c'è un'immagine */
    display: none;
}
.vc-construction[style*="--vc-construction-bg"] .vc-construction__overlay,
.vc-construction.has-bg .vc-construction__overlay { display: block; }

.vc-construction__inner {
    position: relative;
    z-index: 1;
    padding: 48px 26px;
    max-width: 760px;
}
.vc-construction__logo {
    width: clamp(220px, 40vw, 340px);
    height: auto;
    margin: 0 auto 32px;
    display: block;
}
.vc-construction__eyebrow {
    color: var(--gold);
    display: inline-block;
    margin-bottom: 16px;
}
.vc-construction__title {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.1;
    margin-bottom: 20px;
}
.vc-construction__lede {
    font-size: 1.15rem;
    color: rgba(255,255,255,.82);
    max-width: 560px;
    margin: 0 auto 28px;
}
.vc-construction__lede strong { color: #fff; }
.vc-construction__chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 28px;
}
.vc-construction__contact {
    font-size: .95rem;
    color: rgba(255,255,255,.7);
    margin: 0;
}
.vc-construction__contact a { color: var(--gold); }
.vc-construction__foot {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,.12);
}
.vc-construction__disclaimer {
    margin: 0;
    font-size: 12px;
    color: rgba(255,255,255,.55);
    text-align: center;
}
