/* =====================================================
   sub-page.css — Homage Ambulance Service Sub-Pages
   Shared styles for all service & city SEO pages
   ===================================================== */

/* === BREADCRUMB === */
.breadcrumb {
  background: #111;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  margin-top: 96px; /* Push below fixed navbar */
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.breadcrumb-list li { color: rgba(255,255,255,0.45); font-size: 0.82rem; }
.breadcrumb-list li a { color: #e63946; text-decoration: none; transition: opacity 0.2s; }
.breadcrumb-list li a:hover { opacity: 0.8; text-decoration: underline; }
.breadcrumb-list li::after { content: "›"; margin-left: 8px; }
.breadcrumb-list li:last-child::after { content: ""; }

/* === SUB-PAGE HERO === */
.sub-hero {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a060a 50%, #0d0d1a 100%);
  padding: 110px 0 70px;
  position: relative;
  overflow: hidden;
  margin-top: 0; /* Align directly under breadcrumbs */
}
.sub-hero::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -30%;
  width: 200%;
  height: 220%;
  background: radial-gradient(ellipse at 30% 50%, rgba(230,57,70,0.14) 0%, transparent 55%);
  animation: spHeroGlow 9s ease-in-out infinite alternate;
  pointer-events: none;
}
.sub-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(230,57,70,0.06) 0%, transparent 65%);
  pointer-events: none;
}
@keyframes spHeroGlow {
  0%   { transform: scale(1) translateX(0); }
  100% { transform: scale(1.08) translateX(2%); }
}
.sub-hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(230,57,70,0.12);
  border: 1px solid rgba(230,57,70,0.35);
  color: #e63946;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.sub-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.9rem, 5.5vw, 3.6rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 22px;
  position: relative;
}
.sub-hero h1 .hl {
  background: linear-gradient(135deg, #e63946 0%, #ff7b8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sub-hero p.lead {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.65);
  max-width: 620px;
  line-height: 1.75;
  margin-bottom: 36px;
}
.sub-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 48px;
}
.sub-hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 32px;
  flex-wrap: wrap;
}
.sub-hero-stats .stat {
  padding: 0 40px 0 0;
  border-right: 1px solid rgba(255,255,255,0.07);
  margin-right: 40px;
}
.sub-hero-stats .stat:last-child { border-right: none; }
.sub-hero-stats .stat-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #e63946;
  display: block;
  line-height: 1;
}
.sub-hero-stats .stat-lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 4px;
  display: block;
}

/* === SECTION LABELS === */
.sp-tag {
  display: inline-block;
  color: #e63946;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.sp-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.sp-title .hl {
  background: linear-gradient(135deg, #e63946 0%, #ff7b8a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.sp-desc {
  color: rgba(255,255,255,0.5);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 600px;
}

/* === FEATURES SECTION === */
.features-section { padding: 90px 0; background: #0f0f0f; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  margin-top: 50px;
}
.feature-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px;
  padding: 34px 28px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e63946, #ff6b7a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
  border-color: rgba(230,57,70,0.25);
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(230,57,70,0.12);
  background: rgba(255,255,255,0.04);
}
.feature-icon { font-size: 2.6rem; margin-bottom: 18px; display: block; }
.feature-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.feature-card p { font-size: 0.88rem; color: rgba(255,255,255,0.5); line-height: 1.65; }

/* === TRUST STRIP === */
.trust-strip {
  background: linear-gradient(135deg, #1a060a, #0a0a14);
  padding: 50px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0;
  text-align: center;
}
.trust-item { padding: 20px; border-right: 1px solid rgba(255,255,255,0.06); }
.trust-item:last-child { border-right: none; }
.trust-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: #e63946;
  display: block;
}
.trust-lbl { font-size: 0.78rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.5px; }

