/* ==================================================================
   Kites Technologies — Main Stylesheet
   Theme colours are injected as CSS variables from site.json (header).
   ================================================================== */

/* ---- Base & Typography ------------------------------------------ */
body {
    cursor: none;
    overflow-x: hidden;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--kites-navy);
    background-color: #FAFAFA;
}
main { padding-top: 64px; }
h1, h2, h3, h4, h5, h6 { font-family: 'Poppins', sans-serif; font-weight: 700; letter-spacing: -0.3px; }
.sub-heading, .nav-link, .btn { font-family: 'Poppins', sans-serif; }
.fw-600 { font-weight: 600; }

/* --- Smaller, modern type scale --------------------------------- */
.display-1 { font-size: 3.4rem; }
.display-2 { font-size: 2.8rem; }
.display-3 { font-size: 2.3rem; }
.display-4 { font-size: 1.9rem; }
.display-5 { font-size: 1.55rem; }
.display-6 { font-size: 1.25rem; }
.lead { font-size: 1rem; font-weight: 400; }
.fs-4 { font-size: 1.1rem !important; }
.fs-5 { font-size: 0.98rem !important; }
.sub-heading { font-size: 0.72rem; letter-spacing: 2.5px; }
.section-pad { padding: 90px 0; }
.btn { font-size: 0.82rem; }
.btn-lg { font-size: 0.9rem !important; }

@media (max-width: 767px) {
    body { font-size: 0.9rem; }
    .display-1 { font-size: 2.2rem; }
    .display-2 { font-size: 2rem; }
    .display-3 { font-size: 1.7rem; }
    .display-4 { font-size: 1.5rem; }
    .section-pad { padding: 64px 0; }
}

.sub-heading {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--kites-accent);
}
.short-lines {
    max-width: 32ch;
    margin: 0 auto;
    text-align: justify;
    text-align-last: center;
    font-weight: 500;
    line-height: 1.7;
    color: inherit;
}
.min-vh-100 { min-height: 100vh; }
.section-pad { padding: 120px 0; position: relative; z-index: 1; }

/* ---- Glassmorphism ---------------------------------------------- */
/* Stronger frosted-glass so the animated 3D background shows through */
.glass-panel {
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 10px 40px 0 rgba(21, 34, 56, 0.10), inset 0 1px 0 rgba(255,255,255,0.6);
    border-radius: 1.5rem;
    transition: all 0.4s ease;
}
.glass-panel-dark {
    background: rgba(21, 34, 56, 0.82);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid rgba(224, 142, 0, 0.28);
    box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255,255,255,0.06);
    border-radius: 1.5rem;
    color: white;
    transition: all 0.4s ease;
}
/* Generic glassy surface helper */
.glassy {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

/* ---- Navigation: links space-between, logo at END --------------- */
.glass-nav {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(22px) saturate(160%);
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    border-bottom: 2px solid var(--kites-accent);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 0 !important;
    min-height: 60px;
}
.nav-spread {
    display: flex;
    flex-direction: row;
    justify-content: space-between;   /* all <li> spread between */
    align-items: center;
}
.glass-nav .nav-link {
    color: var(--kites-navy);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0.25rem;
    transition: color 0.3s ease;
}
.glass-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    height: 2px; width: 0;
    background: var(--kites-accent);
    transition: width 0.3s ease;
}
.glass-nav .nav-link:hover,
.glass-nav .nav-link.active { color: var(--kites-accent); }
.glass-nav .nav-link:hover::after,
.glass-nav .nav-link.active::after { width: 100%; }

/* Logo hanging container, now pinned to the end of the bar */
/* Small top-corner logo */
.nav-logo { padding: 0; margin: 0; display: flex; align-items: center; }
.nav-logo img { height: 42px; width: auto; max-width: 150px; object-fit: contain; transition: transform 0.3s ease; }
.nav-logo:hover img { transform: scale(1.04); }

@media (max-width: 991px) {
    .nav-spread { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
    .glass-nav .navbar-collapse {
        background: rgba(255,255,255,0.97); border-radius: 0 0 14px 14px;
        padding: 8px 16px; margin-top: 6px; box-shadow: 0 12px 24px rgba(21,34,56,0.12);
    }
    .nav-logo img { height: 38px; }
    body { cursor: auto; }
    .custom-cursor { display: none; }
}

/* ---- 3D Background Canvas ---------------------------------------- */
.bg-canvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -3;
    display: block;
    pointer-events: none;
}

