/* ==========================================================================
   Sandra Mars Master — Universal Service Page
   Premium predstavitvene strani storitev
   ========================================================================== */

.sm-service-page {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 36%),
    radial-gradient(circle at 88% 18%, rgba(242, 223, 216, 0.22) 0%, rgba(242, 223, 216, 0) 42%),
    linear-gradient(135deg, #fffdfa 0%, #fbf6ef 52%, #f8efe7 100%);
}

/* ----------------------------------
   Hero
---------------------------------- */

.sm-service-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(8rem, 8vw, 12rem) 0 clamp(7rem, 8vw, 11rem);
}

.sm-service-hero__container {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 5.6rem), 1320px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(40rem, 0.82fr);
  gap: clamp(5rem, 6vw, 9rem);
  align-items: center;
}

.sm-service-hero__content {
  max-width: 72rem;
}

.sm-service-hero__badge {
  display: inline-flex;
  align-items: center;
  min-height: 3.8rem;
  padding: 1rem 1.8rem;
  border: 1px solid rgba(216, 185, 130, 0.42);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.76);
  color: #8f7f78;
  box-shadow: 0 1.2rem 3rem rgba(55, 35, 32, 0.04);
  font-family: var(--sm-font-body);
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.sm-service-hero__badge::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  margin-right: 1rem;
  border-radius: 50%;
  background: var(--sm-gold);
}

.sm-service-hero__title {
  max-width: 76rem;
  margin: 2.8rem 0 0;
  color: var(--sm-espresso);
  font-family: var(--sm-font-heading);
  font-size: clamp(5.8rem, 5.8vw, 9.2rem);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.sm-service-hero__divider {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2.9rem;
}

.sm-service-hero__divider span {
  display: block;
  width: 6.2rem;
  height: 1px;
  background: rgba(216, 185, 130, 0.78);
}

.sm-service-hero__divider i {
  display: block;
  width: 1rem;
  height: 1rem;
  background: var(--sm-gold);
  transform: rotate(45deg);
}

.sm-service-hero__intro {
  max-width: 64rem;
  margin-top: 2.6rem;
  color: var(--sm-taupe);
  font-family: var(--sm-font-body);
  font-size: clamp(1.62rem, 1.05vw, 1.85rem);
  line-height: 1.82;
}

.sm-service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-top: 3.6rem;
}

.sm-service-hero__actions .sm-btn {
  min-width: 18.8rem;
}

/* Visual */

.sm-service-hero__visual {
  position: relative;
  min-height: 50rem;
}

