/* ===========================================================
   SERVICE PAGE STYLES
   Reusable across all service pages (cosmetic, restorative, etc.)
   =========================================================== */

/* ── Shared ───────────────────────────────────────────────── */

.ac-sp-section-title {
  font-family: inherit;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  color: var(--theme-dark, #001c33);
  line-height: 1.15;
  margin: 0 0 20px;
}
.ac-sp-section-title em {
  font-style: normal;
  color: var(--theme-main, #2d96eb);
}

/* ── HERO ─────────────────────────────────────────────────── */

.ac-sp-hero {
  background: #fff;
  padding: 200px 0 0;
  overflow: hidden;
}
.ac-sp-hero__inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 0;
  padding: 0 60px;
}
.ac-sp-hero__text {
  flex: 0 0 50%;
  padding-bottom: 80px;
  padding-right: 40px;
}
.ac-sp-hero__eyebrow {
  display: inline-block;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--theme-main);
  margin-bottom: 16px;
  background: rgba(45, 150, 235, 0.08);
  padding: 8px 18px;
  border-radius: 99px;
}
.ac-sp-hero__title {
  font-family: inherit;
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 800;
  color: var(--theme-dark);
  line-height: 1.05;
  margin: 0 0 24px;
}
.ac-sp-hero__title em {
  font-style: normal;
  color: var(--theme-main);
}
.ac-sp-hero__desc {
  font-family: inherit;
  font-size: 18px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 36px;
}
.ac-sp-hero__image,
.ac-sp-hero__slider {
  flex: 0 0 50%;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.ac-sp-hero__slider {
  overflow: hidden;
}
.ac-sp-hero__image img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 700px;
  margin-bottom: -5px;
  height: auto;
  object-fit: contain;
  border-radius: 32px 32px 0 0;
}

@media (max-width: 980px) {
  .ac-sp-hero__inner {
    flex-direction: column;
    padding: 0 30px;
    align-items: center;
    text-align: center;
  }
  .ac-sp-hero__text { flex: none; width: 100%; padding-bottom: 40px; padding-right: 0; }
  .ac-sp-hero__desc { margin-left: auto; margin-right: auto; }
  .ac-sp-hero__image { flex: none; width: 80%; max-width: 420px; }
  .ac-sp-hero .btn-row-container { justify-content: center !important; }
}

/* ── WHY CHOOSE US ────────────────────────────────────────── */

.ac-sp-why {
  background: var(--theme-white, #f1f0ef);
  padding: 100px 60px;
}
.ac-sp-why__inner {
  max-width: 1600px;
  margin: 0 auto;
  text-align: center;
}
.ac-sp-why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.ac-sp-why__card {
  background: #fff;
  border-radius: 24px;
  padding: 48px 36px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ac-sp-why__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.ac-sp-why__icon {
  width: 72px;
  height: 72px;
  background: rgba(45, 150, 235, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--theme-main);
}
.ac-sp-why__label {
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--theme-main);
  display: block;
  margin-bottom: 8px;
}
.ac-sp-why__card h3 {
  font-family: inherit;
  font-size: 22px;
  color: var(--theme-dark);
  margin: 0 0 12px;
  font-weight: 700;
}
.ac-sp-why__card p {
  font-family: inherit;
  font-size: 15px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

@media (max-width: 980px) {
  .ac-sp-why { padding: 60px 30px; }
  .ac-sp-why__grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
}

/* ── SERVICE SECTIONS (alternating) ───────────────────────── */

.ac-sp-service {
  background: #fff;
  padding: 100px 60px;
  overflow: hidden;
}
.ac-sp-service--tinted {
  background: var(--theme-white, #f1f0ef);
}
.ac-sp-service__inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
}
.ac-sp-service--right .ac-sp-service__inner {
  flex-direction: row;
}
.ac-sp-service--left .ac-sp-service__inner {
  flex-direction: row;
}
.ac-sp-service__content {
  flex: 1;
}
.ac-sp-service__subtitle {
  font-family: inherit;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 16px;
}
.ac-sp-service__content p {
  font-family: inherit;
  font-size: 17px;
  line-height: 1.7;
  color: #555;
  margin: 0 0 20px;
}
.ac-sp-service__media {
  flex: 0 0 44%;
}
.ac-sp-service__img-wrap {
  min-height: 600px;
  width: 100% !important;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}
.ac-sp-service__img-wrap img {
  position: absolute;
  inset: 0;
  height: 100% !important;
  width: 100% !important;
  object-fit: cover;
  object-position: top;
}

/* Checklist */
.ac-sp-checklist {
  background: rgba(45, 150, 235, 0.04);
  border-left: 3px solid var(--theme-main);
  border-radius: 0 16px 16px 0;
  padding: 20px 24px;
  margin: 24px 0 32px;
}
.ac-sp-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-family: inherit;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}
.ac-sp-checklist__item + .ac-sp-checklist__item {
  border-top: 1px solid rgba(45, 150, 235, 0.1);
}
.ac-sp-checklist__icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--theme-main);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 1px;
}

