/* ============================================
   Tech Support Group - Services pages + nav dropdown
   ============================================ */

/* --- Nav dropdown --- */
.has-dropdown { position: relative; }
.has-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.has-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.3s var(--ease);
}
.has-dropdown:hover > a::after,
.has-dropdown:focus-within > a::after { transform: rotate(225deg) translateY(0); }

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(10, 37, 64, 0.18);
  border: 1px solid var(--c-border);
  min-width: 340px;
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s 0.25s;
  list-style: none;
  z-index: 100;
}
.dropdown::before {
  content: '';
  position: absolute;
  top: -8px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px;
  background: #fff;
  border-top: 1px solid var(--c-border);
  border-left: 1px solid var(--c-border);
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.has-dropdown.open > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s;
}
.dropdown li { margin: 0; }
.dropdown a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-primary);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.dropdown a:hover {
  background: rgba(0, 212, 170, 0.08);
  color: var(--c-accent);
}
.dropdown a::after { display: none !important; }
.dropdown .dd-ico {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.14), rgba(10, 132, 255, 0.14));
  display: flex; align-items: center; justify-content: center;
  color: var(--c-accent);
  flex-shrink: 0;
}
.dropdown .dd-ico svg { width: 20px; height: 20px; }
.dropdown a:hover .dd-ico {
  background: var(--grad-accent);
  color: #fff;
}
.dropdown .dd-meta { display: flex; flex-direction: column; gap: 2px; }
.dropdown .dd-title { font-size: 14px; font-weight: 700; color: var(--c-primary); }
.dropdown .dd-desc { font-size: 11.5px; font-weight: 500; color: var(--c-text-muted); }
.dropdown a:hover .dd-title { color: var(--c-accent); }

/* "Learn more" link inside service cards */
.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-accent);
  letter-spacing: 0.3px;
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
  position: relative; z-index: 1;
}
.learn-more::after {
  content: '→';
  font-size: 16px;
  transition: transform 0.25s var(--ease);
}
.learn-more:hover { color: var(--c-accent-2); gap: 10px; }
.learn-more:hover::after { transform: translateX(2px); }

/* ============================================
   Service page layout
   ============================================ */

.svc-hero {
  padding: 160px 0 80px;
  background: var(--grad-hero);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.svc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(0, 212, 170, 0.22), transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(10, 132, 255, 0.28), transparent 45%);
}
.svc-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  pointer-events: none;
}
.svc-hero > * { position: relative; z-index: 1; }
.svc-hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.svc-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.svc-hero h1 .accent {
  background: linear-gradient(135deg, #00d4aa 0%, #0a84ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.svc-hero .lede {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 28px;
  max-width: 540px;
  line-height: 1.65;
}
.svc-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Big visual icon on hero right */
.svc-mark {
  position: relative;
  width: 100%; aspect-ratio: 1;
  max-width: 380px;
  margin-left: auto;
  display: flex; align-items: center; justify-content: center;
}
.svc-mark .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0, 212, 170, 0.3);
}
.svc-mark .ring.a { inset: 0; animation: spin 28s linear infinite; }
.svc-mark .ring.b { inset: 12%; border-color: rgba(10, 132, 255, 0.4); animation: spin 20s linear infinite reverse; }
.svc-mark .ring.a::before {
  content: ''; position: absolute;
  width: 10px; height: 10px;
  background: var(--c-accent);
  border-radius: 50%; box-shadow: 0 0 18px var(--c-accent);
  top: 50%; left: -5px; transform: translateY(-50%);
}
.svc-mark .core {
  width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle at 30% 30%, #0a84ff, #0a2540);
  border-radius: 28%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 40px rgba(0, 212, 170, 0.4), 0 0 80px rgba(10, 132, 255, 0.5);
  animation: float 5s ease-in-out infinite;
  color: var(--c-accent);
}
.svc-mark .core svg { width: 56%; height: 56%; }

/* Stats bar under hero */
.svc-stats {
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.svc-stats .item .v {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #00d4aa 0%, #0a84ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.svc-stats .item .l {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.65);
}

/* ============================================
   Coverage grid - detailed sub-category cards
   ============================================ */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
  margin-top: 30px;
}
.coverage-card {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.coverage-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--grad-accent);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s var(--ease);
}
.coverage-card:hover {
  transform: translateY(-6px);
  border-color: var(--c-accent);
  box-shadow: var(--shadow-lg);
}
.coverage-card:hover::before { transform: scaleY(1); }
.coverage-card .ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.12), rgba(10, 132, 255, 0.12));
  display: flex; align-items: center; justify-content: center;
  color: var(--c-accent);
  margin-bottom: 18px;
  transition: all 0.3s var(--ease);
}
.coverage-card:hover .ico {
  background: var(--grad-accent);
  color: #fff;
  transform: rotate(-6deg);
}
.coverage-card .ico svg { width: 26px; height: 26px; }
.coverage-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 8px;
}
.coverage-card p {
  font-size: 0.93rem;
  color: var(--c-text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
}
.coverage-card ul {
  list-style: none;
  padding: 0;
}
.coverage-card li {
  font-size: 0.85rem;
  color: var(--c-text);
  padding: 4px 0 4px 18px;
  position: relative;
}
.coverage-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-accent);
  opacity: 0.85;
}

