/* =========================================================
   Shiner Distribution — Main Stylesheet
   ========================================================= */

/* ----- Reset & Base ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a1a;
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ----- Typography ----- */
h1, h2, h3, h4, h5 {
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }

p { max-width: 68ch; margin-bottom: 1.2rem; }
p:last-child { margin-bottom: 0; }

/* ----- Layout Utilities ----- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container--wide { max-width: 1400px; }

.section {
    padding: 5rem 0;
}

.section--no-top {
    padding-top: 0;
}

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

.section--dark p { color: #fff; }

.section--mid {
    background: #f4f4f4;
}

.section--accent {
    background: #1e7abe;
}

/* ----- Header & Nav ----- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    transition: background 0.3s;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 70px;
}

.site-logo {
    display: flex;
    align-items: center;
}

.site-logo img {
    display: block;
}

.site-logo span { color: #1e7abe; }

.primary-nav {
    display: flex;
    align-items: center;
    gap: 0;
}

.primary-nav > li {
    position: relative;
}

.primary-nav > li > a,
.primary-nav > li > span {
    display: block;
    padding: 0 1.1rem;
    height: 70px;
    line-height: 70px;
    color: #000;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: color 0.2s;
    white-space: nowrap;
}

.primary-nav > li > a:hover,
.primary-nav > li > span:hover,
.primary-nav > li.active > a { color: #1e7abe; }

.primary-nav .dropdown {
    position: absolute;
    top: 70px;
    left: 0;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-top: 2px solid #1e7abe;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s;
    z-index: 200;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.primary-nav > li:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 0.85rem 1.3rem;
    color: #000;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e8e8e8;
    transition: color 0.2s, background 0.2s;
}

.dropdown a:hover { color: #1e7abe; background: #fafafa; }
.dropdown li:last-child a { border-bottom: none; }

.nav-b2b a {
    background: #000 !important;
    color: #fff !important;
    padding: 0 1.3rem !important;
    font-weight: 700 !important;
    margin-left: 1rem;
    border: none !important;
    transition: background 0.2s, color 0.2s !important;
}

.nav-b2b a:hover {
    background: #cccccc !important;
    color: #000 !important;
    border-color: #cccccc !important;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #111;
    margin: 5px 0;
    transition: all 0.3s;
}

/* ----- Hero ----- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #111;
    overflow: hidden;
    padding-top: 70px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('/assets/images/2026-shiner-building.webp') center center / cover no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #1e7abe;
    margin-bottom: 1.5rem;
}

.hero h1 {
    color: #fff;
    margin-bottom: 1.5rem;
}

.hero h1 em {
    font-style: normal;
    color: #1e7abe;
}

.hero-lead {
    font-size: 1.2rem;
    color: #aaa;
    max-width: 56ch;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

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

.hero-stats {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4rem;
    z-index: 2;
}

.hero-stat {
    text-align: center;
    color: #fff;
}

.hero-stat strong {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #1e7abe;
    line-height: 1;
}

.hero-stat span {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
    margin-top: 0.4rem;
    display: block;
}

/* ----- Buttons ----- */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    border-radius: 2px;
}

.btn--primary {
    background: #1e7abe;
    color: #111;
}

.btn--primary:hover { background: #fff; color: #111; }

.btn--outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn--outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.05);
}

.btn--dark {
    background: #1a1a1a;
    color: #fff;
}

