/* Sparx & Shyn service cards + details modal
   Scoped under .sns-service-* to avoid changing the site's existing components. */
.sns-service-section {
  padding: 72px 0 78px;
  background: #f7f8fa;
}
.sns-services-heading { margin-bottom: 38px; }
.sns-services-heading h2 { font-size: clamp(27px, 3vw, 38px); }
.sns-service-grid { display: block; }
.sns-service-grid > .col-12 { width: 100%; }
.sns-service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.sns-service-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(20, 34, 50, .08);
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(21, 35, 50, .08);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  scroll-margin-top: 110px;
}
.sns-service-card:hover,
.sns-service-card:focus-within {
  transform: translateY(-7px);
  border-color: rgba(252, 91, 91, .35);
  box-shadow: 0 18px 38px rgba(21, 35, 50, .14);
}
.sns-service-card__image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #e9edf1;
}
.sns-service-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.sns-service-card:hover .sns-service-card__image img,
.sns-service-card:focus-within .sns-service-card__image img {
  transform: scale(1.07);
}
.sns-service-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  max-width: calc(100% - 28px);
  padding: 7px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(31, 42, 55, .82);
  font-size: 11px;
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .35px;
}
.sns-service-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 22px 24px;
}
.sns-service-card__content h3 {
  margin: 0 0 10px;
  color: #179502;
  font-size: 21px;
  line-height: 1.35;
  font-weight: 700;
}
.sns-service-card__content p {
  margin: 0 0 17px;
  color: #68717b;
  font-size: 13px;
  line-height: 1.8;
}
.sns-service-card__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 13px 0 18px;
  margin-top: auto;
  color: #179502;
  font-size: 12px;
  font-weight: 600;
  border-top: 1px solid #edf0f2;
}
.sns-service-card__meta span:last-child { color: #fc5b5b; }
.sns-service-open {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  cursor: pointer;
  line-height: 1.3;
  color: #179502;
  border-radius: 7px;
}
.sns-service-open:focus-visible,
.sns-service-modal button:focus-visible,
.sns-service-modal a:focus-visible,
.sns-service-modal select:focus-visible {
  outline: 3px solid rgba(252, 91, 91, .4);
  outline-offset: 3px;
}

/* Modal */
.sns-service-modal {
  position: fixed;
  inset: 0;
  z-index: 100200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}
.sns-service-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.sns-service-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 20, 29, .76);
  backdrop-filter: blur(5px);
}
.sns-service-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1040px);
  max-height: min(88vh, 820px);
  overflow: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 25px 90px rgba(0, 0, 0, .28);
  transform: translateY(18px) scale(.985);
  transition: transform .25s ease;
  overscroll-behavior: contain;
}
.sns-service-modal.is-open .sns-service-modal__dialog {
  transform: translateY(0) scale(1);
}
.sns-service-modal__close {
  position: absolute;
  z-index: 5;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  color: #202a35;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}
.sns-service-modal__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr);
  min-height: 470px;
}
.sns-service-modal__gallery {
  align-self: stretch;
  padding: 24px;
  background: #f0f3f6;
}
.sns-service-modal__image-frame {
  position: relative;
  min-height: 290px;
  height: 100%;
  max-height: 380px;
  overflow: hidden;
  border-radius: 13px;
  background: #dfe4e8;
}
.sns-service-modal__image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 290px;
  max-height: 380px;
  object-fit: cover;
  transition: opacity .18s ease;
}
.sns-service-modal__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  color: #202a35;
  background: rgba(255,255,255,.94);
  box-shadow: 0 4px 14px rgba(0,0,0,.15);
  cursor: pointer;
}
.sns-service-modal__arrow--prev { left: 12px; }
.sns-service-modal__arrow--next { right: 12px; }
.sns-service-modal__gallery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  padding-top: 12px;
}
.sns-service-modal__dots { display: flex; align-items: center; gap: 7px; }
.sns-service-modal__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #c3cbd3;
  cursor: pointer;
}
.sns-service-modal__dot.is-active { width: 22px; border-radius: 99px; background: #fc5b5b; }
.sns-service-modal__counter { color: #68717b; font-size: 12px; font-weight: 600; }
.sns-service-modal__details { padding: 42px 38px 32px; }
.sns-service-modal__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #fc5b5b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.2px;
}
.sns-service-modal__details h2 {
  margin: 0 0 10px;
  color: #179502;
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.2;
  font-weight: 700;
}
.sns-service-modal__subtitle {
  margin: 0 0 18px !important;
  color: #606b77 !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}
.sns-service-modal__description {
  color: #525d68;
  font-size: 13px;
  line-height: 1.8;
}
.sns-service-modal__description p { margin: 0 0 12px; color: inherit; font-size: inherit; line-height: inherit; }
.sns-service-modal__description h3 {
  margin: 16px 0 7px;
  color: #179502;
  font-size: 14px;
  font-weight: 700;
}
.sns-service-modal__description ul { margin: 0 0 12px; padding-left: 18px; list-style: disc; }
.sns-service-modal__description li { margin: 4px 0; color: #525d68; font-size: 13px; line-height: 1.6; }
.sns-service-modal__price-panel {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #eceff2;
  border-radius: 12px;
  background: #f8f9fa;
}
.sns-service-modal__price-panel label {
  display: block;
  margin: 0 0 8px;
  color: #179502;
  font-size: 12px;
  font-weight: 700;
}
.sns-service-modal__price-panel select {
  width: 100%;
  min-height: 44px;
  padding: 10px 36px 10px 12px;
  border: 1px solid #d9dfe5;
  border-radius: 8px;
  background: #fff;
  color: #273341;
  font: inherit;
  font-size: 13px;
}
.sns-service-modal__price-note {
  margin: 9px 0 0 !important;
  color: #179502 !important;
  font-size: 12px !important;
  line-height: 1.6 !important;
  font-weight: 700;
}
.sns-service-modal__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
.sns-service-modal__actions .filled-button {
  text-align: center;
  border: 0;
  cursor: pointer;
}
.sns-service-modal__whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid #dce2e7;
  border-radius: 30px;
  color: #fff;
  background: #179502;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease;
}
.sns-service-modal__whatsapp:hover { color: #179502; background: #fff; border-color: #c9d1d9; }
.sns-service-modal__disclaimer { margin: 16px 0 0 !important; color: #858d95 !important; font-size: 10px !important; line-height: 1.6 !important; }
body.sns-service-modal-open { overflow: hidden; }

@media (max-width: 991.98px) {
  .sns-service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .sns-service-card__image { height: 205px; }
  .sns-service-modal__layout { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); }
  .sns-service-modal__gallery { padding: 18px; }
  .sns-service-modal__details { padding: 34px 26px 26px; }
}
@media (max-width: 767.98px) {
  .sns-service-section { padding: 48px 0 54px; }
  .sns-services-heading { margin-bottom: 28px; }
  .sns-service-cards { grid-template-columns: 1fr; gap: 18px; }
  .sns-service-card { max-width: 560px; width: 100%; margin: 0 auto; }
  .sns-service-card__image { height: clamp(190px, 55vw, 270px); }
  .sns-service-card__content { padding: 20px; }
  .sns-service-modal { align-items: flex-end; padding: 0; }
  .sns-service-modal__dialog {
    width: 100%;
    max-height: 94dvh;
    border-radius: 18px 18px 0 0;
  }
  .sns-service-modal__layout { grid-template-columns: 1fr; }
  .sns-service-modal__gallery { padding: 14px 14px 4px; }
  .sns-service-modal__image-frame { height: clamp(180px, 46vh, 300px); min-height: 180px; }
  .sns-service-modal__image-frame img { height: 100%; min-height: 180px; max-height: none; }
  .sns-service-modal__details { padding: 22px 22px 28px; }
  .sns-service-modal__close { top: 9px; right: 9px; width: 38px; height: 38px; }
  .sns-service-modal__actions > * { flex: 1 1 auto; }
}
@media (max-width: 380px) {
  .sns-service-modal__details { padding: 20px 16px 24px; }
  .sns-service-modal__actions { flex-direction: column; }
  .sns-service-modal__actions > * { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .sns-service-card, .sns-service-card__image img, .sns-service-modal, .sns-service-modal__dialog,
  .sns-service-modal__dot, .sns-service-modal__whatsapp { transition: none !important; }
}
