/* Star Grooming — brand: pink #FF6BB5 / blue #3EB5F0 */
:root {
  --sg-pink: #ff6bb5;
  --sg-pink-dark: #e84d9a;
  --sg-blue: #3eb5f0;
  --sg-blue-dark: #1f9ad9;
  --sg-ink: #1f2a37;
  --sg-muted: #5b6b7c;
  --sg-bg: #f7fbff;
  --sg-white: #ffffff;
  --sg-card: #ffffff;
  --sg-line: rgba(31, 42, 55, 0.08);
  --sg-shadow: 0 18px 50px rgba(62, 181, 240, 0.12);
  --sg-radius: 22px;
  --sg-header: 78px;
  --sg-font: "Nunito", system-ui, sans-serif;
  --sg-display: "Poppins", "Nunito", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--sg-header) + 12px); }

body {
  margin: 0;
  font-family: var(--sg-font);
  color: var(--sg-ink);
  background: var(--sg-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sg-blue-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--sg-pink-dark); }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

.sg-container {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}
.sg-container--narrow { width: min(780px, calc(100% - 2rem)); }

/* Header */
.sg-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sg-line);
  min-height: var(--sg-header);
}
.sg-header__inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--sg-header);
}
.sg-logo { display: flex; align-items: center; flex: 0 0 auto; }
.sg-logo__img,
.sg-logo img,
.custom-logo {
  height: 54px; width: auto; object-fit: contain;
}
.sg-nav { margin-left: auto; }
.sg-nav__list {
  display: flex; gap: .2rem 1.1rem; list-style: none; margin: 0; padding: 0;
  align-items: center;
}
.sg-nav__list a {
  color: var(--sg-ink); font-weight: 700; font-size: .95rem;
  padding: .35rem 0; position: relative;
}
.sg-nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 3px; border-radius: 99px;
  background: linear-gradient(90deg, var(--sg-pink), var(--sg-blue));
  transform: scaleX(0); transition: transform .2s ease;
}
.sg-nav__list a:hover::after,
.sg-nav__list a:focus-visible::after { transform: scaleX(1); }

.sg-lang {
  display: flex; gap: .35rem; margin-left: .75rem;
  background: #eef7fd; border-radius: 999px; padding: .25rem;
}
.sg-lang__btn {
  min-width: 2.2rem; height: 2rem; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: .75rem; font-weight: 800; color: var(--sg-muted);
}
.sg-lang__btn.is-active,
.sg-lang__btn:hover {
  background: linear-gradient(135deg, var(--sg-pink), var(--sg-blue));
  color: #fff;
}

.sg-nav-toggle {
  display: none; margin-left: auto;
  width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
  padding: 10px;
}
.sg-nav-toggle__bar {
  display: block; height: 3px; margin: 5px 0; border-radius: 99px;
  background: var(--sg-ink); transition: .2s ease;
}

/* Buttons */
.sg-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .9rem 1.35rem; border-radius: 999px;
  font-weight: 800; font-size: .95rem; border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.sg-btn:hover { transform: translateY(-1px); }
