/* =====================================================================
   Bhagwa Enterprises — Main Stylesheet
   ===================================================================== */

:root {
    --bg: #0a0a0a;
    --bg-2: #0f0f10;
    --fg: #ffffff;
    --muted: rgba(255, 255, 255, 0.6);
    --muted-2: rgba(255, 255, 255, 0.4);
    --border: rgba(255, 255, 255, 0.08);
    --border-2: rgba(255, 255, 255, 0.14);
    --orange: #ff5f17;
    --orange-2: #ff7a3d;
    --radius: 20px;
    --container: 1400px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: 'Inter', 'Helvetica Neue', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
    line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--orange); color: #0a0a0a; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(255, 95, 23, 0.4); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 95, 23, 0.7); }

.screen-reader-text {
    position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus { position: fixed; top: 10px; left: 10px; width: auto; height: auto; padding: 12px 18px; background: var(--orange); color: #0a0a0a; z-index: 9999; }

/* --- Container --- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

/* --- Typography helpers --- */
.headline { font-family: 'Archivo', 'Inter', system-ui, sans-serif; font-weight: 800; letter-spacing: -0.03em; line-height: 0.98; color: #fff; }
.h-xl { font-size: clamp(30px, 4vw, 48px); }
.h-xxl { font-size: clamp(34px, 5vw, 64px); }
.h-xxxl { font-size: clamp(44px, 7vw, 108px); }

.font-serif-brand { font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 600; }
.font-mono-brand { font-family: 'JetBrains Mono', 'IBM Plex Mono', 'Courier New', monospace; }

.eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--orange);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.eyebrow-muted {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.muted { color: var(--muted); }
.muted-lg { color: var(--muted); font-size: 17px; line-height: 1.7; }
.max-w-3xl { max-width: 700px; }
.mt-lg { margin-top: 32px; }
.mt-xl { margin-top: 80px; }
.section-pad { padding: 80px 0; }
.center-block { text-align: center; padding: 120px 24px; }

.hr-soft { border: 0; height: 1px; background: var(--border); margin: 0; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    line-height: 1;
}
.btn .arrow { font-size: 14px; transition: transform 0.25s ease; }
.btn:hover .arrow { transform: translate(2px, -2px); }
.btn-orange { background: var(--orange); color: #0a0a0a; border-color: var(--orange); }
.btn-orange:hover { background: var(--orange-2); transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(255, 95, 23, 0.55); }
.btn-ghost { background: transparent; color: #fff; border-color: var(--border-2); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
.btn-block { width: 100%; justify-content: center; }

/* --- Header / Nav --- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
    background: transparent;
}
.site-header.is-scrolled { background: rgba(10, 10, 10, 0.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.header-inner { max-width: var(--container); margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
@media (min-width: 768px) { .header-inner { padding: 18px 40px; } }
.site-logo img { height: 52px; width: auto; }
@media (min-width: 768px) { .site-logo img { height: 60px; } }

.custom-logo-link img { height: 52px !important; width: auto !important; }
@media (min-width: 768px) { .custom-logo-link img { height: 60px !important; } }

.site-nav { display: none; }
@media (min-width: 1024px) {
    .site-nav { display: flex; }
    .primary-menu { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
    .primary-menu li a { display: inline-block; padding: 10px 16px; font-size: 14px; color: rgba(255,255,255,0.8); border-radius: 999px; transition: color 0.2s ease; }
    .primary-menu li a:hover { color: #fff; }
    .primary-menu li.current-menu-item > a,
    .primary-menu li.current_page_item > a { color: var(--orange); }
    .header-cta { display: inline-flex; }
    .nav-toggle { display: none; }
}
.header-cta { display: none; }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 4px; background: transparent; border: 0; padding: 10px; }
.nav-toggle span { width: 22px; height: 2px; background: #fff; display: block; transition: transform 0.25s ease, opacity 0.25s ease; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
    .site-nav { display: none; }
    .nav-open .site-nav { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); border-top: 1px solid var(--border); }
    .nav-open .primary-menu { display: flex; flex-direction: column; list-style: none; padding: 16px; margin: 0; gap: 4px; }
    .nav-open .primary-menu li a { display: block; padding: 12px 16px; color: rgba(255,255,255,0.85); border-radius: 10px; }
    .nav-open .primary-menu li.current-menu-item > a { color: var(--orange); background: rgba(255,95,23,0.06); }
}

.site-content { padding-top: 100px; min-height: 60vh; }

/* --- Hero --- */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-position: center; background-size: cover; opacity: 0.3; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0.8), rgba(10,10,10,0.7), rgba(10,10,10,1)); }
.hero-inner { position: relative; padding: 40px 24px 140px; }
@media (min-width: 768px) { .hero-inner { padding: 80px 40px 180px; } }
.hero-eyebrow { margin-bottom: 22px; }
.blink-dot { display: inline-block; width: 8px; height: 8px; background: var(--orange); border-radius: 50%; animation: blink 1.2s steps(2) infinite; margin-right: 4px; }
@keyframes blink { 0%,50% { opacity: 1; } 50.01%,100% { opacity: 0; } }
.hero-title { font-size: clamp(48px, 8vw, 128px); max-width: 1100px; margin: 0 0 32px; }
.hero-subtitle { color: var(--muted); font-size: clamp(16px, 1.4vw, 20px); max-width: 700px; line-height: 1.65; }
.hero-buttons { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

/* --- Marquee --- */
.marquee-section { position: relative; overflow: hidden; padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg); }
@media (min-width: 768px) { .marquee-section { padding: 56px 0; } }
.marquee-track { display: flex; gap: 60px; width: max-content; white-space: nowrap; align-items: center; animation: marquee 40s linear infinite; }
@media (min-width: 768px) { .marquee-track { gap: 88px; } }
.marquee-word {
    font-family: 'Archivo', sans-serif;
    font-weight: 900;
    font-size: clamp(64px, 12vw, 140px);
    line-height: 1;
    -webkit-text-stroke: 1.5px rgba(255,255,255,0.35);
    color: transparent;
    letter-spacing: -0.02em;
}
.marquee-dot { color: var(--orange); font-size: clamp(28px, 5vw, 60px); }
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* --- Section head --- */
.section-head { max-width: 800px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 { margin: 0 0 20px; }
.section-head p { margin: 0; }

/* --- About section --- */
.about-section { padding: 100px 24px; }
@media (min-width: 768px) { .about-section { padding: 140px 40px; } }
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
@media (min-width: 992px) { .grid-12.gap-lg { gap: 60px; } }
.col-5 { grid-column: span 12; } .col-6 { grid-column: span 12; } .col-7 { grid-column: span 12; }
@media (min-width: 992px) { .col-5 { grid-column: span 5; } .col-6 { grid-column: span 6; } .col-7 { grid-column: span 7; } }
.about-section .headline { margin: 0 0 32px; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.stat-card { padding: 28px; }
.stat-number { font-family: 'Archivo', sans-serif; font-weight: 800; font-size: clamp(32px, 4vw, 52px); color: var(--orange); line-height: 1; margin-bottom: 8px; }
.stat-label { color: var(--muted); font-size: 14px; }
.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 768px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }

/* --- Card surface --- */
.card-surface {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.3s ease, transform 0.3s ease;
}
.card-surface:hover { border-color: rgba(255, 95, 23, 0.45); }

/* --- Brands --- */
.brands-section { padding: 60px 24px 100px; }
@media (min-width: 768px) { .brands-section { padding: 40px 40px 140px; } }
.brands-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .brands-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.brand-card { padding: 28px; display: flex; flex-direction: column; }
@media (min-width: 768px) { .brand-card { padding: 32px; } }
.brand-image-wrap { position: relative; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; margin-bottom: 24px; }
.brand-image-wrap img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.7s ease, transform 0.7s ease; }
.brand-card:hover .brand-image-wrap img { filter: grayscale(0); transform: scale(1.04); }
.brand-image-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.15), transparent); }
.brand-tag { position: absolute; top: 18px; left: 18px; }
.brand-name { font-size: clamp(30px, 3vw, 46px); margin: 0 0 4px; color: #fff; }
.brand-subtitle { font-family: 'JetBrains Mono', monospace; text-transform: uppercase; font-size: 11px; letter-spacing: 0.28em; color: var(--muted-2); margin-bottom: 20px; }
.brand-desc { color: var(--muted); font-size: 15px; margin: 0 0 22px; }
.brand-services { list-style: none; padding: 0; margin: 0 0 30px; }
.brand-services li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.85); font-size: 14px; padding: 4px 0; }
.brand-services .check { color: var(--orange); font-weight: 700; }

