/* ============================================================
   THE RAYAL CONSTRUCTIONS — Services Page Styles
   ============================================================ */

/* ── Service Tabs ── */
.service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 50px;
}

.service-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 1.2rem 1.4rem;
  background: var(--white);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--warm-grey);
  text-align: center;
  min-width: 100px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}

.service-tab:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 8px 30px rgba(201,168,76,0.15);
  transform: translateY(-3px);
}

.service-tab.active {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--gold);
}

.tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.tab-icon svg {
  width: 26px;
  height: 26px;
}

/* ── Service Panels ── */
.service-panels { min-height: 480px; }

.service-panel {
  display: none;
  animation: panelFade 0.45s ease both;
}

.service-panel.active { display: block; }

@keyframes panelFade {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  box-shadow: 0 20px 80px rgba(0,0,0,0.12);
}

.panel-img {
  height: 520px;
  overflow: hidden;
}

.panel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.panel-grid:hover .panel-img img { transform: scale(1.04); }

.panel-content {
  background: var(--white);
  padding: 3.5rem 3.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.panel-content h3 {
  font-family: 'Cinzel', serif;
  font-size: 2.1rem;
  font-weight: 400;
  color: var(--charcoal);
  line-height: 1.2;
}

.panel-content p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--warm-grey);
  line-height: 1.85;
}

.panel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.panel-list li {
  font-size: 0.83rem;
  font-weight: 400;
  color: var(--charcoal);
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.6;
}

.panel-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 2px;
  background: var(--gold);
}

/* ── Process ── */
.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.process-step {
  flex: 1;
  min-width: 160px;
  max-width: 200px;
  text-align: center;
}

.step-num {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.process-step h4 {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.process-step p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  line-height: 1.7;
}

.process-arrow {
  color: var(--gold);
  font-size: 1.5rem;
  margin-top: 1.2rem;
  opacity: 0.5;
  flex-shrink: 0;
}

/* ── CTA (shared) ── */
.cta-band {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
}

.cta-band-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.cta-band-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,15,10,0.78);
}

.cta-band-inner {
  position: relative;
  z-index: 2;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .panel-grid { grid-template-columns: 1fr; }
  .panel-img { height: 280px; }
  .panel-content { padding: 2.2rem 2rem; }
  .process-arrow { display: none; }
  .process-steps { gap: 2rem; }
  .cta-band { padding: 98px 0; }
}

@media (max-width: 640px) {
  .service-tab { min-width: 80px; padding: 1rem; font-size: 0.62rem; }
  .tab-icon svg { width: 22px; height: 22px; }
  .panel-content { padding: 1.8rem 1.4rem; }
  .panel-content h3 { font-size: 1.7rem; }
  .cta-band { padding: 80px 0; }
}
