@charset "utf-8";
/* ============================================================
   Computer Technologies Ltd — site styles
   Rewritten 2026-08 (replaces the old profile-page template CSS).
   Loads AFTER bootstrap-5.3.3.min.css so overrides here win.
   Palette from the company logo: gold + charcoal.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&display=swap');

:root {
  --gold: #a4771f;
  --gold-dark: #7f5c16;
  --gold-soft: #f5efe2;
  --ink: #23272e;
  --muted: #58606c;
  --soft: #f7f5f0;
  --line: #e7e2d8;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(35, 39, 46, .08);
  --shadow-lift: 0 14px 34px rgba(35, 39, 46, .14);
}

/* ---------- Base typography & layout ---------- */
html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;          /* 17px */
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  padding-top: 76px;             /* room for the fixed navbar */
}

h1, h2, h3, h4, h5, .navbar-brand {
  font-family: 'Montserrat', system-ui, sans-serif;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.01em;
}

h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }

a { color: var(--gold-dark); text-decoration: none; }
a:hover { color: var(--gold); text-decoration: underline; }

/* Old pages put content straight into .mainContent with no container —
   give it sensible line lengths and gutters without touching their markup. */
.mainContent {
  display: block;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
}

img { max-width: 100%; height: auto; }

/* ---------- Buttons ---------- */
.btn-brand,
.btn-brand:visited {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: #fff !important;
  font-weight: 600;
  border-radius: 999px;
  padding: .55rem 1.4rem;
  text-decoration: none !important;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn-brand:hover, .btn-brand:focus {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-outline-brand {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold-dark) !important;
  font-weight: 600;
  border-radius: 999px;
  padding: .5rem 1.4rem;
  text-decoration: none !important;
  transition: background .15s ease, color .15s ease;
}
.btn-outline-brand:hover { background: var(--gold); color: #fff !important; }

/* Keep legacy buttons from looking broken under Bootstrap 5 */
.btn-outline-success { border-radius: 999px; }

/* ---------- Navbar ---------- */
.site-nav {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(35, 39, 46, .06);
  padding-top: .45rem;
  padding-bottom: .45rem;
}
.site-nav .navbar-brand img { height: 42px; width: auto; }
.site-nav .nav-link {
  color: var(--ink);
  font-weight: 600;
  font-size: .98rem;
  padding-left: .85rem;
  padding-right: .85rem;
}
.site-nav .nav-link:hover, .site-nav .nav-link:focus { color: var(--gold-dark); }
.site-nav .dropdown-menu {
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: .4rem;
}
.site-nav .dropdown-item {
  border-radius: 8px;
  padding: .45rem .8rem;
  font-weight: 500;
}
.site-nav .dropdown-item:hover { background: var(--gold-soft); color: var(--gold-dark); }
.site-nav .navbar-toggler { border-color: var(--line); }

/* ---------- Hero (homepage) ---------- */
.hero {
  background: linear-gradient(180deg, var(--soft) 0%, #fff 100%);
  border-bottom: 1px solid var(--line);
  padding: 3.5rem 1.25rem 3rem;
  margin: -0 -0 2rem;            /* full-bleed strip under the navbar */
  text-align: center;
}
.hero .hero-kicker {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .35rem 1rem;
  margin-bottom: 1rem;
}
.hero h1 { margin-bottom: .6rem; }
.hero .hero-sub {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}
.hero .hero-actions {
  display: flex;
  gap: .8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero .hero-actions .btn-brand,
.hero .hero-actions .btn-outline-brand { font-size: 1.08rem; padding: .7rem 1.7rem; }
.hero img.hero-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: min(760px, 100%);
}

/* ---------- Service cards ---------- */
.card-svc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.4rem;
  height: 100%;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.card-svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card-svc .svc-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-soft);
  border-radius: 50%;
  font-size: 1.7rem;
}
.card-svc h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.card-svc p { color: var(--muted); font-size: .98rem; }
.card-svc .btn-outline-brand { margin-top: .4rem; font-size: .95rem; padding: .4rem 1.2rem; }

/* ---------- Process steps ---------- */
.step { text-align: center; padding: 1rem; }
.step img { width: 60px; height: 60px; margin-bottom: .8rem; }
.step h4 { font-size: 1.08rem; }
.step p { color: var(--muted); font-size: .95rem; }
.step .step-no {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  font-size: .85rem;
  width: 1.8rem;
  height: 1.8rem;
  line-height: 1.8rem;
  border-radius: 50%;
  margin-bottom: .6rem;
}

/* ---------- Section headers ---------- */
.section-title { text-align: center; margin: 2.6rem 0 .4rem; }
.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 1.6rem; }