@media (max-width: 980px) {
  .ac-sp-service { padding: 60px 30px; }
  .ac-sp-service__inner { flex-direction: column !important; gap: 40px; }
  .ac-sp-service--right .ac-sp-service__inner { flex-direction: column-reverse !important; }
  .ac-sp-service__media { flex: none; width: 100%; max-width: 520px; margin: 0 auto; }
  .ac-sp-service__img-wrap { min-height: 300px; }
}

/* ── INSURANCE CALLOUT ────────────────────────────────────── */

.ac-sp-insurance {
  background: #fff;
  padding: 40px 60px;
}
.ac-sp-insurance__inner {
  max-width: 900px;
  margin: 0 auto;
  background: var(--theme-white, #f1f0ef);
  border-radius: 24px;
  padding: 40px 48px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.ac-sp-insurance__icon {
  flex-shrink: 0;
}
.ac-sp-insurance__text {
  flex: 1;
}
.ac-sp-insurance__text h3 {
  font-family: inherit;
  font-size: 20px;
  color: var(--theme-dark);
  margin: 0 0 6px;
  font-weight: 700;
}
.ac-sp-insurance__text p {
  font-family: inherit;
  font-size: 15px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}
.ac-sp-insurance__inner > .btn {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .ac-sp-insurance { padding: 30px; }
  .ac-sp-insurance__inner { flex-direction: column; text-align: center; padding: 32px 24px; }
}

/* ── EXPLORE GRID ─────────────────────────────────────────── */

.ac-sp-explore {
  background: #fff;
  padding: 100px 60px;
}
.ac-sp-explore__inner {
  max-width: 1600px;
  margin: 0 auto;
}
.ac-sp-explore__slider-wrap {
  position: relative;
  margin-top: 50px;
}
.ac-sp-explore__grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.ac-sp-explore__grid::-webkit-scrollbar { display: none; }
.ac-sp-explore__card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
  text-decoration: none;
  flex: 0 0 calc(33.333% - 14px);
  scroll-snap-align: start;
}
.ac-sp-explore__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--theme-dark);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, opacity 0.25s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  opacity: 0.9;
}
.ac-sp-explore__arrow:hover {
  background: var(--theme-main);
  opacity: 1;
}
.ac-sp-explore__arrow--prev { left: -24px; }
.ac-sp-explore__arrow--next { right: -24px; }
.ac-sp-explore__arrow[disabled] {
  opacity: 0.25;
  pointer-events: none;
}
.ac-sp-explore__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.ac-sp-explore__card:hover img {
  transform: scale(1.06);
}
.ac-sp-explore__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,28,51,0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.ac-sp-explore__overlay span {
  font-family: inherit;
  font-size: 20px;
  color: #fff;
  font-weight: 700;
}
.ac-sp-explore__card--cta {
  background: var(--theme-main);
  display: flex;
  align-items: center;
  justify-content: center;
}
.ac-sp-explore__card--cta:hover {
  background: var(--theme-dark);
}
.ac-sp-explore__cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.ac-sp-explore__cta-inner span {
  font-family: inherit;
  font-size: 22px;
  color: #fff;
  font-weight: 700;
}
.ac-sp-explore__cta-inner svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 980px) {
  .ac-sp-explore { padding: 60px 30px; }
  .ac-sp-explore__card { flex: 0 0 calc(50% - 10px); }
  .ac-sp-explore__arrow--prev { left: -16px; }
  .ac-sp-explore__arrow--next { right: -16px; }
}
@media (max-width: 600px) {
  .ac-sp-explore { padding: 40px 20px; }
  .ac-sp-explore__card { flex: 0 0 85%; }
  .ac-sp-explore__arrow { width: 40px; height: 40px; font-size: 16px; }
  .ac-sp-explore__arrow--prev { left: -8px; }
  .ac-sp-explore__arrow--next { right: -8px; }
}