.sg-btn--primary {
  background: linear-gradient(135deg, var(--sg-pink), #ff8ec7 40%, var(--sg-blue));
  color: #fff; box-shadow: 0 12px 30px rgba(255, 107, 181, .28);
}
.sg-btn--primary:hover { color: #fff; }
.sg-btn--ghost {
  background: #fff; border-color: rgba(62,181,240,.35); color: var(--sg-blue-dark);
}
.sg-btn--ghost:hover { border-color: var(--sg-pink); color: var(--sg-pink-dark); }

/* Hero */
.sg-hero {
  position: relative; overflow: hidden;
  padding: 4.5rem 0 4rem;
  background:
    radial-gradient(circle at 12% 20%, rgba(255,107,181,.18), transparent 40%),
    radial-gradient(circle at 85% 15%, rgba(62,181,240,.2), transparent 42%),
    linear-gradient(180deg, #fff, var(--sg-bg));
}
.sg-hero__content {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center;
}
.sg-eyebrow {
  display: inline-block; margin: 0 0 .75rem;
  padding: .35rem .8rem; border-radius: 999px;
  background: rgba(255,107,181,.12); color: var(--sg-pink-dark);
  font-weight: 800; font-size: .85rem;
}
.sg-hero h1 {
  font-family: var(--sg-display); font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15; margin: 0 0 1rem; letter-spacing: -.02em;
}
.sg-lead { color: var(--sg-muted); font-size: 1.08rem; margin: 0 0 1.6rem; max-width: 38rem; }
.sg-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.sg-hero__card {
  background: #fff; border-radius: 28px; padding: 1.25rem;
  box-shadow: var(--sg-shadow); border: 1px solid rgba(62,181,240,.15);
}
.sg-hero__card img { width: 100%; border-radius: 18px; object-fit: contain; background: #fff; }

/* Sections */
.sg-section { padding: 4.5rem 0; }
.sg-section__head { text-align: center; margin-bottom: 2.4rem; max-width: 680px; margin-inline: auto; }
.sg-section__head h2 {
  font-family: var(--sg-display); font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 .6rem; letter-spacing: -.02em;
}
.sg-section__head p { margin: 0; color: var(--sg-muted); font-size: 1.05rem; }

.sg-about { background: #fff; }

/* About section as horizontal slider: text left, photo right */
.sg-about-slider { position: relative; }
.sg-about-slider__viewport {
  overflow: hidden;
  border-radius: calc(var(--sg-radius) + 4px);
}
.sg-about-slider__track {
  display: flex;
  transition: transform .45s cubic-bezier(.22, .9, .28, 1);
  will-change: transform;
}
.sg-about-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2rem;
  align-items: stretch;
  box-sizing: border-box;
  padding: .15rem;
}
.sg-about-slide__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.sg-about-slide__eyebrow {
  margin: 0 0 .55rem;
  color: var(--sg-pink, #ff6bb5);
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: .02em;
}
.sg-about-slide__title {
  font-family: var(--sg-display);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  margin: 0 0 1rem;
  letter-spacing: -.02em;
  line-height: 1.2;
}
.sg-about-slide__text p {
  color: var(--sg-muted);
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.65;
}
.sg-about-slide__text p:last-child { margin-bottom: 0; }
.sg-about-slide__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
  margin-top: 1.35rem;
}
.sg-about-slide__media {
  position: relative;
  border-radius: calc(var(--sg-radius) + 2px);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(62,181,240,.12), rgba(255,107,181,.1)),
    #f4f9fd;
  border: 1px solid rgba(62,181,240,.14);
  box-shadow: 0 16px 40px rgba(31,42,55,.08);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sg-about-slide__media img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}
.sg-about-slide__placeholder {
  width: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sg-muted);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .04em;
}

.sg-about-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.sg-about-slider__btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--sg-line);
  background: #fff;
  color: var(--sg-ink, #1f2a37);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(31,42,55,.06);
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.sg-about-slider__btn:hover {
  background: linear-gradient(135deg, #ff6bb5, #3eb5f0);
  color: #fff;
  border-color: transparent;
  transform: translateY(-1px);
}
.sg-about-slider__btn:focus-visible {
  outline: 2px solid #3eb5f0;
  outline-offset: 2px;
}
.sg-about-slider__dots {
  display: flex;
  gap: .45rem;
  align-items: center;
}
.sg-about-slider__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(31,42,55,.18);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.sg-about-slider__dot.is-active {
  width: 28px;
  background: linear-gradient(90deg, #ff6bb5, #3eb5f0);
}
.sg-about-slider__dot:focus-visible {
  outline: 2px solid #3eb5f0;
  outline-offset: 2px;
}

.sg-feature {
  background: linear-gradient(180deg, #fff, #f3faff);
  border: 1px solid var(--sg-line); border-radius: 18px;
  padding: 1rem 1.05rem; box-shadow: 0 8px 24px rgba(31,42,55,.04);
}
.sg-feature__icon { font-size: 1.25rem; display: block; margin-bottom: .35rem; }
.sg-feature h3 { margin: 0; font-size: .95rem; line-height: 1.35; }

/* Calculator */
.sg-prices {
  background:
    radial-gradient(circle at 80% 0%, rgba(255,107,181,.1), transparent 35%),
    var(--sg-bg);
}
.sg-calc {
  background: #fff; border-radius: calc(var(--sg-radius) + 6px);
  padding: 1.6rem; box-shadow: var(--sg-shadow);
  border: 1px solid rgba(62,181,240,.14);
  max-width: 920px; margin-inline: auto;
}
.sg-calc__fields {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.sg-field { display: flex; flex-direction: column; gap: .45rem; font-weight: 700; }
.sg-field span { font-size: .9rem; color: var(--sg-ink); }
.sg-field select {
  appearance: none;
  border: 1.5px solid #d7e7f2; border-radius: 14px;
  padding: .85rem 2.4rem .85rem 1rem;
  font: inherit; font-weight: 600; color: var(--sg-ink); background:
    #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%233eb5f0' d='M6 8 0 0h12z'/%3E%3C/svg%3E") no-repeat right 1rem center / 10px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.sg-field select:focus {
  outline: none; border-color: var(--sg-blue);
  box-shadow: 0 0 0 4px rgba(62,181,240,.15);
}
.sg-field select:disabled { opacity: .55; background-color: #f5f8fb; }

.sg-calc__result {
  margin-top: 1.25rem; border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,107,181,.1), rgba(62,181,240,.12));
  padding: 1.2rem 1.3rem; min-height: 92px;
  display: flex; align-items: center;
}
.sg-calc__placeholder { margin: 0; color: var(--sg-muted); font-weight: 600; }
.sg-calc__value {
  width: 100%; display: flex; flex-wrap: wrap; gap: 1.2rem 2.5rem; align-items: center;
}
.sg-calc__value.is-hidden { display: none; }
.sg-calc__label { display: block; font-size: .85rem; color: var(--sg-muted); font-weight: 700; }
.sg-calc__price strong {
  font-family: var(--sg-display); font-size: 2rem; color: var(--sg-pink-dark);
  letter-spacing: -.02em;
}
.sg-calc__price small { font-size: 1rem; color: var(--sg-muted); }
.sg-calc__duration strong { font-size: 1.25rem; }
.sg-calc__note {
  margin: 1rem 0 0; color: var(--sg-muted); font-size: .9rem;
}

/* Blog cards + carousel */
.sg-blog {
  background:
    radial-gradient(circle at 92% 12%, rgba(255,107,181,.08), transparent 28%),
    radial-gradient(circle at 8% 90%, rgba(62,181,240,.08), transparent 30%),
    #fff;
}
.sg-blog__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.sg-blog__titles.sg-section__head,
.sg-blog__titles {
  margin: 0;
  margin-inline: 0;
  max-width: none;
  text-align: left;
  flex: 1 1 16rem;
}
.sg-blog__titles h2 { margin-bottom: .35rem; }
.sg-blog__titles p { margin: 0; max-width: 36rem; }

.sg-blog-navs {
  display: flex;
  gap: .55rem;
  align-items: center;
  flex-shrink: 0;
}
.sg-blog-navs[hidden] { display: none !important; }

.sg-blog-nav {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--sg-line);
  background: #fff;
  color: var(--sg-ink, #1f2a37);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(31,42,55,.08);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, opacity .18s ease, box-shadow .18s ease;
}
.sg-blog-nav span { display: block; transform: translateY(-1px); }
.sg-blog-nav:hover:not(:disabled) {
  background: linear-gradient(135deg, #ff6bb5, #3eb5f0);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 28px rgba(255,107,181,.28);
}
.sg-blog-nav:focus-visible {
  outline: 3px solid rgba(62,181,240,.45);
  outline-offset: 3px;
}
.sg-blog-nav:disabled {
  opacity: .35;
  cursor: default;
  box-shadow: none;
}

.sg-blog-carousel {
  --sg-blog-gap: 1.25rem;
  --sg-blog-cols: 3;
  position: relative;
}
.sg-blog-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin: 0 -.15rem;
}
.sg-blog-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 3.2rem;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}
.sg-blog-fade--left {
  left: 0;
  background: linear-gradient(90deg, #fff 10%, rgba(255,255,255,0));
}
.sg-blog-fade--right {
  right: 0;
  background: linear-gradient(270deg, #fff 10%, rgba(255,255,255,0));
}
.sg-blog-carousel.is-overflow-left .sg-blog-fade--left,
.sg-blog-carousel.is-overflow-right .sg-blog-fade--right {
  opacity: 1;
}

.sg-blog-track {
  display: flex;
  gap: var(--sg-blog-gap);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: .35rem .15rem 1rem;
  outline: none;
}
.sg-blog-track::-webkit-scrollbar { display: none; height: 0; }

.sg-blog-card.sg-card,
.sg-blog-track > .sg-card {
  flex: 0 0 calc((100% - (var(--sg-blog-cols) - 1) * var(--sg-blog-gap)) / var(--sg-blog-cols));
  width: calc((100% - (var(--sg-blog-cols) - 1) * var(--sg-blog-gap)) / var(--sg-blog-cols));
  max-width: 100%;
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Legacy grid (archive pages) */
.sg-blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}

.sg-card {
  background: var(--sg-card); border-radius: 20px; overflow: hidden;
  border: 1px solid var(--sg-line); box-shadow: 0 10px 28px rgba(31,42,55,.05);
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}
.sg-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(62,181,240,.14); }
.sg-blog-card.is-active {
  box-shadow: 0 16px 40px rgba(255,107,181,.16), 0 10px 24px rgba(62,181,240,.1);
  border-color: rgba(255,107,181,.28);
}
.sg-card__media {
  display: block; aspect-ratio: 16/10; overflow: hidden; background: #eaf6fd;
  position: relative;
}
.sg-card__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  display: block; transition: transform .45s ease;
}
.sg-card:hover .sg-card__media img { transform: scale(1.05); }
.sg-card__placeholder {
  height: 100%; display: grid; place-items: center; font-size: 2.5rem;
  background: linear-gradient(135deg, rgba(255,107,181,.15), rgba(62,181,240,.18));
}
.sg-card__body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; gap: .45rem; flex: 1; }
.sg-card__body time { color: var(--sg-muted); font-size: .82rem; font-weight: 700; }
.sg-card__title { margin: 0; font-size: 1.12rem; line-height: 1.3; font-family: var(--sg-display); }
.sg-card__title a { color: var(--sg-ink); }
.sg-card__title a:hover { color: var(--sg-pink-dark); }
.sg-card__excerpt {
  margin: 0; color: var(--sg-muted); font-size: .95rem; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.sg-card__link { font-weight: 800; color: var(--sg-blue-dark); margin-top: .3rem; }

.sg-blog-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: .85rem 1rem;
  margin-top: .25rem;
  min-height: 1.5rem;
}
.sg-blog-footer[hidden] { display: none !important; }
.sg-blog-progress {
  height: 4px;
  border-radius: 999px;
  background: rgba(31,42,55,.08);
  overflow: hidden;
}
.sg-blog-progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff6bb5, #3eb5f0);
  transition: width .25s ease;
}
.sg-blog-dots {
  display: flex;
  gap: .4rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}
.sg-blog-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(31,42,55,.16);
  cursor: pointer;
  transition: width .2s ease, background .2s ease, transform .15s ease;
}
.sg-blog-dot.is-active {
  width: 26px;
  background: linear-gradient(90deg, #ff6bb5, #3eb5f0);
}
.sg-blog-dot:focus-visible {
  outline: 2px solid #3eb5f0;
  outline-offset: 2px;
}
.sg-blog-counter {
  margin: 0;
  font-size: .82rem;
  font-weight: 800;
  color: var(--sg-muted);
  letter-spacing: .04em;
  white-space: nowrap;
  min-width: 3.2rem;
  text-align: right;
}
.sg-empty { text-align: center; color: var(--sg-muted); }

/* Contacts */
.sg-contacts {
  background:
    radial-gradient(circle at 10% 80%, rgba(255,107,181,.1), transparent 30%),
    var(--sg-bg);
}
.sg-contacts__grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.4rem; align-items: stretch;
}
.sg-contacts__info {
  display: grid; grid-template-columns: 1fr 1fr; gap: .9rem;
}
.sg-info-card {
  background: #fff; border-radius: 18px; padding: 1.1rem 1.15rem;
  border: 1px solid var(--sg-line); box-shadow: 0 8px 24px rgba(31,42,55,.04);
}
.sg-info-card h3 {
  margin: 0 0 .35rem; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em;
  color: var(--sg-blue-dark);
}
.sg-info-card p { margin: 0; font-weight: 700; }
.sg-map-title { margin: 0 0 .7rem; font-size: 1rem; }
.sg-map-frame {
  border-radius: 20px; overflow: hidden; border: 1px solid var(--sg-line);
  box-shadow: var(--sg-shadow); background: #fff; min-height: 340px; height: 100%;
}
.sg-map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* Article */
.sg-article { background: #fff; padding-top: 2.5rem; padding-bottom: 3rem; }
.sg-article .sg-container--narrow {
  /* slightly wider for a large hero image + readable text */
  width: min(920px, calc(100% - 2rem));
}
.sg-back {
  display: inline-block; margin-bottom: 1.2rem; font-weight: 800; color: var(--sg-blue-dark);
}
.sg-article__header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 1.35rem;
}
.sg-article__header time {
  display: block; color: var(--sg-muted); font-weight: 700; margin-bottom: .5rem;
}
.sg-article__header h1 {
  font-family: var(--sg-display); font-size: clamp(1.8rem, 3vw, 2.55rem);
  margin: 0; line-height: 1.22;
}
/* Featured image: centered, large, never overflows */
.sg-article__thumb {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 1.85rem;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(31, 42, 55, .12);
  background: linear-gradient(145deg, #eef7fd, #fdf2f8);
  line-height: 0;
  text-align: center;
}
.sg-article__thumb img,
.sg-article__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(68vh, 620px);
  margin: 0 auto;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 0;
}
.sg-article__content.entry-content {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #314152;
  max-width: 42rem;
  margin: 0 auto;
}
.entry-content p { margin: 0 0 1.05rem; }
.entry-content h2,
.entry-content h3 {
  font-family: var(--sg-display);
  color: var(--sg-ink);
  line-height: 1.3;
  margin: 1.7rem 0 .7rem;
}
.entry-content h2 { font-size: 1.35rem; }
.entry-content h3 { font-size: 1.15rem; }
.entry-content ul,
.entry-content ol {
  margin: 0 0 1.15rem;
  padding-left: 1.25rem;
}
.entry-content li { margin: 0 0 .4rem; }
.entry-content img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 1.2rem auto;
}
.entry-content figure {
  margin: 1.2rem auto;
  max-width: 100%;
}
.entry-content a { color: var(--sg-blue-dark); font-weight: 700; word-break: break-word; }

