/* Gard Network hub – landing (no product chrome) */

.hub-body {
    margin: 0;
    background: #f6f4f3;
    color: #1a1214;
    font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.hub-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #ffffff;
    border-bottom: 1px solid #ebe6e4;
}

.hub-header-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-height: 4.25rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.hub-logo img {
    display: block;
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.hub-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem 1.1rem;
    margin-left: auto;
    flex-wrap: wrap;
}

.hub-nav-link {
    color: #3a3234;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.35rem 0;
    border-bottom: 2px solid transparent;
}

.hub-nav-link:hover,
.hub-nav-link.is-active {
    color: #7A1F2B;
    border-bottom-color: #7A1F2B;
}

.hub-header-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.hub-lang-select {
    appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.55rem center;
    border: 1px solid #e0dbd9;
    border-radius: 0.5rem;
    padding: 0.4rem 1.75rem 0.4rem 0.65rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1214;
    cursor: pointer;
    min-width: 7.5rem;
}

.hub-nav-toggle {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    background: transparent;
    padding: 0.45rem;
    cursor: pointer;
}

.hub-nav-toggle span {
    display: block;
    height: 2px;
    background: #1a1214;
    margin: 5px 0;
    border-radius: 1px;
}

/* Hero – light, readable */
.hub-hero {
    position: relative;
    color: #1a1214;
    overflow: hidden;
    padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
    background: #faf8f7;
    border-bottom: 1px solid #ebe6e4;
}

.hub-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 40rem;
}

.hub-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #7A1F2B;
    margin: 0 0 1rem;
}

.hub-eyebrow--dark {
    color: #7A1F2B;
}

.hub-hero-title {
    font-size: clamp(1.85rem, 4.5vw, 2.75rem);
    font-weight: 750;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 1rem;
    color: #1a1214;
}

.hub-hero-lead {
    font-size: clamp(1.02rem, 2vw, 1.15rem);
    line-height: 1.6;
    color: #5c5557;
    margin: 0 0 1.75rem;
    max-width: 36rem;
}

.hub-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Sections */
.hub-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.hub-section--dark {
    background: #141012;
    color: #fff;
}

.hub-section--soft {
    background: #fff;
    border-top: 1px solid #ebe6e4;
    border-bottom: 1px solid #ebe6e4;
}

.hub-section-head {
    max-width: 40rem;
    margin-bottom: 2.25rem;
}

.hub-section-title {
    font-size: clamp(1.65rem, 3.5vw, 2.15rem);
    font-weight: 750;
    letter-spacing: -0.025em;
    margin: 0 0 0.85rem;
    line-height: 1.2;
}

.hub-section-title--light {
    color: #fff;
}

.hub-section-lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #5c5557;
    max-width: 38rem;
}

.hub-section-lead--light {
    color: rgba(255, 255, 255, 0.72);
}

.hub-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.hub-cards--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hub-card {
    background: #fff;
    border: 1px solid #ebe6e4;
    border-radius: 1rem;
    padding: 1.35rem 1.25rem 1.5rem;
    box-shadow: 0 8px 24px rgba(26, 18, 20, 0.04);
}

.hub-card-num {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #7A1F2B;
    margin-bottom: 0.75rem;
}

.hub-card-title {
    font-size: 1.1rem;
    font-weight: 720;
    margin: 0 0 0.55rem;
}

.hub-card-body {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #5c5557;
}

/* Split partners */
.hub-split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
}

.hub-checklist {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 1.75rem;
}

.hub-checklist li {
    position: relative;
    padding: 0.45rem 0 0.45rem 1.6rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.98rem;
}

.hub-checklist--dark li {
    color: #3a3234;
}

.hub-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7rem;
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: #9B2D3A;
    box-shadow: 0 0 0 3px rgba(155, 45, 58, 0.25);
}

.hub-split-panel {
    position: relative;
    min-height: 240px;
}

.hub-panel-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.1rem;
    padding: 1.25rem;
    max-width: 16rem;
}

.hub-panel-card--offset {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 14rem;
    background: rgba(122, 31, 43, 0.35);
}

.hub-panel-dot {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.15);
    margin-bottom: 1rem;
}

.hub-panel-dot--wine {
    background: #9B2D3A;
}

.hub-panel-lines span {
    display: block;
    height: 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    margin-bottom: 0.45rem;
}

.hub-panel-lines span:first-child {
    width: 85%;
}

.hub-panel-lines span:nth-child(2) {
    width: 65%;
}

.hub-panel-lines span:nth-child(3) {
    width: 45%;
}

/* Portals */
.hub-portal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
    max-width: 40rem;
}

.hub-portal-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #fff;
    border: 1px solid #ebe6e4;
    border-radius: 0.9rem;
    padding: 1rem 1.15rem;
}

.hub-portal-name {
    display: block;
    font-size: 1.05rem;
}

.hub-portal-domain {
    display: block;
    font-size: 0.88rem;
    color: #6a6264;
    margin-top: 0.15rem;
}

.hub-empty {
    background: #fff;
    border: 1px dashed #d8d2d0;
    border-radius: 1rem;
    padding: 1.75rem 1.5rem;
    max-width: 36rem;
}

.hub-empty p {
    margin: 0 0 1rem;
    color: #5c5557;
    line-height: 1.55;
}

/* CTA band – light */
.hub-cta-band {
    background: #fff;
    color: #1a1214;
    border-top: 1px solid #ebe6e4;
    padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}

.hub-cta-band-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.hub-cta-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

