/* ── Base ──────────────────────────────────────────────────── */
:root {
  --red:      #b60000;
  --red-dark: #8a0000;
  --red-glow: rgba(182,0,0,0.14);
  --bg:       #F8F4F0;
  --card:     #FFFFFF;
  --text:     #1a1208;
  --muted:    #7a6a58;
  --border:   #e4d9cf;
}

body {
  background: var(--bg);
  font-family: 'DM Sans', Arial, sans-serif;
  color: var(--text);
}

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.appt-hero {
  position: relative;
  height: 300px;
  background-image: url('/Photos/engine.jpg');
  background-size: cover;
  background-position: center 35%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.appt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(0,0,0,0.10) 0%,
      rgba(0,0,0,0.35) 20%,
      rgba(15,0,0,0.72) 40%,
      rgba(0,0,0,0.90) 100%
    );
}
.appt-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.55) 100%);
}
.appt-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(182,0,0,0.22);
  border: 1px solid rgba(182,0,0,0.5);
  border-radius: 40px;
  padding: 5px 16px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  background: #ff4040;
  border-radius: 50%;
  animation: blink 1.6s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.3; }
}
.appt-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 5.5vw, 3rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
  line-height: 1.1;
  text-shadow: 0 4px 28px rgba(0,0,0,0.5);
}
.appt-hero-content p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  font-weight: 300;
  letter-spacing: 0.3px;
}

.appt-hero-content h1 { margin: 0; }
.appt-hero-content p  { margin: 0; }

/* ══════════════════════════════════════════════════════════
   SERVICES SECTION
══════════════════════════════════════════════════════════ */
.services-section {
  max-width: 1060px;
  margin: 0 auto;
  padding: 48px 20px 72px;
}

.section-intro {
  text-align: center;
  margin-bottom: 40px;
}
.section-intro h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.section-intro p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto;
}

/* ── Grid ──────────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
  gap: 20px;
}

/* ── Service card ──────────────────────────────────────────── */
.service-card {
  background: var(--card);
  border-radius: 14px;
  border-top: 3px solid var(--red);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 6px 20px rgba(0,0,0,0.07),
    0 0 0 1px var(--border);
  padding: 22px 22px 20px;
  transition: transform 0.22s cubic-bezier(.4,0,.2,1),
              box-shadow 0.22s cubic-bezier(.4,0,.2,1),
              border-color 0.22s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 4px 8px rgba(0,0,0,0.06),
    0 16px 36px rgba(0,0,0,0.12),
    0 0 0 1px rgba(182,0,0,0.25);
  border-color: #ff3c3c;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.card-icon {
  width: 40px;
  height: 40px;
  background: #FFF0F0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

/* ── Service list ──────────────────────────────────────────── */
.service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-list li {
  position: relative;
  padding: 6px 0 6px 18px;
  font-size: 0.86rem;
  color: #4a3f35;
  line-height: 1.4;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  transition: color 0.15s;
}
.service-list li:last-child { border-bottom: none; }

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
  opacity: 0.55;
  transition: opacity 0.15s, transform 0.15s;
}
.service-card:hover .service-list li::before {
  opacity: 0.85;
}

/* ── CTA strip at bottom ───────────────────────────────────── */
.services-cta {
  margin-top: 48px;
  background: #111111;
  border-radius: 16px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.services-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 40%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(182,0,0,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.cta-text {
  position: relative;
  z-index: 1;
}
.cta-text p {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.cta-text span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
}
.cta-btn {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 13px 28px;
  background: linear-gradient(135deg, #cc0000, #b60000);
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 9px;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 16px rgba(182,0,0,0.45);
  transition: box-shadow 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.cta-btn:hover {
  box-shadow: 0 6px 24px rgba(182,0,0,0.65);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════════
   MOBILE
══════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  .appt-hero { height: 200px; }
  .appt-hero-content h1 { font-size: 1.65rem; }

  .services-section { padding: 32px 14px 60px; }
  .section-intro { margin-bottom: 28px; }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .services-cta {
    flex-direction: column;
    text-align: center;
    padding: 22px 20px;
  }
  .cta-btn { width: 100%; text-align: center; }
}