/* --- Services grid --- */
.services-preview { padding: 100px 24px; }
@media (min-width: 768px) { .services-preview { padding: 140px 40px; } }
.services-brand-label { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; font-size: clamp(20px, 2vw, 28px); color: #fff; flex-wrap: wrap; }
.services-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 60px; }
@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { padding: 22px; }
.service-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 10px; }
.service-head h3 { color: #fff; font-size: 17px; margin: 0; font-weight: 600; }
.arrow-small { color: rgba(255,255,255,0.3); transition: color 0.25s ease, transform 0.25s ease; }
.service-card:hover .arrow-small { color: var(--orange); transform: translateX(4px); }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }

/* Services page blocks */
.services-block { padding: 32px; margin-bottom: 32px; }
@media (min-width: 768px) { .services-block { padding: 48px; } }
.services-block h2 { margin: 8px 0 4px; }

/* --- Why us --- */
.why-us { padding: 100px 24px; }
@media (min-width: 768px) { .why-us { padding: 140px 40px; } }
.reasons-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 768px) { .reasons-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .reasons-grid { grid-template-columns: repeat(3, 1fr); } }
.reason-card { padding: 32px; }
.reason-number { font-family: 'JetBrains Mono', monospace; color: var(--orange); font-size: 14px; letter-spacing: 0.2em; margin-bottom: 24px; }
.reason-card h3 { margin: 0 0 10px; color: #fff; font-size: 20px; }
.reason-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* --- Contact --- */
.contact-section { border-top: 1px solid var(--border); position: relative; padding: 100px 0; }
@media (min-width: 768px) { .contact-section { padding: 140px 0; } }
.contact-section .container { position: relative; }
.contact-section::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(ellipse at 20% 100%, rgba(255,95,23,0.08), transparent 60%);
    pointer-events: none;
}
.contact-subheading { color: #fff; font-family: 'Archivo', sans-serif; font-weight: 600; font-size: clamp(20px, 2vw, 26px); margin: 32px 0 16px; }
.contact-links { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.contact-links a { display: inline-flex; align-items: center; gap: 16px; color: rgba(255,255,255,0.85); font-size: 15px; transition: color 0.25s ease; }
.contact-links a:hover { color: var(--orange); }
.icon-circle { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; color: var(--orange); font-size: 14px; }

.contact-form { padding: 32px; }
@media (min-width: 768px) { .contact-form { padding: 40px; } }
.contact-form .form-row { margin-bottom: 20px; }
.contact-form label { display: block; margin-bottom: 8px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%; background: transparent; color: #fff; border: 1px solid var(--border-2);
    border-radius: 10px; padding: 12px 16px; font-family: inherit; font-size: 15px; outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,95,23,0.15);
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.brand-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice-pill { position: relative; border: 1px solid var(--border-2); border-radius: 999px; padding: 12px 18px; text-align: center; cursor: pointer; font-size: 14px; color: rgba(255,255,255,0.75); transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease; }
.choice-pill input { position: absolute; opacity: 0; pointer-events: none; }
.choice-pill:has(input:checked) { border-color: var(--orange); color: var(--orange); background: rgba(255,95,23,0.06); }
.form-alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 20px; font-size: 14px; }
.form-success { background: rgba(60, 220, 120, 0.08); border: 1px solid rgba(60, 220, 120, 0.3); color: #7fecb1; }
.form-error { background: rgba(255, 90, 90, 0.08); border: 1px solid rgba(255, 90, 90, 0.3); color: #ff9a9a; }

/* --- Page hero (inner pages) --- */
.page-hero { padding: 60px 24px 40px; }
@media (min-width: 768px) { .page-hero { padding: 100px 40px 60px; } }
.page-hero .headline { margin: 20px 0 24px; }

/* --- Blog --- */
.blog-listing { padding: 40px 24px 100px; }
@media (min-width: 768px) { .blog-listing { padding: 40px 40px 140px; } }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.blog-card { overflow: hidden; }
.blog-image { display: block; aspect-ratio: 16/10; overflow: hidden; }
.blog-image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter 0.7s ease, transform 0.7s ease; }
.blog-card:hover .blog-image img { filter: grayscale(0); transform: scale(1.04); }
.blog-image-placeholder { width: 100%; height: 100%; background: linear-gradient(135deg, #141414, #0d0d0d); }
.blog-body { padding: 28px; }
.blog-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.blog-meta .dot { color: var(--muted-2); font-size: 10px; }
.date-tag { font-family: 'JetBrains Mono', monospace; color: var(--muted-2); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.blog-title { font-family: 'Archivo', sans-serif; font-weight: 600; margin: 0 0 12px; font-size: clamp(22px, 2vw, 30px); line-height: 1.2; }
.blog-title a { color: #fff; transition: color 0.25s ease; }
.blog-title a:hover { color: var(--orange); }
.blog-excerpt { color: var(--muted); margin: 0 0 20px; }
.read-link { color: var(--orange); font-weight: 700; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; }

.pagination { margin-top: 60px; }
.pagination .page-numbers { display: inline-flex; padding: 10px 14px; border: 1px solid var(--border-2); border-radius: 8px; margin-right: 6px; color: #fff; text-decoration: none; }
.pagination .page-numbers.current { background: var(--orange); color: #0a0a0a; border-color: var(--orange); }

/* Single post */
.single-post { max-width: 860px; }
.single-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.single-featured { margin: 30px 0 40px; border-radius: 16px; overflow: hidden; }
.single-content { color: rgba(255,255,255,0.85); font-size: 17px; line-height: 1.75; }
.single-content p { margin: 0 0 22px; }
.single-content h2, .single-content h3 { font-family: 'Archivo', sans-serif; color: #fff; margin: 40px 0 16px; }
.single-content a { color: var(--orange); }
.single-content blockquote { border-left: 3px solid var(--orange); padding: 4px 20px; margin: 24px 0; color: var(--muted); font-style: italic; }
.single-content img { border-radius: 12px; margin: 24px 0; }
.single-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; color: var(--muted); }
.single-nav a { color: rgba(255,255,255,0.85); transition: color 0.25s ease; }
.single-nav a:hover { color: var(--orange); }

.prose h2, .prose h3, .prose h4 { font-family: 'Archivo', sans-serif; color: #fff; }
.prose a { color: var(--orange); }

.text-block p { margin: 0 0 20px; color: var(--muted); font-size: 17px; line-height: 1.75; }

/* --- Footer --- */
.site-footer { border-top: 1px solid var(--border); background: var(--bg); }
.footer-inner { max-width: var(--container); margin: 0 auto; padding: 70px 24px 30px; }
@media (min-width: 768px) { .footer-inner { padding: 90px 40px 40px; } }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; } }
.footer-logo img { height: 60px; width: auto; margin-bottom: 20px; }
.footer-about { color: var(--muted); font-size: 15px; margin: 0 0 28px; max-width: 420px; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-link { display: inline-flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.8); font-size: 14px; transition: color 0.25s ease; }
.footer-contact-link:hover { color: var(--orange); }
.footer-contact-link .icon-circle { width: 28px; height: 28px; font-size: 12px; }
.footer-col .eyebrow-muted { margin-bottom: 22px; display: block; }
.footer-menu { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-menu li, .footer-menu a { color: rgba(255,255,255,0.7); font-size: 14px; transition: color 0.25s ease; }
.footer-menu a:hover { color: #fff; }
.footer-cta-text { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.footer-bottom { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 40px; }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; align-items: center; } }
.copyright { color: var(--muted-2); font-size: 12px; }
.footer-tagline { color: var(--muted-2); font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }

/* fade-in-up animations */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.hero-inner > * { animation: fadeUp 0.9s ease both; }
.hero-inner > *:nth-child(2) { animation-delay: 0.05s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.1s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.15s; }
