/*
Theme Name: Home & Tech Support Services
Theme URI: https://example.com/
Author: Codex
Description: A simple service website for local tech support, pool service, and light property maintenance with offering, contact, and referrals pages.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: tech-support-technician
*/

:root {
  --ink: #15212f;
  --muted: #5b6573;
  --paper: #fbfcfd;
  --panel: #ffffff;
  --line: #dce3ea;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --mint: #16a085;
  --amber: #f5b84b;
  --radius: 8px;
  --shadow: 0 18px 45px rgba(22, 33, 47, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 252, 253, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue), var(--mint));
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.brand-text span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.menu {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu a,
.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.menu a:hover,
.nav-link:hover {
  color: var(--ink);
  background: #eef4fb;
}

.button,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius);
  color: #ffffff;
  background: var(--blue);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
  background: var(--blue-dark);
}

.button.secondary {
  color: var(--ink);
  background: #e8f1f6;
}

.button.secondary:hover {
  background: #dbe8f0;
}

.hero {
  min-height: 620px;
  display: grid;
  align-items: end;
  padding: 96px 0 54px;
  background:
    linear-gradient(90deg, rgba(251, 252, 253, 0.98) 0%, rgba(251, 252, 253, 0.9) 38%, rgba(251, 252, 253, 0.35) 68%, rgba(251, 252, 253, 0.1) 100%),
    url("assets/images/hero-support.png") right center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-content {
  max-width: 650px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 6vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.17rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 44px;
  max-width: 720px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.trust-row div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.9);
}

.trust-row strong {
  display: block;
  font-size: 1.4rem;
}

.trust-row span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.section {
  padding: 76px 0;
}

.section.alt {
  background: #eef4f7;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}

.section-head p {
  max-width: 520px;
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.grid.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.card.highlight {
  border-color: rgba(22, 160, 133, 0.45);
  box-shadow: var(--shadow);
}

.icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: var(--radius);
  color: var(--blue-dark);
  background: #eaf1ff;
  font-weight: 900;
}

.check-list,
.steps {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.steps li {
  position: relative;
  margin: 12px 0;
  padding-left: 30px;
  color: var(--muted);
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--mint);
  content: "✓";
  font-weight: 900;
}

.steps {
  counter-reset: step;
}

.steps li::before {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: var(--blue);
  content: counter(step);
  counter-increment: step;
  font-size: 0.75rem;
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 36px;
  align-items: start;
}

.contact-panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list a {
  color: var(--blue-dark);
  font-weight: 800;
  text-decoration: none;
}

label {
  display: block;
  margin: 14px 0 6px;
  color: var(--ink);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius);
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

.page-hero {
  padding: 82px 0 50px;
  background: #eef4f7;
  border-bottom: 1px solid var(--line);
}

.page-hero .lead {
  margin-bottom: 0;
}

.cta-band {
  padding: 42px;
  border-radius: var(--radius);
  color: #ffffff;
  background: linear-gradient(135deg, #1d4ed8, #138a76);
}

.cta-band p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.84);
}

.cta-band .button {
  color: var(--ink);
  background: #ffffff;
}

.site-footer {
  padding: 36px 0;
  color: #d7dee8;
  background: #15212f;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-grid a {
  color: #ffffff;
  text-decoration: none;
}

.fine-print {
  color: #9aa7b7;
  font-size: 0.92rem;
}

@media (max-width: 820px) {
  .nav,
  .section-head,
  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .menu {
    flex-wrap: wrap;
  }

  .hero {
    min-height: 720px;
    padding-top: 62px;
    background:
      linear-gradient(180deg, rgba(251, 252, 253, 0.98) 0%, rgba(251, 252, 253, 0.92) 45%, rgba(251, 252, 253, 0.45) 100%),
      url("assets/images/hero-support.png") center bottom / cover no-repeat;
  }

  .grid.three,
  .grid.service-grid,
  .grid.two,
  .split,
  .trust-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }
}
