/* BC Tech home, level-up (11/11): dark brand hero with real lab work, how-it-works, richer service cards */

/* ───────── Hero ───────── */
.hero.hero-v3 { background: radial-gradient(110% 120% at 88% 0%, #1d3b7a 0%, #0b1730 52%, #070d1c 100%); color: #fff; padding: 56px 0 64px; }
.hero.hero-v3::before { background: conic-gradient(from 0deg, #ff3d6e, #ffb800, #22d3ee, #7c3aed, #ff3d6e); opacity: .16; filter: blur(90px); top: auto; bottom: -55%; right: auto; left: -12%; width: 620px; height: 620px; }
.hero.hero-v3::after { background: radial-gradient(circle, rgba(56,189,248,.22), transparent 65%); top: -30%; bottom: auto; left: auto; right: -8%; }
.hero-v3 .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 48px; }
.hero-v3 .hero-badge { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: #e2e8f0; backdrop-filter: blur(6px); box-shadow: none; }
.hero-v3 .hero-title { margin-bottom: 16px; }
.hero-v3 .hero-title-main { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.5rem); line-height: 1.08; letter-spacing: -.015em; background: none; -webkit-text-fill-color: currentColor; }
.hero-v3 .hero-title-sub { display: inline-block; margin-top: 12px; font-size: clamp(1.05rem, 1.8vw, 1.4rem); font-weight: 700; background: linear-gradient(90deg, #7dd3fc, #6ee7b7); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #7dd3fc; }
.hero-v3 .hero-desc { color: #cbd5e1; font-size: 1.06rem; line-height: 1.75; max-width: 56ch; }
.hero-v3 .hero-desc strong { color: #7dd3fc; }

.hv3-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.hv3-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 22px; border-radius: 14px; font-weight: 800; font-size: 1rem; text-decoration: none; transition: transform .18s, box-shadow .18s, background .18s; }
.hv3-btn i { font-size: 1.15em; }
.hv3-btn:hover { transform: translateY(-2px); }
.hv3-btn-wa { background: #15803d; color: #fff; box-shadow: 0 14px 30px -12px rgba(22,163,74,.8); }
.hv3-btn-wa:hover { background: #12813a; }
.hv3-btn-light { background: #fff; color: #0b1730; box-shadow: 0 14px 30px -14px rgba(255,255,255,.5); }
.hv3-btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.2); }
.hv3-btn-ghost:hover { background: rgba(255,255,255,.16); }

.hero-v3 .hv3-stats { margin-top: 34px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; background: none; box-shadow: none; }
.hero-v3 .hv3-stats > * { text-decoration: none; text-align: start; padding: 0; border: 0; background: none; }
.hero-v3 .hero-stat-value { color: #fff; font-size: 1.08rem; font-weight: 800; }
.hero-v3 .hero-stat-label { color: #94a3b8; font-size: .86rem; margin-top: 2px; }
.hero-v3 .text-star { color: #fbbf24; }

.hv3-visual { position: relative; min-height: 440px; }
.hv3-photo { position: absolute; margin: 0; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.1); background: #0b1730; }
.hv3-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hv3-photo-main { inset: 0 0 46px 22%; transform: rotate(2deg); }
.hv3-photo-sub { width: 38%; aspect-ratio: 3/4; inset-inline-end: 0; left: 0; right: auto; bottom: 86px; transform: rotate(-5deg); border: 4px solid rgba(255,255,255,.9); border-radius: 20px; }
.hv3-tag { position: absolute; top: 18px; right: 6%; background: rgba(8,15,30,.72); backdrop-filter: blur(8px); color: #fff; font-size: .8rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); transform: rotate(2deg); }
.hv3-card { position: absolute; right: 4%; left: 12%; bottom: 0; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 12px; align-items: center; background: rgba(255,255,255,.96); color: #0f172a; border-radius: 20px; padding: 14px 16px; box-shadow: 0 24px 50px -20px rgba(0,0,0,.7); }
.hv3-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 3px #38bdf8; }
.hv3-card .profile-name { font-size: 1.08rem; font-weight: 800; color: #0f172a; margin: 0; text-align: start; }
.hv3-card .profile-role { font-size: .82rem; color: #475569; margin: 0; text-align: start; }
.hv3-card .profile-socials { grid-column: 1 / -1; display: flex; gap: 8px; justify-content: flex-start; margin: 8px 0 0; padding-top: 10px; border-top: 1px solid #e2e8f0; }
.hv3-card .profile-social-btn { width: 38px; height: 38px; font-size: .95rem; background: #f1f5f9; color: #0f172a; border: 0; box-shadow: none; }
.hv3-card .profile-social-btn:hover { background: #194391; color: #fff; transform: translateY(-2px); }

@media (max-width: 960px) {
  .hero-v3 .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hv3-visual { min-height: 0; height: 360px; max-width: 460px; width: 100%; margin-inline: auto; }
}
@media (max-width: 768px) {
  .hero.hero-v3 { padding: 30px 0 40px; }
  .hero-v3 .hero-text-content { text-align: start; }
  .hero-v3 .hero-title-main { font-size: clamp(1.9rem, 8.4vw, 2.5rem); }
  .hero-v3 .hero-desc { font-size: 1rem; }
  /* the floating bar already has call / store / WhatsApp on phones: one clear button is enough */
  .hero-v3 .hv3-actions { display: flex !important; margin-top: 20px; }
  .hero-v3 .hv3-actions .hv3-btn-ghost, .hero-v3 .hv3-actions .hv3-btn-light { display: none; }
  .hero-v3 .hv3-actions .hv3-btn-wa { width: 100%; }
  .hero-v3 .hv3-stats { gap: 10px; margin-top: 24px; padding-top: 18px; }
  .hero-v3 .hero-stat-value { font-size: .92rem; }
  .hero-v3 .hero-stat-label { font-size: .74rem; line-height: 1.35; }
  .hv3-visual { height: 330px; }
  .hv3-photo-main { inset: 0 0 40px 18%; }
  .hv3-card { right: 0; left: 6%; }
}

/* ───────── How it works ───────── */
.how-sec { padding: 56px 0 56px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: none; position: relative; }
.how-steps li { position: relative; background: var(--bg-card, #fff); border: 1.5px solid var(--border-color, #e2e8f0); border-radius: 20px; padding: 26px 22px 22px; box-shadow: 0 4px 14px rgba(0,0,0,.03); }
.how-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, #194391, #0b1730); color: #fff; font-weight: 900; font-size: 1.15rem; margin-bottom: 14px; box-shadow: 0 10px 20px -10px rgba(25, 67, 145,.7); }
.how-steps h3 { font-size: 1.12rem; font-weight: 800; margin: 0 0 6px; color: var(--text-primary, #0f172a); }
.how-steps p { margin: 0; color: var(--text-secondary, #475569); font-size: .95rem; line-height: 1.65; }
.how-steps li:not(:last-child)::after { content: ''; position: absolute; top: 48px; inset-inline-end: -19px; width: 20px; border-top: 2px dashed #94a3b8; }
body.dark-theme .how-steps li { background: #0c1222; border-color: rgba(56,189,248,.18); }
body.dark-theme .how-steps h3 { color: #f1f5f9; }
body.dark-theme .how-steps p { color: #94a3b8; }
@media (max-width: 768px) {
  .how-sec { padding: 40px 0 8px; }
  .how-steps { grid-template-columns: 1fr; gap: 12px; }
  .how-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 2px 14px; padding: 18px 16px; }
  .how-num { grid-row: 1 / 3; margin: 0; }
  .how-steps li::after { display: none; }
}

/* ───────── Service cards: more presence ───────── */
.services-compact-grid .service-compact-item { padding: 20px; border-radius: 20px; position: relative; overflow: hidden; }
.services-compact-grid .service-compact-icon { width: 54px; height: 54px; border-radius: 16px; font-size: 1.3rem; flex: none; }
.services-compact-grid .service-compact-title { font-size: 1.08rem; }
.services-compact-grid .service-compact-item::after { content: '←'; position: absolute; inset-inline-end: 16px; top: 50%; translate: 8px -50%; opacity: 0; color: #194391; font-weight: 800; transition: opacity .2s, translate .2s; }
.services-compact-grid .service-compact-item:hover { border-color: #194391; box-shadow: 0 18px 36px -18px rgba(25, 67, 145,.45); }
.services-compact-grid .service-compact-item:hover::after { opacity: 1; translate: 0 -50%; }
@media (max-width: 768px) { .services-compact-grid .service-compact-item { padding: 16px; } .services-compact-grid .service-compact-item::after { display: none; } }

@media (prefers-reduced-motion: reduce) { .hv3-btn, .hv3-photo { transition: none; transform: none; } }

/* fit fixes */
.hero-v3 .hero-text-content { min-width: 0; }
.hero-v3 .hero-title-main { white-space: normal; text-wrap: balance; font-size: clamp(2.1rem, 4.1vw, 3.2rem); }
.hero-v3 .hero-title br { display: none; }
.hero-v3 .hero-title-sub { display: block; }
@media (max-width: 768px) {
  .hero-v3 .hv3-actions { display: none !important; }
  .hero-v3 .hero-text-content, .hero-v3 .hero-desc { padding-inline: 0; margin-inline: 0; }
  .hero-v3 .hero-badge { margin-inline: 0; }
}

/* Hero buttons, second pass: one glowing brand button, two glass ones */
.hero-v3 .hv3-btn { border-radius: 999px; padding: 0 26px; }
.hero-v3 .hv3-btn-wa { background: linear-gradient(135deg, #5eead4 0%, #38bdf8 55%, #60a5fa 100%); color: #06122b; box-shadow: 0 0 0 1px rgba(255,255,255,.25) inset, 0 16px 40px -12px rgba(56,189,248,.75); }
.hero-v3 .hv3-btn-wa:hover { background: linear-gradient(135deg, #99f6e4 0%, #7dd3fc 55%, #93c5fd 100%); box-shadow: 0 0 0 1px rgba(255,255,255,.4) inset, 0 20px 46px -10px rgba(56,189,248,.95); }
.hero-v3 .hv3-btn-light { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.35); box-shadow: none; backdrop-filter: blur(8px); }
.hero-v3 .hv3-btn-light:hover { background: #fff; color: #0b1730; }
.hero-v3 .hv3-btn-ghost { background: transparent; border-color: transparent; color: #cbd5e1; padding: 0 14px; }
.hero-v3 .hv3-btn-ghost:hover { background: rgba(255,255,255,.08); color: #fff; }

/* ───────── Light, clean hero (Ben prefers classic white; the dark version stays for the site's dark mode) ───────── */
body:not(.dark-theme) .hero.hero-v3 { background: linear-gradient(180deg, #eef5ff 0%, #ffffff 100%); color: #0f172a; }
body:not(.dark-theme) .hero.hero-v3::before { opacity: .1; }
body:not(.dark-theme) .hero.hero-v3::after { background: radial-gradient(circle, rgba(25, 67, 145, .1), transparent 65%); }
body:not(.dark-theme) .hero-v3 .hero-badge { background: #fff; border-color: #dbe5f1; color: #334155; box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }
body:not(.dark-theme) .hero-v3 .hero-title-main { color: #0f172a; }
body:not(.dark-theme) .hero-v3 .hero-title-sub { background: linear-gradient(90deg, #194391, #4169e1); -webkit-background-clip: text; background-clip: text; color: #194391; }
body:not(.dark-theme) .hero-v3 .hero-desc { color: #475569; }
body:not(.dark-theme) .hero-v3 .hero-desc strong { color: #194391; }
body:not(.dark-theme) .hero-v3 .hv3-btn-wa { background: linear-gradient(135deg, #194391 0%, #1f4fa8 100%); color: #fff; box-shadow: 0 14px 30px -12px rgba(25, 67, 145, .6); }
body:not(.dark-theme) .hero-v3 .hv3-btn-wa:hover { background: linear-gradient(135deg, #084c9e 0%, #163a7e 100%); box-shadow: 0 18px 36px -12px rgba(25, 67, 145, .7); }
body:not(.dark-theme) .hero-v3 .hv3-btn-light { background: #fff; color: #0f172a; border-color: #cbd5e1; backdrop-filter: none; }
body:not(.dark-theme) .hero-v3 .hv3-btn-light:hover { border-color: #194391; color: #194391; background: #fff; }
body:not(.dark-theme) .hero-v3 .hv3-btn-ghost { color: #334155; }
body:not(.dark-theme) .hero-v3 .hv3-btn-ghost:hover { background: #eef2f7; color: #0f172a; }
body:not(.dark-theme) .hero-v3 .hv3-stats { border-top-color: #e2e8f0; }
body:not(.dark-theme) .hero-v3 .hero-stat-value { color: #0f172a; }
body:not(.dark-theme) .hero-v3 .hero-stat-label { color: #64748b; }
body:not(.dark-theme) .hero-v3 .text-star { color: #f59e0b; }
body:not(.dark-theme) .hv3-photo { box-shadow: 0 30px 60px -30px rgba(15, 23, 42, .45), 0 0 0 1px rgba(15, 23, 42, .06); }
body:not(.dark-theme) .hv3-photo-sub { border-color: #fff; }
body:not(.dark-theme) .hv3-card { background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 24px 50px -24px rgba(15, 23, 42, .35); }

/* Headline: a soft colour sweep across the words and a short accent line under it */
.hero-v3 .hero-title-main { display: inline-block; background: linear-gradient(100deg, #0f172a 35%, #194391 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: .12em; position: relative; }
.hero-v3 .hero-title-main::after { content: ''; position: absolute; inset-inline-start: 0; bottom: 0; width: 84px; height: 5px; border-radius: 99px; background: linear-gradient(90deg, #194391, #22d3ee); }
body.dark-theme .hero-v3 .hero-title-main { background: linear-gradient(100deg, #ffffff 35%, #7dd3fc 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
body.dark-theme .hero-v3 .hero-title-main::after { background: linear-gradient(90deg, #7dd3fc, #6ee7b7); }
.hero-v3 .hero-title-sub { margin-top: 16px; }

/* how-it-works as a compact strip inside the services section (12/11/2026) */
.how-steps.how-inline { gap: 12px; margin: 22px 0 4px; }
.how-steps.how-inline li { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; padding: 14px 16px; border-radius: 14px; background: rgba(13, 71, 161, .035); border: 1px dashed rgba(13, 71, 161, .2); box-shadow: none; text-align: right; }
.how-steps.how-inline li::after { display: none; }
.how-steps.how-inline .how-num { grid-row: span 2; width: 30px; height: 30px; font-size: 14px; position: static; margin: 2px 0 0; transform: none; }
.how-steps.how-inline h3 { margin: 0; font-size: 15px; }
.how-steps.how-inline p { margin: 2px 0 0; font-size: 13px; line-height: 1.55; }
@media (max-width: 760px) { .how-steps.how-inline { grid-template-columns: 1fr; gap: 8px; } }
body.dark-theme .how-steps.how-inline li { background: rgba(56,189,248,.05); border-color: rgba(56,189,248,.2); }
.how-steps.how-inline { max-width: 1140px; margin: 26px auto 6px; }
.how-steps.how-inline li { min-width: 0; }

/* Harbor Blue (19/11/2026): solid colour on hero headings, no gradient text */
body:not(.dark-theme) .hero-v3 .hero-title-sub { background: none; -webkit-text-fill-color: #4169e1; color: #4169e1; }
body:not(.dark-theme) .hero-v3 .hero-title-main { background: none; -webkit-text-fill-color: #0f172a; color: #0f172a; }