/* ---- Custom Kite Cursor ----------------------------------------- */
.custom-cursor {
    width: 35px; height: 45px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 36"><polygon points="12,0 24,12 12,24 0,12" fill="%23E08E00"/><path d="M12,24 Q18,30 12,36" stroke="%23152238" fill="none" stroke-width="2"/></svg>');
    background-size: contain; background-repeat: no-repeat;
    position: fixed; pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease-out, filter 0.2s;
    filter: drop-shadow(2px 4px 6px rgba(0,0,0,0.3));
}
.custom-cursor.cursor-hover {
    transform: translate(-50%, -50%) scale(1.6);
    filter: drop-shadow(0 0 12px rgba(224, 142, 0, 0.8));
}

/* ---- Ambient wind + kites --------------------------------------- */
.ambient-bg-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: -2; overflow: hidden;
}
.wind-streak {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(224, 142, 0, 0.2), transparent);
    height: 2px; border-radius: 50%;
    animation: windBlow linear infinite;
}
@keyframes windBlow {
    0% { transform: translateX(-100vw) translateY(0) rotate(-5deg); opacity: 0; }
    10% { opacity: 1; } 80% { opacity: 1; }
    100% { transform: translateX(100vw) translateY(-20vh) rotate(-5deg); opacity: 0; }
}
.bg-kite {
    position: absolute; width: 50px; height: 75px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 36"><polygon points="12,0 24,12 12,24 0,12" fill="%23152238"/><path d="M12,24 Q6,30 12,36" stroke="%23E08E00" fill="none" stroke-width="2"/></svg>');
    background-size: contain; background-repeat: no-repeat;
    opacity: 0.08; animation: kiteFly linear infinite;
}
@keyframes kiteFly {
    0% { transform: translate(-10vw, 110vh) rotate(15deg); }
    50% { transform: translate(45vw, 40vh) rotate(-10deg); }
    100% { transform: translate(110vw, -10vh) rotate(20deg); }
}

/* ---- Hero -------------------------------------------------------- */
.hero-bg {
    background-size: cover; background-position: center;
    background-attachment: fixed; color: white;
}
#hero .lead { max-width: 40ch; }

/* Hero + justified text behave nicely on small screens */
@media (max-width: 767px) {
    .short-lines { text-align: center; text-align-last: center; max-width: 92%; line-height: 1.6; }
    #hero h1.display-1 { line-height: 1.2; word-break: normal; overflow-wrap: anywhere; }
    #hero .lead { font-size: 0.9rem; max-width: 100%; padding: 0 6px; }
    #hero .btn { padding-left: 1.6rem !important; padding-right: 1.6rem !important; }
    .hero-bg { background-attachment: scroll; }
}

/* ---- Animations & hover ----------------------------------------- */
.hover-lift { transition: transform 0.4s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.4s ease; }
.hover-lift:hover { transform: translateY(-12px) scale(1.02); box-shadow: 0 20px 40px rgba(21,34,56,0.15); }
.img-hover { transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94); }
.overflow-hidden:hover .img-hover { transform: scale(1.05); }
.float-anim { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%{transform:translateY(0)} 50%{transform:translateY(-20px)} 100%{transform:translateY(0)} }

