/* Timmy IT Support — styles */
:root {
  --bg: #ffffff;
  --bg-soft: #f3f7f8;
  --surface: #ffffff;
  --text: #13232a;
  --muted: #4a5c63;
  --border: #dbe5e8;
  --accent: #0b5563;
  --accent-strong: #08434e;
  --accent-soft: #e2f0f2;
  --on-accent: #ffffff;
  --highlight: #f5b942;
  --focus: #0b5563;
  --shadow: 0 1px 2px rgba(10, 40, 50, .06), 0 8px 24px rgba(10, 40, 50, .07);
  --radius: 14px;
  --container: 1120px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1a1f;
    --bg-soft: #112228;
    --surface: #152a31;
    --text: #e6eef0;
    --muted: #a7b8bd;
    --border: #24414a;
    --accent: #5cc3d1;
    --accent-strong: #84d4de;
    --accent-soft: #173a42;
    --on-accent: #062a31;
    --focus: #f5b942;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw + .5rem, 3.4rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 2.5vw + .6rem, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
ul { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--on-accent);
  padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--on-accent); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .65em 1.15em; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn svg { flex: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); color: var(--on-accent); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent-strong); }
.btn-lg { padding: .85em 1.5em; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
@supports not (background: color-mix(in srgb, red 50%, blue)) {
  .site-header { background: var(--bg); }
}
.header-inner {
  display: flex; align-items: center; gap: 16px; min-height: 68px;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; font-size: 1.1rem; margin-right: auto;
}
.brand:hover { color: var(--text); }
.brand-mark { color: var(--accent); flex: none; }
.brand-mark path { stroke: var(--on-accent); }
.brand-text strong { color: var(--accent); font-weight: 750; }
.site-nav ul { display: flex; list-style: none; gap: 4px; }
.site-nav a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--text); text-decoration: none; font-weight: 550; font-size: .98rem;
}
.site-nav a:hover { background: var(--accent-soft); color: var(--accent-strong); }

@media (max-width: 860px) {
  .header-inner { gap: 8px 12px; padding-top: 10px; }
  .site-nav { order: 3; width: 100%; margin: 0; }
  .site-nav ul { gap: 0; padding-bottom: 6px; flex-wrap: wrap; justify-content: flex-start; }
  .site-nav a { padding: 6px 10px; font-size: .95rem; white-space: nowrap; }
  html { scroll-padding-top: 116px; }
}
@media (max-width: 400px) {
  .brand { min-width: 0; }
  .brand-text { font-size: .95rem; }
  .header-cta { flex: none; padding: .55em .7em; font-size: .95rem; }
  .header-cta-text {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 500px at 85% -10%, var(--accent-soft), transparent 60%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
  padding: clamp(48px, 8vw, 96px) 0 clamp(48px, 7vw, 88px);
}
.hero-inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
  display: inline-block; margin-bottom: 16px; padding: 4px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-strong);
  font-size: .85rem; font-weight: 650; letter-spacing: .02em;
}
.accent { color: var(--accent); }
.lead { font-size: clamp(1.05rem, 1vw + .8rem, 1.25rem); color: var(--muted); max-width: 38em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 28px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  font-size: .88rem; font-weight: 550; color: var(--text);
}
.chips li::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--highlight); flex: none;
}