/* === FAQ SECTION === */
.faq-section { padding: 90px 0; background: #0a0a0a; }
.faq-list { max-width: 820px; margin: 50px auto 0; }
.faq-item {
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: rgba(230,57,70,0.35); }
.faq-question {
  width: 100%;
  background: rgba(255,255,255,0.025);
  border: none;
  padding: 22px 26px;
  text-align: left;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.25s;
  line-height: 1.4;
}
.faq-question:hover { background: rgba(230,57,70,0.07); }
.faq-item.open .faq-question { background: rgba(230,57,70,0.1); color: #ff7b8a; }
.faq-chevron { font-size: 1.1rem; transition: transform 0.35s; color: #e63946; flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-answer { max-height: 320px; }
.faq-answer-inner {
  padding: 4px 26px 22px;
  color: rgba(255,255,255,0.6);
  font-size: 0.92rem;
  line-height: 1.75;
}

/* === AREAS SERVED === */
.areas-section { padding: 90px 0; background: #0f0f0f; }
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 10px;
  margin-top: 44px;
}
.area-chip {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 14px 10px;
  text-align: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.87rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
  display: block;
}
.area-chip:hover {
  background: rgba(230,57,70,0.1);
  border-color: rgba(230,57,70,0.35);
  color: #ff7b8a;
  transform: translateY(-2px);
}
.area-chip.current {
  background: rgba(230,57,70,0.15);
  border-color: #e63946;
  color: #e63946;
  font-weight: 700;
}

/* === EMERGENCY CTA === */
.emergency-cta-section {
  padding: 90px 0;
  background: linear-gradient(135deg, #1c0508 0%, #0a0a0a 60%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.emergency-cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(230,57,70,0.09) 0%, transparent 65%);
  pointer-events: none;
}
.emergency-cta-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
  position: relative;
}
.emergency-cta-section p {
  color: rgba(255,255,255,0.55);
  font-size: 1.05rem;
  margin-bottom: 36px;
  position: relative;
}
.cta-numbers {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  position: relative;
}
.cta-number-card {
  background: rgba(230,57,70,0.1);
  border: 2px solid rgba(230,57,70,0.25);
  border-radius: 14px;
  padding: 18px 28px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
}
.cta-number-card:hover {
  background: #e63946;
  border-color: #e63946;
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(230,57,70,0.35);
}
.cta-number-card .num-label {
  display: block;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 5px;
}
.cta-number-card .num {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .breadcrumb { margin-top: 80px; }
}
@media (max-width: 768px) {
  .sub-hero { padding: 85px 0 50px; }
  .sub-hero-stats .stat { padding-right: 24px; margin-right: 24px; }
  .features-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .sub-hero-stats { gap: 20px; }
}
@media (max-width: 600px) {
  .breadcrumb { margin-top: 72px; }
}
@media (max-width: 480px) {
  .sub-hero-stats .stat { border-right: none; margin-right: 0; padding-right: 0; width: 50%; }
  .cta-number-card { min-width: 100%; }
  .cta-numbers { flex-direction: column; align-items: center; }
}

/* Background Video inside sub-hero */
.sub-hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.4; /* Increased visibility (40%) */
  pointer-events: none;
}
.sub-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.45) 0%, rgba(20, 6, 6, 0.35) 50%, rgba(13, 13, 26, 0.45) 100%);
  z-index: 1;
  pointer-events: none;
}
.sub-hero .container {
  position: relative;
  z-index: 2; /* Sit above the video/overlay */
}

/* Fix CTA Outline Button color on dark subpage background */
.sub-hero-actions .btn-outline {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.25) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}
.sub-hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  transform: translateY(-4px);
}

/* Feature Card Image Wrapper (for Professional Funeral & Freezer Box pages) */
.feature-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #111;
}
.feature-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.45s ease;
  filter: contrast(1.05) brightness(1.02);
}
.feature-card:hover .feature-card-img {
  transform: scale(1.06);
  filter: contrast(1.1) brightness(1.08);
}
