/* =============================================
   GREEN PINES ANIMAL HOSPITAL - SERVICES CSS
   Vaccinations, Surgery, Dental, etc.
   ============================================= */

/* ===== SERVICE HERO ===== */
.service-hero {
  position: relative;
  height: 40vh;
  min-height: 300px;
  max-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #605F4B 0%, #6B6A56 50%, #757464 100%);
  overflow: hidden;
}

.service-hero__overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.service-hero__content {
  position: relative;
  z-index: 1;
  padding: 0 1.5rem;
}

.service-hero__icon {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #fff;
}

.service-hero__title {
  font-family: var(--font-primary);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.service-hero__subtitle {
  font-family: var(--font-primary);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 400;
}


/* ===== SERVICE INTRO ===== */
.service-intro {
  padding: 3rem 1.5rem;
  background: var(--color-off-white, #F7F5ED);
  text-align: center;
}

.service-intro__container {
  max-width: 800px;
  margin: 0 auto;
}

.service-intro__text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--color-text-body, #303030);
  margin: 0;
}


/* ===== SERVICE CONTENT (Simple pages) ===== */
.service-content {
  padding: 4rem 1.5rem;
  background: #fff;
}

.service-content__container {
  max-width: 800px;
  margin: 0 auto;
}

.service-content__text {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--color-text-body, #303030);
}

.service-content__text p {
  margin: 0 0 1.5rem;
}

.service-content__text p:last-child {
  margin-bottom: 0;
}


/* ===== SERVICES LIST (All services page) ===== */
.services-list {
  padding: 4rem 1.5rem;
  background: #fff;
}

.services-list__container {
  max-width: 900px;
  margin: 0 auto;
}

.service-item {
  display: flex;
  gap: 1.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--color-light-beige, #DFD2C2);
}

.service-item:first-child {
  padding-top: 0;
}

.service-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-item__icon {
  width: 64px;
  height: 64px;
  background: var(--color-off-white, #F7F5ED);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-brand-olive, #605F4B);
}

.service-item__content {
  flex: 1;
}

.service-item__title {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-charcoal, #303030);
  margin: 0 0 0.75rem;
}

.service-item__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-body, #303030);
  margin: 0;
}

@media (max-width: 600px) {
  .service-item {
    flex-direction: column;
    gap: 1rem;
  }

  .service-item__icon {
    width: 56px;
    height: 56px;
  }

  .service-item__title {
    font-size: 1.25rem;
  }

  .service-item__text {
    font-size: 1rem;
  }
}


/* ===== SERVICE SECTIONS ===== */
.service-section {
  padding: 4rem 1.5rem;
  background: #fff;
}

.service-section--alt {
  background: var(--color-off-white, #F7F5ED);
}

.service-section__container {
  max-width: 1000px;
  margin: 0 auto;
}

.service-section__title {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-charcoal, #303030);
  text-align: center;
  margin: 0 0 2.5rem;
}


/* ===== INFO CARDS ===== */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: var(--color-off-white, #F7F5ED);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-section--alt .info-card {
  background: #fff;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(96, 95, 75, 0.12);
}

.info-card__icon {
  width: 64px;
  height: 64px;
  background: var(--color-brand-olive, #605F4B);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: #fff;
}

.info-card__title {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-charcoal, #303030);
  margin: 0 0 0.75rem;
}

.info-card__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-body, #303030);
  margin: 0;
}


/* ===== VACCINE CATEGORY ===== */
.vaccine-category {
  margin-bottom: 3rem;
}

.vaccine-category:last-child {
  margin-bottom: 0;
}

.vaccine-category__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.vaccine-category__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.vaccine-category__icon--dog {
  background: linear-gradient(135deg, #A57E55 0%, #8B6A47 100%);
  color: #fff;
}

.vaccine-category__icon--cat {
  background: linear-gradient(135deg, #605F4B 0%, #4a4940 100%);
  color: #fff;
}

.vaccine-category__title {
  font-family: var(--font-primary);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-charcoal, #303030);
  margin: 0;
}


/* ===== VACCINE GRID ===== */
.vaccine-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.vaccine-block {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(96, 95, 75, 0.08);
}

.service-section:not(.service-section--alt) .vaccine-block {
  background: var(--color-off-white, #F7F5ED);
  box-shadow: none;
}

.vaccine-block__title {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-charcoal, #303030);
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.vaccine-block__badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.625rem;
  border-radius: 50px;
}

.vaccine-block__badge--core {
  background: var(--color-brand-olive, #605F4B);
  color: #fff;
}

.vaccine-block__badge--lifestyle {
  background: var(--color-warm-brown, #A57E55);
  color: #fff;
}

.vaccine-block__desc {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 1.5rem;
}


/* ===== VACCINE LIST ===== */
.vaccine-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vaccine-list__item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-light-beige, #DFD2C2);
}

.vaccine-list__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.vaccine-list__item strong {
  display: block;
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--color-charcoal, #303030);
  margin-bottom: 0.25rem;
}

.vaccine-list__item span {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
}


/* ===== SCHEDULE CARDS ===== */
.schedule-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.schedule-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(96, 95, 75, 0.08);
}

.schedule-card__age {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-charcoal, #303030);
  margin-bottom: 0.5rem;
}

.schedule-card__timeline {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-brand-olive, #605F4B);
  padding: 0.375rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.schedule-card__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-body, #303030);
  margin: 0;
}


/* ===== FAQ ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-off-white, #F7F5ED);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item__question {
  font-family: var(--font-primary);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-charcoal, #303030);
  margin: 0 0 0.75rem;
}

.faq-item__answer {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-body, #303030);
  margin: 0;
}


/* ===== SERVICE CTA ===== */
.service-cta {
  padding: 5rem 1.5rem;
  background: linear-gradient(135deg, #605F4B 0%, #6B6A56 50%, #757464 100%);
  text-align: center;
}

.service-cta__content {
  max-width: 600px;
  margin: 0 auto;
}

.service-cta__title {
  font-family: var(--font-primary);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
}

.service-cta__text {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 2rem;
}

.service-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.service-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s ease;
  min-width: 260px;
}

.service-cta__btn--primary {
  background: #fff;
  color: var(--color-brand-olive, #605F4B);
}

.service-cta__btn--primary:hover {
  background: var(--color-off-white, #F7F5ED);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.service-cta__btn--secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.service-cta__btn--secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .service-hero {
    height: 35vh;
    min-height: 280px;
  }

  .service-hero__icon {
    width: 64px;
    height: 64px;
  }

  .service-hero__icon svg {
    width: 32px;
    height: 32px;
  }

  .service-section {
    padding: 3rem 1.5rem;
  }

  .vaccine-category__header {
    flex-direction: column;
    text-align: center;
  }

  .vaccine-category__icon {
    width: 64px;
    height: 64px;
  }

  .vaccine-category__icon svg {
    width: 32px;
    height: 32px;
  }

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

  .vaccine-block {
    padding: 1.5rem;
  }

  .schedule-cards {
    grid-template-columns: 1fr;
  }

  .faq-item {
    padding: 1.25rem 1.5rem;
  }

  .service-cta {
    padding: 3.5rem 1.5rem;
  }

  .service-cta__actions {
    width: 100%;
  }

  .service-cta__btn {
    width: 100%;
    max-width: 320px;
    min-width: unset;
  }
}

@media (max-width: 480px) {
  .service-intro,
  .service-section {
    padding: 2.5rem 1rem;
  }

  .info-card {
    padding: 1.5rem;
  }

  .vaccine-block__title {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
