/* Service Page Styles — Ideal Home Care */

/* === HERO BANNER === */
.svc-hero {
  position: relative;
  width: 100%;
  /* Height grows with screen width so the banner keeps a photo-friendly shape */
  height: clamp(240px, 22vw, 400px);
  background: #1a1a1a;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.svc-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 75% 35%;
  opacity: 0.45;
}
.svc-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(1.5rem, 6vw, 5rem) 2.5rem;
}
.svc-hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
  line-height: 1.15;
}
.svc-breadcrumb {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}
.svc-breadcrumb a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.svc-breadcrumb a:hover { color: #fff; }
.svc-breadcrumb span { color: #fff; margin: 0 0.4rem; }

/* === LAYOUT === */
.svc-body {
  background: #fff;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.svc-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}

/* === SIDEBAR === */
.svc-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.sidebar-services {
  background: #faf8f5;
  border-radius: 12px;
  padding: 1.75rem;
}
.sidebar-services h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  font-style: italic;
  color: #CC1F24;
  margin: 0 0 1.25rem;
}
.sidebar-services ul {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sidebar-services li {
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.sidebar-services li:last-child { border-bottom: none; }
.sidebar-services li a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: #333;
  transition: color 0.2s, padding-left 0.2s;
}
.sidebar-services li a:hover,
.sidebar-services li a.active {
  color: #CC1F24;
  padding-left: 4px;
}
.sidebar-services li a svg { flex-shrink: 0; color: #CC1F24; }

.sidebar-contact {
  background: #1a1a1a;
  border-radius: 12px;
  padding: 1.75rem;
  color: #fff;
}
.sidebar-contact h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.35rem;
}
.sidebar-contact p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}
.sidebar-contact-info { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.25rem; }
.sidebar-contact-info a,
.sidebar-contact-info span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.5;
  transition: color 0.2s;
}
.sidebar-contact-info a:hover { color: #fff; }
.sidebar-contact-info svg { flex-shrink: 0; margin-top: 2px; }
.sidebar-consult-btn {
  display: block;
  width: 100%;
  background: #CC1F24;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.sidebar-consult-btn:hover { background: #a8191d; }

/* === MAIN CONTENT === */
.svc-main {}

.svc-main h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 1rem;
  line-height: 1.25;
}
.svc-main h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 0.75rem;
}
.svc-main p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
  margin: 0 0 1.25rem;
}

/* Feature Image Block */
.svc-feature-img {
  position: relative;
  margin: 1.75rem 0 2.25rem;
  border-radius: 16px;
  overflow: hidden;
}
.svc-feature-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}
.svc-quote-card {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 280px;
  background: #CC1F24;
  padding: 1.5rem 1.75rem;
  border-radius: 0 16px 0 16px;
}
.svc-quote-mark {
  font-size: 3rem;
  color: rgba(255,255,255,0.35);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: Georgia, serif;
}
.svc-quote-card blockquote {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.65;
  font-style: italic;
  margin: 0 0 0.75rem;
}
.svc-quote-card cite {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  font-style: normal;
}

/* Section Divider */
.svc-divider {
  border: none;
  border-top: 2px dashed rgba(204,31,36,0.2);
  margin: 2rem 0;
}

/* Service Includes Checklist */
.svc-includes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 2rem;
  margin: 1rem 0 0;
}
.svc-check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  color: #444;
  line-height: 1.5;
}
.svc-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #CC1F24;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.svc-check-icon svg { color: #fff; }

/* Benefits Grid */
.svc-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.25rem 0;
}
.svc-benefit-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}
.svc-benefit-card:hover {
  box-shadow: 0 8px 28px rgba(204,31,36,0.1);
  transform: translateY(-2px);
}
.svc-benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(204,31,36,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #CC1F24;
}
.svc-benefit-card h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #CC1F24;
  margin: 0 0 0.4rem;
}
.svc-benefit-card p {
  font-size: 0.84rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

/* CTA Strip */
.svc-cta-strip {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.svc-cta-strip h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #fff;
  margin: 0;
}
.svc-cta-strip p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin: 0.3rem 0 0;
}
.svc-cta-strip .btn-cta {
  background: #CC1F24;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.svc-cta-strip .btn-cta:hover { background: #a8191d; }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .svc-container { grid-template-columns: 1fr; }
  .svc-sidebar { order: 2; }
  .svc-main { order: 1; }
  .svc-benefits-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .svc-includes-grid { grid-template-columns: 1fr; }
  .svc-benefits-grid { grid-template-columns: 1fr; }
  .svc-quote-card { width: 100%; border-radius: 0 0 16px 16px; position: relative; }
  .svc-feature-img { margin-bottom: 0; }
  .svc-cta-strip { flex-direction: column; text-align: center; }
}
