/* base.css */
/* ============================================================
   TURNAROUND TECH — BASE CSS
   Reset, tokens, typography, spacing, shared primitives.
   Loaded by every layout.
   ============================================================ */

/* ── TOKENS ── */
:root {
  /* Client colours — overridden per client via inline <style> */
  --p:    #16A34A;
  --pd:   #15803D;
  --pl:   #DCFCE7;

  /* Neutrals */
  --dark:   #1A1F2E;
  --dark2:  #222840;
  --dark3:  #2A3250;
  --w:      #FFFFFF;
  --off:    #F7F8FC;
  --off2:   #F0F2F8;
  --t:      #1A1F2E;
  --t2:     #4A5268;
  --t3:     #8A92A8;
  --border: #E4E7F0;
  --r:      6px;

  /* Typography */
  --font-heading: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', Arial, Helvetica, sans-serif;
}

/* ── RESET ── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: var(--font-body); color: var(--t); background: var(--w); line-height: 1.6; overflow-x: hidden; max-width: 100vw; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── TYPOGRAPHY ── */
h1,h2,h3,h4 { font-family: var(--font-heading); }

/* ── LAYOUT ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ── SECTION LABELS ── */
.section-tag {
  font-size: 11px; font-weight: 600; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--pd); margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900; letter-spacing: -1px;
  color: var(--t); margin-bottom: 12px; line-height: 1.1;
}
.section-sub {
  font-size: 16px; font-weight: 300; color: var(--t2);
  max-width: 560px; line-height: 1.7; margin-bottom: 48px;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--p); color: white;
  padding: 15px 28px; border-radius: var(--r);
  font-size: 17px; font-weight: 700;
  box-sizing: border-box; transition: all .2s;
}
.btn-primary:hover { background: var(--pd); transform: translateY(-1px); }

.btn-secondary-light {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--t2); font-size: 15px; font-weight: 500;
  padding: 15px 0; transition: color .2s;
}
.btn-secondary-light:hover { color: var(--p); }
.btn-secondary-light::after { content: '→'; transition: transform .2s; }
.btn-secondary-light:hover::after { transform: translateX(4px); }

/* ── ANIMATIONS ── */
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:0.4;} }

/* ── STICKY MOBILE CTA ── */
.sticky-cta {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  z-index: 200;
  background: linear-gradient(180deg, color-mix(in srgb, var(--p) 92%, white), var(--p));
  padding: 0;
  text-align: center;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(21, 31, 46, 0.28);
  border: 1px solid color-mix(in srgb, var(--pd) 45%, transparent);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.sticky-cta a {
  color: white;
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
}
.sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* components.css */
/* ============================================================
   TURNAROUND TECH — COMPONENTS CSS
   Reusable UI blocks shared across all layout families.
   ============================================================ */

/* ── NAV (dark — emergency/destination) ── */
nav.dark-nav { background: var(--dark); position: sticky; top: 0; z-index: 100; border-bottom: 2px solid var(--p); }
nav.dark-nav .nav-inner { max-width: 1140px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
nav.dark-nav .nav-brand { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
nav.dark-nav .nav-logo { font-family: var(--font-heading); font-size: 34px; font-weight: 900; color: white; letter-spacing: -1px; line-height: 1; }
nav.dark-nav .nav-logo span { color: var(--p); }
nav.dark-nav .nav-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 9px; font-weight: 600; letter-spacing: 1.3px; text-transform: uppercase; color: rgba(255,255,255,0.34); }
nav.dark-nav .nav-links { display: flex; list-style: none; margin-left: auto; }
nav.dark-nav .nav-desktop { display: flex; align-items: center; gap: 0; margin-left: auto; padding-left: 28px; }
nav.dark-nav .nav-links a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.7); padding: 0 16px; height: auto; display: flex; align-items: center; transition: all .2s; }
nav.dark-nav .nav-links a:hover { color: white; border-bottom-color: var(--p); }
nav.dark-nav .nav-cta { background: var(--p) !important; color: white !important; padding: 12px 18px !important; border-radius: var(--r); height: auto !important; border: none !important; font-weight: 700 !important; box-shadow: 0 6px 18px color-mix(in srgb, var(--p) 28%, transparent); }
nav.dark-nav .nav-cta:hover { background: var(--pd) !important; }
nav.dark-nav .nav-phone-cta { white-space: nowrap; }

