:root {
  --bg: #0b0f14;
  --surface: #121a23;
  --surface-2: #0f1722;
  --text: #e8eef5;
  --muted: #a9b4c0;
  --accent: #3aa0ff;
  --border: #a3b3c5;
  --radius: 16px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* =========================
   NAV (MOBILE ONLY - FIXED BOTTOM)
========================= */

.nav {
  display: none;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-actions {
  display: flex;
  width: 100%;
  gap: 10px;
}

.nav-actions .btn {
  flex: 1;
  text-align: center;
}

/* Mobile bottom bar */
@media (max-width: 768px) {
  .nav {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 14, 20, 0.9);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    padding: 10px;
    z-index: 1000;
  }
}

/* =========================
   BUTTONS
========================= */

.btn {
  display: inline-block;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 500;
}

.btn:hover {
  border-color: var(--accent);
}

.phone-btn,
.email-btn {
  background: rgba(58, 160, 255, 0.12);
  border-color: rgba(58, 160, 255, 0.3);
}

/* =========================
   HERO
========================= */

.hero {
  display: grid;
  grid-template-columns: 1fr;

  min-height: 80vh;
  background: url("./image1.png") no-repeat center left;
  background-size: contain;
}

.hero-content {
  padding: 12px 20px;
  grid-template-rows: 60px 30px 3rem 40vh 2rem;
  display: grid;
  gap: 18px;
}

.logo {
  font-size: 34px;
}

.brand-name {
  font-weight: 700;
  letter-spacing: -0.02em;
  align-self: center;
  justify-self: center;
}

.hero h1 {
  font-size: 30px;
  line-height: 1.2;
}

.hero p {
  color: var(--muted);
  max-width: 60ch;

  grid-row: 5;
}
.hero .logo {
  font-size: 40px;
  justify-self: center;
}

/* contact lines */
.hero-contact {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.contact-line {
  display: flex;
  justify-content: start;
  gap: 32px;
  padding: 10px 0;
}

.contact-line span {
  color: var(--muted);
}

/* Desktop only contact visibility */
@media (max-width: 768px) {
  .hero-contact {
    display: none;
  }
}

/* =========================
   SECTIONS
========================= */

.section-header {
  padding: 20px;
  text-align: left;
}

.section-header h2 {
  font-size: 20px;
  margin-bottom: 6px;
}

.section-header p {
  color: var(--muted);
}

.services,
.contact {
  padding: 10px 0 40px;
}
/* =========================
   EMERGENCY SECTION
========================= */

.emergency {
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--surface-2), var(--surface));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
}

/* subtle red urgency accent line */
.emergency::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #ff3b30;
}

.emergency-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
  text-align: center;
}

.emergency-badge {
  justify-self: center;
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;

  padding: 6px 10px;
  border-radius: 999px;

  background: rgba(255, 59, 48, 0.12);
  border: 1px solid rgba(255, 59, 48, 0.35);
  color: #ff3b30;
}

.emergency h2 {
  font-size: 26px;
  line-height: 1.2;
}

.emergency p {
  color: var(--muted);
  max-width: 65ch;
  margin: 0 auto;
}

.emergency-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* primary emergency CTA */
.emergency-call {
  background: #ff3b30;
  border: 1px solid #ff3b30;
  color: #fff;
}

.emergency-call:hover {
  filter: brightness(1.05);
}

/* secondary CTA matches system style */
.emergency-secondary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text);
}

.emergency-secondary:hover {
  border-color: var(--accent);
}

.emergency-note {
  font-size: 12px;
  color: var(--muted);
  opacity: 0.9;
  margin-top: 4px;
}

/* desktop refinement */
@media (min-width: 768px) {
  .emergency h2 {
    font-size: 32px;
  }

  .emergency {
    padding: 80px 20px;
  }
}
/* =========================
   SERVICES GRID
========================= */

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0 20px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.service-card h3 {
  font-size: 15px;
  text-wrap: nowrap;
}

.service-card .price {
  color: var(--accent);
  font-weight: 600;
  justify-self: end;
}
/*service description*/
.service-card .description {
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
  grid-column: span 2;
}

/* =========================
   CONTACT SECTION
========================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 0 20px;
}

.contact-details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.contact-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item span {
  color: var(--muted);
}

.contact-item a,
.contact-item p {
  color: var(--text);
  text-decoration: none;
}

/* MAP */
.map iframe {
  width: 100%;
  height: 260px;
  border: 0;
  border-radius: var(--radius);
}
.reviews {
  padding: 40px 20px;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.stars {
  color: #ffd700;
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.review-card p {
  color: var(--muted);
  margin-bottom: 10px;
}

.review-card span {
  color: var(--text);
  font-size: 13px;
}

@media (min-width: 768px) {
  .review-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =========================
   FOOTER
========================= */

.footer {
  padding: 30px 20px 80px;
  border-top: 1px solid var(--border);
  margin-top: 20px;
}

.footer-inner {
  display: grid;
  gap: 16px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 700;
}

.footer-info p,
.footer-meta p {
  color: var(--muted);
  font-size: 13px;
}

/* =========================
   DESKTOP LAYOUT
========================= */

@media (min-width: 768px) {
  /* =========================
     OVERALL SPACING UPGRADE
  ========================= */

  body {
    font-size: 16px;
  }
  section:not(.hero) {
    margin: 60px 0;
  }

  .section-header {
    padding: 40px 60px 20px;
  }

  .services,
  .contact,
  .reviews {
    padding: 40px 0 80px;
  }

  /* =========================
     HERO (IMPROVED DESKTOP)
  ========================= */

  .hero {
    grid-template-columns: 1.2fr 0.8fr;
    min-height: 90vh;
    align-items: center;

    background-position: 500px center;
    background-size: contain;
  }

  .hero-content {
    padding: 80px 80px;
    gap: 22px;
    background-color: var(--surface);
    /* remove awkward grid structure */
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 650px;
  }

  .hero .logo {
    font-size: 48px;
    align-self: center;
  }

  .brand-name {
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.8;
  }

  .hero h1 {
    font-size: 44px;
    line-height: 1.1;
    letter-spacing: -0.02em;
  }

  .hero p {
    font-size: 16px;
    max-width: 55ch;
  }

  /* contact visible and more structured */
  .hero-contact {
    display: grid;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
  }

  .contact-line {
    padding: 12px 0;
    border-bottom: none;
  }
  .contact-line span {
    color: var(--accent);
  }

  /* =========================
     SERVICES (MORE SPACING)
  ========================= */

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    row-gap: 32px;
    padding: 0 60px;
  }

  .service-card {
    padding: 20px;
    border: none;
  }

  .service-card h3 {
    font-size: 16px;
  }

  .service-card .description {
    font-size: 14px;
  }

  /* =========================
     CONTACT
  ========================= */

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 0 60px;
  }
  .contact-details {
    padding: 20px;
    border: none;
  }

  .map iframe {
    height: 320px;
  }

  /* =========================
     REVIEWS
  ========================= */

  .review-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    padding: 0 60px;
  }

  .review-card {
    padding: 20px;
  }

  /* =========================
     FOOTER
  ========================= */

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 60px;
  }

  .footer {
    padding: 60px 20px 100px;
  }
}