/* Footer */
.sg-footer {
  background: #15202b; color: rgba(255,255,255,.82); padding: 2.4rem 0 1.8rem;
}
.sg-footer a { color: #9fd8f7; }
.sg-footer a:hover { color: #ffb3d8; }
.sg-footer__inner {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.5rem; align-items: start;
}
.sg-footer__logo {
  width: 140px; background: #fff; border-radius: 12px; padding: .4rem .55rem; margin-bottom: .7rem;
}
.sg-footer__brand p { margin: 0; max-width: 22rem; }
.sg-footer__meta p { margin: 0 0 .4rem; font-weight: 600; }
.sg-footer__social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 72px;
}
.sg-footer__copy { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.08); padding-top: 1rem; margin-top: .4rem; }
.sg-footer__copy p { margin: 0; font-size: .9rem; color: rgba(255,255,255,.55); }

/* Social icons (footer right column) */
.sg-social { width: 100%; }
.sg-social__label {
  margin: 0 0 .75rem;
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.62);
  text-align: right;
}
.sg-social__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: .7rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.sg-social__btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
  text-decoration: none !important;
}
.sg-social__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.22);
}
.sg-social__btn--facebook:hover,
.sg-social__btn--facebook:focus-visible {
  background: #1877f2;
  border-color: #1877f2;
}
.sg-social__btn--instagram:hover,
.sg-social__btn--instagram:focus-visible {
  background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af);
  border-color: transparent;
}
.sg-social__btn--tiktok:hover,
.sg-social__btn--tiktok:focus-visible {
  background: #000;
  border-color: #25f4ee;
  box-shadow: 2px 2px 0 #25f4ee, -2px -2px 0 #fe2c55, 0 10px 22px rgba(0,0,0,.22);
}
.sg-social__btn.is-empty {
  opacity: .42;
  cursor: default;
}
.sg-social__btn:focus-visible {
  outline: 2px solid #3eb5f0;
  outline-offset: 2px;
}
.sg-social__admin-hint {
  margin: .65rem 0 0;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
  text-align: right;
}

