/* ============================================================
   TM Computers Homepage — Custom styles
   Loaded only on pages using the "TM Computers Homepage" template.
   ============================================================ */

/* Reset some theme styles that may bleed onto the page */
body.tm-hp { margin: 0 !important; padding: 0 !important; }
body.tm-hp .site-header,
body.tm-hp .site-footer,
body.tm-hp #ct-floating-bar { display: none !important; }
body.tm-hp #wpadminbar { /* keep for logged-in users */ }
body.tm-hp.admin-bar .tm-header { top: 32px; }
@media (max-width: 782px) {
  body.tm-hp.admin-bar .tm-header { top: 46px; }
}

:root {
  /* Brand palette: TM Computers brand-aligned — bluer, friendlier */
  --blue:        #1e3a8a;   /* primary brand blue, matches logo */
  --blue-deep:   #1a3478;   /* hover state */
  --blue-rich:   #2348a8;   /* lighter accent for highlights */
  --blue-bg:     #1a3577;   /* dark section background — bluer than v2 */
  --blue-bg-2:   #15306a;   /* deeper variant for gradients */
  --red:         #c4202c;   /* matches logo red */
  --red-deep:    #9e1820;   /* hover */
  --ink:         #0f1929;   /* very dark blue-tinted ink (not pure black) */
  --ink-soft:    #1f2937;
  --paper:       #ffffff;
  --bone:        #f5f4f0;
  --cream:       #faf8f3;
  --line:        #e0ddd5;
  --muted:       #6b6358;
  --gold:        #fbbf24;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Typography ---------- */
.display { font-family: 'Fraunces', serif; font-weight: 600; letter-spacing: -0.02em; line-height: 1.02; }
.mono { font-family: 'JetBrains Mono', monospace; }
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 500;
}

/* ---------- Header ---------- */
header.tm-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand-logo {
  height: 60px;
  width: auto;
  display: block;
}
.brand-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
nav.primary {
  display: flex;
  gap: 32px;
  align-items: center;
}
nav.primary a {
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
nav.primary a:hover { color: var(--red); }
nav.primary a.es {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cta-phone {
  background: var(--ink);
  color: var(--paper);
  padding: 12px 22px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s;
}
.cta-phone:hover { background: var(--red); }
.cta-phone svg { width: 16px; height: 16px; }
.mobile-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  background: var(--blue-bg);
  color: var(--paper);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/gaming-repair.jpg');
  background-size: cover;
  background-position: center 35%;
  filter: contrast(1.05) saturate(1.1);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(21,48,106,0.90) 0%,
    rgba(26,53,119,0.74) 40%,
    rgba(30,58,138,0.40) 70%,
    rgba(30,58,138,0.20) 100%
  );
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' seed='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 32px 100px;
  z-index: 2;
}
.hero-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 80px;
  flex-wrap: wrap;
  gap: 20px;
}
.hero-meta-left {
  display: flex;
  gap: 14px;
  align-items: center;
}
.hero-meta .dot {
  width: 8px; height: 8px;
  background: #4ade80;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(74,222,128,0.2);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(74,222,128,0.2); }
  50% { box-shadow: 0 0 0 10px rgba(74,222,128,0); }
}
.hero-meta .eyebrow { color: var(--paper); letter-spacing: 0.15em; }
.hero-coords {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero-headline {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(56px, 9vw, 132px);
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin-bottom: 36px;
  max-width: 1100px;
  font-variation-settings: "opsz" 144;
}
.hero-headline .italic {
  font-style: italic;
  font-weight: 400;
  color: var(--red);
  font-variation-settings: "opsz" 144;
}
.hero-headline .dot-red {
  color: var(--red);
  font-style: normal;
  font-weight: 600;
}
.hero-sub {
  font-size: clamp(17px, 1.6vw, 22px);
  color: rgba(255,255,255,0.85);
  max-width: 620px;
  line-height: 1.5;
  margin-bottom: 48px;
}
.hero-sub strong { color: var(--paper); font-weight: 600; }
.hero-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.btn-primary {
  background: var(--red);
  color: var(--paper);
  padding: 20px 32px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  padding: 20px 32px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid rgba(255,255,255,0.3);
  transition: all 0.2s;
}
.btn-ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
  max-width: 900px;
}
.stat .big {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}
.stat .big .small { font-size: 0.55em; color: var(--red); vertical-align: super; margin-left: 2px; }
.stat .big .stars { color: #fbbf24; font-size: 0.6em; }
.stat .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 24px 32px;
  overflow: hidden;
}
.trust-strip-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.cert-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.cert-badge {
  width: 36px; height: 36px;
  border: 1.5px solid var(--blue);
  color: var(--blue);
  display: grid;
  place-items: center;
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.02em;
}
.cert-item strong { font-weight: 600; font-size: 13px; display: block; }
.cert-item span { font-size: 11px; color: var(--muted); }