/* ── NAV (light — installation/maintenance) ── */
nav.light-nav { background: var(--w); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border); box-shadow: 0 1px 8px rgba(0,0,0,0.06); }
nav.light-nav .nav-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 68px; }
nav.light-nav .nav-logo { font-family: var(--font-heading); font-size: 22px; font-weight: 900; color: var(--t); letter-spacing: -0.5px; }
nav.light-nav .nav-logo span { color: var(--p); }
nav.light-nav .nav-links { display: flex; list-style: none; }
nav.light-nav .nav-links a { font-size: 14px; font-weight: 500; color: var(--t2); padding: 0 16px; height: 68px; display: flex; align-items: center; transition: color .2s; }
nav.light-nav .nav-links a:hover { color: var(--p); }
nav.light-nav .nav-cta { background: var(--p) !important; color: white !important; padding: 10px 22px !important; border-radius: var(--r); height: auto !important; font-weight: 600 !important; transition: background .2s !important; }
nav.light-nav .nav-cta:hover { background: var(--pd) !important; }
nav.light-nav .nav-phone { font-size: 14px; font-weight: 600; color: var(--p); display: flex; align-items: center; gap: 6px; }

/* ── HAMBURGER (shared) ── */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; border-radius: 2px; transition: all .3s; }
.dark-nav .nav-hamburger span { background: white; }
.light-nav .nav-hamburger span { background: var(--t); }
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile { display: none; flex-direction: column; }
.dark-nav + .nav-mobile, .nav-mobile.dark { background: var(--dark2); border-top: 1px solid rgba(255,255,255,0.06); }
.light-nav + .nav-mobile, .nav-mobile.light { background: var(--w); border-top: 1px solid var(--border); box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 14px 24px; font-size: 15px; font-weight: 500; border-bottom: 1px solid rgba(255,255,255,0.04); }
.dark-nav .nav-mobile a { color: rgba(255,255,255,0.7); }
.light-nav .nav-mobile a { color: var(--t2); border-bottom-color: var(--border); }

/* ── SERVICES GRID ── */
.services { padding: 80px 0; background: var(--off); }
.services .section-tag,
.services .section-title,
.services .section-sub {
  text-align: center;
}
.services .section-title,
.services .section-sub {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.services .section-sub {
  margin-bottom: 40px;
}
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.service-card { background: white; padding: 36px 32px; border: 1px solid var(--border); transition: all .3s; position: relative; overflow: hidden; cursor: pointer; }
.service-card:hover { border-color: var(--p); transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,0,0,0.08); }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--p); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.service-card:hover::before { transform: scaleX(1); }
.service-num { font-family: var(--font-heading); font-size: 36px; font-weight: 900; color: color-mix(in srgb, var(--p) 58%, var(--t2) 42%); line-height: 1; margin-bottom: 16px; }
.service-name { font-size: 18px; font-weight: 700; color: var(--t); margin-bottom: 8px; }
.service-desc { font-size: 14px; font-weight: 300; color: var(--t2); line-height: 1.7; margin-bottom: 16px; }
.service-link { font-size: 13px; font-weight: 600; color: var(--pd); display: flex; align-items: center; gap: 6px; transition: gap .2s; }
.service-card:hover .service-link { gap: 10px; }

/* ── MODAL ── */
.modal-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(5,8,16,0.92); backdrop-filter: blur(8px) saturate(0.9); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity .3s; box-sizing: border-box; }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal { background: white; border-radius: 8px; max-width: 720px; width: 100%; max-height: 90vh; overflow-y: auto; transform: translateY(20px); transition: transform .3s; position: relative; box-sizing: border-box; }
.modal-overlay.active .modal { transform: translateY(0); }
.modal-img-placeholder { width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg,#1A1F2E,#2A3250); border-radius: 8px 8px 0 0; overflow: hidden; position: relative; }
.modal-img-placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.modal-gallery-nav { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; z-index: 2; }
.modal-gallery-btn { width: 42px; height: 42px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.18); background: rgba(10,14,27,0.72); color: white; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; backdrop-filter: blur(10px); transition: background .2s, transform .2s; }
.modal-gallery-btn:hover { background: rgba(10,14,27,0.9); transform: translateY(-1px); }
.modal-body { padding: 32px; }
.modal-num { font-family: var(--font-heading); font-size: 12px; font-weight: 700; color: var(--p); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.modal-title { font-family: var(--font-heading); font-size: 28px; font-weight: 900; color: var(--t); letter-spacing: -0.5px; margin-bottom: 12px; line-height: 1.1; }
.modal-desc { font-size: 15px; font-weight: 300; color: var(--t2); line-height: 1.8; margin-bottom: 24px; }
.modal-points { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; }
.modal-point { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--t2); }
.modal-point::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--p); flex-shrink: 0; }
.modal-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.modal-call { display: inline-flex; align-items: center; gap: 8px; background: var(--p); color: white; padding: 13px 24px; border-radius: var(--r); font-size: 16px; font-weight: 700; transition: background .2s; }
.modal-call:hover { background: var(--pd); }
.modal-more { font-size: 14px; font-weight: 600; color: var(--t2); display: inline-flex; align-items: center; gap: 6px; }
.modal-more:hover { color: var(--t); }
.modal-back { font-size: 14px; font-weight: 500; color: var(--t2); cursor: pointer; background: none; border: none; font-family: var(--font-body); }
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,0.5); border: none; cursor: pointer; color: white; font-size: 20px; display: flex; align-items: center; justify-content: center; transition: background .2s; z-index: 2; }
.modal-close:hover { background: rgba(0,0,0,0.7); }

