:root {
    --bwn-gold:   #FFD300;
    --bwn-dark:   #222222;
    --bwn-mid:    #2e2e2e;
    --bwn-border: #3a3a3a;
    --bwn-text:   #cccccc;
    --bwn-white:  #ffffff;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    margin: 0;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--bwn-text);
    background: var(--bwn-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Default - dark background, yellow link, white on hover */
a { color: var(--bwn-gold); text-decoration: none; }
a:hover { color: #fff; text-decoration: none; }

/* Light background sections - dark links */
.bwn-section-light a      { color: #444; }
.bwn-section-light a:hover { color: var(--bwn-dark); }

img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin-top: 0; line-height: 1.25; }
p { margin-top: 0; }

/* ---- Web Awesome tweaks ----------------------------------- */
wa-card::part(header) {
    font-weight: 600;
    font-size: 1rem;
    color: var(--bwn-dark);
    border-bottom: 2px solid var(--bwn-gold);
}

/* ---- Header ---------------------------------------------- */
.bwn-header {
    background: #1a1a1a;
    border-bottom: 3px solid var(--bwn-gold);
    position: sticky;
    top: 0;
    z-index: 100;
}

.bwn-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bwn-logo { height: 44px; }
.bwn-logo-link { display: flex; align-items: center; }

.bwn-nav { display: flex; align-items: center; gap: 28px; }

.bwn-nav-link {
    color: #aaa;
    font-size: .95rem;
    font-weight: 500;
    transition: color .15s;
}

.bwn-nav-link:hover,
.bwn-nav-link.active { color: var(--bwn-gold); }

.bwn-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 4px;
}

.bwn-mobile-nav {
    display: none;
    flex-direction: column;
    background: var(--bwn-mid);
    padding: 12px 24px 16px;
    gap: 4px;
}

.bwn-mobile-nav.open { display: flex; }

.bwn-mobile-nav .bwn-nav-link {
    padding: 10px 0;
    border-bottom: 1px solid #444;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .bwn-nav { display: none; }
    .bwn-menu-btn { display: block; }
}

/* ---- Hero ------------------------------------------------ */
@keyframes heroZoom {
    from { transform: scale(1) translateZ(0); }
    to   { transform: scale(1.06) translateZ(0); }
}

.bwn-hero {
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.bwn-hero-bg {
    position: absolute;
    inset: -4%;
    background: url('/assets/images/hero.jpg') center center / cover no-repeat;
    animation: heroZoom 18s ease-in-out infinite alternate;
    transform: translateZ(0);
    backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast;
}

.bwn-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
}

.bwn-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    padding: 60px 40px;
    color: #fff;
}

.bwn-hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #fff;
    border-bottom: 3px solid var(--bwn-gold);
    padding-bottom: 14px;
    margin-bottom: 18px;
    text-shadow: 0 2px 14px rgba(0,0,0,.8), 0 1px 4px rgba(0,0,0,.6);
}

.bwn-hero-content p {
    font-size: 1.1rem;
    margin-bottom: 28px;
    color: #ddd;
    text-shadow: 0 1px 8px rgba(0,0,0,.7);
}

/* ---- Stats ----------------------------------------------- */
.bwn-stats {
    display: flex;
    flex-wrap: wrap;
    background: var(--bwn-gold);
}

.bwn-stat {
    flex: 1 1 180px;
    text-align: center;
    padding: 28px 16px;
    border-right: 1px solid rgba(0,0,0,.12);
}

.bwn-stat:last-child { border-right: none; }
.bwn-stat-number { font-size: 2.2rem; font-weight: 700; color: var(--bwn-dark); line-height: 1; }
.bwn-stat-label  { font-size: .85rem; color: var(--bwn-dark); margin-top: 4px; font-weight: 500; }

/* ---- Sections -------------------------------------------- */
.bwn-section {
    padding: 64px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.bwn-section-light {
    background: #f5f5f5;
    padding: 64px 24px;
    color: #444;
}

.bwn-section-light h2,
.bwn-section-light h3 { color: var(--bwn-dark); }

.bwn-section-dark {
    background: var(--bwn-dark);
    padding: 64px 24px;
}

.bwn-inner { max-width: 1200px; margin: 0 auto; }

.bwn-section-title {
    font-size: 1.7rem;
    color: #fff;
    border-left: 4px solid var(--bwn-gold);
    padding-left: 14px;
    margin-bottom: 28px;
}

/* Light background sections need dark title */
.bwn-section-light .bwn-section-title { color: var(--bwn-dark); }

.bwn-section-title.text-center {
    border-left: none;
    border-bottom: 3px solid var(--bwn-gold);
    padding-left: 0;
    padding-bottom: 10px;
    display: inline-block;
}

/* ---- Grid ------------------------------------------------ */
.bwn-grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    align-items: center;
}