.sg-pagination { margin-top: 2rem; text-align: center; }

/* Responsive */
@media (max-width: 960px) {
  .sg-hero__content,
  .sg-about-slide,
  .sg-contacts__grid,
  .sg-blog-grid,
  .sg-calc__fields,
  .sg-footer__inner {
    grid-template-columns: 1fr;
  }
  .sg-footer__social { align-items: flex-start; }
  .sg-social__label,
  .sg-social__admin-hint { text-align: left; }
  .sg-social__list { justify-content: flex-start; }
  .sg-about-slide__media { min-height: 220px; order: -1; }
  .sg-about-slide__media img { max-height: 280px; }
  .sg-blog-grid { grid-template-columns: repeat(2, 1fr); }
  .sg-blog-carousel { --sg-blog-cols: 2; }
  .sg-blog__head { align-items: center; }
  .sg-blog__titles { text-align: left; }
  .sg-nav-toggle { display: inline-block; }
  .sg-nav {
    position: absolute; left: 0; right: 0; top: var(--sg-header);
    background: #fff; border-bottom: 1px solid var(--sg-line);
    display: none; padding: .75rem 1rem 1rem;
  }
  .sg-nav.is-open { display: block; }
  .sg-nav__list { flex-direction: column; align-items: stretch; gap: .15rem; }
  .sg-nav__list a { display: block; padding: .7rem .4rem; }
  .sg-header__inner { position: relative; flex-wrap: wrap; }
  .sg-lang { margin-left: 0; order: 3; }
}