/* ── SERVICE PAGE ── */
.service-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: 40px; align-items: start; }
.service-page-gallery { position: relative; background: var(--dark); border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 18px 48px rgba(5,8,16,0.16); }
.service-page-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-page-gallery-nav { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; }
.service-page-copy .why-points { margin-top: 0; }
.service-page-copy .why-point { padding: 18px 20px; }

/* ── WHY SECTION ── */
.why { padding: 80px 0; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.why-points { display: flex; flex-direction: column; gap: 24px; margin-top: 40px; }
.why-point { display: flex; align-items: flex-start; gap: 16px; padding: 20px; background: var(--off); border: 1px solid var(--border); border-radius: var(--r); border-left: 3px solid var(--p); }
.why-point-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--pl); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 16px; font-weight: 700; color: var(--p); font-family: var(--font-heading); }
.why-point-title { font-size: 15px; font-weight: 600; color: var(--t); margin-bottom: 4px; }
.why-point-desc { font-size: 13px; font-weight: 300; color: var(--t2); line-height: 1.6; }
.why-image { border-radius: var(--r); overflow: hidden; position: relative; background: var(--dark); align-self: stretch; min-height: 100%; }
.why-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.why-image::before { content: ''; position: absolute; bottom: -20%; right: -20%; width: 70%; height: 70%; border-radius: 50%; background: radial-gradient(circle,color-mix(in srgb, var(--p) 15%, transparent) 0%,transparent 65%); }
.why-stat-card { position: absolute; top: 24px; right: 24px; background: white; border-radius: var(--r); padding: 16px 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.2); text-align: center; }
.why-stat-num { font-family: var(--font-heading); font-size: 32px; font-weight: 900; color: var(--p); letter-spacing: -1px; line-height: 1; }
.why-stat-label { font-size: 11px; font-weight: 600; color: var(--t2); letter-spacing: 1px; text-transform: uppercase; margin-top: 4px; }

/* ── REVIEWS ── */
.reviews { padding: 80px 0; background: var(--off); }
.reviews-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 48px; }
.review-card { background: white; padding: 28px; border: 1px solid var(--border); border-radius: var(--r); }
.review-stars { color: #F59E0B; font-size: 14px; letter-spacing: 2px; margin-bottom: 12px; }
.review-text { font-size: 14px; font-weight: 300; color: var(--t2); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--dark3); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: white; }
.review-name { font-size: 13px; font-weight: 600; color: var(--t); }
.review-date { font-size: 11px; color: var(--t3); margin-top: 1px; }
.reviews .section-tag,
.reviews .section-title,
.reviews .section-sub {
  text-align: center;
}
.reviews .section-title,
.reviews .section-sub {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.reviews-cta { text-align: center; margin-top: 40px; }
.reviews-total { font-size: 15px; color: var(--t2); margin-bottom: 16px; }
.reviews-total strong { color: var(--t); }
.reviews-all-link { font-size: 14px; font-weight: 600; color: var(--p); display: inline-flex; align-items: center; gap: 6px; }

/* ── AREAS ── */
.areas { padding: 80px 0; }
.areas .section-tag,
.areas .section-title,
.areas .section-sub {
  text-align: center;
}
.areas .section-title,
.areas .section-sub {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.areas .section-sub {
  margin-bottom: 40px;
}
.areas-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-top: 40px; }
.area-card { background: var(--off); border: 1px solid var(--border); border-radius: 4px; padding: 12px 16px; font-size: 14px; font-weight: 500; color: var(--t2); text-align: center; transition: all .2s; }
.area-card:hover { background: var(--pl); border-color: var(--p); color: var(--pd); }

/* ── BRAND STRIP ── */
.brand-strip {
  padding: 52px 0;
  background: linear-gradient(180deg, white 0%, color-mix(in srgb, var(--pl) 28%, white 72%) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.brand-strip-label {
  text-align: center;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--p);
}
.brand-strip-logos {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.brand-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 18px 24px;
  background: white;
  border: 1px solid color-mix(in srgb, var(--p) 16%, var(--border) 84%);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(10, 16, 31, 0.06);
  font-size: 19px;
  font-weight: 800;
  color: var(--t);
  letter-spacing: -0.6px;
}
.brand-divider { display: none; }

/* ── CONTACT FORM ── */
.contact-form { background: white; border-radius: var(--r); padding: 36px; }
.contact-form h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 900; color: var(--t); margin-bottom: 6px; letter-spacing: -0.5px; }
.contact-form p { font-size: 14px; color: var(--t2); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--t2); letter-spacing: .5px; }
.form-group input,.form-group select,.form-group textarea { padding: 11px 14px; border: 1px solid var(--border); border-radius: 4px; font-family: var(--font-body); font-size: 14px; color: var(--t); outline: none; transition: border-color .2s; background: var(--off); }
.form-group input:focus,.form-group select:focus,.form-group textarea:focus { border-color: var(--p); background: white; }
.form-group textarea { resize: vertical; min-height: 90px; }
.btn-submit { width: 100%; padding: 14px; background: var(--p); color: white; border: none; border-radius: var(--r); font-family: var(--font-body); font-size: 16px; font-weight: 700; cursor: pointer; transition: background .2s; }
.btn-submit:hover { background: var(--pd); }