/* Footer – light */
.hub-footer {
    background: #f3f1f0;
    color: #3a3234;
    padding-top: 2.5rem;
    border-top: 1px solid #e0dbd9;
}

.hub-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2rem;
    padding-bottom: 2.5rem;
}

.hub-footer-tagline {
    margin: 1rem 0 0;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #5c5557;
    max-width: 22rem;
}

.hub-footer-heading {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a8084;
    margin: 0 0 0.85rem;
}

.hub-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hub-footer-links a {
    color: #3a3234;
    text-decoration: none;
    font-size: 0.92rem;
    display: inline-block;
    padding: 0.28rem 0;
}

.hub-footer-links a:hover {
    color: #7A1F2B;
}

.hub-footer-bottom {
    border-top: 1px solid #e0dbd9;
    padding: 1rem 0 1.25rem;
}

.hub-footer-bottom-inner p {
    margin: 0;
    font-size: 0.85rem;
    color: #8a8084;
}

.hub-logo--footer img {
    height: 36px;
}

/* Inner pages (contact / apply) */
.hub-page-hero {
    padding: clamp(2rem, 4vw, 3rem) 0 1.25rem;
}

.hub-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    font-size: 0.88rem;
    color: #6a6264;
    margin-bottom: 1rem;
}

.hub-breadcrumb a {
    color: #7A1F2B;
    text-decoration: none;
    font-weight: 600;
}

.hub-page-title {
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-weight: 750;
    letter-spacing: -0.03em;
    margin: 0 0 0.75rem;
    line-height: 1.15;
}

.hub-page-lead {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.6;
    color: #5c5557;
    max-width: 40rem;
}

.hub-section--tight {
    padding-top: 1.25rem;
}

.hub-section--form {
    padding-top: 0.5rem;
}

.hub-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
    max-width: 40rem;
}

.hub-contact-wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 36rem;
    margin: 0 auto;
}

.hub-contact-form {
    max-width: none;
    margin: 0;
    width: 100%;
}

.hub-contact-info {
    width: 100%;
}

.hub-prose {
    max-width: 40rem;
}

.hub-prose .hub-panel {
    max-width: none;
}

.hub-form .form-actions,
.hub-panel--form .form-actions {
    margin-top: 0.5rem;
}

.hub-form .form-input,
.hub-form .form-textarea,
.hub-panel--form .form-input,
.hub-panel--form .form-textarea {
    box-sizing: border-box;
    max-width: 100%;
}

.hub-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.hub-panel {
    background: #fff;
    border: 1px solid #ebe6e4;
    border-radius: 1rem;
    padding: 1.35rem 1.4rem 1.5rem;
    box-shadow: 0 8px 24px rgba(26, 18, 20, 0.04);
}

.hub-panel--form {
    max-width: 40rem;
    margin: 0 auto;
    width: 100%;
}

.hub-panel-heading {
    font-size: 1.15rem;
    font-weight: 720;
    margin: 0 0 0.85rem;
}

.hub-panel-text {
    margin: 0 0 0.85rem;
    line-height: 1.55;
}

.hub-panel-text a {
    color: #7A1F2B;
    font-weight: 600;
}

.hub-panel-muted {
    margin: 0.75rem 0 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #6a6264;
}

.hub-bullets {
    margin: 0;
    padding-left: 1.15rem;
    color: #3a3234;
    line-height: 1.55;
}

.hub-bullets li {
    margin-bottom: 0.45rem;
}

.hub-form .form-group,
.hub-panel--form .form-group {
    margin-bottom: 1rem;
}

.hub-form .form-label,
.hub-panel--form .form-label {
    display: block;
    font-weight: 650;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}

.hub-form .form-input,
.hub-panel--form .form-input,
.hub-panel--form .form-textarea {
    width: 100%;
    border: 1px solid #e0dbd9;
    border-radius: 0.55rem;
    padding: 0.65rem 0.75rem;
    font: inherit;
    background: #fff;
}

.hub-form .form-input:focus,
.hub-panel--form .form-input:focus {
    outline: 2px solid rgba(122, 31, 43, 0.25);
    border-color: #7A1F2B;
}

.hub-panel--form .partner-fieldset {
    border: 1px solid #ebe6e4;
    border-radius: 0.85rem;
    padding: 1rem 1.1rem 1.15rem;
    margin: 0 0 1rem;
}

.hub-panel--form .partner-fieldset legend {
    font-weight: 720;
    padding: 0 0.35rem;
    color: #1a1214;
}

@media (max-width: 900px) {
    .hub-page-grid,
    .hub-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .hub-cards,
    .hub-cards--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .hub-split {
        grid-template-columns: 1fr;
    }
    .hub-split-panel {
        display: none;
    }
    .hub-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .hub-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: #fff;
        border-bottom: 1px solid #ebe6e4;
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem 1.25rem 1rem;
        gap: 0;
        margin: 0;
    }
    .hub-nav.is-open {
        display: flex;
    }
    .hub-nav-link {
        padding: 0.7rem 0;
        border-bottom: 1px solid #f0eceb;
    }
    .hub-nav-toggle {
        display: block;
    }
    .hub-header {
        position: relative;
    }
    .hub-header-inner {
        flex-wrap: wrap;
    }
    .hub-cta {
        display: none;
    }
    .hub-stats {
        grid-template-columns: 1fr;
    }
    .hub-cards,
    .hub-cards--3 {
        grid-template-columns: 1fr;
    }
    .hub-footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .hub-portal-item {
        flex-direction: column;
        align-items: flex-start;
    }
}
