/* ============================================
   Sit Happens - Services Page Styles
   Dedicated page stylesheet for services layout
   ============================================ */

/* PAGE HERO */
.page-hero {
  background-color: var(--primary);
  text-align: center;
  padding: 3rem 2rem 2.5rem;
  border-bottom: 2px solid var(--text);
}

.page-hero-logo {
  width: 42px;
  height: auto;
  margin: 0 auto 0.5rem;
}

.page-hero h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
}

.page-hero p {
  font-size: 1.15rem;
  font-style: italic;
  font-weight: 600;
  opacity: 0.8;
}

/* MAIN WRAPPER */
.services-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

/* INTRO TEXT */
.services-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  opacity: 0.85;
}

/* SERVICE CARDS GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 3.5rem;
  align-items: start;
}

.service-card {
  background-color: var(--accent);
  border: 2px solid var(--text);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(5, 3, 22, 0.14);
}

.service-card.featured {
  background-color: var(--secondary);
  border-width: 3px;
}

.service-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--text);
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: 20px;
  white-space: nowrap;
}

.service-icon {
  font-size: 2.75rem;
  line-height: 1;
}

.service-card h2 {
  font-size: 1.6rem;
  color: var(--text);
}

.service-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text);
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

/* PRICING TABLE */
.pricing-table {
  border-top: 1px solid rgba(5, 3, 22, 0.15);
  padding-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 0.5rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.price-label {
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text);
}

.price-dots {
  flex: 1;
  border-bottom: 2px dotted rgba(5, 3, 22, 0.25);
  margin: 0 0.35rem;
  margin-bottom: 3px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--text);
}

.price-row.additional .price-label,
.price-row.additional .price-amount {
  opacity: 0.7;
  font-size: 0.82rem;
}

.price-row.overnight {
  margin-top: 0.4rem;
  padding-top: 0.4rem;
  border-top: 1px dashed rgba(5, 3, 22, 0.2);
}

.price-row.overnight .price-label,
.price-row.overnight .price-amount {
  font-weight: 700;
  color: var(--text);
}

.price-row.overnight .price-amount {
  font-size: 1.05rem;
}

.service-cta {
  margin-top: auto;
  text-align: center;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
}

/* GOOD TO KNOW SECTION */
.service-notes {
  margin-bottom: 3rem;
}

.service-notes h2 {
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.note-item {
  background-color: var(--primary);
  border: 2px solid var(--text);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
}

.note-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.note-item h4 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.note-item p {
  font-size: 0.88rem;
  line-height: 1.6;
  opacity: 0.85;
}

/* CTA BANNER */
.cta-banner {
  background-color: var(--text);
  color: var(--accent);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.cta-banner h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.cta-banner p {
  margin-bottom: 1.5rem;
  opacity: 0.85;
}

.cta-banner .btn-primary {
  background-color: var(--primary);
  color: var(--text);
  font-size: 1rem;
  padding: 0.75rem 2rem;
}

.cta-banner .btn-primary:hover {
  opacity: 0.9;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .notes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .notes-grid {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: 2rem;
  }
}
