/* betmatchfix.pro – Home Repairs & Maintenance */
:root {
  --bg: #0a0c12;
  --bg-alt: #12151e;
  --bg-card: #161a24;
  --accent: #ff6b35;
  --accent-hover: #ff8555;
  --text: #f2f3f5;
  --text-muted: #a8adb8;
  --border: #2a2f3a;
  --radius: 10px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 1rem;
  min-height: 100vh;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 12, 18, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.logo span {
  color: var(--accent);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-list a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-list a:hover {
  color: var(--accent);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  padding: 10px;
}

.burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  padding: 4rem 0 3.5rem;
  background:
    radial-gradient(
      ellipse 80% 60% at 70% 20%,
      rgba(255, 107, 53, 0.12),
      transparent
    ),
    linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.25;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.hero-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  background: var(--bg-card);
}

.hero-image img,
.section-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sections common */
.section {
  padding: 4rem 0;
}

.section:nth-child(even) {
  background: var(--bg-alt);
}

.section-header {
  margin-bottom: 2rem;
  max-width: 720px;
}

.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.section-header p {
  color: var(--text-muted);
}

.section-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin: 2rem 0;
  aspect-ratio: 16 / 9;
  background: var(--bg-card);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  color: var(--accent);
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Diagnosis */
.diagnosis-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.diagnosis-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  border-left: 3px solid var(--accent);
}

.diagnosis-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
}

.diagnosis-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.diagnosis-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

/* Video consultation */
.consult-box {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.consult-content p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pricing {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.pricing h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.price-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.price-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.price-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.price-item strong {
  color: var(--text);
  white-space: nowrap;
}

.booking-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* Why */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.reason-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  counter-increment: reason;
}

.reason-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.reason-card h3::before {
  content: counter(reason) ". ";
  color: var(--accent);
}

.reasons-grid {
  counter-reset: reason;
}

.reason-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Legal pages */
.legal-page {
  padding: 3rem 0 4rem;
}

.legal-page h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.legal-section {
  margin-bottom: 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal-section:last-of-type {
  border-bottom: none;
}

.legal-section h2 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
  color: var(--accent);
}

.legal-section p,
.legal-section li {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.legal-section ul {
  padding-left: 1.25rem;
  list-style: disc;
  margin-bottom: 0.75rem;
}

.legal-section li {
  margin-bottom: 0.4rem;
}

/* Footer */
.site-footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.75rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid,
  .consult-box,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .diagnosis-grid,
  .reasons-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: rgba(10, 12, 18, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform 0.25s ease,
      opacity 0.25s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: 0.9rem 1rem;
    border-radius: 8px;
  }

  .nav-list a:hover {
    background: var(--bg-card);
  }

  .hero {
    padding: 2.5rem 0 2rem;
  }

  .section {
    padding: 3rem 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
