/* ============================================
   Midland Laptop Repairs — single-file styles
   ============================================ */

:root {
  --navy:        #0b1a2f;
  --navy-deep:   #070f1d;
  --navy-soft:   rgba(255,255,255,.05);
  --navy-line:   rgba(255,255,255,.10);
  --orange:      #f97316;
  --orange-600:  #ea580c;
  --orange-glow: rgba(249,115,22,.30);
  --emerald:     #10b981;
  --slate-50:    #f8fafc;
  --slate-100:   #f1f5f9;
  --slate-200:   #e2e8f0;
  --slate-400:   #94a3b8;
  --slate-500:   #64748b;
  --slate-600:   #475569;
  --slate-700:   #334155;
  --slate-900:   #0f172a;
  --text:        #0f172a;
  --muted:       #475569;
  --shadow-sm:   0 1px 2px rgba(15,23,42,.05);
  --shadow-md:   0 4px 14px rgba(15,23,42,.08);
  --shadow-lg:   0 10px 30px rgba(15,23,42,.12);
  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   18px;
  --radius-xl:   22px;
  --max-w:       1140px;
  --max-w-narrow: 760px;
  --gutter:      24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* Skip link */
.skip-link {
  position: absolute; top: -40px; left: 8px; padding: 8px 12px;
  background: var(--navy); color: #fff; border-radius: 6px; z-index: 1000;
  transition: top .15s;
}
.skip-link:focus { top: 8px; }

/* Container */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: var(--max-w-narrow); }

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,26,47,.95);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 8px;
  background: linear-gradient(135deg, var(--orange), var(--orange-600));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px var(--orange-glow);
  transition: transform .2s;
}
.brand:hover .brand-mark { transform: scale(1.06); }
.brand-mark.sm { width: 26px; height: 26px; box-shadow: none; }
.brand-text strong { display: block; font-size: 15px; font-weight: 700; line-height: 1.2; color: #fff; }
.brand-text small { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #fdba74; opacity: .9; }
.primary-nav { display: none; align-items: center; gap: 28px; font-size: 14px; color: #e2e8f0; }
.primary-nav a { transition: color .15s; }
.primary-nav a:hover, .primary-nav a:focus { color: var(--orange); }
@media (min-width: 880px) { .primary-nav { display: flex; } }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; transition: all .2s ease;
  text-align: center;
}
.btn-pill { border-radius: 999px; }
.btn-primary {
  background: var(--orange); color: #fff;
  padding: 12px 20px; font-size: 14px;
  box-shadow: 0 8px 20px var(--orange-glow);
}
.btn-primary:hover { background: var(--orange-600); transform: translateY(-1px); box-shadow: 0 12px 28px var(--orange-glow); }
.btn-primary:active { transform: translateY(0); }
.btn-lg { padding: 16px 28px; font-size: 16px; }
.btn-ghost {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  padding: 16px 24px; font-size: 16px;
}
.btn-ghost:hover { background: rgba(255,255,255,.08); }

/* Pulsing dot on call buttons */
.btn-call .ping { position: relative; display: inline-flex; width: 10px; height: 10px; }
.ping span:first-child { position: absolute; inset: 0; border-radius: 999px; background: #fff; opacity: .7; animation: ping 1.6s cubic-bezier(0,0,0.2,1) infinite; }
.ping span:last-child { position: relative; width: 10px; height: 10px; border-radius: 999px; background: #fff; }
@keyframes ping { 75%,100% { transform: scale(2); opacity: 0; } }

/* Hide phone-number text on tiny screens, keep icon */
@media (max-width: 480px) {
  .header-inner .btn-call span:not(.ping) { display: none; }
  .header-inner .btn-call { padding: 10px 12px; }
}

/* ============================================
   HERO
   ============================================ */
.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(249,115,22,.18), transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(59,130,246,.18), transparent 55%);
  pointer-events: none;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
          mask-image: radial-gradient(ellipse at center, black 35%, transparent 75%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid; gap: 48px; align-items: center;
  padding: 64px 24px 80px;
}
@media (min-width: 980px) {
  .hero-inner { grid-template-columns: 1.05fr .95fr; padding: 96px 24px 112px; }
}

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  font-size: 12px; font-weight: 500; color: #fdba74;
}
.dot { width: 6px; height: 6px; border-radius: 999px; background: var(--emerald); display: inline-block; }
.dot-pulse { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

h1 {
  margin: 20px 0 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05; letter-spacing: -.02em; font-weight: 800;
  color: #fff;
}
.shine {
  background: linear-gradient(90deg, #fff 30%, #ffd9b8 50%, #fff 70%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shine 4s linear infinite;
}
@keyframes shine { from { background-position: -200% 0; } to { background-position: 200% 0; } }
.white { color: #fff; }

.lead { margin: 18px 0 0; font-size: 18px; line-height: 1.65; color: #cbd5e1; max-width: 560px; }
.hero-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-trust { margin-top: 30px; display: flex; align-items: center; gap: 18px; color: #cbd5e1; font-size: 14px; }
.hero-trust strong { color: #fff; font-weight: 700; }

/* Stars */
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; fill: var(--orange); color: var(--orange); }
.stars-center { justify-content: center; align-items: center; gap: 6px; margin-top: 12px; }
.stars-center svg { width: 18px; height: 18px; }
.stars-center .muted { margin-left: 6px; color: var(--slate-500); font-size: 14px; }

/* Trust strip */
.trust-strip { position: relative; border-top: 1px solid rgba(255,255,255,.10); background: rgba(0,0,0,.20); }
.trust-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  padding: 16px 24px; text-align: center; font-size: 13px; color: #cbd5e1;
}
.trust-grid > div { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.trust-grid svg { width: 16px; height: 16px; color: var(--emerald); }
@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(4, 1fr); font-size: 14px; } }

/* ============================================
   ANIMATED LAPTOP
   ============================================ */
.hero-visual { display: none; }
@media (min-width: 980px) { .hero-visual { display: block; } }
.laptop { position: relative; max-width: 460px; margin: 0 auto; }
.laptop-glow {
  position: absolute; inset: -32px; border-radius: 999px;
  background: linear-gradient(45deg, rgba(249,115,22,.30), rgba(249,115,22,.10), rgba(59,130,246,.20));
  filter: blur(48px); animation: pulse 4s ease-in-out infinite;
}
.laptop-screen {
  position: relative; aspect-ratio: 16/10;
  background: linear-gradient(to bottom, #1e293b, #0f172a);
  border: 1px solid #334155; border-radius: 12px 12px 0 0;
  box-shadow: 0 18px 40px rgba(0,0,0,.45);
  overflow: hidden;
}
.screen-inner {
  position: absolute; inset: 8px; background: #0b1220; border-radius: 6px;
  padding: 12px; font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace;
  font-size: 10.5px; line-height: 1.7; color: #34d399; overflow: hidden;
}
.boot-line { opacity: 0; animation: bootline .4s ease forwards; }
.boot-line em { color: var(--orange); font-style: normal; }
@keyframes bootline { from { opacity: 0; transform: translateX(-4px); } to { opacity: .95; transform: none; } }
.scanline {
  position: absolute; inset-inline: 0; top: 0; height: 2px;
  background: rgba(52,211,153,.7); animation: scan 2.6s ease-in-out infinite;
}
@keyframes scan { 0% { transform: translateY(0); opacity: .9; } 100% { transform: translateY(170px); opacity: 0; } }
.webcam {
  position: absolute; top: 4px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 999px; background: #475569;
}
.laptop-base {
  margin: 0 auto; height: 12px; width: 108%; transform: translateX(-3.7%);
  background: linear-gradient(to bottom, #334155, #1e293b);
  border-radius: 0 0 14px 14px; box-shadow: 0 14px 30px rgba(0,0,0,.40);
}
.laptop-shadow {
  margin: 4px auto 0; height: 6px; width: 60%; border-radius: 999px;
  background: rgba(0,0,0,.45); filter: blur(4px);
}

.float { position: absolute; }
.float-a { top: -16px; left: -22px; color: var(--orange); animation: floatA 4.2s ease-in-out infinite; }
.float-b { bottom: -10px; right: -14px; color: #60a5fa; animation: floatB 5.1s ease-in-out infinite; }
.float-c { top: 38%; right: -28px; color: #34d399; animation: floatC 3.8s ease-in-out infinite; }
@keyframes floatA { 0%,100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-10px) rotate(-4deg); } }
@keyframes floatB { 0%,100% { transform: translateY(0) rotate(6deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
@keyframes floatC { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 72px 0; }
@media (min-width: 980px) { .section { padding: 104px 0; } }
.section-muted { background: var(--slate-50); border-top: 1px solid var(--slate-100); border-bottom: 1px solid var(--slate-100); }
.section-dark { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.contact-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(249,115,22,.15), transparent 60%);
  pointer-events: none;
}

.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--orange-600);
}
.eyebrow-light { color: var(--orange); }
.section-head h2 {
  margin: 8px 0 0; font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 700; line-height: 1.15; letter-spacing: -.015em; color: var(--slate-900);
}
.section-head p { margin: 12px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.muted { color: var(--slate-500); }
.muted-light { color: #94a3b8; }

/* Two-column layout for "Why us" */
.two-col { display: grid; gap: 48px; }
@media (min-width: 980px) { .two-col { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Address card */
.address-card {
  margin-top: 24px; padding: 20px; border-radius: var(--radius-lg);
  background: var(--slate-900); color: #fff;
}
.address-card .muted { color: #94a3b8; font-size: 13px; }
.address-line { margin: 6px 0 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.address-line svg { color: var(--orange); flex-shrink: 0; }

/* ============================================
   CARD GRIDS
   ============================================ */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg); padding: 24px;
  transition: all .25s ease;
}

.service-card .card-icon {
  width: 44px; height: 44px; border-radius: 12px; color: #fff;
  background: linear-gradient(135deg, var(--orange), var(--orange-600));
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 14px var(--orange-glow); transition: transform .25s;
}
.service-card .card-icon svg { width: 20px; height: 20px; }
.service-card:hover { border-color: #fdba74; transform: translateY(-4px); box-shadow: 0 14px 30px rgba(249,115,22,.08); }
.service-card:hover .card-icon { transform: rotate(6deg); }
.service-card h3 { margin: 16px 0 6px; font-size: 17px; font-weight: 600; color: var(--slate-900); }
.service-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.card-foot { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; }
.card-foot .from { color: var(--orange-600); font-weight: 600; font-size: 14px; }
.card-foot a { font-size: 14px; font-weight: 500; color: var(--slate-700); transition: color .15s; }
.card-foot a:hover { color: var(--orange-600); }

/* Reason card */
.reason-card { padding: 22px; }
.reason-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: #fff7ed; color: var(--orange-600);
  display: inline-flex; align-items: center; justify-content: center;
}
.reason-icon svg { width: 20px; height: 20px; }
.reason-card h4 { margin: 14px 0 4px; font-size: 16px; font-weight: 600; color: var(--slate-900); }
.reason-card p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.reason-card:hover { border-color: #fdba74; box-shadow: var(--shadow-md); }

/* Brand pills */
.brand-pills { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.brand-pills span {
  padding: 10px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--slate-200);
  font-size: 14px; font-weight: 500; color: var(--slate-700);
  box-shadow: var(--shadow-sm); transition: all .2s ease;
}
.brand-pills span:hover {
  transform: translateY(-2px); box-shadow: var(--shadow-md);
  border-color: #fdba74;
}

/* Reviews */
.review-card { padding: 26px; }
.review-card .stars { margin-bottom: 12px; }
.review-card p { margin: 0; color: var(--slate-700); line-height: 1.65; }
.review-card footer {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--slate-100);
  font-size: 14px; display: flex; flex-direction: column;
}
.review-card footer strong { color: var(--slate-900); font-weight: 600; }
.review-card footer span { color: var(--slate-500); }

/* FAQ */
.faq { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.faq details {
  background: #fff; border: 1px solid var(--slate-200); border-radius: var(--radius);
  padding: 18px 20px; transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between;
  list-style: none; cursor: pointer; font-weight: 600; color: var(--slate-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq .chev { color: var(--slate-400); font-size: 20px; transition: transform .2s; }
.faq details[open] .chev { transform: rotate(90deg); }
.faq details p { margin: 12px 0 0; color: var(--muted); line-height: 1.65; }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid { margin-top: 48px; }
.contact-card {
  display: block; padding: 24px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.10);
  color: #fff; transition: all .25s ease;
}
.contact-card:not(.no-link):hover {
  background: rgba(255,255,255,.10); border-color: rgba(249,115,22,.40);
  transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,0,0,.30);
}
.contact-icon {
  width: 44px; height: 44px; border-radius: 12px; color: #fff;
  background: var(--orange); display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 18px var(--orange-glow);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-eyebrow {
  margin-top: 16px; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: #fdba74; font-weight: 600;
}
.contact-big { margin-top: 4px; font-size: 26px; font-weight: 700; color: #fff; line-height: 1.2; }
.contact-mid { font-size: 17px; font-weight: 600; color: #fff; line-height: 1.4; }
.contact-sub { margin-top: 6px; font-size: 13px; color: #94a3b8; }

.hours { list-style: none; padding: 0; margin: 12px 0 0; }
.hours li { display: flex; justify-content: space-between; align-items: baseline; font-size: 14px; padding: 4px 0; }
.hours li span { color: #cbd5e1; }
.hours li strong { color: #fff; font-weight: 500; }

.contact-cta { margin-top: 48px; text-align: center; }
.contact-cta p { margin: 12px 0 0; }

/* ============================================
   FOOTER
   ============================================ */
.site-footer { background: var(--navy-deep); color: #94a3b8; padding: 32px 0; border-top: 1px solid rgba(255,255,255,.05); font-size: 14px; }
.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  justify-content: space-between; text-align: center;
}
@media (min-width: 720px) { .footer-inner { flex-direction: row; } }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .brand-mark.sm {
  background: var(--orange); box-shadow: none; width: 28px; height: 28px;
}
.footer-brand strong { color: #fff; font-weight: 600; }
.footer-meta { display: flex; align-items: center; gap: 12px; }
.footer-meta a { transition: color .15s; }
.footer-meta a:hover { color: var(--orange); }

/* ============================================
   FLOATING CALL BUTTON (mobile only)
   ============================================ */
.fab-call {
  position: fixed; left: 16px; bottom: 16px; z-index: 90;
  width: 56px; height: 56px; border-radius: 999px;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px rgba(249,115,22,.5);
  animation: bounceY 2.4s ease-in-out infinite;
}
.fab-call:hover { background: var(--orange-600); }
@keyframes bounceY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (min-width: 880px) { .fab-call { display: none; } }

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