/* ── FAQ ── */
.faq { padding: 80px 0; }
.faq-grid { display: flex; flex-direction: column; gap: 8px; margin-top: 40px; max-width: 720px; }
.faq-item { background: var(--off); border: 1px solid var(--border); border-radius: var(--r); padding: 20px 24px; cursor: pointer; transition: border-color .2s; }
.faq-item:hover { border-color: var(--p); }
.faq-question { display: flex; align-items: center; justify-content: space-between; font-weight: 600; color: var(--t); font-size: 15px; }
.faq-icon { font-size: 20px; color: var(--p); flex-shrink: 0; margin-left: 16px; }
.faq-answer { margin-top: 12px; font-size: 14px; color: var(--t2); line-height: 1.7; display: none; }

/* ── CONTEXTUAL LINKS ── */
.contextual-links { padding: 40px 0 32px; background: white; border-top: 1px solid var(--border); }
.contextual-links-inner { max-width: 860px; margin: 0 auto; }
.contextual-links .section-tag { text-align: left; margin-bottom: 10px; }
.contextual-title { font-family: var(--font-heading); font-size: clamp(28px,3vw,38px); font-weight: 900; color: var(--t); letter-spacing: -0.8px; line-height: 1.1; margin-bottom: 16px; }
.contextual-intro { font-size: 15px; color: var(--t2); line-height: 1.85; margin: 0 0 10px; }
.contextual-intro a { color: var(--p); font-weight: 500; border-bottom: 1px solid transparent; transition: border-color .2s; }
.contextual-intro a:hover { border-bottom-color: var(--p); }

/* ── FOOTER ── */
footer { background: var(--dark2); padding: 48px 0 24px; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { font-family: var(--font-heading); font-size: 22px; font-weight: 900; color: white; letter-spacing: -0.5px; margin-bottom: 12px; }
.footer-logo span { color: var(--p); }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.72); line-height: 1.7; margin-bottom: 16px; }
.footer-col-title { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.68); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.74); transition: color .2s; }
.footer-links a:hover { color: white; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.68); }
.footer-badge { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); padding: 4px 10px; border-radius: 4px; font-size: 11px; font-weight: 600; letter-spacing: .5px; color: rgba(255,255,255,0.72); }
.footer-proof-badges { display: flex; gap: 8px; flex-wrap: nowrap; align-items: center; }
.footer-proof-badge {
  background: color-mix(in srgb, var(--p) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--p) 28%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  color: color-mix(in srgb, white 42%, var(--p) 58%);
  white-space: nowrap;
  flex: 0 0 auto;
}