.btn--dark:hover { background: #cccccc; color: #000; }

/* ----- Section Headers ----- */
.section-header {
    margin-bottom: 3.5rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1e7abe;
    margin-bottom: 1rem;
}

.section--dark .section-eyebrow { color: #1e7abe; }
.section--mid .section-eyebrow { color: #185f94; }

.section-header p {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-top: 1rem;
    line-height: 1.7;
}

.section--dark .section-header p { color: #999; }

/* ----- Two-column layout ----- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.two-col--flip { direction: rtl; }
.two-col--flip > * { direction: ltr; }

/* ----- Formula Grid ----- */
.formula-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.formula-item {
    background: #1a1a1a;
    padding: 3rem 2.5rem;
    transition: background 0.2s;
    position: relative;
    overflow: hidden;
}

.formula-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: #1e7abe;
    transition: height 0.3s;
}

.formula-item:hover { background: #1e1e1e; }
.formula-item:hover::before { height: 100%; }

.formula-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(232, 196, 32, 0.15);
    line-height: 1;
    margin-bottom: 1rem;
}

.formula-item h3 { color: #fff; margin-bottom: 0.8rem; }
.formula-item p { color: #888; font-size: 0.95rem; max-width: none; }

/* ----- Brand Cards ----- */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.brand-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    padding: 2rem;
    transition: all 0.2s;
    cursor: pointer;
    display: block;
}

.brand-card:hover {
    border-color: #1e7abe;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.brand-card-cat {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1e7abe;
    margin-bottom: 0.8rem;
}

.brand-card h3 { margin-bottom: 0.5rem; font-size: 1.3rem; }

.brand-card p {
    font-size: 0.9rem;
    color: #666;
    max-width: none;
    line-height: 1.6;
}

.brand-card-arrow {
    display: inline-block;
    margin-top: 1.2rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1a1a1a;
}

.brand-card-arrow::after { content: ' →'; }

/* ----- Category Tabs ----- */
.cat-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e8e8e8;
    margin-bottom: 3rem;
    overflow-x: auto;
}

.cat-tab {
    padding: 0.9rem 1.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    transition: all 0.2s;
    cursor: pointer;
}

.cat-tab:hover { color: #1a1a1a; }
.cat-tab.active { color: #1a1a1a; border-color: #1e7abe; }

/* ----- Single Brand ----- */
.brand-hero {
    padding: 8rem 0 5rem;
    background: #fff;
    color: #1a1a1a;
    border-bottom: 1px solid #e8e8e8;
}

.brand-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.brand-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(30, 122, 190, 0.1);
    border: 1px solid rgba(30, 122, 190, 0.3);
    color: #1e7abe;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border-radius: 2px;
}

.brand-hero h1 { color: #1a1a1a; margin-bottom: 0.8rem; }

.brand-hero .tagline {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.brand-hero p { color: #444; font-size: 1.05rem; max-width: none; }

.brand-visual {
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-visual-placeholder {
    font-size: 4rem;
    font-weight: 900;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: -0.04em;
}

/* ----- Customers Grid ----- */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-box {
    text-align: center;
    padding: 2rem;
    background: #f4f4f4;
}

.stat-box strong {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #1e7abe;
    line-height: 1;
}

.stat-box span {
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
    display: block;
    margin-top: 0.5rem;
}

.customer-logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
}

.customer-logo-cell {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 2 / 1;
}

.customer-logo-cell img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0.3;
    transition: opacity 0.25s ease;
}

.customer-logo-cell:hover img {
    opacity: 1;
}

/* ----- Opportunities ----- */
.opps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.opp-card {
    border: 1px solid #e8e8e8;
    padding: 2.5rem;
    transition: all 0.2s;
}

.opp-card:hover {
    border-color: #1e7abe;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.opp-icon {
    width: 52px;
    height: 52px;
    background: #f4f4f4;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.opp-card h3 { margin-bottom: 0.8rem; }
.opp-card p { font-size: 0.95rem; color: #666; max-width: none; }

.opp-card .btn { margin-top: 1.5rem; }

/* ----- Contact ----- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-notice {
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
    border-radius: 2px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-notice--success {
    background: #edf7ed;
    border-left: 3px solid #2e7d32;
    color: #1b5e20;
}

.form-notice--error {
    background: #fdecea;
    border-left: 3px solid #c62828;
    color: #7f1d1d;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.85rem 1rem;
    border: 1px solid #ddd;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    background: #fff;
    color: #1a1a1a;
    border-radius: 2px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #1e7abe; }

.form-group textarea { resize: vertical; min-height: 130px; }

.offices {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.office-card {
    border-left: 3px solid #1e7abe;
    padding-left: 1.5rem;
}

.office-card h4 { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: #1e7abe; margin-bottom: 0.5rem; }
.office-card address { font-style: normal; color: #444; font-size: 0.95rem; line-height: 1.7; }
.office-card a { color: #1a1a1a; border-bottom: 1px solid #ddd; transition: border-color 0.2s; }
.office-card a:hover { border-color: #1a1a1a; }

.contact-social {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border: 1px solid #ddd;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.2s;
    border-radius: 2px;
}

.social-link:hover { border-color: #1a1a1a; background: #1a1a1a; color: #fff; }

/* ----- Locations Bar ----- */
.locations-bar {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    padding: 1.2rem 0;
}

.locations-bar .container {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #111;
}

/* ----- Footer ----- */
.site-footer {
    background: #0a0a0a;
    color: #888;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #666;
    margin-top: 1rem;
    max-width: 36ch;
}

.footer-col h5 {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.2rem;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: #666;
    transition: color 0.2s;
}

.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid #1e1e1e;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p { font-size: 0.82rem; color: #555; max-width: none; }

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.82rem;
    color: #555;
    transition: color 0.2s;
}

.footer-legal a:hover { color: #fff; }

/* ----- Page Hero (inner pages) ----- */
.page-hero {
    padding: 9rem 0 5rem;
    background: #111;
    color: #fff;
}

.page-hero h1 { color: #fff; margin-bottom: 1rem; }
.page-hero p { color: #999; font-size: 1.1rem; max-width: 56ch; }

/* ----- Breadcrumb ----- */
.breadcrumb {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.78rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.breadcrumb a { color: #888; transition: color 0.2s; }
.breadcrumb a:hover { color: #1e7abe; }
.breadcrumb span { color: #fff; }

/* ----- Prose (legal pages) ----- */
.prose {
    max-width: 780px;
    line-height: 1.8;
}

.prose h2 { font-size: 1.5rem; margin: 2.5rem 0 1rem; }
.prose h3 { font-size: 1.15rem; margin: 2rem 0 0.7rem; }
.prose p { margin-bottom: 1.2rem; color: #444; max-width: none; }
.prose ul { margin: 1rem 0 1.2rem 1.5rem; list-style: disc; }
.prose ul li { margin-bottom: 0.5rem; color: #444; }
.prose a { color: #1a1a1a; border-bottom: 1px solid #ccc; }
.prose a:hover { border-color: #1a1a1a; }

/* ----- Brand logo grid ----- */
.brand-logo-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
background:#000;

}

.brand-logo-cell {
    position: relative;
    aspect-ratio: 1;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
}

.brand-logo-cell img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-logo-cell {
    transition: background 0.3s;
}

.brand-logo-cell:hover {
    background: #1e7abe;
}

@media (max-width: 768px) {
    .brand-logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ----- Mission image ----- */
.mission-image-wrap {
    width: 100%;
    overflow: hidden;
}

.mission-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .mission-image-wrap {
        order: -1;
    }
}

/* ----- Formula crossfade image ----- */
.formula-img-fade {
    position: relative;
    aspect-ratio: 1 / 1.2;
    overflow: hidden;
    width: 100%;
}

.formula-img-fade img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.formula-img-fade img:nth-child(1) {
    animation: formula-fade 8s ease-in-out infinite;
}

.formula-img-fade img:nth-child(2) {
    animation: formula-fade 8s ease-in-out infinite;
    animation-delay: -4s;
}

@keyframes formula-fade {
    0%, 40%  { opacity: 1; }
    50%, 90% { opacity: 0; }
    100%     { opacity: 1; }
}





.formula-img-fade--3 img:nth-child(1) { animation: formula-fade3 12s ease-in-out infinite; animation-delay: 0s; }
.formula-img-fade--3 img:nth-child(2) { animation: formula-fade3 12s ease-in-out infinite; animation-delay: -4s; }
.formula-img-fade--3 img:nth-child(3) { animation: formula-fade3 12s ease-in-out infinite; animation-delay: -8s; }

@keyframes formula-fade3 {
    0%, 26.7%    { opacity: 1; }
    33.3%, 93.3% { opacity: 0; }
    100%         { opacity: 1; }
}


.formula-img-fade--4 img:nth-child(1) { animation: formula-fade4 16s ease-in-out infinite; animation-delay: 0s; }
.formula-img-fade--4 img:nth-child(2) { animation: formula-fade4 16s ease-in-out infinite; animation-delay: -12s; }
.formula-img-fade--4 img:nth-child(3) { animation: formula-fade4 16s ease-in-out infinite; animation-delay: -8s; }
.formula-img-fade--4 img:nth-child(4) { animation: formula-fade4 16s ease-in-out infinite; animation-delay: -4s; }

@keyframes formula-fade4 {
    0%, 20%  { opacity: 1; }
    25%, 95% { opacity: 0; }
    100%     { opacity: 1; }
}

/* Static variant — no crossfade, shows first image only */
.formula-img-fade--static img {
    animation: none !important;
    opacity: 0 !important;
}
.formula-img-fade--static img:first-child {
    opacity: 1 !important;
}


@media (max-width: 768px) {
    .formula-img-fade { aspect-ratio: 1 / 1.2; }
}

/* ----- Logo ticker ----- */
.logo-ticker-wrap {
    overflow: hidden;
    position: relative;
}

/* Fade edges */
.logo-ticker-wrap::before,
.logo-ticker-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}
.logo-ticker-wrap::before {
    left: 0;
    background: linear-gradient(to right, #111, transparent);
}
.logo-ticker-wrap::after {
    right: 0;
    background: linear-gradient(to left, #111, transparent);
}

.logo-ticker {
    overflow: hidden;
}

.logo-ticker__track {
    display: flex;
    gap: 0.25rem;
    animation: ticker-scroll 30s linear infinite;
    width: max-content;
}

.logo-ticker__track:hover {
    animation-play-state: running;
}

.logo-ticker__item {
    flex-shrink: 0;
    width: 350px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.logo-ticker__item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: filter 0.2s, opacity 0.2s;
}

.logo-ticker__item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes ticker-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .logo-ticker-wrap::before,
    .logo-ticker-wrap::after { width: 30px; }
}

/* ----- Homepage grids ----- */
.homepage-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.homepage-customers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #ddd;
}

@media (max-width: 768px) {
    .homepage-cat-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .homepage-customers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ----- Divider ----- */
.divider {
    width: 48px;
    height: 3px;
    background: #1e7abe;
    margin: 1.2rem 0;
}

/* ----- Arrow List (two-line variant with title + subtitle) ----- */
.arrow-list-block {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.arrow-list-block li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.arrow-list-block li .arrow {
    color: #1e7abe;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ----- Arrow List ----- */
.arrow-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 1.8rem;
}

.arrow-list li {
    display: flex;
    gap: 0.8rem;
    font-size: 0.9rem;
    align-items: flex-start;
}

.arrow-list li .arrow {
    color: #1e7abe;
    font-weight: 900;
    flex-shrink: 0;
    margin-top: 2px;
}

.section--dark .arrow-list li {
    color: #fff;
}

/* ----- Cookie Banner ----- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border-top: 2px solid #1e7abe;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    z-index: 999;
    flex-wrap: wrap;
    transform: translateY(100%);
    transition: transform 0.4s;
}

.cookie-banner.show { transform: translateY(0); }

.cookie-banner p { font-size: 0.88rem; color: #ccc; max-width: 70ch; margin: 0; }
.cookie-banner a { color: #1e7abe; border-bottom: 1px solid rgba(30,122,190,0.4); }

.cookie-actions { display: flex; gap: 0.8rem; flex-shrink: 0; }

/* ----- Responsive ----- */
@media (max-width: 1024px) {
    .formula-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .opps-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .primary-nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 1rem 0 2rem;
        border-top: 1px solid #e8e8e8;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    }

    .primary-nav.open { display: flex; }

    .primary-nav > li > a,
    .primary-nav > li > span {
        height: auto;
        line-height: 1;
        padding: 1rem 2rem;
        justify-content: center;
        text-align: center;
    }

    .primary-nav .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        background: none;
        padding-left: 0;
        text-align: center;
        box-shadow: none;
    }

    .primary-nav .dropdown a {
        justify-content: center;
        text-align: center;
        background: #fff;
        border-bottom: none;
    }

    .primary-nav .dropdown li:last-child a { border-bottom: none; }

    .nav-b2b { width: 100%; padding: 1rem 2rem; }
    .nav-b2b a { margin-left: 0 !important; width: 100%; text-align: center; padding: 1rem !important; }
    .nav-toggle { display: block; margin-left: auto; }

    .header-inner { position: relative; justify-content: center; }
    .header-inner .site-logo { position: absolute; left: 50%; transform: translateX(-50%); }
    .footer-brand .site-logo { position: static; transform: none; }

    .hero { min-height: 70vh; }
    .hero-bg { left: -50%; }
    .hero-content { padding: 3rem 0; }
    .hero-stats { display: none; }
    .section { padding: 3rem 0; }

    .cat-tabs { flex-direction: column; border-bottom: none; margin-top: 1.5rem; margin-bottom: 1rem; gap: 0.4rem; }
    .cat-tab { border-bottom: none; border-left: 3px solid transparent; margin-bottom: 0; padding: 0.8rem 1.2rem; }
    .cat-tab.active { border-left-color: #1e7abe; border-bottom: none; }

    .two-col { grid-template-columns: 1fr; gap: 3rem; }
    .two-col--flip { direction: ltr; }
    .two-col .mission-image-wrap { order: -1; }

    .formula-grid { grid-template-columns: 1fr; }

    .contact-grid { grid-template-columns: 1fr; }

    .brand-hero-inner { grid-template-columns: 1fr; }
    .brand-visual { order: -1; }

    .opps-grid { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; }

    .footer-bottom { flex-direction: column; align-items: flex-start; }

    .customer-logo-grid { grid-template-columns: repeat(4, 1fr); }

    .locations-bar .container { gap: 2rem; }

    .stats-grid { gap: 0; }
    .stat-box { background: none; padding: 1.5rem 1rem; }
    .stat-box:nth-child(odd) { border-right: 1px solid #e0e0e0; }
}

@media (max-width: 480px) {
    .customer-logo-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { text-align: center; }
}
