/* ==============================================================================
   Computer Repairs Fast - Clean Ambulance / Urgent Response Theme
   Minimalist, Senior-Friendly, High-Contrast Red & White UI
   ============================================================================== */

:root {
  --red-600: #dc2626;       /* Ambulance / Emergency Red */
  --red-700: #b91c1c;       /* Dark Emergency Red */
  --red-50: #fef2f2;        /* Soft Red Tint */
  --red-100: #fee2e2;
  --dark: #0f172a;          /* Deep Charcoal / Near Black for maximum contrast */
  --dark-soft: #1e293b;
  --gray-600: #334155;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50: #f8fafc;
  --white: #ffffff;
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --border-radius: 10px;
}

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

body {
  font-family: var(--font-base);
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.65;
  font-size: 19px; /* Senior-friendly base font size */
  -webkit-font-smoothing: antialiased;
}

/* Emergency Red Top Bar */
.ambulance-bar {
  background: var(--red-600);
  color: var(--white);
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  border-bottom: 2px solid var(--red-700);
}

.ambulance-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ambulance-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.2);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px #fff;
}

/* Site Header */
header.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--dark);
}

.brand-cross {
  width: 48px;
  height: 48px;
  background: var(--red-600);
  color: var(--white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 900;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
  flex-shrink: 0;
}

.brand-text h1, .brand-text .title {
  font-size: 1.5rem;
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--dark);
  line-height: 1.1;
}

.brand-text h1 span, .brand-text .title span {
  color: var(--red-600);
}

.brand-text p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-top: 2px;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 16px;
}

.call-box {
  text-align: right;
}

.call-sub {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-600);
  text-transform: uppercase;
}

.call-tel {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--red-600);
  text-decoration: none;
  display: block;
  letter-spacing: -0.02em;
}

.call-tel:hover {
  text-decoration: underline;
}

/* High Contrast Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: var(--border-radius);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.15s ease-in-out;
}

.btn-emergency {
  background: var(--red-600);
  color: var(--white);
  border-color: var(--red-600);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.btn-emergency:hover {
  background: var(--red-700);
  border-color: var(--red-700);
  transform: translateY(-1px);
}

.btn-white {
  background: var(--white);
  color: var(--dark);
  border: 2px solid var(--dark);
}

.btn-white:hover {
  background: var(--gray-100);
}

.btn-red-outline {
  background: var(--white);
  color: var(--red-600);
  border: 2px solid var(--red-600);
}

.btn-red-outline:hover {
  background: var(--red-50);
}

/* Hero Section */
.hero-wrapper {
  background: var(--white);
  padding: 48px 20px 56px;
  border-bottom: 2px solid var(--gray-200);
}

.hero-box {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.red-pill {
  background: var(--red-50);
  color: var(--red-700);
  border: 1.5px solid var(--red-100);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-heading {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.hero-heading span {
  color: var(--red-600);
  text-decoration: underline;
  text-decoration-color: var(--red-100);
  text-underline-offset: 6px;
}

.hero-plain-text {
  font-size: 1.25rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

/* 4 Big Emergency Guarantees */
.guarantee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}

.guarantee-item {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--border-radius);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.guarantee-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.guarantee-text strong {
  display: block;
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 2px;
}

.guarantee-text p {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.4;
}

/* Emergency Dispatch Booking Card */
.dispatch-card {
  background: var(--white);
  border: 3px solid var(--red-600);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.08);
}

.dispatch-header {
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.dispatch-header h2 {
  font-size: 1.55rem;
  font-weight: 850;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dispatch-header h2 span {
  color: var(--red-600);
}

.dispatch-header p {
  font-size: 1rem;
  color: var(--gray-600);
  margin-top: 4px;
}

.dispatch-price-badge {
  background: var(--red-50);
  border: 2px solid var(--red-600);
  border-radius: var(--border-radius);
  padding: 16px;
  text-align: center;
  margin-bottom: 20px;
}

.dispatch-price-badge .big-fee {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--red-600);
  line-height: 1;
}

.dispatch-price-badge .fee-label {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  margin-top: 4px;
}

.dispatch-price-badge .fee-sub {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-top: 4px;
}

/* Form Styles */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  font-size: 1.05rem;
  font-family: inherit;
  border: 2px solid var(--gray-200);
  border-radius: var(--border-radius);
  background: var(--white);
  color: var(--dark);
  transition: border-color 0.15s;
}

.form-control:focus {
  outline: none;
  border-color: var(--red-600);
}

/* Main Content Section */
.content-section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title-wrap {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.section-tag {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--red-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.section-heading {
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 12px;
}

.section-subtext {
  font-size: 1.15rem;
  color: var(--gray-600);
}

/* Common Problems Grid */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 50px;
}

.problem-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.15s;
  text-decoration: none;
  color: inherit;
}

.problem-card:hover {
  border-color: var(--red-600);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.08);
}

.problem-badge {
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--red-600);
  background: var(--red-50);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.problem-card h3 {
  font-size: 1.3rem;
  font-weight: 850;
  color: var(--dark);
  margin-bottom: 8px;
}

.problem-card p {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin-bottom: 16px;
}

.problem-fee-row {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1.5px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--red-600);
}