/* ---------- Service chips ---------- */
.chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: center;
  list-style: none;
  padding: 0;
  max-width: 760px;
  margin: 0 auto 1rem;
}
.chip-list li {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .38rem 1rem;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- Brands strip ---------- */
.brand-strip { text-align: center; padding: 1rem 0 .4rem; }
.brand-strip img {
  height: 44px;
  width: auto;
  margin: .6rem 1.3rem;
  filter: grayscale(1);
  opacity: .55;
  transition: filter .2s ease, opacity .2s ease;
}
.brand-strip img:hover { filter: none; opacity: 1; }

/* ---------- Reviews band ---------- */
.review-band {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  text-align: center;
  padding: 2.2rem 1.5rem;
  margin: 2.5rem auto;
  max-width: 900px;
}
.review-band .stars { color: #f5c04e; font-size: 1.5rem; letter-spacing: .2rem; }
.review-band h3 { color: #fff; margin: .6rem 0 .4rem; }
.review-band p { color: #cfd3da; margin-bottom: 1.2rem; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 760px; margin: 0 auto 2.5rem; }
.faq .accordion-item {
  border: 1px solid var(--line);
  border-radius: 12px !important;
  margin-bottom: .6rem;
  overflow: hidden;
}
.faq .accordion-button {
  font-weight: 600;
  color: var(--ink);
  background: #fff;
  font-family: 'Montserrat', system-ui, sans-serif;
}
.faq .accordion-button:not(.collapsed) {
  background: var(--gold-soft);
  color: var(--gold-dark);
  box-shadow: none;
}
.faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(164, 119, 31, .18); }
.faq .accordion-body { color: var(--muted); }

/* ---------- Opening hours table ---------- */
.hours-table { margin: 0 auto; }
.hours-table td { padding: .3rem 1rem; }
.hours-table td:first-child { font-weight: 600; }

/* ---------- Forms (covers the old table-based forms on every page) ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
input[type="time"], input[type="number"], input[type="password"], textarea, select {
  border: 1px solid #cfc9bc;
  border-radius: 10px;
  padding: .55rem .8rem;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 .18rem rgba(164, 119, 31, .18);
}
form table td { padding: .35rem .5rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #c9ced6;
  margin-top: 3.5rem;
  padding: 2.8rem 0 1rem;
  font-size: .97rem;
}
.site-footer h5 {
  color: #fff;
  font-size: 1.02rem;
  margin-bottom: .9rem;
}
.site-footer a { color: #e5c67b; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .footer-links { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-links li { margin-bottom: .35rem; }
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  margin-top: 2rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
  font-size: .9rem;
  color: #9aa1ab;
}

/* ---------- Sticky mobile call bar ---------- */
.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  display: flex;
  box-shadow: 0 -4px 18px rgba(35, 39, 46, .18);
}
.mobile-cta .mobile-cta-btn {
  flex: 1;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  padding: .85rem .5rem;
  text-decoration: none !important;
}
.mobile-cta .call { background: var(--gold); color: #fff !important; }
.mobile-cta .book { background: var(--ink); color: #fff !important; }
@media (max-width: 991.98px) {
  body { padding-bottom: 64px; }   /* keep content clear of the bar */
}

/* ---------- Scroll-in animation (progressive: Chrome/Edge only, no JS) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .card-svc, .step, .review-band {
      animation: fadeUp .6s ease both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
  }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Bootstrap 4 → 5 compatibility shims ----------
   A few legacy class names remain in inner page content; keep them working. */
.text-right { text-align: right !important; }
.float-right { float: right !important; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.form-group { margin-bottom: 1rem; }

/* ---------- Legacy website-builder pages (Terms, Rust Desktop) ---------- */
.wb_element { max-width: 1140px; margin-left: auto; margin-right: auto; }

/* ---------- Mobile hardening ----------
   Older page content carries fixed pixel widths in inline styles
   (e.g. style="width:600px" text blocks, style="width: 320px" form tables).
   Neutralise them on small screens so nothing forces horizontal scroll. */
@media (max-width: 767.98px) {
  .mainContent div[style*="width"],
  .mainContent table[style*="width"],
  .mainContent article[style*="width"] {
    width: auto !important;
    max-width: 100% !important;
  }
  .mainContent { overflow-x: hidden; }
  .mainContent table { max-width: 100%; }
  .mainContent input[type="text"], .mainContent textarea, .mainContent select {
    max-width: 100%;
    box-sizing: border-box;
  }
  /* legacy 3-column float helper squashes to thirds on phones - stack instead */
  .column { float: none !important; width: 100% !important; }
  h1 { overflow-wrap: break-word; }
}