.glow-text { background: linear-gradient(45deg, #fff, var(--kites-accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.glow-text-dark { background: linear-gradient(45deg, var(--kites-navy), var(--kites-accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* ---- Angled section & ring icons -------------------------------- */
.angled-bg { position: relative; overflow: hidden; background-color: #FFFFFF; z-index: 1; }
.angled-bg::after {
    content: ''; position: absolute; bottom: -20%; right: -10%;
    width: 55%; height: 140%; background-color: var(--kites-accent);
    transform: rotate(-25deg); z-index: -1; opacity: 0.9;
}
.ring-icon {
    width: 80px; height: 80px; border-radius: 50%;
    border: 6px solid var(--kites-navy); border-top-color: var(--kites-accent);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem auto; transform: rotate(-45deg);
    background: white; box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.ring-icon i { transform: rotate(45deg); }

/* ---- Buttons ---------------------------------------------------- */
.btn-creative {
    background: var(--kites-accent); color: white; border: 2px solid var(--kites-accent);
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    transition: all 0.3s ease; position: relative; overflow: hidden; z-index: 1;
}
.btn-creative::before {
    content: ''; position: absolute; top: 0; left: 0; width: 0%; height: 100%;
    background: var(--kites-navy); transition: all 0.4s ease; z-index: -1;
}
.btn-creative:hover { color: white; border-color: var(--kites-navy); transform: translateY(-3px); box-shadow: 0 12px 25px rgba(224,142,0,0.3); }
.btn-creative:hover::before { width: 100%; }
.btn-creative-outline {
    background: transparent; color: white; border: 2px solid white;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1px; transition: all 0.3s ease;
}
.btn-creative-outline:hover { background: white; color: var(--kites-navy); transform: translateY(-3px); box-shadow: 0 12px 25px rgba(255,255,255,0.2); }

/* ---- Owl Carousel (products & services) ------------------------- */
.owl-card {
    background: rgba(255,255,255,0.6); backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border-radius: 1.5rem; overflow: hidden; height: 100%;
    border: 1px solid rgba(255,255,255,0.6); box-shadow: 0 10px 30px rgba(21,34,56,0.08);
    transition: all 0.4s ease; margin: 10px 0;
}
.owl-card:hover { transform: translateY(-10px); box-shadow: 0 22px 45px rgba(224,142,0,0.18); }
.owl-card .owl-card-img { height: 200px; overflow: hidden; background: rgba(255,255,255,0.35); }
.owl-card .owl-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.owl-card:hover .owl-card-img img { transform: scale(1.08); }
.owl-card .owl-card-body { padding: 1.75rem; text-align: center; }
.owl-service-card {
    background: rgba(255,255,255,0.6); backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border-radius: 1.5rem; padding: 2.5rem 1.75rem; height: 100%;
    text-align: center; border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 10px 30px rgba(21,34,56,0.08); transition: all 0.4s ease; margin: 10px;
}
.owl-service-card:hover { transform: translateY(-10px); box-shadow: 0 22px 45px rgba(224,142,0,0.18); }

/* Owl navigation + dots themed */
.owl-theme .owl-nav [class*='owl-'] {
    background: var(--kites-navy) !important; color: #fff !important;
    width: 46px; height: 46px; border-radius: 50%; margin: 0 6px;
    transition: all 0.3s ease; font-size: 18px !important;
}
.owl-theme .owl-nav [class*='owl-']:hover { background: var(--kites-accent) !important; transform: scale(1.1); }
.owl-theme .owl-dots .owl-dot span { background: rgba(21,34,56,0.25); width: 12px; height: 12px; transition: all 0.3s ease; }
.owl-theme .owl-dots .owl-dot.active span { background: var(--kites-accent); width: 30px; border-radius: 6px; }

/* ---- Category filter buttons (Products + Gallery) --------------- */
.product-filter, .cat-filter {
    background: rgba(255,255,255,0.6); backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(21,34,56,0.12); color: var(--kites-navy);
    font-family: 'Poppins', sans-serif;
    font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; font-size: 0.75rem;
    transition: all 0.3s ease; cursor: pointer;
}
.product-filter:hover, .cat-filter:hover { border-color: var(--kites-accent); color: var(--kites-accent); }
.product-filter.active, .cat-filter.active { background: var(--kites-navy); color: #fff; border-color: var(--kites-navy); }

/* ---- Clients / Partners marquee --------------------------------- */
.marquee-wrapper { overflow: hidden; position: relative; width: 100%; padding: 20px 0; }
.marquee-wrapper::before, .marquee-wrapper::after {
    content: ''; position: absolute; top: 0; width: 130px; height: 100%; z-index: 2; pointer-events: none;
}
.marquee-wrapper::before { left: 0; background: linear-gradient(90deg, #FAFAFA 10%, transparent); }
.marquee-wrapper::after { right: 0; background: linear-gradient(270deg, #FAFAFA 10%, transparent); }
.marquee-dark::before { background: linear-gradient(90deg, #152238 10%, transparent); }
.marquee-dark::after { background: linear-gradient(270deg, #152238 10%, transparent); }
.marquee-track { display: flex; align-items: center; gap: 2rem; width: max-content; animation: marqueeScroll 40s linear infinite; will-change: transform; }
.marquee-track.reverse { animation-direction: reverse; animation-duration: 32s; }
.marquee-wrapper:hover .marquee-track { animation-play-state: paused; }
@keyframes marqueeScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
/* Client / partner logos: ACTUAL colours, no card background, no overlay */
.logo-card {
    background: transparent; border: none; box-shadow: none;
    border-radius: 0; padding: 0 1.75rem;
    display: flex; align-items: center; justify-content: center;
    min-width: 190px; height: 110px; flex-shrink: 0;
    transition: transform 0.4s ease;
}
.logo-card img {
    max-height: 80px; max-width: 160px; object-fit: contain;
    filter: none; opacity: 1;                 /* full colour, no grayscale */
    transition: transform 0.4s ease;
}
.logo-card:hover { transform: translateY(-6px); }
.logo-card:hover img { transform: scale(1.08); }

/* ---- Trust stats ------------------------------------------------ */
.trust-stat { text-align: center; padding: 0 2rem; position: relative; }
.trust-stat:not(:last-child)::after { content: ''; position: absolute; right: 0; top: 15%; height: 70%; width: 1px; background: rgba(224,142,0,0.35); }
.trust-stat h3 { font-size: 2.4rem; color: var(--kites-accent); margin-bottom: 0.25rem; }
.trust-stat span { text-transform: uppercase; letter-spacing: 2px; font-size: 0.75rem; font-weight: 700; opacity: 0.85; }
@media (max-width: 767px) { .trust-stat:not(:last-child)::after { display: none; } .trust-stat { padding: 1rem; } }

/* ---- Services alternating rows ---------------------------------- */
.alternating-row:nth-child(even) .text-col { order: 2; }
.alternating-row:nth-child(even) .img-col { order: 1; }
@media (max-width: 991px) {
    .alternating-row:nth-child(even) .text-col { order: 1; }
    .alternating-row:nth-child(even) .img-col { order: 2; }
}

/* ---- Forms ------------------------------------------------------ */
.form-control { transition: box-shadow 0.3s ease, border-color 0.3s ease; }
.form-control:focus { border-color: var(--kites-accent); box-shadow: 0 0 0 0.25rem rgba(224,142,0,0.15); }
.field-error { color: #d9534f; font-size: 0.8rem; font-weight: 600; margin-top: 0.35rem; display: block; }
.is-invalid { border: 1px solid #d9534f !important; }
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; }

/* ==================================================================
   BROCHURE — A4 LANDSCAPE, website layout style + glass
   ================================================================== */
.brochure-toolbar {
    position: sticky; top: 70px; z-index: 900;
    display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.brochure-stage { display: flex; flex-direction: column; align-items: center; gap: 2rem; }

/* A4 LANDSCAPE: 297mm wide x 210mm tall */
.brochure-page {
    width: 297mm; max-width: 98vw; min-height: 210mm;
    background: #fff; position: relative; overflow: hidden;
    box-shadow: 0 25px 70px rgba(21,34,56,0.22);
    border-radius: 6px; display: flex; flex-direction: column;
}
/* Soft brand wash so pages feel like the website sections */
.brochure-page::before {
    content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(circle at 90% 8%, rgba(224,142,0,0.10), transparent 42%),
        radial-gradient(circle at 6% 96%, rgba(21,34,56,0.06), transparent 40%);
}
.brochure-inner { padding: 18mm 20mm; flex: 1; display: flex; flex-direction: column; position: relative; z-index: 2; }
.brochure-page .page-num {
    position: absolute; bottom: 9mm; right: 16mm; z-index: 3;
    font-size: 0.8rem; font-weight: 700; color: var(--kites-navy); opacity: 0.5; letter-spacing: 1px;
}
.brochure-page .brand-strip { height: 6mm; background: var(--kites-accent); position: relative; z-index: 2; }
.brochure-page .brand-strip.navy { background: var(--kites-navy); }
.brochure-page .page-watermark {
    position: absolute; right: -10px; bottom: -30px; z-index: 1;
    font-size: 12rem; font-weight: 800; color: rgba(21,34,56,0.03); line-height: 1; pointer-events: none;
}

/* Two-column layout used across landscape content pages */
.bro-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; flex: 1; align-items: center; }
.bro-media { border-radius: 16px; overflow: hidden; height: 95mm; max-height: 95mm; box-shadow: 0 14px 34px rgba(21,34,56,0.18); }
.bro-media img { width: 100%; height: 100%; object-fit: cover; }

/* Cover (landscape hero) */
.brochure-cover { color: #fff; justify-content: center; }
.brochure-cover::before { display: none; }
.brochure-cover .cover-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(115deg, rgba(21,34,56,0.94) 0%, rgba(21,34,56,0.78) 55%, rgba(224,142,0,0.55) 130%);
    z-index: 1;
}
.brochure-cover .cover-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.brochure-cover .brochure-inner { position: relative; z-index: 2; }
/* Cover glass panel — light frosted glass with DARK text */
.brochure-cover .cover-glass {
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255,255,255,0.9);
    box-shadow: 0 20px 50px rgba(21,34,56,0.28), inset 0 1px 0 rgba(255,255,255,0.8);
    border-radius: 20px; padding: 34px 40px; max-width: 62%;
    color: var(--kites-navy);
}
.brochure-cover .cover-glass h1,
.brochure-cover .cover-glass .cover-title { color: var(--kites-navy) !important; }
.brochure-cover .cover-glass .cover-tagline { color: var(--kites-navy-light) !important; opacity: 0.95; }
.brochure-cover .cover-glass .cover-footer { color: var(--kites-navy) !important; opacity: 0.75; }
.brochure-cover .cover-glass .logo-chip { background: transparent; box-shadow: none; padding: 0; }

/* Grid (services / features) — 2x2 glass cards in landscape */
.bro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; flex: 1; align-content: center; }
.bro-grid .bro-item {
    border: 1px solid rgba(255,255,255,0.6); border-radius: 16px; padding: 20px 22px;
    background: rgba(255,255,255,0.55); backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); box-shadow: 0 10px 26px rgba(21,34,56,0.06);
    display: flex; gap: 16px; align-items: flex-start;
}
.bro-grid .bro-item .ring-icon { flex-shrink: 0; }

/* Logo chip — white background so a dark logo stays visible on dark areas */
.logo-chip {
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; padding: 10px 18px; border-radius: 12px;
    box-shadow: 0 8px 22px rgba(0,0,0,.22);
}
.logo-chip img { display: block; }

/* Product cards (brochure) — Bootstrap row + col-6 (2x2 per page),
   cards stretch to fill the page so there is no leftover blank space. */
.bro-cards { margin: 0; }
.bro-cards > [class*="col-"] { display: flex; }
.bro-card {
    width: 100%;
    border: 1px solid rgba(255,255,255,0.6); border-radius: 14px; padding: 16px 18px;
    background: rgba(255,255,255,0.6); box-shadow: 0 10px 24px rgba(21,34,56,0.07);
    text-align: center;
    display: flex; flex-direction: column; justify-content: center;
}
.bro-card-img { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.bro-card-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.bro-card-text { flex: 0 0 auto; }

/* Product showcase — 4 across in landscape */
.bro-showcase { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; flex: 1; align-content: center; }
.bro-showcase .bro-shot {
    border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.55); box-shadow: 0 10px 24px rgba(21,34,56,0.08);
    aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; padding: 10px;
}
.bro-showcase .bro-shot img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Gallery — 3 across in landscape (auto-fits 6 or 9 works) */
.bro-gallery { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; flex: 1; align-content: center; }
.bro-gallery img { width: 100%; height: 47mm; object-fit: cover; border-radius: 12px; box-shadow: 0 10px 24px rgba(21,34,56,0.12); }

/* Detailed services — two blocks side by side with points */
.bro-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; flex: 1; align-content: center; }
.bro-block {
    border: 1px solid rgba(255,255,255,0.6); border-radius: 16px; padding: 20px 22px;
    background: rgba(255,255,255,0.55); box-shadow: 0 10px 26px rgba(21,34,56,0.06);
}
.bro-points { list-style: none; padding: 0; margin: 0; }
.bro-points li { font-size: 0.86rem; color: #445; margin-bottom: 7px; font-weight: 500; }

/* Logo wall (clients / partners) — exactly 6 per row, full colour */
.bro-logos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; flex: 1; align-content: center; }
.bro-logo {
    background: #fff; border: 1px solid rgba(21,34,56,0.08); border-radius: 12px;
    height: 68px; display: flex; align-items: center; justify-content: center; padding: 9px;
    box-shadow: 0 6px 16px rgba(21,34,56,0.06);
}
.bro-logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: none; }

.bro-blank { align-items: center; justify-content: center; color: rgba(21,34,56,0.25); }

/* Responsive on-screen scaling of the landscape page */
@media (max-width: 1250px) {
    .brochure-page { min-height: auto; }
    .brochure-inner { padding: 26px 26px; }
}
@media (max-width: 800px) {
    .bro-2col { grid-template-columns: 1fr; }
    .bro-media { max-height: 240px; }
    .bro-grid { grid-template-columns: 1fr; }
    .bro-showcase { grid-template-columns: 1fr 1fr; }
    .bro-gallery { grid-template-columns: 1fr 1fr; }
    .bro-gallery img { height: 150px; }
    .brochure-cover .cover-glass { max-width: 100%; padding: 22px; }
}

/* Print — force A4 LANDSCAPE, one brochure page per sheet */
@page { size: A4 landscape; margin: 0; }
@media print {
    body { cursor: auto; background: #fff; }
    .bg-canvas, .ambient-bg-container, .custom-cursor, .glass-nav, .site-footer, .brochure-toolbar { display: none !important; }
    main { padding-top: 0 !important; }
    .brochure-stage { gap: 0; }
    .brochure-page { box-shadow: none; border-radius: 0; width: 297mm; min-height: 210mm; page-break-after: always; break-after: page; }
    .brochure-page:last-child { page-break-after: auto; }
}
