/* RAJPUR SONARPUR LOCATION PAGE STYLES */

/* ===== INTRO ===== */
.ls-intro { background: var(--white); }
.ls-intro p { font-size: 1rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 18px; max-width: 820px; }
.ls-intro-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }

/* Service hub cards use the shared .service-card/.service-img-wrap pattern
   (same as the homepage's "What We Fix" cards) but each has two buttons
   (Call Now + Read more) instead of one, so they need their own gap —
   .service-card is a plain flex column with no gap, which is why the two
   buttons rendered stacked flush against each other. */
.service-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

/* No geyser photo exists in shared/images yet — a styled icon tile instead
   of either a blank box or a photo of the wrong appliance. Swap for a real
   photo (shared/images/geyser_service.png or similar) once one exists. */
.service-img-placeholder {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  background: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-img-placeholder i {
  font-size: 3.2rem;
  color: #E65100;
}

/* ===== APPLIANCE DETAIL SECTIONS ===== */
.appliance-detail { }
.appliance-detail.alt-bg { background: var(--off-white); }

.appliance-detail-intro { font-size: 1rem; color: var(--text-mid); line-height: 1.8; max-width: 820px; margin-bottom: 36px; }

.appliance-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.appliance-detail-col h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #21446E;
  margin-bottom: 16px;
}

.appliance-detail-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.appliance-detail-col li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.appliance-detail-col li i {
  color: var(--primary);
  margin-top: 4px;
  flex-shrink: 0;
}

.appliance-detail-note {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #D32F2F;
  font-weight: 600;
  background: rgba(211, 47, 47, 0.06);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}

.appliance-detail-price {
  margin-top: 28px;
  padding: 18px 22px;
  background: var(--light-gray);
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  color: var(--text-dark);
  line-height: 1.7;
}

.appliance-detail-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ===== WHY US ===== */
.why-list {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.why-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-md);
}

.why-item i { color: var(--primary); font-size: 1.3rem; flex-shrink: 0; margin-top: 2px; }
.why-item strong { display: block; font-size: 0.95rem; color: var(--text-dark); margin-bottom: 4px; }
.why-item p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

.stats-band {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  text-align: center;
}

.stat-item strong { display: block; font-size: 1.6rem; font-weight: 900; color: var(--primary); font-family: var(--font-heading); }
.stat-item span { font-size: 0.8rem; color: var(--text-light); }

/* ===== PROCESS (copied from home/style.css) ===== */
.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
  max-width: 800px;
  margin: 60px auto 0;
}

/* Replaces the old ::before line, which ran the full height of the
   container regardless of content — on mobile that meant it visibly
   continued below the last dot into empty space. initProcessTimeline() in
   shared/script.js measures each dot's actual center and creates one
   .timeline-connector per gap, so the line starts exactly at dot 1 and ends
   exactly at the last dot, and grows into place dot-by-dot rather than
   appearing all at once. */
.timeline-connector {
  position: absolute;
  background: var(--primary);
  opacity: 0.25;
  z-index: 0;
  transition: transform 0.5s ease;
}

.timeline-connector.vertical {
  width: 2px;
  transform: scaleY(0);
  transform-origin: top;
}

.timeline-connector.vertical.grow {
  transform: scaleY(1);
}

.timeline-connector.horizontal {
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
}

.timeline-connector.horizontal.grow {
  transform: scaleX(1);
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.timeline-node {
  width: 72px;
  height: 72px;
  min-width: 72px;
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, background 0.3s ease;
}

.timeline-step:hover .timeline-node {
  transform: scale(1.05);
  background: var(--primary);
}

.timeline-node .step-number {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.timeline-node .step-icon i {
  font-size: 1.4rem;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.timeline-step:hover .timeline-node .step-number,
.timeline-step:hover .timeline-node .step-icon i {
  color: var(--white);
}

.timeline-content {
  background: var(--white);
  padding: 24px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-gray);
  flex: 1;
  position: relative;
  transition: all 0.3s ease;
}

.timeline-content::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 28px;
  width: 16px;
  height: 16px;
  background: var(--white);
  border-left: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);
  transform: rotate(45deg);
  transition: all 0.3s ease;
}

.timeline-step:hover .timeline-content {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.timeline-step:hover .timeline-content::before {
  border-color: var(--primary);
}

.timeline-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #21446E;
}