@media (max-width: 640px) {
  .sg-blog-grid,
  .sg-about-slide__features,
  .sg-contacts__info { grid-template-columns: 1fr; }
  .sg-hero { padding: 3rem 0 2.5rem; }
  .sg-section { padding: 3.2rem 0; }
  .sg-logo__img, .sg-logo img, .custom-logo { height: 46px; }
  .sg-about-slide__title { margin-bottom: .75rem; }

  /* Mobile blog: one card + swipe */
  .sg-blog-carousel { --sg-blog-cols: 1; --sg-blog-gap: 1rem; }
  .sg-blog__head {
    flex-direction: column;
    align-items: stretch;
    gap: .85rem;
  }
  .sg-blog__titles { text-align: center; }
  .sg-blog__titles p { margin-left: auto; margin-right: auto; }
  .sg-blog-navs { justify-content: center; }
  .sg-blog-nav { width: 46px; height: 46px; }
  .sg-blog-track {
    padding: .5rem 0 1.1rem;
    scroll-padding-inline: 0;
  }
  .sg-blog-card.sg-card,
  .sg-blog-track > .sg-card {
    scroll-snap-align: center;
  }
  .sg-blog-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: .65rem;
  }
  .sg-blog-progress { width: min(100%, 16rem); }
  .sg-blog-counter { text-align: center; min-width: 0; }
  .sg-blog-fade { width: 1.4rem; }
}