/* ============================================
   How-we-do-it process for service page
   ============================================ */
.method {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 30px;
  counter-reset: method;
}
.method-step {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 28px 22px;
  position: relative;
  transition: all 0.3s var(--ease);
  counter-increment: method;
}
.method-step::before {
  content: counter(method, decimal-leading-zero);
  position: absolute;
  top: -16px; right: 18px;
  background: var(--grad-accent);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 14px;
  letter-spacing: 1.2px;
}
.method-step:hover { transform: translateY(-4px); border-color: var(--c-accent); box-shadow: var(--shadow-md); }
.method-step .ico {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(0, 212, 170, 0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-accent);
  margin-bottom: 16px;
}
.method-step .ico svg { width: 22px; height: 22px; }
.method-step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 8px;
}
.method-step p {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* ============================================
   FAQ accordion
   ============================================ */
.faq {
  max-width: 880px;
  margin: 30px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.faq-item.open {
  border-color: var(--c-accent);
  box-shadow: var(--shadow-md);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 22px 26px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  transition: background 0.25s var(--ease);
}
.faq-q:hover { background: rgba(0, 212, 170, 0.04); }
.faq-q .plus {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(0, 212, 170, 0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
  color: var(--c-accent);
}
.faq-q .plus svg { width: 14px; height: 14px; transition: transform 0.3s var(--ease); }
.faq-item.open .faq-q { background: rgba(0, 212, 170, 0.04); }
.faq-item.open .plus { background: var(--grad-accent); color: #fff; transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-item.open .faq-a { max-height: 800px; }
.faq-a-inner {
  padding: 0 26px 24px;
  font-size: 0.95rem;
  color: var(--c-text);
  line-height: 1.7;
}
.faq-a-inner p { margin-bottom: 12px; }
.faq-a-inner p:last-child { margin-bottom: 0; }
.faq-a-inner ul { padding-left: 22px; margin-bottom: 12px; }
.faq-a-inner li { margin-bottom: 6px; }

/* ============================================
   Trust factors / why-us for service page
   ============================================ */
.trust-grid-svc {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 30px;
}
.trust-card {
  text-align: center;
  padding: 32px 22px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}
.trust-card:hover { transform: translateY(-4px); border-color: var(--c-accent); box-shadow: var(--shadow-md); }
.trust-card .ico {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: var(--grad-accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  transition: transform 0.4s var(--ease);
}
.trust-card:hover .ico { transform: rotate(-8deg) scale(1.05); }
.trust-card .ico svg { width: 28px; height: 28px; }
.trust-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 8px;
}
.trust-card p {
  font-size: 0.9rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* ============================================
   Pricing / "what's included" callout
   ============================================ */
.callout {
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.08), rgba(10, 132, 255, 0.06));
  border: 1px solid rgba(0, 212, 170, 0.25);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.callout h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--c-primary);
  margin-bottom: 8px;
}
.callout p {
  color: var(--c-text);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ============================================
   Cross-link "other services" footer band
   ============================================ */
.other-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 30px;
}
.other-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  transition: all 0.25s var(--ease);
  font-weight: 600;
  color: var(--c-primary);
}
.other-card:hover {
  border-color: var(--c-accent);
  background: rgba(0, 212, 170, 0.04);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.other-card .oc-ico {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(0, 212, 170, 0.14), rgba(10, 132, 255, 0.14));
  display: flex; align-items: center; justify-content: center;
  color: var(--c-accent);
  flex-shrink: 0;
}
.other-card .oc-ico svg { width: 20px; height: 20px; }
.other-card:hover .oc-ico { background: var(--grad-accent); color: #fff; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 980px) {
  .svc-hero { padding-top: 130px; }
  .svc-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-mark { max-width: 320px; margin: 0 auto; }
  .svc-stats { grid-template-columns: 1fr 1fr; gap: 24px; }
  .callout { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 720px) {
  .svc-stats { grid-template-columns: 1fr 1fr; }
  .svc-stats .item .v { font-size: 1.45rem; }
  .svc-hero-cta { flex-direction: column; align-items: stretch; }
  .svc-hero-cta .btn { justify-content: center; }
  .faq-q { padding: 18px 20px; font-size: 0.95rem; }
  .faq-a-inner { padding: 0 20px 20px; }
  .callout { padding: 28px 22px; }

  /* Mobile nav: dropdown becomes inline-expanded */
  .site-header.menu-open .nav-links .has-dropdown .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 8px 0 0;
    min-width: 0;
  }
  .site-header.menu-open .nav-links .has-dropdown .dropdown::before { display: none; }
  .site-header.menu-open .nav-links .has-dropdown > a::after { display: none; }
}
