/* ============================================================
   B.S. Digitals — Complete AV & Broadcast Solutions
   Modern design. Plain CSS. Brand colors from the logo.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* ---- BRAND COLORS (from B.S. Digitals logo) ---- */
  --blue:    #1d2bb3;
  --blue-d:  #131a73;
  --magenta: #c61f8e;
  --purple:  #7a1fb0;

  /* ---- Neutrals ---- */
  --ink:     #10142b;
  --body:    #4a5168;
  --muted:   #8b93a7;
  --line:    #e7eaf2;
  --bg:      #ffffff;
  --soft:    #f5f7fc;
  --dark:    #0b0f33;     /* deep indigo */
  --dark-2:  #14123f;

  --maxw: 1180px;
  --radius: 16px;
  --radius-sm: 11px;
  --shadow: 0 10px 30px rgba(16,20,43,.08);
  --shadow-lg: 0 26px 60px rgba(16,20,43,.18);
  --ease: cubic-bezier(.2,.7,.3,1);
  --head: "Plus Jakarta Sans", system-ui, sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--body); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1,h2,h3,h4 { font-family: var(--head); color: var(--ink); font-weight: 800; line-height: 1.16; letter-spacing: -.022em; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: radial-gradient(900px 500px at 85% -10%, rgba(198,31,142,.22), transparent 60%), linear-gradient(160deg, var(--dark), var(--dark-2)); color: #c4cbe6; }
.section--dark h1,.section--dark h2,.section--dark h3 { color: #fff; }
.center { text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--magenta); margin-bottom: 14px; }
.section-head { max-width: 720px; margin: 0 auto 54px; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: clamp(1.75rem, 3.4vw, 2.55rem); margin-bottom: 14px; }
.section-head p { font-size: 1.07rem; color: var(--muted); }
.lead { font-size: 1.13rem; color: var(--body); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 27px; border-radius: 999px; font-weight: 700; font-size: .96rem; cursor: pointer; border: 2px solid transparent; font-family: var(--head); transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: linear-gradient(135deg, var(--magenta), var(--purple)); color: #fff; box-shadow: 0 12px 26px rgba(198,31,142,.34); }
.btn--primary:hover { box-shadow: 0 18px 34px rgba(198,31,142,.44); }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 12px 26px rgba(29,43,179,.3); }
.btn--blue:hover { box-shadow: 0 18px 34px rgba(29,43,179,.4); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.38); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn--outline { background: #fff; color: var(--blue); border-color: var(--line); }
.btn--outline:hover { border-color: var(--magenta); color: var(--magenta); }

/* ---------- Header / Nav ---------- */
.header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.86); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 6px; font-family: var(--head); font-weight: 800; color: var(--ink); font-size: 1.2rem; letter-spacing: -.02em; }
.brand img.logo-img { width: 44px; height: 44px; object-fit: contain; border-radius: 9px; }
.brand .brand-text { line-height: 1.05; color: #2955e2; text-transform: uppercase; font-weight: 800; letter-spacing: .01em; }
.brand small { display: block; font-size: .6rem; font-weight: 700; letter-spacing: .14em; color: var(--magenta); text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 3px; }
.nav-links a { padding: 9px 14px; border-radius: 9px; font-weight: 600; font-size: .93rem; color: var(--body); transition: color .2s, background .2s; }
.nav-links a:not(.nav-cta):hover, .nav-links a:not(.nav-cta).active { color: var(--blue); background: var(--soft); }
.nav-cta { margin-left: 8px; color: #fff !important; }
.nav-cta:hover, .nav-cta:visited, .nav-cta:active, .nav-cta:focus { color: #fff !important; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; transition: .3s; }
.nav-toggle.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity: 0; }
.nav-toggle.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #d7def2; background: radial-gradient(900px 520px at 82% -12%, rgba(198,31,142,.3), transparent 60%), radial-gradient(720px 520px at -5% 110%, rgba(122,31,176,.28), transparent 55%), linear-gradient(160deg, var(--blue) 0%, var(--dark) 100%); }
.hero .container { padding-top: 96px; padding-bottom: 104px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5.2vw, 3.7rem); margin-bottom: 20px; max-width: 17ch; }
.hero h1 .hl { background: linear-gradient(90deg, #ff86d6, #c79bff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 1.2rem; max-width: 56ch; margin-bottom: 32px; color: #b6c0dc; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); font-size: .85rem; font-weight: 600; color: #f0d6ec; margin-bottom: 24px; }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 0 4px rgba(198,31,142,.28); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.stat { text-align: center; padding: 28px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.stat b { display: block; font-family: var(--head); font-size: 2.3rem; color: var(--blue); font-weight: 800; line-height: 1; }
.stat span { font-size: .9rem; color: var(--muted); font-weight: 600; }
.section--dark .stat { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.section--dark .stat b { color: #ff86d6; }
.section--dark .stat span { color: #aab4d2; }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.pillar { position: relative; padding: 40px 36px; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, var(--blue), var(--dark)); color: #d6deef; box-shadow: var(--shadow-lg); }
.pillar:nth-child(2) { background: linear-gradient(160deg, var(--purple), var(--dark-2)); }
.pillar::after { content:""; position: absolute; inset: auto -30px -40px auto; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(198,31,142,.5), transparent 70%); }
.pillar h3 { color: #fff; font-size: 1.55rem; margin-bottom: 12px; }
.pillar .tag { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ff9ad9; }
.pillar ul { margin: 18px 0 26px; display: grid; gap: 10px; position: relative; z-index: 1; }
.pillar li { padding-left: 28px; position: relative; font-size: .97rem; }
.pillar li::before { content:"✓"; position: absolute; left: 0; color: #ff9ad9; font-weight: 800; }

/* ---------- Card grid ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3,1fr); }
.grid--4 { grid-template-columns: repeat(4,1fr); }
.grid--2 { grid-template-columns: repeat(2,1fr); }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; height: 100%; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card .ic { font-size: 2rem; line-height: 1; margin-bottom: 16px; }
.card h3 { font-size: 1.18rem; margin-bottom: 9px; }
.card p { font-size: .95rem; color: var(--muted); }

/* ---------- Equipment categories ---------- */
.eqcat { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); height: 100%; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.eqcat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.eqcat h3 { font-size: 1.12rem; margin-bottom: 4px; display: flex; align-items: center; gap: 10px; }
.eqcat h3 .ic { font-size: 1.4rem; }
.eqcat .count { font-size: .72rem; color: var(--magenta); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; display: block; }
.eqcat ul { display: grid; gap: 7px; }
.eqcat li { font-size: .9rem; color: var(--body); padding-left: 19px; position: relative; }
.eqcat li::before { content:"▸"; position: absolute; left: 0; color: var(--magenta); font-size: .8rem; }

/* ---------- Feature / why-us ---------- */
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature .fic { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; font-size: 1.45rem; background: var(--soft); color: var(--blue); }
.section--dark .feature .fic { background: rgba(198,31,142,.16); color: #ff9ad9; }
.feature h3 { font-size: 1.12rem; margin-bottom: 6px; }
.feature p { font-size: .94rem; color: var(--muted); }
.section--dark .feature p { color: #aab4d2; }

/* ---------- Page banner ---------- */
.banner { position: relative; overflow: hidden; background: radial-gradient(700px 400px at 85% -20%, rgba(198,31,142,.28), transparent 60%), linear-gradient(160deg, var(--blue), var(--dark)); color: #cdd6ee; padding: 70px 0 60px; text-align: center; }
.banner h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.banner p { color: #b6c0dc; max-width: 62ch; margin: 0 auto; font-size: 1.07rem; }
.crumbs { font-size: .85rem; color: #94a0c4; margin-bottom: 18px; }
.crumbs a:hover { color: #ff9ad9; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--magenta), var(--purple)); color: #fff; border-radius: var(--radius); padding: 52px 46px; text-align: center; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-band::after { content:""; position:absolute; right:-40px; top:-60px; width:220px; height:220px; border-radius:50%; background: rgba(255,255,255,.12); }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem,3vw,2.3rem); margin-bottom: 12px; position: relative; z-index: 1; }
.cta-band p { color: rgba(255,255,255,.94); max-width: 52ch; margin: 0 auto 26px; font-size: 1.06rem; position: relative; z-index: 1; }
.cta-band .btn--primary { background: #fff; color: var(--magenta); box-shadow: 0 12px 28px rgba(0,0,0,.2); position: relative; z-index: 1; }

/* ---------- Logo strip ---------- */
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 42px; }
.logos span { font-family: var(--head); font-weight: 800; font-size: 1.32rem; color: var(--muted); opacity: .7; transition: color .2s, opacity .2s; }
.logos span:hover { color: var(--blue); opacity: 1; }
.logos img { height: 36px; width: auto; max-width: 150px; opacity: .6; transition: opacity .25s, transform .25s var(--ease); }
.logos img:hover { opacity: 1; transform: translateY(-2px); }

/* ---------- Photo service tiles (image cards w/ overlay) ---------- */
.svc-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.svc-tile {
  position: relative; min-height: 230px; border-radius: var(--radius); overflow: hidden;
  display: flex; align-items: flex-end; padding: 26px; color: #fff; text-decoration: none;
  background-size: cover; background-position: center; box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc-tile::before { content:""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,15,51,.15) 0%, rgba(11,15,51,.45) 55%, rgba(11,15,51,.86) 100%); transition: background .35s; }
/* branded placeholder backgrounds (swap with real photos via inline style) */
.svc-tile.p1 { background-image: linear-gradient(135deg, #1d2bb3, #0b0f33); }
.svc-tile.p2 { background-image: linear-gradient(135deg, #c61f8e, #4a0f3a); }
.svc-tile.p3 { background-image: linear-gradient(135deg, #7a1fb0, #1a0a3a); }
.svc-tile.p4 { background-image: linear-gradient(135deg, #14123f, #2a1668); }
.svc-tile.p5 { background-image: linear-gradient(135deg, #0b3a8a, #0b0f33); }
.svc-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.svc-tile:hover::before { background: linear-gradient(180deg, rgba(198,31,142,.25) 0%, rgba(11,15,51,.55) 55%, rgba(11,15,51,.9) 100%); }
.svc-tile .st-body { position: relative; z-index: 1; }
.svc-tile .st-ic { position: absolute; top: 22px; right: 24px; font-size: 2rem; opacity: .85; z-index: 1; }
.svc-tile h3 { color: #fff; font-size: 1.3rem; margin-bottom: 6px; }
.svc-tile p { color: rgba(255,255,255,.82); font-size: .92rem; margin: 0; }
.svc-tile .more { display: inline-block; margin-top: 10px; font-weight: 700; font-size: .85rem; color: #ff9ad9; }
@media (max-width: 760px) { .svc-tiles { grid-template-columns: 1fr; } }

/* ---------- AI highlight band ---------- */
.ai-band { position: relative; overflow: hidden; border-radius: calc(var(--radius) + 4px); background: radial-gradient(700px 360px at 88% -30%, rgba(198,31,142,.4), transparent 60%), linear-gradient(135deg, #131a73 0%, #0b0f33 55%, #1a0a3a 100%); color: #d7def2; box-shadow: var(--shadow-lg); }
.ai-band .ai-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: center; padding: 46px 44px; }
.ai-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(198,31,142,.18); border: 1px solid rgba(255,138,214,.4); color: #ff9ad9; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.ai-band h2 { color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 12px; }
.ai-band p { color: #b6c0dc; margin-bottom: 22px; font-size: 1.04rem; }
.ai-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.ai-feat { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: #cdd6ee; }
.ai-feat .d { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(255,138,214,.14); font-size: 1rem; }
@media (max-width: 860px) { .ai-band .ai-inner { grid-template-columns: 1fr; padding: 34px 26px; } }

/* ---------- Tables (modern) ---------- */
table.data { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
table.data th { background: var(--soft); color: var(--ink); text-align: left; padding: 14px 18px; font-family: var(--head); font-size: .9rem; font-weight: 700; }
table.data td { padding: 14px 18px; border-top: 1px solid var(--line); vertical-align: top; font-size: .95rem; }
table.data tr:hover td { background: #fafbfe; }
table.data td.label { font-weight: 700; color: var(--blue); width: 30%; }

/* ---------- Contact ---------- */
.office { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); height: 100%; }
.office h3 { font-size: 1.2rem; margin-bottom: 12px; display: flex; align-items: center; gap: 9px; }
.office .row { display: flex; gap: 10px; font-size: .94rem; margin-bottom: 9px; color: var(--body); }
.office .row .k { color: var(--magenta); flex: 0 0 20px; }
.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-lg); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-family: inherit; font-size: .96rem; color: var(--ink); background: var(--soft); transition: border-color .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--magenta); background: #fff; }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.form-status { font-size: .95rem; margin-top: 10px; font-weight: 600; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.tile { position: relative; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; display: flex; align-items: flex-end; padding: 22px; color: #fff; box-shadow: var(--shadow); background: linear-gradient(160deg, var(--blue), var(--dark)); background-size: cover; background-position: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.tile:nth-child(3n+2){ background: linear-gradient(160deg, var(--magenta), #7c1460); }
.tile:nth-child(3n+3){ background: linear-gradient(160deg, var(--purple), #3c1166); }
.tile .ic { position: absolute; top: 18px; right: 20px; font-size: 1.9rem; opacity: .55; }
.tile b { font-size: 1.08rem; font-weight: 700; position: relative; z-index: 1; font-family: var(--head); }
.tile span { display:block; font-size: .82rem; opacity: .85; }

/* ---------- Footer ---------- */
.footer { background: #ffffff; border-top: 1px solid var(--line); color: var(--body); padding: 66px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 36px; margin-bottom: 46px; }
.footer h4 { color: var(--ink); font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 18px; }
.footer a { display: block; padding: 5px 0; font-size: .92rem; color: var(--body); transition: color .2s, padding-left .2s; }
.footer a:hover { color: var(--blue); padding-left: 4px; }
.footer .brand { color: var(--ink); margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.footer .brand .brand-text { color: #2955e2; font-size: 1.5rem; }
.footer .brand small { font-size: .68rem; color: var(--magenta); }
.footer .about-txt { font-size: .92rem; max-width: 34ch; color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: var(--muted); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid--4 { grid-template-columns: repeat(2,1fr); }
  .grid--3 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 18px 22px; box-shadow: var(--shadow-lg); transform: translateY(-135%); transition: transform .35s var(--ease); height: auto; }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 13px 10px; }
  .nav-cta { margin: 8px 0 0; justify-content: center; }
  .nav-toggle { display: block; }
  .pillars, .grid--2, .grid--3, .grid--4, .gallery { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .section { padding: 60px 0; }
  .cta-band { padding: 38px 24px; }
  table.data td.label { width: 40%; }
}