/* After a real drag only — brief lock so the ghost-click does not open a post */
.sg-blog-carousel.is-dragging,
.sg-blog-carousel.is-dragging a {
  cursor: grabbing;
}
.sg-blog-carousel.is-dragging a {
  pointer-events: none;
}
.sg-blog-track {
  cursor: auto;
}


/* ========== Hero Book button (scroll-chase) ========== */
.sg-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  position: relative;
}
.sg-book-btn-slot {
  display: none;
}
.sg-book-btn-slot.is-active {
  display: inline-block;
  /* reserve space when button is fixed */
  width: var(--sg-book-w, 140px);
  height: var(--sg-book-h, 48px);
  visibility: hidden;
  pointer-events: none;
}
.sg-btn--book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.35rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: .95rem;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(135deg, #ff6bb5, #ff8ec7 40%, #3eb5f0);
  box-shadow: 0 12px 30px rgba(255, 107, 181, .28);
  transition: box-shadow .25s ease, filter .2s ease, transform .15s ease;
  will-change: left, top, transform;
  z-index: 90;
}
.sg-btn--book:hover {
  filter: brightness(1.04);
  box-shadow: 0 16px 36px rgba(255, 107, 181, .38);
  color: #fff;
}
.sg-btn--book:focus-visible {
  outline: 3px solid rgba(62,181,240,.45);
  outline-offset: 3px;
}
/* Floating dock: clear of scrollbar, higher, easy to notice */
.sg-btn--book.is-fixed {
  position: fixed;
  margin: 0;
  padding: 1rem 1.55rem;
  font-size: 1.02rem;
  letter-spacing: .02em;
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, .92),
    0 14px 36px rgba(255, 107, 181, .42),
    0 10px 28px rgba(62, 181, 240, .32);
  animation: sg-book-pulse 2.6s ease-in-out infinite;
}
@keyframes sg-book-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 3px rgba(255, 255, 255, .92),
      0 14px 36px rgba(255, 107, 181, .42),
      0 10px 28px rgba(62, 181, 240, .32);
  }
  50% {
    box-shadow:
      0 0 0 5px rgba(255, 255, 255, .98),
      0 18px 44px rgba(255, 107, 181, .52),
      0 12px 34px rgba(62, 181, 240, .4);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sg-btn--book.is-fixed { animation: none; }
}

/* keep modal styles if present below */