.sm-service-hero__image-card {
  position: relative;
  overflow: hidden;
  width: min(46rem, 100%);
  min-height: 54rem;
  margin-left: auto;
  border: 1px solid rgba(216, 185, 130, 0.24);
  border-radius: 4.2rem;
  background:
    radial-gradient(circle at 34% 18%, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0) 42%),
    linear-gradient(145deg, #f7efe6, #e8cdc7);
  box-shadow:
    0 2.6rem 7rem rgba(55, 35, 32, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.sm-service-hero__image-card img {
  display: block;
  width: 100%;
  height: 54rem;
  object-fit: cover;
}

.sm-service-hero__placeholder {
  display: grid;
  min-height: 54rem;
  place-items: center;
  color: var(--sm-mauve);
  font-family: var(--sm-font-heading);
  font-size: 3.4rem;
  font-weight: 700;
}

.sm-service-hero__placeholder span {
  display: block;
}

.sm-service-hero__note {
  position: absolute;
  left: 0;
  right: 2rem;
  bottom: 3rem;
  display: grid;
  grid-template-columns: 4.4rem 1fr;
  gap: 1.4rem;
  align-items: center;
  max-width: 42rem;
  margin-left: auto;
  padding: 2.1rem 2.4rem;
  border: 1px solid rgba(216, 185, 130, 0.26);
  border-radius: 2.8rem;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0) 48%),
    rgba(255, 253, 249, 0.88);
  box-shadow:
    0 1.8rem 4.8rem rgba(55, 35, 32, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(14px);
}

.sm-service-hero__note span {
  position: relative;
  display: block;
  width: 3.6rem;
  height: 3.6rem;
  border: 1px solid rgba(216, 185, 130, 0.72);
  border-radius: 50%;
}

.sm-service-hero__note span::before {
  content: "✧";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(199, 156, 84, 0.92);
  font-size: 1.25rem;
}

.sm-service-hero__note p {
  margin: 0;
  color: var(--sm-mauve-dark);
  font-family: var(--sm-font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.025em;
}

/* Gold lines */

.sm-service-hero__gold-line,
.sm-service-content-section__gold-line {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(216, 185, 130, 0.38);
  border-color: rgba(216, 185, 130, 0.38) transparent transparent transparent;
  border-radius: 58% 42% 63% 37% / 45% 60% 40% 55%;
  filter: drop-shadow(0 0 0.6rem rgba(232, 196, 110, 0.12));
}

.sm-service-hero__gold-line--one {
  width: 94rem;
  height: 44rem;
  left: -28rem;
  top: -10rem;
  transform: rotate(10deg) skewX(2deg);
  opacity: 0.34;
}

.sm-service-hero__gold-line--two {
  width: 82rem;
  height: 38rem;
  right: -28rem;
  bottom: -8rem;
  transform: rotate(-12deg) skewX(-3deg);
  opacity: 0.28;
}

/* ----------------------------------
   Content section
---------------------------------- */

.sm-service-content-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(7rem, 8vw, 11rem) 0 clamp(8rem, 9vw, 13rem);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0) 36%),
    linear-gradient(135deg, rgba(255, 253, 249, 0.96) 0%, rgba(251, 246, 239, 0.96) 100%);
}

.sm-service-content-section__container {
  position: relative;
  z-index: 3;
  width: min(calc(100% - 5.6rem), 1320px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34rem;
  gap: clamp(3rem, 4vw, 5.6rem);
  align-items: start;
}

.sm-service-content {
  position: relative;
  overflow: hidden;
  padding: clamp(3.4rem, 4vw, 5.8rem);
  border: 1px solid rgba(139, 83, 107, 0.10);
  border-radius: 4rem;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0) 44%),
    rgba(255, 253, 249, 0.74);
  box-shadow:
    0 2.2rem 6rem rgba(55, 35, 32, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(12px);
}

/* Elementor/content normalizacija */

.sm-service-content .elementor,
.sm-service-content .elementor-section,
.sm-service-content .elementor-container,
.sm-service-content .elementor-column,
.sm-service-content .elementor-widget-wrap {
  max-width: 100% !important;
}