/* Fixed Pricing Table */
.pricing-box {
  background: var(--white);
  border: 2px solid var(--dark);
  border-radius: 16px;
  overflow: hidden;
  margin: 40px auto;
  max-width: 1000px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.pricing-table th {
  background: var(--dark);
  color: var(--white);
  padding: 16px 20px;
  font-size: 1.05rem;
  font-weight: 800;
}

.pricing-table td {
  padding: 16px 20px;
  border-bottom: 1.5px solid var(--gray-200);
  font-size: 1.05rem;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table .price-strong {
  font-weight: 900;
  color: var(--red-600);
  font-size: 1.25rem;
}

/* Dual Workshop Locations Section */
.locations-wrap {
  background: var(--gray-50);
  border-top: 2px solid var(--gray-200);
  border-bottom: 2px solid var(--gray-200);
  padding: 60px 20px;
}

.locations-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.location-box {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 14px;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.location-box.highlight {
  border-color: var(--red-600);
}

.location-tag {
  align-self: flex-start;
  background: var(--red-600);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.location-box h3 {
  font-size: 1.55rem;
  font-weight: 900;
  margin-bottom: 8px;
}

.location-box p {
  color: var(--gray-600);
  font-size: 1rem;
  margin-bottom: 16px;
}

.location-details {
  list-style: none;
  margin-bottom: 24px;
  font-size: 1rem;
}

.location-details li {
  margin-bottom: 10px;
  display: flex;
  gap: 8px;
  color: var(--dark);
}

/* Simple Step-by-Step for Seniors */
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.step-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.step-num {
  width: 44px;
  height: 44px;
  background: var(--red-600);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-weight: 900;
  font-size: 1.3rem;
}

.step-card h4 {
  font-size: 1.25rem;
  font-weight: 850;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 1rem;
  color: var(--gray-600);
}

/* Senior & Plain Language FAQ */
.faq-box {
  max-width: 900px;
  margin: 0 auto;
}

.faq-card {
  border: 2px solid var(--gray-200);
  border-radius: 10px;
  margin-bottom: 12px;
  background: var(--white);
}

.faq-q {
  width: 100%;
  text-align: left;
  padding: 18px 24px;
  font-size: 1.15rem;
  font-weight: 800;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--dark);
}

.faq-a {
  padding: 0 24px 20px;
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Clean Footer */
footer.site-footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: 60px 20px 30px;
  font-size: 1rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h4 {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.footer-col h5 {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.9rem;
}

/* Mobile Sticky Action Bar */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 2px solid var(--red-600);
  padding: 10px 16px;
  z-index: 999;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.12);
}

@media (max-width: 900px) {
  .hero-box {
    grid-template-columns: 1fr;
  }
  .step-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 70px;
  }
  .mobile-sticky-bar {
    display: grid;
  }
  .hero-heading {
    font-size: 2.2rem;
  }
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .guarantee-grid {
    grid-template-columns: 1fr;
  }
}