.hero-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow); overflow: hidden; transform: rotate(1.5deg);
}
.hc-top { display: flex; gap: 6px; padding: 12px 16px; background: var(--accent); }
.hc-top .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.55); }
.hc-body { padding: 10px 18px 18px; }
.hc-row {
  display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px;
  padding: 12px 0; border-bottom: 1px dashed var(--border); font-weight: 550;
}
.hc-row:last-child { border-bottom: 0; }
.hc-icon {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .9rem;
}
.hc-icon.ok { background: var(--accent-soft); color: var(--accent); }
.hc-icon.pending { background: #fdf0d5; color: #7a5200; }
.hc-tag { font-size: .78rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.hc-tag-next { color: #7a5200; }
@media (prefers-color-scheme: dark) {
  .hc-icon.pending { background: #3a2f17; color: var(--highlight); }
  .hc-tag-next { color: var(--highlight); }
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero-card { transform: none; max-width: 440px; }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* About */
.about { background: var(--bg); }
.about-inner { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: start; max-width: 900px; }
.about-avatar {
  width: 96px; height: 96px; border-radius: 24px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--on-accent); font-size: 2.6rem; font-weight: 800;
  box-shadow: var(--shadow);
}
.about-tagline { font-weight: 650; color: var(--accent); font-size: 1.1rem; }
@media (max-width: 600px) {
  .about-inner { grid-template-columns: 1fr; gap: 20px; }
  .about-avatar { width: 72px; height: 72px; font-size: 2rem; border-radius: 18px; }
}

/* Services */
.services { background: var(--bg-soft); }
.service-grid {
  list-style: none; display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
}
.service-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow);
}
.service-card p { color: var(--muted); margin: 0; }
.service-icon {
  display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--accent-soft); color: var(--accent); margin-bottom: 16px;
}
.service-icon svg, .contact-icon svg, .avatar-generic svg {
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

/* Reviews */
.review-grid {
  list-style: none; display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  align-items: stretch;
}
.review-grid > li { display: flex; }
.review-card {
  margin: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; width: 100%;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); position: relative;
}
.review-card::before {
  content: "\201C"; content: "\201C" / ""; position: absolute; top: 4px; right: 20px;
  font-size: 5rem; line-height: 1; font-family: Georgia, serif; color: var(--accent-soft);
}
.review-card blockquote { margin: 0; position: relative; }
.review-card blockquote p { margin: 0; }
.review-card figcaption { display: flex; align-items: center; gap: 12px; }
.review-card figcaption strong { display: block; }
.source { display: block; font-size: .88rem; color: var(--muted); }
.avatar {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: .95rem;
}
.avatar-generic { background: var(--accent-soft); color: var(--accent); }

/* Pricing */
.pricing { background: var(--bg-soft); }
.pricing .section-head { margin-left: auto; margin-right: auto; text-align: center; }
.price-card {
  max-width: 460px; margin: 0 auto; text-align: left;
  background: var(--surface); border: 2px solid var(--accent); border-radius: 20px;
  padding: 32px; box-shadow: var(--shadow);
}
.price-label { font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; margin-bottom: 6px; }
.price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.price-amount { font-size: 3.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.price-unit { color: var(--muted); font-weight: 600; }
.price-note { color: var(--muted); }
.price-list { list-style: none; margin: 20px 0 28px; display: grid; gap: 10px; }
.price-list li { display: flex; gap: 10px; align-items: flex-start; }
.price-list li::before {
  content: "\2713"; content: "\2713" / ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  display: grid; place-items: center; font-size: .8rem; font-weight: 700;
  background: var(--accent-soft); color: var(--accent); margin-top: 2px;
}

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.faq-list details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 0 20px;
}
.faq-list details[open] { border-color: var(--accent); }
.faq-list summary {
  cursor: pointer; list-style: none; padding: 18px 32px 18px 0; position: relative;
  font-weight: 650; font-size: 1.05rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; content: "+" / ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--accent); line-height: 1;
}
.faq-list details[open] summary::after { content: "\2212"; content: "\2212" / ""; }
.faq-list details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* Contact */
.contact { background: var(--bg); }
.contact-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
.contact-lead { color: var(--muted); font-size: 1.1rem; }
.contact-list { list-style: none; display: grid; gap: 16px; margin-top: 24px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list a { font-size: 1.15rem; font-weight: 650; word-break: break-word; }
.contact-label { display: block; font-size: .85rem; color: var(--muted); font-weight: 600; }
.contact-icon {
  flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--accent); color: var(--on-accent);
}
.area-card {
  background: var(--accent-soft); border-radius: 18px; padding: 28px;
}
.area-card p:last-of-type { margin-bottom: 16px; }
.area-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.area-tags li {
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 4px 12px; font-size: .9rem; font-weight: 600;
}
@media (max-width: 760px) {
  .contact-inner { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer { background: var(--accent-strong); color: #e6f2f4; padding: 28px 0; font-size: .95rem; }
.site-footer a { color: #ffffff; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-inner p { margin: 0; }
@media (prefers-color-scheme: dark) {
  .site-footer { background: #081317; color: var(--muted); border-top: 1px solid var(--border); }
  .site-footer a { color: var(--accent); }
}

/* 404 */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.not-found .code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; color: var(--accent); line-height: 1; margin-bottom: 8px; letter-spacing: -.04em; }
.not-found p { color: var(--muted); }
.not-found .hero-ctas { justify-content: center; }

/* Motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn-primary:hover { transform: none; }
}