/* ── RESPONSIVE BASE — medium desktop / small laptop ── */
@media(max-width:1200px){
  nav.dark-nav .nav-inner,
  nav.light-nav .nav-inner,
  .footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
  nav.dark-nav .nav-logo {
    font-size: 30px;
  }
  nav.dark-nav .nav-desktop {
    padding-left: 20px;
  }
  nav.dark-nav .nav-links a,
  nav.light-nav .nav-links a {
    padding: 0 12px;
    font-size: 13px;
  }
  .services,
  .reviews,
  .areas,
  .why,
  .faq,
  .contact,
  .portfolio,
  .process {
    padding: 64px 0;
  }
  .services-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .areas-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .why-grid,
  .service-page-grid,
  .contact-inner,
  .quote-cta-inner,
  .visit-grid {
    gap: 40px;
  }
  .footer-top {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 28px;
  }
  .footer-proof-badges {
    flex-wrap: wrap;
  }
}

/* ── RESPONSIVE BASE ── */
@media(max-width:900px){
  nav.dark-nav,
  nav.light-nav {
    padding-top: max(8px, env(safe-area-inset-top, 0px));
  }
  nav.dark-nav .nav-inner,
  nav.light-nav .nav-inner {
    min-height: 0;
  }
  .nav-links, .nav-phone { display: none !important; }
  nav.light-nav .nav-links, nav.dark-nav .nav-links { display: none !important; }
  nav.light-nav .nav-phone, nav.dark-nav .nav-phone { display: none !important; }
  nav .nav-cta { display: none !important; }
  nav.dark-nav .nav-inner { padding: 12px 20px 14px; }
  nav.light-nav .nav-inner { padding: 12px 20px 14px; height: auto; }
  nav.dark-nav .nav-meta { display: none; }
  nav.dark-nav .nav-desktop { display: none; }
  nav.dark-nav .nav-logo { font-size: 22px; }
  nav.dark-nav .nav-brand,
  nav.light-nav .nav-brand {
    padding-top: 24px;
  }
  nav.dark-nav .nav-logo,
  nav.light-nav .nav-logo {
    position: relative;
    top: 10px;
  }
  .nav-hamburger { display: flex; }
  .services, .reviews, .areas, .why, .faq { padding: 48px 0; }
  .contextual-links { padding: 28px 0 22px; }
  .contextual-title {
    font-size: 24px;
    margin-bottom: 12px;
  }
  .contextual-intro {
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 8px;
  }
  .why-grid { grid-template-columns: 1fr; }
  .why-image { display: none; }
  .why-points {
    gap: 14px;
    margin-top: 24px;
  }
  .why-point {
    padding: 16px 16px 16px 14px;
    gap: 12px;
  }
  .services-grid, .reviews-grid { grid-template-columns: 1fr; }
  .services .section-sub,
  .reviews .section-sub,
  .areas .section-sub {
    margin-bottom: 24px;
  }
  .services .section-title,
  .reviews .section-title,
  .areas .section-title,
  .why .section-title,
  .faq .section-title {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  .section-title {
    font-size: clamp(26px, 8.6vw, 34px);
    line-height: 1.06;
  }
  .section-sub {
    font-size: 14px;
    line-height: 1.6;
  }
  .service-card {
    padding: 20px 16px 18px;
    border-radius: 10px;
    border-color: #e8ebf2;
    box-shadow: 0 8px 24px rgba(26, 31, 46, 0.04);
  }
  .service-page-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .service-page-gallery {
    aspect-ratio: 16 / 11;
  }
  .service-num {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .service-name {
    font-size: 16px;
    margin-bottom: 8px;
  }
  .service-desc {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 10px;
  }
  .service-link {
    font-size: 13px;
  }
  .reviews-grid {
    gap: 10px;
    margin-top: 24px;
  }
  .review-card {
    padding: 18px 16px;
    border-radius: 10px;
  }
  .review-text {
    font-size: 14px;
    line-height: 1.55;
  }
  .areas-grid { grid-template-columns: repeat(2,1fr); }
  .areas-grid {
    gap: 10px;
    margin-top: 24px;
  }
  .area-card {
    padding: 13px 10px;
    font-size: 14px;
    border-radius: 8px;
  }
  .brand-strip {
    padding: 30px 0;
  }
  .brand-strip-label {
    margin-bottom: 14px;
    font-size: 10px;
  }
  .brand-strip-logos {
    gap: 10px;
  }
  .brand-name {
    min-width: 140px;
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 10px;
  }
  .brand-divider {
    height: 24px;
  }
  .contact-form {
    padding: 20px 16px;
  }
  .faq-grid {
    margin-top: 24px;
  }
  .faq-item {
    padding: 16px 16px;
  }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-proof-badges { flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  body { padding-bottom: 88px; }
  .sticky-cta { display: block; }
  .sticky-cta a { line-height: 1.2; }
  nav .nav-cta { display: none !important; }
}

/* layout-emergency.css */
/* ============================================================
   TURNAROUND TECH — EMERGENCY LAYOUT CSS
   Phone-first, urgent, 24/7. Loaded on top of base + components.
   ============================================================ */

/* HERO */
.hero { background: var(--dark); padding: 0; position: relative; overflow: hidden; }
.hero-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 0; align-items: stretch; position: relative; z-index: 1; min-height: 604px; }
.hero-content { padding: 62px 38px 54px 0; display: flex; flex-direction: column; justify-content: center; min-width: 0; position: relative; z-index: 2; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; background: color-mix(in srgb, var(--p) 15%, transparent); border: 1px solid color-mix(in srgb, var(--p) 30%, transparent); color: color-mix(in srgb, white 24%, var(--p) 76%); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 14px; border-radius: 100px; margin-bottom: 20px; }
.hero-tag { align-self: flex-start; }
.hero-tag::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: color-mix(in srgb, white 24%, var(--p) 76%); animation: blink 2s ease-in-out infinite; }
.hero h1 { font-family: var(--font-heading); font-size: clamp(36px,4vw,58px); font-weight: 900; line-height: 1.05; letter-spacing: -1.5px; color: white; margin-bottom: 16px; }
.hero h1 em { font-style: italic; color: color-mix(in srgb, white 20%, var(--p) 80%); }
.hero-sub { font-size: 17px; font-weight: 300; color: rgba(255,255,255,0.6); margin-bottom: 32px; line-height: 1.7; max-width: 460px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-call { display: inline-flex; align-items: center; gap: 10px; background: var(--pd); color: white; padding: 16px 28px; border-radius: var(--r); font-size: 18px; font-weight: 700; box-shadow: 0 4px 20px color-mix(in srgb, var(--p) 35%, transparent); transition: all .2s; }
.btn-call:hover { background: var(--pd); transform: translateY(-1px); }
.btn-secondary { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.7); font-size: 15px; font-weight: 500; padding: 16px 0; transition: color .2s; }
.btn-secondary:hover { color: white; }
.btn-secondary::after { content: '→'; transition: transform .2s; }
.btn-secondary:hover::after { transform: translateX(4px); }
.hero-trust { display: flex; align-items: center; gap: 20px; margin-top: 28px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08); flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.55); }
.trust-item strong { color: white; }
.trust-badge {
  background: color-mix(in srgb, var(--p) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--p) 28%, transparent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: color-mix(in srgb, white 24%, var(--p) 76%);
}
.hero-image { position: relative; z-index: 1; min-width: 0; align-self: stretch; height: 100%; margin-right: calc(50% - 50vw); }
.hero-image::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 22%, rgba(0,0,0,0.12) 100%); clip-path: polygon(14.5% 0,100% 0,100% 100%,0 100%,0 var(--hero-knee, 56%),0 var(--hero-knee, 56%)); pointer-events: none; z-index: 1; }
.hero-img-placeholder { width: 100%; height: 100%; min-height: 604px; background: var(--dark2); position: relative; overflow: hidden; clip-path: polygon(14.5% 0,100% 0,100% 100%,0 100%,0 var(--hero-knee, 56%),0 var(--hero-knee, 56%)); }
.hero-img-placeholder::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(7,10,20,0.34) 0%, rgba(7,10,20,0.08) 30%, rgba(7,10,20,0.30) 100%); pointer-events: none; z-index: 1; }
.hero-img-placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* PROOF STRIP */
.proof { background: var(--dark); padding: 20px 0; border-top: 2px solid var(--p); border-bottom: 1px solid rgba(255,255,255,0.06); position: relative; overflow: hidden; }
.proof::before { display: none; }
.proof-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: grid; align-items: center; position: relative; z-index: 1; }
.proof-inner--reviews { grid-template-columns: minmax(0,1fr) 1px minmax(0,1fr) 1px minmax(0,1fr) 1px minmax(0,1fr); }
.proof-inner--basic { grid-template-columns: minmax(0,1fr) 1px minmax(0,1fr); }
.proof-item { display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 16px; }
.proof-num { font-family: var(--font-heading); font-size: 28px; font-weight: 900; color: white; letter-spacing: -1px; line-height: 1; }
.proof-label { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-top: 2px; }
.proof-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.08); justify-self: center; }