/* ---------- Section style ---------- */
section.block {
  padding: 120px 32px;
  max-width: 1400px;
  margin: 0 auto;
}
.section-head {
  margin-bottom: 72px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: start;
}
.section-head .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 12px;
  border-top: 2px solid var(--ink);
}
.section-head h2 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(38px, 5.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.028em;
  max-width: 900px;
}
.section-head h2 .italic { font-style: italic; font-weight: 400; color: var(--red); }
.section-head h2 .navy { color: var(--blue); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  padding: 48px 32px 0 0;
  border-right: 1px solid var(--line);
  position: relative;
}
.step:nth-child(2) { padding-left: 32px; padding-right: 32px; }
.step:last-child { border-right: none; padding-left: 32px; padding-right: 0; }
.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--red);
  margin-bottom: 24px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.step h3 {
  font-family: 'Fraunces', serif;
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.step p {
  font-size: 16px;
  color: #4a4a4a;
  line-height: 1.6;
}

/* ---------- MICROSOLDERING / DEAD LAPTOPS dedicated section ---------- */
.dead-section {
  background: var(--ink);
  color: var(--paper);
  margin: 0;
  max-width: none;
  position: relative;
  overflow: hidden;
}
.dead-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 32px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.dead-text .eyebrow { color: var(--red); margin-bottom: 24px; display: block; }
.dead-text h2 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.dead-text h2 .italic { font-style: italic; font-weight: 400; color: var(--red); }
.dead-text p {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}
.dead-text p strong { color: var(--paper); }
.dead-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.dead-feature {
  display: flex;
  gap: 12px;
  align-items: start;
}
.dead-feature .check {
  color: var(--red);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}
.dead-feature span {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}

.dead-photo {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.dead-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dead-photo-tag {
  position: absolute;
  top: 24px;
  right: 24px;
  background: var(--red);
  color: var(--paper);
  padding: 10px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

/* ---------- Services grid ---------- */
.services-section { background: var(--bone); margin: 0; max-width: none; }
.services-section .section-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 32px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--bone);
  padding: 40px 32px;
  transition: background 0.3s;
  cursor: pointer;
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-card:hover { background: var(--paper); }
.service-card .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--red);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  font-weight: 500;
}
.service-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.service-card p {
  font-size: 14px;
  color: #4a4a4a;
  line-height: 1.55;
  margin-bottom: 24px;
}
.service-card .arrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
  font-weight: 500;
}
.service-card:hover .arrow { gap: 14px; }

/* ---------- About / Workshop ---------- */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.about-photo {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-photo-tag {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--paper);
  padding: 12px 18px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
}
.about-text h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(36px, 4.8vw, 58px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin-bottom: 32px;
}
.about-text h2 .italic { font-style: italic; font-weight: 400; color: var(--red); }
.about-text p {
  font-size: 17px;
  color: #3a3a3a;
  line-height: 1.65;
  margin-bottom: 20px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 44px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.about-stat .num {
  font-family: 'Fraunces', serif;
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--blue);
}
.about-stat .num .small {
  font-size: 22px;
  color: var(--red);
  vertical-align: super;
}
.about-stat .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 8px;
}

