:root {
    --ksb-ink: #18201c;
    --ksb-muted: #66706b;
    --ksb-green: #1e6840;
    --ksb-green-2: #2c8755;
    --ksb-soft: #eff7f2;
    --ksb-border: #e0e6e2;
    --ksb-dark: #19251f;
    --ksb-radius: 22px;
}

.ks-brand-hub,
.ks-brand-hub__content { color: var(--ksb-ink); }

.ks-brand-hub { margin: 4px 0 22px; }
.ks-brand-hub__content { margin-bottom: 42px; }

.ks-brand-hub__hero {
    position: relative;
    min-height: 430px;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr);
    gap: 32px;
    align-items: center;
    padding: 58px 60px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 76% 22%, rgba(73,160,106,.18), transparent 29%),
        linear-gradient(135deg, #f8faf8 0%, #eef5f0 58%, #e6f1e9 100%);
    border: 1px solid #dde8e0;
}

.ks-brand-hub__hero::before {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    right: -120px;
    bottom: -160px;
    border: 44px solid rgba(30,104,64,.055);
    border-radius: 50%;
}

.ks-brand-hub__hero-copy { position: relative; z-index: 3; max-width: 720px; }
.ks-brand-hub__kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--ksb-green);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .115em;
    text-transform: uppercase;
}
.ks-brand-hub__kicker--light { color: #bfe6cc; }
.ks-brand-hub__hero h1 {
    max-width: 690px;
    margin: 0;
    font-family: Montserrat, "Open Sans", Arial, sans-serif;
    font-size: clamp(2.25rem, 4.2vw, 4rem);
    line-height: 1.04;
    letter-spacing: -.045em;
    font-weight: 800;
}
.ks-brand-hub__hero-copy > p {
    max-width: 670px;
    margin: 21px 0 0;
    color: #55615b;
    font-size: 1.03rem;
    line-height: 1.72;
}
.ks-brand-hub__quicklinks { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 27px; }
.ks-brand-hub__quicklinks a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid #d4dfd8;
    border-radius: 999px;
    color: #26322c;
    background: rgba(255,255,255,.74);
    font-size: .79rem;
    font-weight: 700;
    transition: .2s ease;
}
.ks-brand-hub__quicklinks a:hover { color: #fff; background: var(--ksb-green); border-color: var(--ksb-green); text-decoration: none; }

.ks-brand-hub__hero-visual { position: relative; z-index: 2; min-height: 330px; }
.ks-brand-hub__hero-card {
    position: absolute;
    overflow: hidden;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(24,32,28,.08);
    box-shadow: 0 18px 48px rgba(31,51,40,.12);
}
.ks-brand-hub__hero-card span {
    position: absolute;
    z-index: 3;
    left: 14px;
    top: 14px;
    padding: 5px 9px;
    border-radius: 999px;
    color: #fff;
    background: rgba(24,32,28,.82);
    font-size: .65rem;
    font-weight: 800;
}
.ks-brand-hub__hero-card img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.ks-brand-hub__hero-card--main { width: 62%; height: 285px; right: 8%; top: 18px; transform: rotate(2deg); }
.ks-brand-hub__hero-card--light { width: 39%; height: 172px; left: 0; bottom: 2px; transform: rotate(-5deg); }
.ks-brand-hub__hero-card--own { width: 31%; height: 142px; right: 0; bottom: -10px; transform: rotate(5deg); }

.ks-brand-hub__section { padding: 52px 0 6px; }
.ks-brand-hub__section-head { display: flex; justify-content: space-between; gap: 24px; align-items: flex-end; margin-bottom: 24px; }
.ks-brand-hub__section-head h2,
.ks-brand-hub__finder h2,
.ks-brand-hub__seo h2 {
    margin: 0;
    font-family: Montserrat, "Open Sans", Arial, sans-serif;
    font-weight: 800;
    letter-spacing: -.03em;
}
.ks-brand-hub__section-head h2 { font-size: clamp(1.7rem, 2.5vw, 2.45rem); }
.ks-brand-hub__section-head p { max-width: 690px; margin: 8px 0 0; color: var(--ksb-muted); }

.ks-brand-hub__featured-grid { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 16px; }
.ks-brand-hub__featured {
    position: relative;
    min-height: 310px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 26px;
    border-radius: var(--ksb-radius);
    border: 1px solid var(--ksb-border);
    background: #fff;
    color: var(--ksb-ink);
    box-shadow: 0 10px 32px rgba(22,33,27,.055);
    transition: transform .2s ease, box-shadow .2s ease;
}
.ks-brand-hub__featured:hover { transform: translateY(-4px); color: var(--ksb-ink); box-shadow: 0 18px 45px rgba(22,33,27,.11); text-decoration: none; }
.ks-brand-hub__featured::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(0deg, rgba(255,255,255,.99) 0%, rgba(255,255,255,.92) 39%, rgba(255,255,255,.08) 75%);
}
.ks-brand-hub__featured img { position: absolute; inset: 0; width: 100%; height: 70%; object-fit: contain; padding: 14px; transition: transform .3s ease; }
.ks-brand-hub__featured:hover img { transform: scale(1.035); }
.ks-brand-hub__featured-copy { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; }
.ks-brand-hub__featured-copy strong { font-family: Montserrat, "Open Sans", Arial, sans-serif; font-size: 1.45rem; font-weight: 800; }
.ks-brand-hub__featured-copy > span:not(.ks-brand-hub__badge):not(.ks-brand-hub__link) { margin-top: 7px; max-width: 95%; color: var(--ksb-muted); font-size: .85rem; line-height: 1.5; }
.ks-brand-hub__badge { display: inline-flex; margin-bottom: 8px; padding: 5px 9px; border-radius: 999px; background: #fff1ba; color: #735b00; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .055em; }
.ks-brand-hub__badge--green { background: #d9f2e2; color: #1a6039; }
.ks-brand-hub__badge--dark { background: #26342d; color: #fff; }
.ks-brand-hub__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--ksb-green); font-size: .78rem; font-weight: 800; }

.ks-brand-hub__section--all { padding-top: 62px; }
.ks-brand-hub__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; }
.ks-brand-hub__card {
    position: relative;
    overflow: hidden;
    min-height: 210px;
    display: grid;
    grid-template-columns: 42% 58%;
    align-items: stretch;
    border: 1px solid var(--ksb-border);
    border-radius: 19px;
    color: var(--ksb-ink);
    background: #fff;
    box-shadow: 0 7px 24px rgba(23,31,26,.04);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.ks-brand-hub__card:hover { transform: translateY(-3px); border-color: #cbd9d0; box-shadow: 0 15px 34px rgba(23,31,26,.09); color: var(--ksb-ink); text-decoration: none; }
.ks-brand-hub__card-image { display: flex; align-items: center; justify-content: center; padding: 13px; background: #f7f9f7; }
.ks-brand-hub__card-image img { width: 100%; height: 100%; max-height: 190px; object-fit: contain; transition: transform .25s ease; }
.ks-brand-hub__card:hover .ks-brand-hub__card-image img { transform: scale(1.04); }
.ks-brand-hub__card-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 20px; }
.ks-brand-hub__tag { display: inline-flex; margin-bottom: 7px; color: var(--ksb-green); font-size: .64rem; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
.ks-brand-hub__card-copy strong { font-family: Montserrat, "Open Sans", Arial, sans-serif; font-size: 1.13rem; font-weight: 800; }
.ks-brand-hub__card-copy > span:not(.ks-brand-hub__tag):not(.ks-brand-hub__link) { margin-top: 6px; color: var(--ksb-muted); font-size: .78rem; line-height: 1.46; }
.ks-brand-hub__card--own { border-color: #cde2d4; background: #fbfefc; }

.ks-brand-hub__finder {
    margin-top: 62px;
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 42px;
    padding: 42px;
    border-radius: 25px;
    color: #fff;
    background: linear-gradient(135deg, #1b2a22, #214e35 68%, #276846);
}
.ks-brand-hub__finder-copy p { max-width: 520px; color: rgba(255,255,255,.72); line-height: 1.65; }
.ks-brand-hub__finder h2 { font-size: clamp(1.65rem, 2.5vw, 2.3rem); }
.ks-brand-hub__finder-links { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
.ks-brand-hub__finder-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 69px; padding: 14px 17px; border: 1px solid rgba(255,255,255,.13); border-radius: 14px; color: #fff; background: rgba(255,255,255,.065); transition: background .2s ease; }
.ks-brand-hub__finder-links a:hover { color: #fff; background: rgba(255,255,255,.12); text-decoration: none; }
.ks-brand-hub__finder-links strong { font-size: .82rem; }
.ks-brand-hub__finder-links span { color: #bfe6cc; font-size: .72rem; font-weight: 700; white-space: nowrap; }

.ks-brand-hub__seo { margin-top: 58px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 52px; padding: 34px 0 12px; border-top: 1px solid var(--ksb-border); }
.ks-brand-hub__seo h2 { font-size: clamp(1.45rem, 2.3vw, 2rem); }
.ks-brand-hub__seo-copy { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
.ks-brand-hub__seo-copy p { margin: 0; color: var(--ksb-muted); font-size: .86rem; line-height: 1.7; }

@media (max-width: 1100px) {
    .ks-brand-hub__hero { grid-template-columns: 1fr .85fr; padding: 46px 40px; }
    .ks-brand-hub__featured-grid { grid-template-columns: 1fr 1fr; }
    .ks-brand-hub__featured--cada { grid-column: span 2; }
    .ks-brand-hub__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 767px) {
    .ks-brand-hub__hero { min-height: 0; grid-template-columns: 1fr; padding: 32px 22px; border-radius: 21px; }
    .ks-brand-hub__hero h1 { font-size: 2.25rem; }
    .ks-brand-hub__hero-visual { min-height: 245px; }
    .ks-brand-hub__hero-card--main { width: 66%; height: 210px; right: 4%; }
    .ks-brand-hub__hero-card--light { width: 42%; height: 125px; }
    .ks-brand-hub__hero-card--own { width: 32%; height: 100px; }
    .ks-brand-hub__section { padding-top: 40px; }
    .ks-brand-hub__featured-grid, .ks-brand-hub__grid { grid-template-columns: 1fr; }
    .ks-brand-hub__featured--cada { grid-column: auto; }
    .ks-brand-hub__featured { min-height: 285px; }
    .ks-brand-hub__card { min-height: 180px; grid-template-columns: 38% 62%; }
    .ks-brand-hub__finder { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; }
    .ks-brand-hub__finder-links { grid-template-columns: 1fr; }
    .ks-brand-hub__seo { grid-template-columns: 1fr; gap: 22px; }
    .ks-brand-hub__seo-copy { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 480px) {
    .ks-brand-hub__card { grid-template-columns: 1fr; }
    .ks-brand-hub__card-image { min-height: 155px; }
    .ks-brand-hub__card-copy { padding: 17px; }
}
