/* ============================================================
   Smile Care — Specialty Pages Shared Styles (servicios.css)
   ============================================================ */

/* ---- HERO ---- */
.srv-hero {
  position: relative;
  height: 60vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.srv-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.srv-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(13, 33, 55, 0.58);
  z-index: 0;
}

.srv-hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.srv-hero-content {
  padding: 120px 0 64px;
  color: white;
  max-width: 700px;
}

.srv-hero h1 {
  color: white;
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 12px 0 16px;
  line-height: 1.15;
}

.srv-hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  line-height: 1.65;
  max-width: 560px;
}

.srv-hero .section-tag {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* ---- BREADCRUMB ---- */
.srv-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.srv-breadcrumb a {
  color: white;
  text-decoration: none;
  transition: opacity 0.2s;
}

.srv-breadcrumb a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.srv-breadcrumb span:not(:last-child) {
  opacity: 0.6;
}

/* ---- BENEFITS GRID ---- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.benefit-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.benefit-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0;
}

/* ---- STEPS LIST ---- */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step {
  display: flex;
  gap: 20px;
  padding-bottom: 32px;
  position: relative;
}

.step:last-child {
  padding-bottom: 0;
}

.step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.step-num {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.step-content {
  padding-top: 8px;
}

.step-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.step-content p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
  margin: 0;
}

/* ---- STICKY CTA CARD ---- */
.srv-sticky-cta {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  color: white;
}

.srv-sticky-cta h3 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.srv-sticky-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.srv-sticky-cta .btn + .btn {
  margin-top: 10px;
}

.srv-sticky-cta a.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: 14px;
  justify-content: center;
  transition: color 0.2s;
}

.srv-sticky-cta a.phone-link:hover {
  color: white;
}

/* ---- CTA SECTION ---- */
.srv-cta {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3d5c 100%);
  padding: 80px 0;
  text-align: center;
}

.srv-cta h2 {
  color: white;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.srv-cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ---- BTN VARIANTS ---- */
.btn-white {
  background: white;
  color: var(--navy);
  font-weight: 700;
}

.btn-white:hover {
  background: var(--blue-light);
  color: var(--blue);
}

.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.55);
  color: white;
  font-weight: 600;
}

.btn-outline-white:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
}

.btn-xl {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ---- SECTION TITLE LEFT (used in specialty pages) ---- */
.section-title-left {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 20px;
}

/* ---- FAQ (reuse from main) ---- */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 64px;
  align-items: start;
}

.faq-intro p {
  color: var(--text-2);
  line-height: 1.7;
  margin: 16px 0 28px;
}

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

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 0;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  gap: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: color 0.2s;
}

.faq-question:hover {
  color: var(--blue);
}

.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--text-muted);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding-bottom: 20px;
}

.faq-answer p {
  color: var(--text-2);
  line-height: 1.7;
  font-size: 0.92rem;
  margin: 0;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .srv-hero {
    height: auto;
  }

  .srv-hero-content {
    padding: 100px 0 48px;
  }

  .srv-hero h1 {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .srv-cta {
    padding: 56px 0;
  }

  .section-title-left {
    font-size: 1.5rem;
  }
}

@media (max-width: 640px) {
  .srv-breadcrumb {
    font-size: 0.75rem;
  }

  .srv-sticky-cta {
    padding: 28px 24px;
  }
}