.bwn-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

/* ---- CTA ------------------------------------------------- */
.bwn-cta {
    background: var(--bwn-gold);
    padding: 56px 24px;
    text-align: center;
}

.bwn-cta h2 { color: var(--bwn-dark); font-size: 1.8rem; margin-bottom: 10px; }
.bwn-cta p  { color: var(--bwn-dark); font-size: 1.05rem; margin-bottom: 24px; }

/* ---- Page hero (inner pages) ----------------------------- */
.bwn-page-hero {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-bottom: 4px solid var(--bwn-gold);
}

.bwn-page-hero-bg {
    position: absolute;
    inset: -4%;
    background-size: cover;
    background-position: center;
    animation: heroZoom 20s ease-in-out infinite alternate;
    transform: translateZ(0);
    backface-visibility: hidden;
    image-rendering: -webkit-optimize-contrast;
}

.bwn-page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.65);
}

.bwn-page-hero-content {
    position: relative;
    z-index: 1;
    padding: 52px 24px;
}

.bwn-page-hero h1 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin: 0;
    text-shadow: 0 2px 12px rgba(0,0,0,.8);
}

.bwn-page-hero p {
    color: #ccc;
    margin: 10px 0 0;
    text-shadow: 0 1px 8px rgba(0,0,0,.7);
}

/* ---- Value cards ----------------------------------------- */
.bwn-value-card {
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-left: 4px solid var(--bwn-gold);
    border-radius: 6px;
    padding: 28px 24px;
    transition: transform .2s, box-shadow .2s;
}

.bwn-value-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0,0,0,.4);
}