.sm-service-content .elementor-section,
.sm-service-content .elementor-container {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.sm-service-content .elementor-widget:not(:last-child) {
  margin-bottom: 2.2rem;
}

/* Tipografija vsebine */

.sm-service-content h1,
.sm-service-content h2,
.sm-service-content h3,
.sm-service-content h4 {
  color: var(--sm-espresso);
  font-family: var(--sm-font-heading);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.sm-service-content h1 {
  font-size: clamp(4.2rem, 4vw, 6.4rem);
  line-height: 0.98;
}

.sm-service-content h2 {
  position: relative;
  margin: 4.6rem 0 1.7rem;
  padding-top: 2.2rem;
  font-size: clamp(3.4rem, 3vw, 5rem);
  line-height: 1;
}

.sm-service-content h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6.6rem;
  height: 1px;
  background: rgba(216, 185, 130, 0.82);
}

.sm-service-content h3 {
  margin: 3.4rem 0 1.2rem;
  color: var(--sm-mauve-dark);
  font-size: clamp(2.4rem, 2.1vw, 3.3rem);
  line-height: 1.05;
}

.sm-service-content h4 {
  margin: 2.6rem 0 1rem;
  color: var(--sm-mauve-dark);
  font-size: 2rem;
  line-height: 1.2;
}

.sm-service-content p {
  max-width: 82rem;
  margin: 0 0 1.7rem;
  color: var(--sm-taupe);
  font-family: var(--sm-font-body);
  font-size: 1.62rem;
  line-height: 1.82;
}

.sm-service-content strong,
.sm-service-content b {
  color: var(--sm-mauve-dark);
  font-weight: 900;
}

.sm-service-content a {
  color: var(--sm-mauve-dark);
  font-weight: 900;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.sm-service-content ul,
.sm-service-content ol {
  display: grid;
  gap: 1rem;
  max-width: 82rem;
  margin: 2.2rem 0 2.8rem;
  padding: 0;
  list-style: none;
}

.sm-service-content li {
  position: relative;
  min-height: 4.6rem;
  padding: 1.2rem 1.6rem 1.2rem 4.8rem;
  border: 1px solid rgba(216, 185, 130, 0.18);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.64);
  color: var(--sm-taupe-dark);
  font-size: 1.48rem;
  font-weight: 700;
  line-height: 1.45;
}

.sm-service-content li::before {
  content: "✧";
  position: absolute;
  left: 1.6rem;
  top: 50%;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(216, 185, 130, 0.66);
  border-radius: 50%;
  color: rgba(199, 156, 84, 0.92);
  font-size: 1rem;
  transform: translateY(-50%);
}

.sm-service-content img {
  height: auto;
  max-width: 100%;
  border-radius: 2.8rem;
  box-shadow: 0 1.8rem 4.4rem rgba(55, 35, 32, 0.10);
}

.sm-service-content figure {
  margin: 3.2rem 0;
}

.sm-service-content blockquote {
  margin: 3.4rem 0;
  padding: 2.8rem 3.2rem;
  border: 1px solid rgba(216, 185, 130, 0.26);
  border-radius: 2.8rem;
  background: rgba(242, 223, 216, 0.22);
  color: var(--sm-mauve-dark);
  font-family: var(--sm-font-heading);
  font-size: 2.4rem;
  line-height: 1.24;
}

/* CTA linki v obstoječi vsebini */

.sm-service-content a[href*="rezervacije"],
.sm-service-content a[href*="kontakt"],
.sm-service-content a[href*="povprasevanje"],
.sm-service-content a[href*="povpraševanje"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 4.9rem;
  margin: 1rem 1rem 1rem 0;
  padding: 1.3rem 2.4rem;
  border: 1px solid rgba(216, 185, 130, 0.48);
  border-radius: 999px;
  background: var(--sm-mauve);
  color: var(--sm-warm-white);
  box-shadow: 0 1.2rem 2.8rem rgba(111, 63, 85, 0.18);
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  transition:
    transform var(--sm-transition),
    background-color var(--sm-transition),
    box-shadow var(--sm-transition);
}

.sm-service-content a[href*="rezervacije"]:hover,
.sm-service-content a[href*="kontakt"]:hover,
.sm-service-content a[href*="povprasevanje"]:hover,
.sm-service-content a[href*="povpraševanje"]:hover {
  transform: translateY(-2px);
  background: var(--sm-mauve-dark);
  color: var(--sm-warm-white);
  box-shadow: 0 1.5rem 3.2rem rgba(111, 63, 85, 0.22);
}

/* Sidebar */

.sm-service-sidebar {
  position: sticky;
  top: 11rem;
  display: grid;
  gap: 1.8rem;
}

.sm-service-sidebar__card {
  padding: 3rem 2.7rem;
  border: 1px solid rgba(139, 83, 107, 0.11);
  border-radius: 3rem;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0) 44%),
    rgba(255, 253, 249, 0.82);
  box-shadow:
    0 1.8rem 4.8rem rgba(55, 35, 32, 0.075),
    inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.sm-service-sidebar__card--soft {
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0) 44%),
    rgba(242, 223, 216, 0.22);
}

.sm-service-sidebar__icon {
  position: relative;
  width: 4rem;
  height: 4rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(216, 185, 130, 0.72);
  border-radius: 50%;
}

.sm-service-sidebar__icon::before {
  content: "✧";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(199, 156, 84, 0.92);
  font-size: 1.2rem;
}