/* LIVE REVIEW WIDGET BAND */
.reviews-hero-band {
  background: var(--dark);
  padding: 22px 0 28px;
  border-top: 2px solid var(--p);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.reviews-hero-band--lower {
  padding-top: 28px;
  border-top-width: 1px;
}
.reviews-hero-shell {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.22);
}
.reviews-hero-frame {
  display: block;
  min-height: 190px;
}

/* EMERGENCY BAND */
.emergency { background: var(--p); padding: 40px 0; }
.emergency-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.emergency-text h2 { font-family: var(--font-heading); font-size: 28px; font-weight: 900; color: white; letter-spacing: -0.5px; margin-bottom: 4px; }
.emergency-text p { font-size: 15px; color: rgba(255,255,255,0.8); }
.btn-emergency { display: inline-flex; align-items: center; gap: 10px; background: white; color: var(--p); padding: 16px 32px; border-radius: var(--r); font-size: 20px; font-weight: 700; white-space: nowrap; box-shadow: 0 4px 20px rgba(0,0,0,0.15); transition: all .2s; flex-shrink: 0; }
.btn-emergency:hover { transform: translateY(-1px); box-shadow: 0 8px 32px rgba(0,0,0,0.2); }

/* CONTACT (dark background) */
.contact { padding: 80px 0; background: var(--dark); }
.contact-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-left .section-tag { color: color-mix(in srgb, white 42%, var(--p) 58%); }
.contact-left .section-title { color: white; }
.contact-left .section-sub { color: rgba(255,255,255,0.5); margin-bottom: 32px; }
.contact-methods { display: flex; flex-direction: column; gap: 12px; }
.contact-method { display: flex; align-items: center; gap: 16px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); padding: 18px 20px; border-radius: var(--r); transition: border-color .2s; }
.contact-method:hover { border-color: color-mix(in srgb, var(--p) 40%, transparent); }
.contact-method-icon { width: 48px; height: 48px; border-radius: 50%; background: color-mix(in srgb, var(--p) 18%, transparent); border: 1px solid color-mix(in srgb, var(--p) 24%, transparent); box-shadow: inset 0 1px 0 rgba(255,255,255,0.06); color: color-mix(in srgb, white 24%, var(--p) 76%); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-method-icon svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.contact-method-label { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.68); margin-bottom: 3px; }
.contact-method-value { font-size: 16px; font-weight: 600; color: white; }