/* ── FINAL CTA ────────────────────────────────────────────── */

.ac-sp-cta {
  background: var(#ffffff, #f1f0ef);
  padding: 100px 60px 0;
  overflow: hidden;
}
.ac-sp-cta__inner {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  gap: 0;
}
.ac-sp-cta__text {
  flex: 0 0 55%;
  padding-bottom: 100px;
  padding-right: 60px;
}
.ac-sp-cta__eyebrow {
  display: inline-block;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--theme-main);
  margin-bottom: 16px;
}
.ac-sp-cta__text p {
  font-family: inherit;
  font-size: 18px;
  line-height: 1.7;
  color: #555;
  margin-bottom: 36px;
}
.ac-sp-cta__person {

	flex: 0 0 50%;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.ac-sp-cta__person img {
     display: block;
    width: 100%;
    max-width: 100%;
    max-height: 700px;
    margin-bottom: -5px;
    height: auto;
    object-fit: contain;
    border-radius: 32px 32px 0 0;
}

@media (max-width: 980px) {
  .ac-sp-cta { padding: 60px 30px 0; }
  .ac-sp-cta__inner { flex-direction: column; align-items: center; text-align: center; }
  .ac-sp-cta__text { flex: none; width: 100%; padding-bottom: 40px; padding-right: 0; }
  .ac-sp-cta__text p { margin-left: auto; margin-right: auto; }
  .ac-sp-cta__person { flex: none; width: 70%; max-width: 360px; }
	
}

/* ── Offer card (individual specials pages) ── */
.ac-sp-offer-card { background: #fff; box-shadow: 0 8px 40px rgba(0,0,0,.1); border-radius: 24px; padding: 40px 36px; margin-top: 32px; text-align: center; max-width: 500px; }
.ac-sp-offer-card__price { font-size: clamp(40px, 6vw, 64px); font-weight: 800; color: var(--theme-accent, #ffa500); line-height: 1; margin: 0 0 8px; }
.ac-sp-offer-card__title { font-size: 20px; font-weight: 700; color: var(--theme-dark, #001c33); margin: 0 0 12px; }
.ac-sp-offer-card__desc { font-size: 15px; line-height: 1.6; color: #555; margin: 0 0 24px; }
.ac-sp-offer-card__fine { font-size: 12px; color: #999; margin: 16px 0 0; }
.ac-sp-offer-card .btn-row { flex-wrap: wrap; justify-content: center; gap: 12px; }
.ac-sp-offer-card .btn { background: var(--theme-main); color: #fff; border: 2px solid var(--theme-main); }
.ac-sp-offer-card .btn.light { background: #fff; color: var(--theme-main); border: 2px solid var(--theme-main); }
.ac-sp-offer-card .btn.light svg path { stroke: var(--theme-main); }
.ac-sp-offer-card .btn:hover { opacity: .9; }
@media (max-width: 980px) { .ac-sp-offer-card { padding: 32px 24px; margin-top: 24px; } }