.sm-service-sidebar h2 {
  margin: 0;
  color: var(--sm-espresso);
  font-family: var(--sm-font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
}

.sm-service-sidebar p {
  margin: 1.4rem 0 2.2rem;
  color: var(--sm-taupe);
  font-size: 1.45rem;
  line-height: 1.68;
}

.sm-service-sidebar .sm-btn {
  width: 100%;
}

.sm-service-sidebar__text-link {
  color: var(--sm-mauve-dark);
  font-size: 1.35rem;
  font-weight: 900;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.26em;
}

/* Content gold lines */

.sm-service-content-section__gold-line--one {
  width: 88rem;
  height: 38rem;
  left: -28rem;
  top: 12rem;
  transform: rotate(12deg) skewX(2deg);
  opacity: 0.20;
}

.sm-service-content-section__gold-line--two {
  width: 82rem;
  height: 36rem;
  right: -26rem;
  bottom: 8rem;
  transform: rotate(-12deg) skewX(-3deg);
  opacity: 0.22;
}

/* ----------------------------------
   Responsive
---------------------------------- */

@media (max-width: 1100px) {
  .sm-service-hero__container {
    grid-template-columns: 1fr;
  }

  .sm-service-hero__visual {
    min-height: auto;
  }

  .sm-service-hero__image-card {
    margin-inline: auto;
  }

  .sm-service-hero__note {
    left: 50%;
    right: auto;
    width: min(calc(100% - 4rem), 42rem);
    transform: translateX(-50%);
  }

  .sm-service-content-section__container {
    grid-template-columns: 1fr;
  }

  .sm-service-sidebar {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .sm-service-hero {
    padding: 6.6rem 0 7rem;
  }

  .sm-service-hero__container,
  .sm-service-content-section__container {
    width: min(calc(100% - 3.2rem), 1320px);
  }

  .sm-service-hero__title {
    font-size: clamp(4.6rem, 14vw, 6.3rem);
  }

  .sm-service-hero__actions .sm-btn {
    width: 100%;
  }

  .sm-service-hero__image-card {
    min-height: 38rem;
    border-radius: 3rem;
  }

  .sm-service-hero__image-card img,
  .sm-service-hero__placeholder {
    height: 38rem;
    min-height: 38rem;
  }

  .sm-service-hero__note {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin: -2.5rem auto 0;
    transform: none;
  }

  .sm-service-content {
    padding: 3rem 2.2rem;
    border-radius: 3rem;
  }

  .sm-service-content h2 {
    font-size: clamp(3rem, 10vw, 4.2rem);
  }

  .sm-service-content li {
    border-radius: 2rem;
  }

  .sm-service-sidebar {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SERVICE PAGE — LEGACY ELEMENTOR CLEANUP / PILOT POLISH
   Za stare predstavitvene strani, ki so bile delane v Elementorju
   ========================================================================== */

/* Skrij prvi podvojeni naslov v vsebini, ker je naslov že v hero sekciji */
.sm-service-content > h1:first-child,
.sm-service-content > h2:first-child,
.sm-service-content .elementor-section:first-child .elementor-widget-heading:first-child h1,
.sm-service-content .elementor-section:first-child .elementor-widget-heading:first-child h2,
.sm-service-content .elementor-widget-heading:first-child h1:first-child,
.sm-service-content .elementor-widget-heading:first-child h2:first-child {
  display: none !important;
}

/* Če prvi naslov ni skrit zaradi Elementor wrapperja, naj vsaj ne ustvari ogromnega praznega začetka */
.sm-service-content h2:first-of-type {
  margin-top: 0 !important;
}

/* Skrij stare dekorativne Elementor sparkle slike / ikone */
.sm-service-content img[alt="✨"],
.sm-service-content img[alt*="✨"],
.sm-service-content .elementor-widget-image:has(img[alt="✨"]),
.sm-service-content .elementor-widget-image:has(img[alt*="✨"]) {
  display: none !important;
}

/* Očisti prazne Elementor image wrapperje, če ostanejo brez vsebine */
.sm-service-content .elementor-widget-image:empty,
.sm-service-content .elementor-image:empty {
  display: none !important;
}

/* Elementor wrapperji naj ne vsiljujejo stare širine in razmakov */
.sm-service-content .elementor-section,
.sm-service-content .elementor-container,
.sm-service-content .elementor-column,
.sm-service-content .elementor-widget-wrap {
  width: 100% !important;
  max-width: 100% !important;
}

.sm-service-content .elementor-section {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Bolj premium editorial ritem za dolgo vsebino */
.sm-service-content h2 {
  margin-top: 4.2rem !important;
  margin-bottom: 1.6rem !important;
  font-size: clamp(3.1rem, 2.6vw, 4.4rem) !important;
}

.sm-service-content h3 {
  margin-top: 3rem !important;
  font-size: clamp(2.25rem, 2vw, 3rem) !important;
}

/* Odstavki naj bodo bolj berljivi */
.sm-service-content p {
  max-width: 86rem !important;
  font-size: 1.58rem !important;
  line-height: 1.78 !important;
}

/* Seznami naj ne bodo preveč "pill", ker ima stran veliko dolgih alinej */
.sm-service-content ul,
.sm-service-content ol {
  gap: 0.9rem !important;
  margin-top: 1.9rem !important;
  margin-bottom: 2.6rem !important;
}

.sm-service-content li {
  min-height: auto !important;
  border-radius: 2rem !important;
  padding: 1.15rem 1.5rem 1.15rem 4.6rem !important;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0) 46%),
    rgba(255, 253, 249, 0.66) !important;
}

/* CTA linki v stari vsebini naj bodo bolj lepo ločeni */
.sm-service-content a[href*="rezervacije"],
.sm-service-content a[href*="kontakt"],
.sm-service-content a[href*="povprasevanje"],
.sm-service-content a[href*="povpraševanje"] {
  margin-top: 1.4rem !important;
  margin-bottom: 1.4rem !important;
}

/* Slike iz stare vsebine naj bodo bolj premium */
.sm-service-content .elementor-widget-image img,
.sm-service-content img {
  border-radius: 2.8rem !important;
}

/* Če Elementor doda nepotrebno velike prazne prostore */
.sm-service-content .elementor-spacer,
.sm-service-content .elementor-widget-spacer {
  display: none !important;
}

/* Sidebar malo bolj miren, da ne tekmuje z dolgim tekstom */
.sm-service-sidebar__card {
  border-color: rgba(139, 83, 107, 0.09) !important;
  box-shadow:
    0 1.4rem 3.8rem rgba(55, 35, 32, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.62) !important;
}

.sm-service-sidebar h2 {
  font-size: 2.45rem !important;
}

.sm-service-sidebar p {
  font-size: 1.38rem !important;
  line-height: 1.62 !important;
}

/* ==========================================================================
   SERVICE PAGE — STICKY SIDEBAR CTA
   Desna CTA bloka ostaneta vidna med branjem strani
   ========================================================================== */

/* Sticky potrebuje visible overflow na starših */
.sm-service-page,
.sm-service-content-section,
.sm-service-content-section__container {
  overflow: visible !important;
}

/* Desna sekcija s CTA karticami */
.sm-service-sidebar {
  position: sticky !important;
  top: 12.5rem !important;
  align-self: start !important;
  z-index: 10 !important;
  max-height: calc(100vh - 14rem) !important;
  overflow: visible !important;
}

/* Kartici ostaneta lepo zloženi */
.sm-service-sidebar {
  display: grid !important;
  gap: 1.8rem !important;
}

/* Malo bolj premium občutek med sticky prikazom */
.sm-service-sidebar__card {
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 44%),
    rgba(255, 253, 249, 0.86) !important;
  backdrop-filter: blur(14px) saturate(1.05) !important;
}

/* Na tablici in telefonu sticky izklopimo, ker bi motil branje */
@media (max-width: 1100px) {
  .sm-service-sidebar {
    position: static !important;
    top: auto !important;
    max-height: none !important;
  }
}