.timeline-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (min-width: 769px) {
  .process-timeline {
    flex-direction: row;
    justify-content: space-between;
    max-width: 1100px;
    gap: 24px;
  }

  .timeline-step {
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
  }

  .timeline-content {
    margin-top: 16px;
  }

  .timeline-content::before {
    left: 50%;
    top: -9px;
    margin-left: -8px;
    border-left: none;
    border-bottom: none;
    border-top: 1px solid var(--light-gray);
    border-left: 1px solid var(--light-gray);
  }
}

/* ===== PRICING ===== */
.ls-pricing-card {
  max-width: 680px;
  margin: 36px auto 0;
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.ls-pricing-card ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 0;
}

.ls-pricing-card li {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.6;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--mid-gray);
}

.ls-pricing-card li:last-child { border-bottom: none; padding-bottom: 0; }
.ls-pricing-card li strong { color: var(--text-dark); }

.ls-pricing-note { text-align: center; margin-top: 20px; font-size: 0.85rem; color: var(--text-light); }

/* ===== SHOP / MAP (pattern reused from contact page) ===== */
.ls-shop-section { background: var(--white); }

.ls-shop-nap {
  max-width: 680px;
  margin: 0 auto 32px;
  text-align: center;
}

.ls-shop-nap h3 { font-size: 1.1rem; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
.ls-shop-nap p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.8; margin-bottom: 4px; }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  line-height: 0;
  background: #e8eef6;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

.map-info-card {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #1565C0 0%, #0D47A1 100%);
  box-shadow: var(--shadow-lg);
  flex-wrap: wrap;
}

.map-info-text { flex: 1; min-width: 220px; }
.map-info-card .btn { flex-shrink: 0; }
.map-pin { font-size: 2rem; color: #fff; line-height: 1; }
.map-info-card h3 { color: #fff; font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.map-info-card p { color: rgba(255,255,255,0.95); font-size: 0.88rem; line-height: 1.6; margin: 0; }

/* ===== AREAS (chip pattern reused from contact page) ===== */
/* Each group now sits in its own bordered card — before, the group label
   and chips just floated on the section background with nothing tying them
   together, which read as sparse/disorganized rather than two distinct,
   tidy lists. */
.ls-areas-groups {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
  margin: 0 auto;
}

.ls-areas-group {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
}

.ls-areas-group h3 { font-size: 0.85rem; font-weight: 700; color: var(--text-dark); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.area-chip {
  background: var(--off-white);
  border: 1.5px solid var(--mid-gray);
  border-radius: var(--radius-full);
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
  transition: var(--transition);
  cursor: default;
}

.area-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--light-gray);
}

.areas-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.areas-note a { color: var(--primary); font-weight: 600; text-decoration: underline; }

/* ===== FAQ (reused from ac-service/style.css) ===== */
.faq-section { background: var(--off-white); }

.faq-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 80px;
  align-items: start;
}

.faq-list { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  border: 1px solid var(--mid-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  background: var(--white);
}

.faq-item:hover { border-color: var(--primary); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  background: transparent;
  cursor: pointer;
  text-align: left;
  gap: 12px;
  font-family: var(--font-primary);
  transition: var(--transition);
  border: none;
}

.faq-question:hover { color: var(--primary); }
.faq-icon { font-size: 1.2rem; font-weight: 700; flex-shrink: 0; transition: transform 0.3s; }
.faq-question.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 20px 18px;
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.8;
}

.faq-answer.show { display: block; animation: fadeInUp 0.3s ease; }

/* ===== BOOK A VISIT FORM (reused from contact/style.css) ===== */
.visit-form-section { background: var(--white); }

.visit-form-wrap {
  max-width: 720px;
  margin: 0 auto;
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.booking-form { display: flex; flex-direction: column; gap: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full-width { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--mid-gray);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-family: var(--font-primary);
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(21,101,192,0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #D32F2F;
  box-shadow: 0 0 0 3px rgba(211,47,47,0.08);
}

.form-group textarea { resize: vertical; min-height: 90px; }

.field-error {
  font-size: 0.78rem;
  color: #D32F2F;
  display: none;
  font-weight: 500;
}

.form-submit-btn {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 16px;
  transition: var(--transition), background 0.3s;
}

.form-note { font-size: 0.82rem; color: var(--text-light); text-align: center; }

.visit-form-beside { text-align: center; margin-top: 24px; font-size: 0.9rem; color: var(--text-mid); }
.visit-form-beside a { color: var(--primary); font-weight: 700; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .appliance-detail-grid { grid-template-columns: 1fr; gap: 28px; }
  .why-list { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .visit-form-wrap { padding: 24px; }
  .stats-band { gap: 28px; }
  .map-embed iframe { height: 280px; }
  .ls-intro-buttons, .appliance-detail-buttons { flex-direction: column; }
}