/* ---------- Reviews ---------- */
.reviews-section { background: var(--blue-bg); color: var(--paper); margin: 0; max-width: none; }
.reviews-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 32px;
}
.reviews-inner .section-head .label { color: rgba(255,255,255,0.7); border-top-color: var(--paper); }
.reviews-inner h2 { color: var(--paper); }
.reviews-inner h2 .italic { color: #fbbf24; }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}
.review-card {
  border: 1px solid rgba(255,255,255,0.15);
  padding: 36px 32px;
  position: relative;
  background: rgba(255,255,255,0.03);
}
.review-card .stars-line {
  color: #fbbf24;
  font-size: 16px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}
.review-card .quote {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.45;
  margin-bottom: 24px;
  font-weight: 400;
}
.review-card .author {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.review-card .author .verified {
  color: #fbbf24;
  margin-left: 8px;
}
.reviews-cta {
  margin-top: 48px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.reviews-cta a {
  color: #fbbf24;
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #fbbf24;
  padding-bottom: 4px;
}

/* ---------- Visit ---------- */
.visit-section { background: var(--bone); margin: 0; max-width: none; }
.visit-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 120px 32px;
}
.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  margin-top: 48px;
}
.visit-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.visit-block {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.visit-block .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.visit-block .value {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.visit-block .value a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--red);
}
.visit-block .secondary {
  margin-top: 8px;
  font-size: 14px;
  color: #555;
}
.hours-table {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}
.hours-table .day { color: var(--muted); }
.hours-table .time { color: var(--ink); font-weight: 500; }
.hours-table .closed { color: var(--red); }
.map-frame {
  background: var(--line);
  aspect-ratio: 4/3;
  position: relative;
  overflow: hidden;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--red);
  color: var(--paper);
  text-align: center;
  padding: 110px 32px;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.final-cta h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 6.5vw, 84px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 20px;
  position: relative;
}
.final-cta h2 .italic { font-style: italic; font-weight: 400; }
.final-cta p {
  font-size: 19px;
  margin-bottom: 44px;
  opacity: 0.92;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.final-cta .btn-light {
  background: var(--paper);
  color: var(--ink);
  padding: 22px 40px;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.2s;
  position: relative;
}
.final-cta .btn-light:hover { background: var(--ink); color: var(--paper); }
.final-cta .or {
  display: block;
  margin: 24px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}
.final-cta .walkin {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 22px;
  opacity: 0.95;
}

/* ---------- Footer ---------- */
footer.tm-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 80px 32px 32px;
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 64px; margin-bottom: 20px; }
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 360px; }
footer.tm-footer h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 20px;
}
footer.tm-footer ul { list-style: none; }
footer.tm-footer ul li { margin-bottom: 10px; font-size: 14px; }
footer.tm-footer ul a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
footer.tm-footer ul a:hover { color: var(--red); }
.footer-bottom {
  max-width: 1400px;
  margin: 32px auto 0;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-bottom a:hover { color: var(--red); }

/* ---------- Animations ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-inner > * { animation: fadeUp 0.9s ease-out both; }
.hero-inner > *:nth-child(1) { animation-delay: 0.05s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.15s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.25s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.35s; }
.hero-inner > *:nth-child(5) { animation-delay: 0.45s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 1px solid var(--line); padding: 32px 0 !important; }
  .step:last-child { border-bottom: none; }
  .about-block { grid-template-columns: 1fr; gap: 40px; }
  .dead-inner { grid-template-columns: 1fr; gap: 48px; padding: 100px 32px; }
  .dead-features { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 720px) {
  .header-inner { padding: 12px 20px; gap: 12px; }
  nav.primary { display: none; }
  .mobile-toggle { display: block; background: none; border: none; cursor: pointer; padding: 8px; }
  .mobile-toggle svg { width: 24px; height: 24px; color: var(--ink); }
  .cta-phone { padding: 10px 14px; font-size: 13px; }
  .cta-phone .phone-text { display: none; }
  .brand-logo { height: 44px; }
  .brand-tag { display: none; }
  .hero { min-height: 85vh; }
  .hero-inner { padding: 40px 20px 60px; }
  .hero-meta { padding-bottom: 50px; }
  .hero-headline { font-size: clamp(44px, 13vw, 64px); }
  section.block, .services-section .section-inner, .reviews-inner, .visit-inner, .dead-inner { padding: 70px 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; padding: 0 0 40px; }
  .about-stats { grid-template-columns: 1fr; gap: 20px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { justify-content: center; }
  .final-cta { padding: 70px 20px; }
  .trust-strip-inner { gap: 24px; justify-content: flex-start; }
  .cert-item { font-size: 12px; }
  .cert-badge { width: 32px; height: 32px; font-size: 12px; }
}

/* ============================================================
   THEME OVERRIDE PROTECTION (v1.0.1)
   These !important rules prevent Blocksy/other themes from
   overriding our hero/section text colors. Without these,
   theme-injected h1/h2 styles can make headings unreadable.
   ============================================================ */

/* HERO */
body.tm-hp .hero-headline,
body.tm-hp .hero-headline * { color: #ffffff !important; }
body.tm-hp .hero-headline .italic,
body.tm-hp .hero-headline .dot-red { color: #c4202c !important; }
body.tm-hp .hero-sub { color: rgba(255,255,255,0.85) !important; }
body.tm-hp .hero-sub strong { color: #ffffff !important; }
body.tm-hp .hero-stats .big { color: #ffffff !important; }
body.tm-hp .hero-stats .lbl { color: rgba(255,255,255,0.6) !important; }
body.tm-hp .hero-coords { color: rgba(255,255,255,0.55) !important; }
body.tm-hp .hero-meta .eyebrow { color: #ffffff !important; }

/* MICROSOLDERING / DEAD LAPTOPS (dark section) */
body.tm-hp .dead-section h2,
body.tm-hp .dead-section h2 * { color: #ffffff !important; }
body.tm-hp .dead-section h2 .italic { color: #c4202c !important; }
body.tm-hp .dead-section p { color: rgba(255,255,255,0.8) !important; }
body.tm-hp .dead-section p strong { color: #ffffff !important; }
body.tm-hp .dead-section .dead-feature span { color: rgba(255,255,255,0.85) !important; }
body.tm-hp .dead-section .eyebrow { color: #c4202c !important; }

/* REVIEWS (dark section) */
body.tm-hp .reviews-section h2,
body.tm-hp .reviews-section h2 * { color: #ffffff !important; }
body.tm-hp .reviews-section h2 .italic { color: #fbbf24 !important; }
body.tm-hp .reviews-section .section-head .label { color: rgba(255,255,255,0.7) !important; }
body.tm-hp .reviews-section .review-card .quote { color: #ffffff !important; }
body.tm-hp .reviews-section .review-card .author { color: rgba(255,255,255,0.75) !important; }

/* LIGHT SECTIONS — headings dark */
body.tm-hp .section-head h2,
body.tm-hp .section-head h2 * { color: #0f1929 !important; }
body.tm-hp .section-head h2 .italic { color: #c4202c !important; }

/* FINAL CTA (red section) */
body.tm-hp .final-cta h2,
body.tm-hp .final-cta h2 * { color: #ffffff !important; }
body.tm-hp .final-cta p { color: rgba(255,255,255,0.92) !important; }
body.tm-hp .final-cta .walkin { color: #ffffff !important; }

/* FOOTER */
body.tm-hp footer.tm-footer h4 { color: #ffffff !important; }
body.tm-hp footer.tm-footer { color: rgba(255,255,255,0.7) !important; }

/* SERVICE CARDS */
body.tm-hp .service-card h3 { color: #0f1929 !important; }

/* ABOUT SECTION */
body.tm-hp .about-text h2,
body.tm-hp .about-text h2 * { color: #0f1929 !important; }
body.tm-hp .about-text h2 .italic { color: #c4202c !important; }
body.tm-hp .about-stat .num { color: #1e3a8a !important; }

/* STEPS */
body.tm-hp .step h3 { color: #0f1929 !important; }