/* ========== Booking modal ========== */
body.sg-modal-open { overflow: hidden; }
.sg-modal[hidden] { display: none !important; }
.sg-modal {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity .22s ease;
}
.sg-modal.is-open { opacity: 1; pointer-events: auto; }
.sg-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(21, 32, 43, .55);
  backdrop-filter: blur(4px);
}
.sg-modal__dialog {
  position: relative;
  width: min(480px, 100%);
  max-height: min(92vh, 720px);
  overflow: auto;
  background: #fff;
  border-radius: 22px;
  padding: 1.4rem 1.35rem 1.5rem;
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
  transform: translateY(12px) scale(.98);
  transition: transform .25s ease;
}
.sg-modal.is-open .sg-modal__dialog { transform: none; }
.sg-modal__close {
  position: absolute; top: .65rem; right: .75rem;
  width: 2.2rem; height: 2.2rem; border: 0; border-radius: 999px;
  background: #f0f6fb; color: #1f2a37; font-size: 1.4rem; line-height: 1;
  cursor: pointer;
}
.sg-modal__close:hover { background: #ffe3f1; }
.sg-modal__dialog h2 {
  margin: 0 1.5rem .35rem 0;
  font-family: "Poppins", "Nunito", sans-serif;
  font-size: 1.45rem;
}
.sg-modal__lead { margin: 0 0 1.1rem; color: #5b6b7c; font-size: .95rem; }

.sg-book-form { display: flex; flex-direction: column; gap: .75rem; }

/* Step progress pips */
.sg-book-progress {
  list-style: none;
  margin: 0 0 .35rem;
  padding: 0;
  display: flex;
  gap: .4rem;
  align-items: center;
}
.sg-book-progress li {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: #e4eef5;
  transition: background .3s ease, transform .2s ease;
}
.sg-book-progress li.is-on {
  background: linear-gradient(90deg, #ff6bb5, #3eb5f0);
}
.sg-book-progress li.is-done {
  background: #3eb5f0;
}

/* Progressive steps: hidden → reveal */
.sg-book-step {
  display: none;
  opacity: 0;
  transform: translateY(10px);
}
.sg-book-step.is-open {
  display: block;
  opacity: 1;
  transform: none;
  animation: sg-book-step-in .32s ease both;
}
@keyframes sg-book-step-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.sg-book-field { display: flex; flex-direction: column; gap: .35rem; font-weight: 700; font-size: .9rem; }
.sg-book-field > span:first-child { color: #1f2a37; }
.sg-book-field input,
.sg-book-field select {
  border: 1.5px solid #d7e7f2;
  border-radius: 12px;
  padding: .75rem .9rem;
  font: inherit;
  font-weight: 600;
  color: #1f2a37;
  background: #fff;
}
.sg-book-field input:focus,
.sg-book-field select:focus {
  outline: none;
  border-color: #3eb5f0;
  box-shadow: 0 0 0 4px rgba(62,181,240,.14);
}
.sg-book-row { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.sg-book-hint {
  margin: .25rem 0 0;
  font-size: .82rem;
  font-weight: 600;
  color: #8a6a00;
}

/* Breed autocomplete */
.sg-breed-ac__wrap {
  position: relative;
}
.sg-breed-ac__input {
  width: 100%;
  padding-right: 2.4rem !important;
}
.sg-breed-ac__icon {
  position: absolute;
  right: .75rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: .95rem;
  opacity: .55;
  pointer-events: none;
}
.sg-breed-ac__list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 40;
  margin: 0;
  padding: .4rem;
  list-style: none;
  max-height: min(240px, 42vh);
  overflow-y: auto;
  background: #fff;
  border: 1.5px solid rgba(62,181,240,.35);
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(31,42,55,.16), 0 0 0 4px rgba(62,181,240,.08);
  animation: sg-breed-pop .18s ease;
}
@keyframes sg-breed-pop {
  from { opacity: 0; transform: translateY(-6px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.sg-breed-ac__item {
  display: flex;
  align-items: center;
  gap: .55rem;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: .65rem .75rem;
  font: inherit;
  font-weight: 700;
  color: #1f2a37;
  cursor: pointer;
}
.sg-breed-ac__item:hover,
.sg-breed-ac__item.is-active {
  background: linear-gradient(135deg, rgba(255,107,181,.12), rgba(62,181,240,.14));
}
.sg-breed-ac__item.is-special {
  background: linear-gradient(135deg, rgba(255,107,181,.1), rgba(62,181,240,.08));
  border: 1px dashed rgba(255,107,181,.35);
  margin-bottom: .25rem;
}
.sg-breed-ac__item mark {
  background: rgba(62,181,240,.25);
  color: inherit;
  border-radius: 3px;
  padding: 0 .1em;
  font-weight: 800;
}
.sg-breed-ac__badge {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #ff6bb5, #3eb5f0);
  border-radius: 999px;
  padding: .15rem .45rem;
  flex-shrink: 0;
}
.sg-breed-ac__empty {
  padding: .75rem;
  font-size: .88rem;
  font-weight: 600;
  color: #5b6b7c;
  text-align: center;
}
.sg-breed-ac__hint {
  margin: .4rem 0 0;
  font-size: .82rem;
  font-weight: 600;
  color: #3a5163;
  line-height: 1.4;
  padding: .55rem .7rem;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(255,107,181,.08), rgba(62,181,240,.1));
  border: 1px solid rgba(62,181,240,.15);
}
.sg-breed-ac__hint strong {
  color: #ff4f9a;
  font-weight: 800;
}
/* Native select: secondary for dogs (synced), primary for other animals */
.sg-breed-ac.is-dog-mode .sg-breed-ac__select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.sg-breed-ac:not(.is-dog-mode) .sg-breed-ac__hint {
  display: none;
}
.sg-breed-ac:not(.is-dog-mode) .sg-breed-ac__icon {
  display: none;
}
.sg-breed-ac:not(.is-dog-mode) .sg-breed-ac__input {
  margin-bottom: .45rem;
}
.sg-breed-ac:not(.is-dog-mode) .sg-breed-ac__list {
  display: none !important;
}
.sg-service-list {
  max-height: 180px;
  overflow-y: auto;
  border: 1.5px solid #d7e7f2;
  border-radius: 12px;
  padding: .35rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
  background: #f9fcff;
}
.sg-service-item {
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: .65rem .75rem;
  font: inherit;
  font-weight: 700;
  color: #1f2a37;
  cursor: pointer;
}
.sg-service-item:hover { background: rgba(62,181,240,.1); }
.sg-service-item.is-selected {
  background: linear-gradient(135deg, rgba(255,107,181,.16), rgba(62,181,240,.16));
  box-shadow: inset 0 0 0 1.5px rgba(62,181,240,.35);
}
.sg-service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.sg-service-item__name { flex: 1; text-align: left; }
.sg-service-item__price {
  flex-shrink: 0;
  font-size: .82rem;
  font-weight: 800;
  color: #0d6e9c;
  background: rgba(62,181,240,.12);
  border-radius: 999px;
  padding: .2rem .55rem;
  white-space: nowrap;
}
.sg-book-submit {
  width: 100%;
  margin-top: .15rem;
  border: 0;
  cursor: pointer;
  transition: opacity .2s ease, filter .2s ease;
}
.sg-book-submit:disabled {
  opacity: .45;
  cursor: not-allowed;
  filter: grayscale(.15);
}
.sg-book-status { margin: 0 0 .5rem; font-weight: 700; font-size: .9rem; }
.sg-book-status.is-error { color: #c62828; }
.sg-book-status.is-success { color: #2e7d32; }

@media (max-width: 480px) {
  .sg-book-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .sg-book-step { transition: none; }
}

.sg-calc__comment {
  margin: 0.85rem 0 0;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(62,181,240,0.25);
  color: #314152;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.45;
  width: 100%;
}
.sg-calc__comment[hidden] { display: none !important; }

/* SEO service area + FAQ */
.sg-seo-area{background:#f7fbfd}
.sg-seo-area__grid{display:grid;gap:1.25rem;grid-template-columns:1fr}
@media(min-width:768px){.sg-seo-area__grid{grid-template-columns:repeat(3,1fr)}}
.sg-seo-area__card{background:#fff;border-radius:16px;padding:1.25rem 1.4rem;box-shadow:0 8px 24px rgba(15,40,60,.06);border:1px solid rgba(62,181,240,.12)}
.sg-seo-area__card h3{margin:0 0 .6rem;font-size:1.1rem;color:#0f2a3d}
.sg-seo-area__card p{margin:0;line-height:1.55;color:#3a5163;font-size:.95rem}
.sg-seo-faq{margin-top:2.5rem}
.sg-seo-faq h2{margin:0 0 1rem}
.sg-seo-faq__item{background:#fff;border:1px solid rgba(62,181,240,.15);border-radius:12px;padding:.85rem 1.1rem;margin-bottom:.65rem}
.sg-seo-faq__item summary{cursor:pointer;font-weight:700;color:#0f2a3d}
.sg-seo-faq__item p{margin:.65rem 0 0;color:#3a5163;line-height:1.55}