/* RESPONSIVE — emergency medium */
@media(max-width:1200px){
  .hero-inner,
  .proof-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-inner {
    min-height: 560px;
  }
  .hero-content {
    padding: 48px 28px 42px 0;
  }
  .hero h1 {
    font-size: clamp(34px, 4.2vw, 50px);
  }
  .hero-sub {
    font-size: 16px;
    max-width: 420px;
  }
  .hero-trust {
    gap: 16px;
  }
  .proof {
    padding: 18px 0;
  }
  .reviews-hero-band {
    padding: 18px 0 22px;
  }
  .proof-item {
    padding: 0 10px;
  }
  .proof-num {
    font-size: 24px;
  }
  .proof-label {
    font-size: 10px;
  }
  .contact-inner {
    gap: 40px;
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* RESPONSIVE — emergency specific */
@media(max-width:900px){
  nav.dark-nav .nav-inner {
    min-height: 56px;
    padding: 10px 20px 11px;
  }
  nav.dark-nav .nav-brand {
    padding-top: 0;
  }
  nav.dark-nav .nav-logo {
    top: 0;
    font-size: 24px;
    line-height: 1;
  }
  nav.dark-nav .nav-hamburger {
    align-self: center;
  }
  .hero {
    padding: 24px 0 0;
    background:
      radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--p) 22%, transparent) 0%, transparent 28%),
      linear-gradient(155deg, #151b2c 0%, var(--dark) 58%, #111725 100%);
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 20px;
    min-height: 0;
  }
  .hero-content {
    padding: 0;
    position: relative;
  }
  .hero-content::after {
    content: '';
    position: absolute;
    right: -34px;
    bottom: 12px;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--p) 16%, transparent) 0%, transparent 66%);
    pointer-events: none;
    opacity: .72;
  }
  .hero-image {
    display: block;
    margin: 2px 0 0;
    height: 174px;
    align-self: auto;
  }
  .hero-image::before {
    inset: 0;
    border-radius: 18px 18px 0 0;
    clip-path: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(7,10,20,0.18) 100%);
  }
  .hero-img-placeholder {
    height: 174px;
    min-height: 0;
    border-radius: 18px 18px 0 0;
    clip-path: none;
    border: 1px solid rgba(255,255,255,0.08);
    border-bottom: 0;
    box-shadow: 0 18px 38px rgba(5,8,16,0.26);
  }
  .hero-img-placeholder::after {
    background: linear-gradient(180deg, rgba(7,10,20,0.02) 0%, rgba(7,10,20,0.30) 100%);
  }
  .hero-tag {
    margin-bottom: 14px;
    font-size: 10px;
    padding: 4px 11px;
    color: color-mix(in srgb, white 34%, var(--p) 66%);
    background: color-mix(in srgb, var(--p) 12%, transparent);
  }
  .hero h1 {
    font-size: clamp(29px, 9.8vw, 40px);
    letter-spacing: -1px;
    margin-bottom: 12px;
    max-width: 340px;
  }
  .hero-sub {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 18px;
    max-width: none;
    color: rgba(255,255,255,0.68);
  }
  .hero-actions {
    gap: 10px;
    align-items: stretch;
  }
  .btn-call {
    width: 100%;
    justify-content: center;
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 12px;
    box-shadow: 0 14px 30px color-mix(in srgb, var(--p) 24%, transparent);
  }
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 11px 14px;
    font-size: 13px;
    color: rgba(255,255,255,0.78);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    background: rgba(255,255,255,0.035);
  }
  .hero-trust {
    gap: 9px 14px;
    margin-top: 18px;
    padding-top: 16px;
    display: flex;
    align-items: center;
  }
  .trust-item {
    font-size: 12px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    justify-content: flex-start;
    text-align: left;
    color: rgba(255,255,255,0.62);
  }
  .hero-trust .trust-item:nth-child(n+3) {
    display: none;
  }
  .trust-badge {
    padding: 5px 9px;
    font-size: 10px;
  }
  .proof {
    padding: 14px 0;
    border-top-width: 1px;
  }
  .reviews-hero-band {
    padding: 12px 0 18px;
  }
  .proof::before {
    display: none;
  }
  .proof-inner {
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }
  .proof-item {
    justify-content: center;
    text-align: center;
    padding: 2px 6px;
    border-radius: 0;
    border: 0;
    background: transparent;
  }
  .proof-item {
    border-right: 1px solid rgba(255,255,255,0.08);
  }
  .proof-item:last-child {
    border-right: 0;
  }
  .proof-num { font-size: 20px; }
  .proof-label {
    font-size: 8px;
    letter-spacing: .8px;
    color: rgba(255,255,255,0.56);
  }
  .proof-divider {
    display: none;
  }
  .reviews-hero-shell {
    border-radius: 10px;
    box-shadow: 0 10px 26px rgba(0,0,0,0.18);
  }
  .reviews-hero-frame {
    min-height: 170px;
  }
  .services { padding: 34px 0 38px; }
  .services .section-tag {
    margin-bottom: 8px;
  }
  .services .section-title {
    max-width: 315px;
    font-size: clamp(24px, 7.4vw, 30px);
    line-height: 1.02;
    margin-bottom: 10px;
  }
  .services .section-sub {
    max-width: 320px;
    margin-bottom: 18px;
    font-size: 13px;
    line-height: 1.5;
  }
  .services-grid {
    gap: 8px;
  }
  .service-card {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 12px;
    padding: 13px 14px;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(26,31,46,0.035);
  }
  .service-card:hover {
    transform: none;
  }
  .service-card::before {
    width: 3px;
    height: auto;
    right: auto;
    bottom: 0;
    transform: scaleY(0);
    transform-origin: top;
  }
  .service-card:hover::before {
    transform: scaleY(1);
  }
  .service-num {
    grid-row: 1 / 4;
    font-size: 18px;
    margin: 1px 0 0;
  }
  .service-name {
    font-size: 15px;
    margin-bottom: 4px;
  }
  .service-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 12.5px;
    line-height: 1.45;
    margin-bottom: 6px;
  }
  .service-link {
    font-size: 12px;
  }
  .why,
  .reviews,
  .areas,
  .faq {
    padding: 40px 0;
  }
  .emergency {
    padding: 20px 0;
  }
  .emergency-inner {
    padding: 0 20px;
    gap: 12px;
  }
  .emergency-text h2 {
    font-size: 21px;
    line-height: 1.1;
  }
  .emergency-text p {
    font-size: 13px;
    line-height: 1.5;
  }
  .btn-emergency {
    width: auto;
    min-width: 0;
    justify-content: center;
    padding: 13px 18px;
    font-size: 15px;
  }
  .contact {
    padding: 42px 0;
  }
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 20px;
  }
  .contact-left .section-sub {
    margin-bottom: 18px;
  }
  .contact-method {
    padding: 14px 16px;
  }
  .contact-method-icon {
    width: 44px;
    height: 44px;
  }
}
