/* ============================================================
   NCR Computer Repair — styles
   ============================================================ */

:root {
  --blue: #2d6bff;
  --blue-dark: #1e4fd6;
  --cyan: #22d3ee;
  --navy: #0b1220;
  --navy-2: #101a30;
  --ink: #16233c;
  --body: #46536b;
  --muted: #7c89a1;
  --bg: #f7f9fd;
  --card: #ffffff;
  --line: #e4eaf4;
  --amber: #ffb648;
  --radius: 20px;
  --shadow: 0 8px 30px rgba(16, 34, 74, 0.08);
  --shadow-lg: 0 20px 60px rgba(16, 34, 74, 0.16);
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; }

/* accessibility */
.skip-link {
  position: absolute; top: -60px; left: 16px; z-index: 200;
  background: var(--blue-dark); color: #fff; font-weight: 600;
  padding: 10px 18px; border-radius: 0 0 12px 12px;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 6px;
}
.btn:focus-visible { outline-offset: 3px; border-radius: 999px; }

.container { width: min(1160px, 92%); margin-inline: auto; }
.container.narrow { width: min(820px, 92%); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15.5px; font-family: var(--font-body);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-lg { padding: 16px 30px; font-size: 17px; }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff; box-shadow: 0 8px 24px rgba(45, 107, 255, .35);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(45, 107, 255, .45); }
.btn-ghost { background: #eef3ff; color: var(--blue-dark); }
.btn-outline { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(6px); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-light { background: #fff; color: var(--blue-dark); box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.ico { width: 18px; height: 18px; fill: currentColor; flex: none; }
.link { font-weight: 600; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .25s ease, box-shadow .25s ease;
}
.nav.scrolled { background: rgba(255,255,255,.9); backdrop-filter: blur(14px); box-shadow: 0 2px 20px rgba(16,34,74,.08); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 20px;
}
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink); }
.brand-text em { font-style: normal; font-weight: 600; color: var(--muted); font-size: 15px; }
.hero .brand-text, .nav:not(.scrolled) .brand-text { color: #fff; }
.nav:not(.scrolled) .brand-text em { color: rgba(255,255,255,.65); }
.nav.scrolled .brand-text { color: var(--ink); }
.nav.scrolled .brand-text em { color: var(--muted); }
.nav-links { display: flex; gap: 26px; margin-left: 8px; }
.nav-links a { font-weight: 500; font-size: 15px; color: rgba(255,255,255,.85); }
.nav.scrolled .nav-links a { color: var(--body); }
.nav-links a:hover { color: var(--cyan); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }
.nav-burger { display: none; margin-left: auto; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: #fff; margin: 5px 0; transition: .2s; }
.nav.scrolled .nav-burger span { background: var(--ink); }
.nav-mobile { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--navy); color: #dbe4f5; overflow: hidden; padding: 150px 0 110px; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 85% 20%, rgba(45,107,255,.35), transparent 60%),
    radial-gradient(500px 350px at 10% 85%, rgba(34,211,238,.16), transparent 60%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: auto, auto, 44px 44px, 44px 44px;
  mask-image: radial-gradient(ellipse at center, black 55%, transparent 100%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 600; letter-spacing: .04em;
  color: var(--cyan); background: rgba(34,211,238,.09);
  border: 1px solid rgba(34,211,238,.25);
  padding: 7px 15px; border-radius: 999px; margin-bottom: 22px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: #38e07d; box-shadow: 0 0 0 0 rgba(56,224,125,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(56,224,125,0); } 100% { box-shadow: 0 0 0 0 rgba(56,224,125,0); } }
.hero h1 { color: #fff; font-size: clamp(38px, 5.2vw, 60px); font-weight: 800; margin-bottom: 20px; }
.grad { background: linear-gradient(90deg, var(--cyan), #7aa5ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: 18.5px; max-width: 54ch; margin-bottom: 32px; color: #aebadd; }
.lede strong { color: #fff; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }
.trust-row { display: flex; gap: 22px; flex-wrap: wrap; list-style: none; margin-top: 30px; font-size: 14px; color: #93a3c8; }
.trust-row li::before { content: "✓ "; color: #38e07d; font-weight: 700; }
.trust-row li:first-child::before { content: ""; }
.trust-row li:first-child { color: var(--amber); font-weight: 600; }

/* hero mock cards */
.hero-card { position: relative; }
.glass-card {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-lg);
}
.gc-head { margin-bottom: 16px; }
.gc-badge { font-size: 13px; font-weight: 600; color: #38e07d; background: rgba(56,224,125,.1); border: 1px solid rgba(56,224,125,.3); padding: 5px 12px; border-radius: 999px; }
.gc-row { display: flex; gap: 13px; padding: 13px; border-radius: 14px; background: rgba(255,255,255,.05); margin-bottom: 11px; }
.gc-row.alt { background: rgba(45,107,255,.12); }
.gc-avatar { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.1); font-size: 19px; }
.gc-row strong { color: #fff; font-size: 14.5px; display: block; }
.gc-row p { font-size: 13.5px; color: #9fb0d6; line-height: 1.45; }
.gc-foot { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: #38e07d; padding-top: 6px; }
.glass-chip {
  position: absolute; padding: 13px 17px; border-radius: 15px;
  background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(12px); color: #fff; font-weight: 600; font-size: 13.5px;
  box-shadow: var(--shadow-lg); line-height: 1.35;
}
.glass-chip small { color: #9fb0d6; font-weight: 500; }
.chip-1 { top: -26px; right: -6px; animation: float 5s ease-in-out infinite; }
.chip-2 { bottom: -48px; left: -22px; animation: float 6s ease-in-out 1s infinite; }
@keyframes float { 50% { transform: translateY(-9px); } }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.kicker.light { color: var(--cyan); }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; }
.section-head .sub { margin-top: 14px; font-size: 17px; color: var(--muted); }
h2.light { color: #fff; }

/* services */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: #c9d9ff; }
.card-ico {
  width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center;
  font-size: 25px; margin-bottom: 18px;
  background: linear-gradient(135deg, #eaf1ff, #e2fbff);
}
.card h3 { font-size: 18.5px; margin-bottom: 9px; }
.card p { font-size: 15px; color: var(--body); }

/* dark section / steps */
.section-dark { background: linear-gradient(180deg, var(--navy), var(--navy-2)); color: #aebadd; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 64px; }
.step {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius); padding: 30px 26px;
}
.step-num {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-bottom: 16px;
}
.step h3 { color: #fff; font-size: 19px; margin-bottom: 9px; }
.step p { font-size: 15px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; text-align: center; }
.stat { padding: 22px 10px; border-radius: 16px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(24px, 3vw, 34px); font-weight: 800; background: linear-gradient(90deg, var(--cyan), #7aa5ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { font-size: 13.5px; color: #93a3c8; }

/* reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px;
}
.stars { color: var(--amber); letter-spacing: 3px; font-size: 15px; }
.review blockquote { font-size: 15.2px; color: var(--ink); line-height: 1.6; }
.review figcaption { display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: 14px; color: var(--muted); margin-top: auto; }
.rv-avatar {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff; font-weight: 700; font-size: 15px;
}

.reviews-more { text-align: center; margin-top: 34px; font-size: 15.5px; }

/* booking */
.section-book { background: #eef3fb; }
.book-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 52px; align-items: start; }
.book-copy h2 { font-size: clamp(28px, 3.4vw, 38px); margin-bottom: 14px; }
.book-copy .sub { color: var(--body); margin-bottom: 22px; }
.book-points { list-style: none; display: grid; gap: 9px; font-size: 15.5px; color: var(--ink); margin-bottom: 30px; }
.hours-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow); }
.hours-card h3 { font-size: 16px; margin-bottom: 12px; }
.hours-card dl { display: grid; gap: 7px; }
.hours-card .hrow { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; }
.hours-card dt { color: var(--muted); }
.hours-card dd { font-weight: 600; color: var(--ink); text-align: right; }
.book-widget {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); overflow: hidden; min-height: 540px;
}
.book-widget iframe, #bookingMount iframe { width: 100%; height: 640px; border: 0; display: block; }

/* fallback booking form */
.bk-form { padding: 30px 28px; display: grid; gap: 15px; }
.bk-form h3 { font-size: 19px; }
.bk-form .note { font-size: 13.5px; color: var(--muted); margin-top: -6px; }
.bk-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.bk-form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.bk-form input, .bk-form select, .bk-form textarea {
  font: 500 15px var(--font-body); color: var(--ink);
  padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fbfcff;
  transition: border-color .15s ease, box-shadow .15s ease; width: 100%;
}
.bk-form input:focus, .bk-form select:focus, .bk-form textarea:focus {
  outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3.5px rgba(45,107,255,.14);
}
.bk-form textarea { resize: vertical; min-height: 88px; }
.bk-submit { justify-content: center; width: 100%; }
.bk-success { padding: 56px 34px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.bk-success .big { font-size: 46px; }
.bk-success h3 { font-size: 21px; }
.bk-success p { font-size: 15px; color: var(--body); max-width: 40ch; }
.bk-error { color: #c0392b; font-size: 14px; font-weight: 600; display: none; }

/* faq */
.faq-list { display: grid; gap: 13px; }
.faq-list details {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 24px; box-shadow: var(--shadow);
}
.faq-list summary {
  cursor: pointer; font-weight: 600; font-size: 16.5px; color: var(--ink);
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 14px;
  font-family: var(--font-head);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 22px; color: var(--blue); transition: transform .2s; flex: none; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding-top: 13px; font-size: 15px; }

/* cta band */
.cta-band {
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(34,211,238,.25), transparent 65%),
    linear-gradient(135deg, var(--blue-dark), var(--blue));
  text-align: center; color: #fff;
}
.cta-inner h2 { color: #fff; font-size: clamp(28px, 3.6vw, 42px); margin-bottom: 12px; }
.cta-inner p { color: #d8e4ff; font-size: 17.5px; margin-bottom: 30px; }

/* footer */
.footer { background: var(--navy); color: #93a3c8; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer .brand-text { color: #fff; }
.footer .brand-text em { color: #93a3c8; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.foot-note { font-size: 14px; line-height: 1.7; margin-top: 12px; }
.link-light { color: #cdd9f4; font-weight: 600; }
.link-light:hover { color: var(--cyan); }
.footer-base {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.09); padding-block: 22px; font-size: 13.5px;
}

/* mobile bar */
.mobile-bar {
  position: fixed; inset: auto 0 0 0; z-index: 40; display: none;
  grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line);
  box-shadow: 0 -6px 24px rgba(16,34,74,.14);
}
.mobile-bar a { display: grid; place-items: center; padding: 15px 8px; font-weight: 700; font-size: 15px; }
.mb-call { background: #fff; color: var(--ink); }
.mb-book { background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff; }

/* modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 18px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 14, 28, .62); backdrop-filter: blur(4px); }
.modal-panel {
  position: relative; background: #fff; border-radius: 22px; width: min(680px, 100%);
  max-height: 90vh; overflow: auto; padding: 34px 32px 28px; box-shadow: var(--shadow-lg);
  animation: modalIn .22s ease;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: #eef2fa; color: var(--ink); font-size: 15px; cursor: pointer;
}
.modal-close:hover { background: #e2e9f7; }
.modal-panel h3 { font-size: 22px; margin-bottom: 6px; }
.modal-sub { font-size: 14.5px; color: var(--muted); margin-bottom: 20px; }

/* reveal animations — hidden state only applies once JS confirms it's running
   (html.js), so content is never invisible if scripts fail to load */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }
html.js .reveal.delay-1 { transition-delay: .12s; }
html.js .reveal.delay-2 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .glass-chip { animation: none; }
}
html.noanim .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-card { max-width: 480px; margin-inline: auto; }
  .cards-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .book-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav { background: rgba(11,18,32,.85); backdrop-filter: blur(12px); }
  .nav.scrolled { background: rgba(255,255,255,.92); }
  .nav-mobile.open {
    display: flex; flex-direction: column; gap: 6px;
    padding: 14px 5vw 20px; background: inherit;
  }
  .nav-mobile a { padding: 11px 4px; font-weight: 600; color: inherit; }
  .nav:not(.scrolled) .nav-mobile a { color: #e6ecfa; }
  .nav.scrolled .nav-mobile a { color: var(--ink); }
  .nav-mobile .btn { justify-content: center; }
  .hero { padding: 128px 0 90px; }
  .cards-grid, .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 56px; }
  .section { padding: 72px 0; }
  .bk-grid2 { grid-template-columns: 1fr; }
  .chip-1 { right: 0; } .chip-2 { left: 0; }
}