.bwn-value-card wa-icon { font-size: 2rem; color: var(--bwn-gold); margin-bottom: 14px; display: block; }
.bwn-value-card h3      { color: #fff; font-size: 1.1rem; margin-bottom: 10px; }
.bwn-value-card p       { color: #999; font-size: .95rem; margin: 0; line-height: 1.65; }

/* ---- Image frame ----------------------------------------- */
.bwn-img-frame {
    display: block;
    width: 100%;
    border-radius: 6px;
    border: 2px solid var(--bwn-gold);
}

/* ---- Service carousel (home page) ------------------------ */
.bwn-carousel-wrap {
    overflow: hidden;
    position: relative;
}

/* Desktop: flex row, 4 cards visible */
@media (min-width: 769px) {
    .bwn-carousel-track {
        display: flex;
        gap: 20px;
        will-change: transform;
    }
    .bwn-carousel-track .bwn-service-card {
        flex: 0 0 calc(25% - 15px);
        min-width: 0;
    }
}

/* Mobile: normal single-column list */
@media (max-width: 768px) {
    .bwn-carousel-wrap { overflow: visible; }
    .bwn-carousel-track {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* ---- Service cards --------------------------------------- */
.bwn-service-card {
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-top: 3px solid var(--bwn-gold);
    border-radius: 6px;
    padding: 28px 24px;
}


.bwn-service-card wa-icon {
    font-size: 2rem;
    color: var(--bwn-gold);
    margin-bottom: 14px;
    display: block;
}

.bwn-service-card h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.bwn-service-card p {
    color: #999;
    font-size: .95rem;
    margin: 0;
    line-height: 1.65;
}

/* ---- Contact / form -------------------------------------- */
.bwn-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
}

.bwn-form-wrap { width: 100%; max-width: 560px; }

.bwn-form-header { margin-bottom: 32px; text-align: center; }

.bwn-form-header h1 {
    color: var(--bwn-white);
    font-size: 2rem;
    margin: 0 0 8px;
    border-bottom: 3px solid var(--bwn-gold);
    display: inline-block;
    padding-bottom: 8px;
}

.bwn-form-header p { color: #888; margin: 12px 0 0; }

.bwn-field { margin-bottom: 18px; }

.bwn-field label {
    display: block;
    font-size: .875rem;
    font-weight: 600;
    color: #bbb;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.req { color: var(--bwn-gold); }

.bwn-field input,
.bwn-field textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bwn-mid);
    border: 1px solid var(--bwn-border);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    color: #eee;
    transition: border-color .15s, box-shadow .15s;
}

.bwn-field input::placeholder,
.bwn-field textarea::placeholder { color: #555; }

.bwn-field input:focus,
.bwn-field textarea:focus {
    outline: none;
    border-color: var(--bwn-gold);
    box-shadow: 0 0 0 3px rgba(255,211,0,.15);
}

.bwn-field textarea { resize: vertical; min-height: 130px; }

.bwn-field input.field-invalid,
.bwn-field textarea.field-invalid {
    border-color: #cc3333;
    box-shadow: 0 0 0 3px rgba(200,40,40,.15);
}

.bwn-field-error {
    color: #e06060;
    font-size: .8rem;
    margin: 6px 0 0;
    display: flex;
    align-items: center;
    line-height: 1.4;
}

.bwn-submit-btn {
    width: 100%;
    padding: 14px 28px;
    background: var(--bwn-gold);
    color: var(--bwn-dark);
    font-weight: 700;
    font-size: 1rem;
    font-family: inherit;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: opacity .15s;
}

.bwn-submit-btn:hover { opacity: .85; }

.bwn-alert {
    background: #3a1a1a;
    border: 1px solid #a33;
    border-radius: 6px;
    padding: 12px 16px;
    color: #f88;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: .9rem;
}

.bwn-success { text-align: center; padding: 32px 0; }
.bwn-success h2 { color: #fff; margin: 16px 0 8px; }
.bwn-success p  { color: #888; margin-bottom: 24px; }

.bwn-btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--bwn-gold);
    color: var(--bwn-dark);
    font-weight: 600;
    border-radius: 999px;
    font-size: .95rem;
    transition: opacity .15s;
}

.bwn-btn:hover { opacity: .85; color: var(--bwn-dark); }

.bwn-btn-dark {
    background: var(--bwn-dark);
    color: #fff;
    border: 2px solid transparent;
}

.bwn-btn-dark:hover { background: #111; color: #fff; opacity: 1; }

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

.bwn-btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; opacity: 1; }

.bwn-contact-details {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.bwn-contact-details a {
    color: #666;
    font-size: .875rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color .15s;
}

.bwn-contact-details a:hover { color: #fff; }

.bwn-linkedin-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
}

/* ---- Accreditations -------------------------------------- */
.bwn-badges {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 16px;
}

.bwn-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.bwn-badge-item img {
    height: 72px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.75;
}

.bwn-badge-item span {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #666;
}

/* Smaller version for footer */
.bwn-badges--sm .bwn-badge-item img { height: 44px; }
.bwn-badges--sm .bwn-badge-item span { display: none; }

/* ---- Footer ---------------------------------------------- */
.bwn-footer { background: #1a1a1a; color: #aaa; padding-top: 52px; }

.bwn-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 44px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
}

.bwn-footer h4 {
    color: var(--bwn-gold);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 14px;
}

.bwn-footer p    { font-size: .9rem; margin-bottom: 8px; }
.bwn-footer a    { color: #777; }
.bwn-footer a:hover { color: var(--bwn-gold); }
.bwn-footer ul   { list-style: none; padding: 0; margin: 0; }
.bwn-footer ul li { margin-bottom: 6px; font-size: .9rem; }

.bwn-footer-logo   { height: 48px; margin-bottom: 16px; display: block; }

.bwn-footer-social {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .875rem;
    color: #777;
    margin-top: 8px;
}

.bwn-footer-social:hover { color: var(--bwn-gold); }

.bwn-footer-bottom {
    border-top: 1px solid #2e2e2e;
    text-align: center;
    padding: 16px 24px;
    font-size: .8rem;
    color: #444;
}

/* ---- Text badge (Achilles placeholder) ------------------- */
.bwn-badge-text {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bwn-gold);
    border-radius: 6px;
    padding: 8px 14px;
    height: 60px;
    line-height: 1.2;
}

.bwn-badge-top {
    font-size: .95rem;
    font-weight: 700;
    color: var(--bwn-gold);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.bwn-badge-bottom {
    font-size: .7rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.bwn-badge-text--sm {
    height: 48px;
    padding: 6px 10px;
}

.bwn-badge-text--sm .bwn-badge-top   { font-size: .8rem; }
.bwn-badge-text--sm .bwn-badge-bottom { font-size: .6rem; }

/* ---- Utility --------------------------------------------- */
.text-center { text-align: center; }
