/* TechBoy Main Site — scoped full-page design */
:root {
  --tb-navy: #11243a;
  --tb-navy-deep: #091726;
  --tb-blue: #1b6fb8;
  --tb-blue-bright: #3e9be6;
  --tb-teal: #23a7a0;
  --tb-ink: #172231;
  --tb-copy: #4d5e70;
  --tb-soft: #eef4f8;
  --tb-border: #d9e3eb;
  --tb-white: #ffffff;
  --tb-shadow: 0 24px 70px rgba(17,36,58,.13);
  --tb-radius: 22px;
  --tb-container: 1180px;
}

body.tb-main-site-page {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  background: var(--tb-white) !important;
  color: var(--tb-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.tb-main-site-page .tb-main-site,
body.tb-main-site-page .tb-main-site *,
body.tb-main-site-page .tb-main-site *::before,
body.tb-main-site-page .tb-main-site *::after { box-sizing: border-box; }
body.tb-main-site-page .tb-main-site { width: 100%; min-height: 100vh; overflow-x: clip; }
body.tb-main-site-page .tb-main-site img { display: block; max-width: 100%; }
body.tb-main-site-page .tb-main-site a { color: inherit; }
body.tb-main-site-page .tb-main-site :where(h1,h2,h3,h4,p,ul,ol,figure,blockquote) { max-width: none; }
body.tb-main-site-page .tb-main-site h1,
body.tb-main-site-page .tb-main-site h2,
body.tb-main-site-page .tb-main-site h3 {
  margin-top: 0;
  color: var(--tb-ink);
  line-height: 1.12;
  letter-spacing: -.035em;
}
body.tb-main-site-page .tb-main-site h1 { font-size: clamp(2.7rem, 6vw, 5.2rem); margin-bottom: 24px; }
body.tb-main-site-page .tb-main-site h2 { font-size: clamp(2rem, 4vw, 3.55rem); margin-bottom: 20px; }
body.tb-main-site-page .tb-main-site h3 { font-size: 1.3rem; margin-bottom: 11px; }
body.tb-main-site-page .tb-main-site p { margin-top: 0; }

body.admin-bar.tb-main-site-page .tb-site-header { top: 32px; }
@media (max-width:782px) { body.admin-bar.tb-main-site-page .tb-site-header { top: 46px; } }

.tb-container { width: min(calc(100% - 40px), var(--tb-container)); margin-inline: auto; }
.tb-section { padding: 100px 0; }
.tb-section-soft { background: var(--tb-soft); }
.tb-section-dark { background: var(--tb-navy-deep); color: rgba(255,255,255,.8); }
.tb-copy { color: var(--tb-copy); max-width: 760px; }
.tb-eyebrow { margin-bottom: 14px; color: var(--tb-blue); font-size: .78rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.tb-lead { color: var(--tb-copy); font-size: clamp(1.08rem,2vw,1.28rem); max-width: 760px; }
.tb-section-heading { max-width: 830px; margin-bottom: 48px; }
.tb-section-heading > p:last-child { color: var(--tb-copy); font-size: 1.06rem; }

.tb-skip-link {
  position: fixed; z-index: 99999; left: 16px; top: -100px; padding: 11px 16px;
  border-radius: 7px; background: #fff; color: var(--tb-navy); font-weight: 800;
}
.tb-skip-link:focus { top: 16px; }

.tb-utility { background: var(--tb-navy-deep); color: rgba(255,255,255,.75); font-size: .82rem; }
.tb-utility-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.tb-site-header {
  position: sticky; top: 0; z-index: 2000; background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(17,36,58,.08); backdrop-filter: blur(14px);
}
.tb-header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.tb-brand { display: flex; align-items: center; text-decoration: none; }
.tb-brand img { width: 210px; max-height: 54px; object-fit: contain; }
.tb-primary-nav { display: flex; align-items: center; gap: 22px; }
.tb-primary-nav a { text-decoration: none; color: #34475a; font-size: .91rem; font-weight: 750; }
.tb-primary-nav a:hover { color: var(--tb-blue); }
.tb-primary-nav .tb-nav-cta { padding: 12px 17px; background: var(--tb-navy); color: #fff; border-radius: 10px; }
.tb-primary-nav .tb-nav-cta:hover { background: var(--tb-blue); color: #fff; }
.tb-menu-toggle { display: none; width: 44px; height: 42px; padding: 9px; border: 0; background: transparent; }
.tb-menu-toggle span:not(.screen-reader-text) { display: block; height: 2px; margin: 5px 0; background: var(--tb-navy); }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.tb-hero {
  position: relative; overflow: hidden; padding: 86px 0 74px;
  background:
    radial-gradient(circle at 0% 0%, rgba(62,155,230,.17), transparent 36%),
    linear-gradient(135deg,#f7fbfe 0%,#fff 58%,#eff6fa 100%);
}
.tb-hero::after { content:""; position:absolute; width:430px; height:430px; right:-180px; bottom:-260px; border-radius:50%; border:76px solid rgba(35,167,160,.08); }
.tb-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 64px; }
.tb-hero-actions,.tb-location-actions,.tb-final-actions,.tb-inline-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 26px; }
.tb-button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 22px;
  border: 2px solid transparent; border-radius: 11px; text-decoration: none; font-size: .94rem; font-weight: 850;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.tb-button:hover { transform: translateY(-2px); }
.tb-button-primary { background: var(--tb-blue); color: #fff !important; }
.tb-button-primary:hover { background: #145e9c; }
.tb-button-secondary { border-color: var(--tb-border); background: #fff; color: var(--tb-navy) !important; }
.tb-button-secondary:hover { border-color: var(--tb-blue); }
.tb-button-dark { background: var(--tb-navy); color: #fff !important; }
.tb-button-light { background: #fff; color: var(--tb-navy) !important; }
.tb-button-outline-light { border-color: rgba(255,255,255,.55); color: #fff !important; }
.tb-hero-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 37px; padding-top: 28px; border-top: 1px solid var(--tb-border); }
.tb-hero-facts strong,.tb-hero-facts span { display: block; }
.tb-hero-facts strong { color: var(--tb-navy); }
.tb-hero-facts span { color: var(--tb-copy); font-size: .82rem; line-height: 1.38; }
.tb-hero-visual { position: relative; min-width: 0; }
.tb-hero-visual > img { width: 100%; min-height: 500px; max-height: 610px; object-fit: cover; border-radius: 28px; box-shadow: var(--tb-shadow); }
.tb-hero-card { position:absolute; left:-28px; right:38px; bottom:28px; padding:18px 20px; border:1px solid rgba(255,255,255,.38); border-radius:15px; background:rgba(9,23,38,.9); color:#fff; box-shadow:0 20px 50px rgba(0,0,0,.2); backdrop-filter:blur(9px); }
.tb-hero-card strong,.tb-hero-card span { display:block; }
.tb-hero-card span { color:rgba(255,255,255,.7); font-size:.87rem; }

.tb-trust-strip { padding: 22px 0; background: var(--tb-navy); color: rgba(255,255,255,.75); }
.tb-trust-grid { display:grid; grid-template-columns:repeat(6,1fr); text-align:center; }
.tb-trust-grid span { padding:6px 12px; border-right:1px solid rgba(255,255,255,.14); font-size:.82rem; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }
.tb-trust-grid span:last-child { border-right:0; }

.tb-service-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.tb-service-card { position:relative; min-height:225px; padding:29px; overflow:hidden; border:1px solid var(--tb-border); border-radius:18px; background:#fff; box-shadow:0 12px 34px rgba(17,36,58,.055); }
.tb-service-card::after { content:""; position:absolute; width:90px; height:90px; right:-44px; bottom:-44px; border-radius:50%; background:rgba(62,155,230,.08); }
.tb-service-card p { color:var(--tb-copy); font-size:.94rem; }
.tb-service-card a { position:relative; z-index:2; color:var(--tb-blue); font-weight:800; text-decoration:none; }
.tb-service-card a:hover { text-decoration:underline; }
.tb-card-number { display:block; margin-bottom:17px; color:var(--tb-blue); font-size:.75rem; font-weight:900; letter-spacing:.12em; }
.tb-card-with-image { padding:0; }
.tb-card-with-image > img { width:100%; height:220px; object-fit:cover; }
.tb-card-with-image > div { padding:27px; }
.tb-home-service-grid .tb-service-card { min-height: 300px; }

.tb-split-grid { display:grid; grid-template-columns:.94fr 1.06fr; align-items:center; gap:68px; }
.tb-split-reverse { grid-template-columns:.95fr 1.05fr; }
.tb-image-panel { min-height:480px; }
.tb-image-panel img { width:100%; height:100%; min-height:480px; object-fit:cover; border-radius:var(--tb-radius); box-shadow:var(--tb-shadow); }
.tb-section-dark h2,.tb-section-dark h3 { color:#fff !important; }
.tb-section-dark .tb-eyebrow { color:#79bff0; }

.tb-process-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:17px; }
.tb-process-grid-two { grid-template-columns:repeat(2,1fr); }
.tb-process-grid article { padding:27px 23px; border:1px solid rgba(255,255,255,.13); border-radius:17px; background:rgba(255,255,255,.055); }
.tb-process-grid article > span { display:grid; place-items:center; width:42px; height:42px; margin-bottom:22px; border-radius:50%; background:var(--tb-blue); color:#fff; font-weight:900; }
.tb-process-grid p { margin-bottom:0; color:rgba(255,255,255,.68); font-size:.91rem; }
.tb-check-list { margin:26px 0 0; padding:0; list-style:none; }
.tb-check-list li { position:relative; margin:11px 0; padding-left:30px; color:#32475a; }
.tb-check-list li::before { content:"✓"; position:absolute; left:0; top:0; color:var(--tb-teal); font-weight:900; }

.tb-location-card { display:grid; grid-template-columns:1fr 1fr; overflow:hidden; border:1px solid var(--tb-border); border-radius:25px; background:#fff; box-shadow:var(--tb-shadow); }
.tb-location-copy { padding:48px; }
.tb-location-copy address { margin:22px 0; font-style:normal; }
.tb-location-copy address strong { display:block; margin-bottom:4px; }
.tb-location-copy address a { color:var(--tb-blue); text-decoration:none; }
.tb-location-image img { width:100%; height:100%; min-height:500px; object-fit:cover; }

.tb-page-hero { padding:70px 0; background:linear-gradient(135deg,#f7fbfe,#fff 56%,#eef4f8); border-bottom:1px solid var(--tb-border); }
.tb-page-hero-inner { display:grid; grid-template-columns:1.08fr .92fr; align-items:center; gap:58px; }
.tb-page-hero h1 { font-size:clamp(2.65rem,5vw,4.6rem) !important; }
.tb-page-hero-image img { width:100%; height:390px; object-fit:cover; border-radius:24px; box-shadow:var(--tb-shadow); }
.tb-error-hero { min-height:620px; display:flex; align-items:center; }

.tb-content-section { padding:80px 0 100px; }
.tb-content-layout { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:52px; align-items:start; }
.tb-content { min-width:0; color:var(--tb-ink); }
.tb-content > *:first-child { margin-top:0 !important; }
.tb-content h1 { font-size:clamp(2.1rem,4vw,3.2rem) !important; }
.tb-content h2 { margin-top:46px; font-size:clamp(1.65rem,3vw,2.45rem) !important; }
.tb-content h3 { margin-top:32px; font-size:1.35rem !important; }
.tb-content p,.tb-content li { color:#3f5367; }
.tb-content a { color:var(--tb-blue); }
.tb-content ul,.tb-content ol { padding-left:1.4rem; }
.tb-content li { margin:.5rem 0; }
.tb-content blockquote { margin:28px 0; padding:20px 24px; border-left:5px solid var(--tb-teal); background:var(--tb-soft); }
.tb-content hr { margin:42px 0; border:0; border-top:1px solid var(--tb-border); }
.tb-content figure { margin:28px 0; }
.tb-content img { border-radius:16px; }
.tb-content table { width:100%; border-collapse:collapse; margin:24px 0; overflow:hidden; border:1px solid var(--tb-border); background:#fff; }
.tb-content th,.tb-content td { padding:14px 16px; border:1px solid var(--tb-border); text-align:left; vertical-align:top; }
.tb-content th { background:var(--tb-navy); color:#fff; }
.tb-content tr:nth-child(even) td { background:#f7fbfe; }
.tb-content .wp-block-table { overflow-x:auto; }
.tb-content .wp-block-button__link { display:inline-flex; padding:12px 20px; border-radius:10px; background:var(--tb-blue); color:#fff !important; text-decoration:none; font-weight:800; }

/* Re-skin legacy custom HTML blocks after their embedded style tags are removed. */
.tb-content .tbm-pricing,.tb-content .tbm-contact { max-width:none !important; margin:0 !important; color:var(--tb-ink) !important; font-family:inherit !important; }
.tb-content .tbm-pricing .tbm-hero,.tb-content .tbm-contact .tbm-hero {
  padding:28px !important; margin:0 0 26px !important; border:1px solid var(--tb-border) !important;
  border-radius:18px !important; background:linear-gradient(135deg,rgba(27,111,184,.09),rgba(35,167,160,.08)) !important;
}
.tb-content .tbm-pricing .tbm-section,.tb-content .tbm-contact .tbm-section,
.tb-content .tbm-pricing .tbm-card,.tb-content .tbm-contact .tbm-card {
  padding:25px !important; margin:18px 0 !important; border:1px solid var(--tb-border) !important;
  border-radius:18px !important; background:#fff !important; box-shadow:0 10px 30px rgba(17,36,58,.05) !important;
}
.tb-content .tbm-pricing .tbm-callout,.tb-content .tbm-contact .tbm-callout {
  padding:16px 18px !important; margin:18px 0 !important; border-left:5px solid var(--tb-teal) !important;
  border-radius:0 12px 12px 0 !important; background:var(--tb-soft) !important;
}
.tb-content .tbm-pricing .tbm-badge,.tb-content .tbm-contact .tbm-badge {
  display:inline-block !important; padding:5px 10px !important; border-radius:999px !important;
  background:#e8f4fc !important; color:var(--tb-blue) !important; font-weight:850 !important;
}
.tb-content .tbm-pricing .tbm-btn,.tb-content .tbm-contact .tbm-btn,
.tb-content .tbm-pricing a[class*="button"],.tb-content .tbm-contact a[class*="button"] {
  display:inline-flex !important; padding:12px 19px !important; border-radius:10px !important;
  background:var(--tb-blue) !important; color:#fff !important; text-decoration:none !important; font-weight:800 !important;
}
.tb-content .tbm-pricing h3,.tb-content .tbm-contact h3 { color:var(--tb-blue) !important; }

.tb-sidebar { position:sticky; top:116px; display:grid; gap:18px; }
.tb-sidebar-card { padding:27px; border:1px solid var(--tb-border); border-radius:18px; background:#fff; box-shadow:0 12px 34px rgba(17,36,58,.06); }
.tb-sidebar-card h2 { font-size:1.65rem !important; }
.tb-sidebar-card p { color:var(--tb-copy); font-size:.93rem; }
.tb-sidebar-card .tb-button { width:100%; margin:5px 0 13px; }
.tb-sidebar-soft { background:var(--tb-soft); box-shadow:none; }
.tb-text-link { color:var(--tb-blue) !important; font-weight:800; text-decoration:none; overflow-wrap:anywhere; }
.tb-quote-frame iframe { width:100%; min-height:1200px; border:0; border-radius:15px; background:#fff; }

.tb-final-cta { padding:56px 0; background:linear-gradient(120deg,var(--tb-blue),var(--tb-navy)); color:#fff; }
.tb-final-inner { display:flex; align-items:center; justify-content:space-between; gap:30px; }
.tb-final-cta h2 { color:#fff !important; margin-bottom:8px !important; font-size:clamp(1.8rem,3.5vw,2.75rem) !important; }
.tb-final-cta p { margin:0; color:rgba(255,255,255,.78); }

.tb-footer { background:var(--tb-navy-deep); color:#d8e2ec; }
.tb-footer-grid { display:grid; grid-template-columns:1.2fr .85fr .8fr 1.15fr; gap:40px; padding:58px 0 38px; }
.tb-footer-logo { width:min(300px,100%); margin-bottom:18px; }
.tb-footer h3 { color:#fff !important; font-size:1rem !important; letter-spacing:0 !important; }
.tb-footer p,.tb-footer li,.tb-footer a { color:#b8c8d7; font-size:.9rem; }
.tb-footer ul { list-style:none; padding:0; margin:0; }
.tb-footer li { margin:8px 0; }
.tb-footer a { text-decoration:none; }
.tb-footer a:hover { color:#fff; text-decoration:underline; }
.tb-copyright { padding:18px 0; border-top:1px solid rgba(255,255,255,.1); color:#8fa3b5; font-size:.83rem; }

@media (max-width:1040px) {
  .tb-primary-nav { display:none; position:absolute; left:20px; right:20px; top:76px; flex-direction:column; align-items:stretch; gap:0; padding:12px; border:1px solid var(--tb-border); border-radius:15px; background:#fff; box-shadow:var(--tb-shadow); }
  .tb-primary-nav.is-open { display:flex; }
  .tb-primary-nav a { padding:12px 14px; }
  .tb-menu-toggle { display:block; }
  .tb-hero-grid,.tb-page-hero-inner { grid-template-columns:1fr; }
  .tb-hero-visual { max-width:720px; }
  .tb-service-grid { grid-template-columns:repeat(2,1fr); }
  .tb-split-grid,.tb-split-reverse { grid-template-columns:1fr; }
  .tb-process-grid { grid-template-columns:repeat(2,1fr); }
  .tb-content-layout { grid-template-columns:1fr; }
  .tb-sidebar { position:static; grid-template-columns:repeat(2,1fr); }
  .tb-footer-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:720px) {
  .tb-container { width:min(calc(100% - 28px),var(--tb-container)); }
  .tb-utility-inner { min-height:44px; justify-content:center; text-align:center; }
  .tb-utility-inner span:last-child { display:none; }
  .tb-header-inner { min-height:72px; }
  .tb-brand img { width:175px; }
  .tb-section { padding:68px 0; }
  .tb-hero { padding:58px 0 0; }
  .tb-hero-grid { gap:36px; }
  .tb-hero-visual { margin-inline:-14px; }
  .tb-hero-visual > img { min-height:380px; border-radius:22px 22px 0 0; }
  .tb-hero-card { left:16px; right:16px; bottom:18px; }
  .tb-hero-facts { grid-template-columns:1fr; }
  .tb-trust-grid { grid-template-columns:repeat(2,1fr); }
  .tb-trust-grid span { border-right:0; border-bottom:1px solid rgba(255,255,255,.1); }
  .tb-service-grid,.tb-process-grid,.tb-process-grid-two,.tb-sidebar,.tb-footer-grid { grid-template-columns:1fr; }
  .tb-page-hero { padding:54px 0; }
  .tb-page-hero-image img { height:300px; }
  .tb-content-section { padding:58px 0 72px; }
  .tb-content table { min-width:650px; }
  .tb-content .wp-block-table { overflow-x:auto; }
  .tb-location-card { grid-template-columns:1fr; }
  .tb-location-copy { padding:30px; }
  .tb-location-image { order:-1; }
  .tb-location-image img { min-height:330px; }
  .tb-final-inner { align-items:flex-start; flex-direction:column; }
}

/* v2 structured content */
.tb-pricing-block { margin: 50px 0 0; }
.tb-pricing-block:first-of-type { margin-top: 36px; }
.tb-table-scroll { width: 100%; overflow-x: auto; border-radius: 16px; }
.tb-price-table { min-width: 760px; margin: 0 !important; }
.tb-price-table td:first-child { min-width: 230px; font-weight: 750; color: var(--tb-ink); }
.tb-price-table td:not(:first-child) { min-width: 145px; }
.tb-contact-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:42px; }
.tb-contact-grid article { padding:25px; border:1px solid var(--tb-border); border-radius:18px; background:var(--tb-soft); }
.tb-contact-grid h2 { margin:0 0 10px !important; font-size:1.35rem !important; }
.tb-contact-grid p:last-child { margin-bottom:0; }
.tb-route-referral { padding:20px; border-left:5px solid var(--tb-teal); background:var(--tb-soft); }
@media (max-width:900px) { .tb-contact-grid { grid-template-columns:1fr; } }
