/* ═══════════════════════════════════════════
   Hero Service — shared big hero for service pages
   (fotomaton, niebla-baja, etc.)
═══════════════════════════════════════════ */

/* ── Momentos slider — desktop: full-width ── */
@media (min-width: 768px) {
  .momentos-slider .slider--hero {
    width: 100%;
    max-width: 100%;
    padding: 0 48px;
  }
  .momentos-slider .slider--hero .slide {
    flex: 0 0 calc(25% - 12px);
    cursor: pointer;
  }

  .momentos-slider .slider--hero .slider-track:hover .slide.is-active {
    opacity: .7;
    transform: scale(.94);
  }

  .momentos-slider .slider--hero .slide:hover {
    opacity: 1;
    transform: scale(1);
  }

  .momentos-slider .slider--hero .slider-track:hover .slide.is-active:hover {
    opacity: 1;
    transform: scale(1);
  }
}

/* ── Clip wrapper — ріже дим який виходить за viewport ── */
.hero-svc-clip {
  overflow: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--card);
}

/* ── Outer section ── */
.hero-svc {
  background: var(--card);
  display: flex;
  flex-direction: column;
  align-items: center;
  /* overflow: visible (default) — потрібно щоб тіні фото не обрізалися */
}

/* ── Text block ── */
.hero-svc__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 30px 24px;
  position: relative;
  z-index: 4;
}

/* Badge */
.hero-svc__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.hero-svc__badges .hero-svc__badge {
  margin-bottom: 0;
}
.hero-svc__badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #6B6B6B;
  background: rgba(0, 0, 0, .06);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
/* Clickable badge variant — used when a badge has an href (e.g. Reseñas
   pill in the fotomaton hero linking to /resenas/). Subtle teal accent
   so users register it as interactive without breaking the badge row's
   visual rhythm. */
a.hero-svc__badge--link {
  text-decoration: none;
  color: var(--teal);
  background: rgba(81, 171, 178, .12);
  transition: background .18s ease, color .18s ease;
}
a.hero-svc__badge--link:hover {
  background: rgba(81, 171, 178, .22);
  color: #2f7a80;
}

/* Title */
.hero-svc__title {
  font-size: 36px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--text);
  margin: 0 0 10px;
}
/* Mobile: "Tu baile / entre nubes" — hide only first <br> */
.hero-svc__title br:first-of-type { display: none; }

/* Subtitle */
.hero-svc__sub {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 290px;
  margin: 0 0 22px;
}

/* Mobile/desktop subtitle variants */
.hero-svc__sub--full  { display: none; }
.hero-svc__sub--short { display: block; }

/* Buttons wrapper */
.hero-svc__buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Stacked layout — full-width, one under another */
.hero-svc__buttons.hero-svc__buttons--stacked {
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

/* CTA button — shared base */
.hero-svc__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  position: relative;
  transition: transform .2s ease;
  text-decoration: none;
}

/* Stacked: full-width buttons */
.hero-svc__buttons--stacked .hero-svc__cta {
  width: 100%;
}

/* Legacy: fixed width */
.hero-svc__buttons:not(.hero-svc__buttons--stacked) .hero-svc__cta {
  width: 210px;
}

/* Primary CTA — teal filled */
.hero-svc__cta--primary {
  background: var(--teal);
  color: #fff;
  box-shadow: none;
}

/* WhatsApp CTA — outlined brown */
.hero-svc__cta--wa {
  background: transparent;
  color: #8B6755;
  border: 2px solid #8B6755;
  font-weight: 400;
}
.hero-svc__cta--wa svg {
  display: none;
}
.hero-svc__cta--wa svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Laser border animation — shared class .laser-border in main.css
   @property, @keyframes, and ::before are defined there.
   .hero-svc__cta--primary gets .laser-border class in HTML */

.hero-svc__cta:hover {
  transform: scale(1.04);
}

.hero-svc__cta:active {
  opacity: .8;
  transform: scale(.98);
}

/* Legacy WA button (kept for pages not yet migrated to stacked) */
.hero-svc__wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--wa);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: opacity .2s, transform .2s ease;
}
.hero-svc__wa-label { display: none; }
.hero-svc__wa:hover { transform: scale(1.04); }
.hero-svc__wa:active { opacity: .8; transform: scale(.98); }
.hero-svc__wa svg { flex-shrink: 0; }

/* ── Mobile hero image (PNG з прозорим фоном і вбудованою тінню) ── */
.hero-svc__img-mobile {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
  pointer-events: none;
  /* без додаткової тіні — тінь вже є в самому файлі */
}
.hero-svc--chispas-frias { overflow: hidden; max-width: 100vw; }
.hero-svc--chispas-frias .hero-svc__img-mobile {
  margin-top: -30px;
  max-width: none;
  width: 148%;
  margin-left: calc(-28% + 90px);
}
.hero-svc--chispas-frias .hero-svc__img-desktop {
  margin-top: -30px;
}
.hero-svc--efecto-laser { overflow: hidden; max-width: 100vw; }
.hero-svc--efecto-laser .hero-svc__img-mobile {
  max-width: none;
  width: 170%;
  margin-left: calc(-35% + 90px);
}
.hero-svc--efecto-laser .hero-svc__img-desktop {
  transform: scale(1.25);
  transform-origin: center center;
}

/* ── Desktop hero image — прихована на мобайлі ── */
.hero-svc__img-desktop {
  display: none;
}

/* ═══════════════════════════════════════════
   Parallax hero scene (niebla-baja etc.)
   Шари: main (пара) + fog-left / fog-right
   Язики диму плавно «дихають» — сходяться/розходяться
═══════════════════════════════════════════ */
@keyframes couple-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-6px) scale(1.008); }
}

@keyframes fog-breathe-left {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(6%); }
}
@keyframes fog-breathe-right {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(-6%); }
}

.hero-svc__scene {
  position: relative;
  width: 100%;
  max-width: 340px;
  align-self: center;
  pointer-events: none;
}

.hero-svc__scene-main {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}

/* Gentle dance sway — only for niebla-baja hero */
.hero-svc--niebla-baja .hero-svc__scene-main {
  animation: hero-sway 4s ease-in-out infinite;
}
@keyframes hero-sway {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(12px); }
}

.hero-svc__fog {
  position: absolute;
  bottom: 6%;
  width: 700%;
  height: auto;
  z-index: 3;
  opacity: .95;
  will-change: transform;
}

.hero-svc__fog--left {
  right: 20%;
  left: auto;
  z-index: 1;
  animation: fog-breathe-left 6s ease-in-out infinite;
}

.hero-svc__fog--right {
  left: -30%;
  right: auto;
  width: 350%;
  animation: fog-breathe-right 6s ease-in-out infinite;
}

/* ═══════════════════════════════════════════
   Layered parallax scene (humo-aereo etc.)
   Layers: scene-bg (smoke) behind + scene-main (couple) in front
═══════════════════════════════════════════ */
/* smoke-burst: JS-driven via .smoke-active class
   Collapsed = default, Active = full smoke, controlled by scroll */

.hero-svc__scene--layered {
  position: relative;
  width: 100%;
  max-width: 380px;
  align-self: center;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Mountains background — full viewport width, inside clip wrapper */
.hero-svc-clip--mountains {
  position: relative;
}
.hero-svc__mountains {
  display: block;
  position: absolute;
  left: -10%;
  bottom: 0;
  width: 120%;
  z-index: 0;
  pointer-events: none;
}
.hero-svc__mountains img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-svc--layered {
  position: relative;
  z-index: 1;
  background: transparent;
}
.hero-svc-clip--mountains {
  background: var(--bg);
}
.hero-svc--layered .hero-svc__text {
  position: relative;
  z-index: 2;
}
.hero-svc--layered .hero-svc__scene--layered {
  position: relative;
  z-index: 1;
}

.hero-svc__scene-bg {
  display: block;
  width: 110%;
  height: auto;
  position: relative;
  z-index: 1;
  margin-bottom: -35%;
  margin-top: 35px;
  transform-origin: center bottom;
  /* transform, opacity set by JS scroll watcher */
  will-change: transform, opacity;
}
.hero-svc__scene-bg img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-svc__scene--layered .hero-svc__scene-main {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  z-index: 2;
}
.hero-svc__scene--layered .hero-svc__scene-main img {
  display: block;
  width: 100%;
  height: auto;
}

/* ═══════════════════════════════════════════
   Desktop — split layout (text left / photos right)
═══════════════════════════════════════════ */
@media (min-width: 768px) {

  .hero-svc {
    flex-direction: row;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 480px;        /* фіксована висота — не розтягується на весь екран */
    padding: 0 48px;
    gap: 40px;
  }

  /* Text — left column */
  .hero-svc__text {
    flex: 1;
    align-items: flex-start;
    text-align: left;
    padding: 48px 0;
  }

  .hero-svc__buttons {
    flex-direction: row;
    align-items: center;
  }

  /* Desktop stacked: keep column, align left */
  .hero-svc__buttons.hero-svc__buttons--stacked {
    flex-direction: column;
    align-items: flex-start;
    max-width: 300px;
    margin: 0;
  }

  /* Desktop: legacy WA button becomes pill with text */
  .hero-svc__wa {
    width: 210px;
    height: 46px;
  }
  .hero-svc__wa-label {
    display: inline;
  }

  .hero-svc__title {
    font-size: 52px;
  }
  /* Desktop: "Tu baile / entre nubes" — 2 lines too */

  .hero-svc__sub {
    font-size: 17px;
    max-width: 420px;
  }

  .hero-svc__sub--full  { display: block; }
  .hero-svc__sub--short { display: none; }

  /* Mobile image — на десктопі прихований */
  .hero-svc__img-mobile {
    display: none;
  }

  /* Desktop composition image — заповнює простір */
  .hero-svc__img-desktop {
    display: block;
    height: 400px;
    width: auto;
    flex-shrink: 0;
    align-self: center;
    pointer-events: none;
  }

  /* Parallax scene — desktop: match fotomaton hero proportions */
  .hero-svc__scene {
    max-width: none;
    width: auto;
    max-height: 480px;
    flex-shrink: 0;
    align-self: center;
  }

  .hero-svc__scene-main {
    height: 480px;
    width: auto;
    max-width: none;
  }

  /* Layered scene — desktop: right column, lifted up */
  .hero-svc--layered {
    min-height: 560px;
    padding-bottom: 60px;
  }
  .hero-svc__scene--layered {
    max-width: none;
    width: 520px;
    flex-shrink: 0;
    align-self: flex-end;
    transform: translateY(-55px);
  }

  .hero-svc__scene--layered .hero-svc__scene-bg {
    margin-top: 70px;
    width: 105%;
    margin-left: calc(-15% + 40px);
  }

  .hero-svc__scene--layered .hero-svc__scene-main {
    height: auto;
    width: 100%;
    transform: translate(-30px, 45px);
  }
}

/* ═══════════════════════════════════════════
   Service intro — short text block about the service
═══════════════════════════════════════════ */
.svc-intro {
  text-align: center;
  background: #fff;
  margin-left: calc(-1 * var(--pad));
  margin-right: calc(-1 * var(--pad));
  width: calc(100% + 2 * var(--pad));
  max-width: none;
  padding: 32px 28px 36px;
}
.vg-block + .svc-intro,
.svc-intro + .svc-intro,
.svc-intro + .vg-block {
  margin-top: calc(-1 * var(--gap));
}

.svc-intro__sub {
  display: block;
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
  letter-spacing: .02em;
  margin-bottom: 6px;
}

.svc-intro__title {
  font-size: clamp(41px, 10.5vw, 56px);
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--text);
}

.svc-intro__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  margin-top: 44px;
}
.svc-intro__gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 44px;
}
.svc-intro__gallery .svc-intro__img {
  margin-top: 0;
}
.svc-intro__video {
  position: relative;
  margin-top: 44px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}
.svc-intro__video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 480 / 854;   /* lock size while poster→video loads (prevents layout shift) */
  object-fit: cover;
  border-radius: var(--radius);
}
.svc-intro__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
}
.svc-intro__video.is-playing .svc-intro__play {
  opacity: 0;
  pointer-events: none;
}
.svc-intro__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 300px;
  margin: 47px auto 0;
  height: 52px;
  border-radius: 999px;
  background: transparent;
  color: #8B6755;
  border: 2px solid #8B6755;
  font-size: 16px;
  font-weight: 400;
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity .2s;
}
.svc-intro__btn {
  position: relative;
  overflow: hidden;
}
.svc-intro__btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.4), transparent);
  transition: none;
}
.svc-intro__btn:active {
  transform: scale(1.03);
}
.svc-intro__btn:active::after {
  animation: btn-shine .5s ease-out;
}
@keyframes btn-shine {
  from { left: -100%; }
  to { left: 150%; }
}

.svc-intro__text {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
  margin: 0;
  text-align: justify;
}

.svc-intro__hidden {
  display: none;
}
.svc-intro__text.is-open .svc-intro__hidden {
  display: inline;
}

.svc-intro__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--bg-alt);
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 18px;
  margin: 12px auto 0;
  width: fit-content;
  transition: background .2s, border-color .2s;
}
.svc-intro__toggle:hover {
  background: #eee;
  border-color: #ccc;
}
.svc-intro__toggle::after {
  content: '▾';
  font-size: 12px;
  transition: transform .2s;
}
.svc-intro__text.is-open .svc-intro__toggle::after {
  transform: rotate(180deg);
}

/* Split variant — description & bullets */
.svc-intro__desc {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}
.svc-intro__bullets {
  list-style: disc;
  padding-left: 20px;
  margin: 24px 0 0;
}
.svc-intro__bullet {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 16px;
}
.svc-intro__bullet strong {
  color: var(--text);
  display: block;
  margin-bottom: 2px;
}
.svc-intro--split .svc-intro__video {
  margin-top: 24px;
}
.svc-intro--split .svc-intro__btn {
  margin-top: 28px;
}

/* Hide blocks on mobile */
@media (max-width: 767px) {
  #tileGrid,
  .hp-includes,
  #review_videos,
  #google_reviews {
    display: none;
  }
  #faq + #otherServices {
    margin-top: calc(-1 * var(--gap));
  }
  #otherServices {
    margin-bottom: calc(-1 * var(--gap));
  }
}

/* Photo gallery — wide slides + styled heading */
.photo-samples {
  background: #fff;
  margin-left: calc(-1 * var(--pad));
  margin-right: calc(-1 * var(--pad));
  width: calc(100% + 2 * var(--pad));
  max-width: none;
  padding: 32px 0 36px;
}
.photo-samples .vg-head {
  padding: 0 28px;
}
.photo-samples .slider {
  padding: 0 25px;
}
.photo-samples .slide {
  flex: 0 0 calc(100vw - 50px);
  min-width: calc(100vw - 50px);
}
.photo-samples .slide img,
.photo-samples .slide video {
  border-radius: var(--radius);
  width: 100%;
  height: auto;
}

@media (min-width: 768px) {
  .svc-intro {
    margin-top: 36px;
  }
  .svc-intro__title {
    font-size: 56px;
    letter-spacing: 1.4px;
  }
  /* Desktop: gallery images in a row, full width */
  .svc-intro:not(.svc-intro--3col) {
    display: flex;
    flex-direction: column;
  }
  .svc-intro__gallery {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 0 40px;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .svc-intro__gallery .svc-intro__img {
    flex: 0 0 auto;
    max-height: 140px;
    width: auto;
  }
  .svc-intro:not(.svc-intro--3col) .svc-intro__text-desktop {
    order: 1;
  }
  .svc-intro:not(.svc-intro--3col) .svc-intro__btn {
    order: 2;
  }
  .svc-intro--3col,
  .svc-intro--split,
  .svc-intro:not(.svc-intro--3col):not(.svc-intro--split) {
    margin-top: 60px;
    margin-bottom: 70px;
  }
  .svc-intro + .svc-intro.svc-intro {
    margin-top: 0;
    padding-top: 0;
  }
  .svc-intro.svc-intro:has(+ .svc-intro) {
    padding-bottom: 0;
    margin-bottom: calc(100px - var(--gap));
  }

  /* Desktop: svc-intro split layout (text | media | bullets) */
  .svc-intro--split {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    overflow: visible;
  }
  .svc-intro--split .svc-intro__desktop-layout {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 36px;
    max-width: none;
    margin: 0;
    padding: 0 40px;
    box-sizing: border-box;
  }
  .svc-intro--split .svc-intro__side--left {
    flex: 1 1 30%;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
    padding: 0 24px;
    box-sizing: border-box;
  }
  .svc-intro--split .svc-intro__side--left .svc-intro__sub {
    text-align: left;
  }
  .svc-intro--split .svc-intro__side--left .svc-intro__title {
    text-align: left;
  }
  .svc-intro--split .svc-intro__side--left .svc-intro__desc {
    text-align: left;
    margin-top: 16px;
  }
  .svc-intro--split .svc-intro__side--left .svc-intro__btn {
    margin: 36px 0 0;
    width: fit-content;
    max-width: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 32px;
  }
  .svc-intro--split .svc-intro__center {
    flex: 0 0 auto;
    width: clamp(220px, 28vw, 380px);
    text-align: center;
    display: flex;
    justify-content: center;
  }
  .svc-intro--split .svc-intro__center .svc-intro__video {
    margin-top: 0;
    border-radius: var(--radius);
    overflow: hidden;
    width: 100%;
  }
  .svc-intro--split .svc-intro__center .svc-intro__video video {
    width: 100%;
    height: auto;
    transition: transform .4s ease;
  }
  .svc-intro--split .svc-intro__center .svc-intro__video:hover video {
    transform: scale(1.03);
  }
  .svc-intro--split .svc-intro__side--right {
    flex: 1 1 30%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: visible;
    padding: 0 24px;
    box-sizing: border-box;
  }
  .svc-intro--split .svc-intro__side--right .svc-intro__bullets {
    margin: 0;
    text-align: left;
  }
  .svc-intro--split .svc-intro__side--right .svc-intro__bullet {
    font-size: 15px;
  }
}
/* Split layout: force mobile below 1024px */
@media (min-width: 768px) and (max-width: 1023px) {
  .svc-intro--split .svc-intro__desktop-layout { display: none !important; }
  .svc-intro--split .svc-intro__mobile-layout  { display: block !important; }
}
@media (min-width: 768px) {
  /* Desktop: svc-intro 3-column layout */
  .svc-intro--3col {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    overflow: visible;
  }
  .svc-intro__desktop-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
  }
  .svc-intro__side {
    flex: 0 0 30%;
    overflow: hidden;
  }
  .svc-intro__side img {
    width: 81%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
  }
  .svc-intro__side {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .svc-intro__center {
    flex: 0 0 40%;
    text-align: center;
  }
  .svc-intro__center {
    padding-top: 0;
  }
  .svc-intro__center .svc-intro__img--top {
    margin: 20px auto 20px;
    max-width: 80%;
    display: block;
  }
  .svc-intro__center .svc-intro__sub {
    margin-top: 12px;
  }
  .svc-intro__side--left,
  .svc-intro__side--right {
    display: block;
  }
  .svc-intro__text-desktop {
    display: block;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    margin-top: 20px;
    text-align: center;
  }
  .svc-intro__text {
    font-size: 17px;
  }
  .svc-intro__toggle {
    font-size: 16px;
  }

  /* Desktop: momentos-slider під hero з білим фоном, перший в main */
  .container {
    display: flex;
    flex-direction: column;
    overflow-x: visible;
    max-width: 1200px;
  }
  .momentos-slider {
    order: -10;
    background: var(--card);
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    padding: 20px 0 40px;
    flex-shrink: 0;
  }

  /* Desktop: Su Gran Día — 3-column layout (mobile: side cols hidden) */
  .gd-col--left,
  .gd-col--right {
    display: block;
  }
  .gd-desktop-layout {
    display: flex;
    align-items: center;
    gap: 40px;
  }
  .gd-col--left,
  .gd-col--right {
    flex: 0 0 30%;
  }
  .gd-col--center {
    flex: 0 0 40%;
    text-align: center;
  }
  .gd-col .gd-photo {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin-top: 0;
  }
  .gd-col--left .gd-photo,
  .gd-col--right .gd-photo {
    display: block;
  }
  /* Desktop: hide mobile bottom photo */
  .gd-block > .gd-photo {
    display: none;
  }
  .gd-col--center .gd-list {
    text-align: left;
    display: flex;
    flex-direction: column !important;
    gap: 24px;
  }
}

/* Mobile: hide side columns, desktop-only text, and desktop layout */
.gd-col--left,
.gd-col--right,
.svc-intro__side,
.svc-intro__text-desktop,
.svc-intro__desktop-layout {
  display: none;
}
.svc-intro__mobile-layout {
  display: block;
}
@media (min-width: 768px) {
  .gd-col--left,
  .gd-col--right,
  .svc-intro__side,
  .svc-intro__text-desktop,
  .svc-intro__desktop-layout {
    display: block;
  }
  .svc-intro__desktop-layout {
    display: flex;
  }
  .svc-intro__mobile-layout {
    display: none;
  }

  /* Desktop: video/photo sliders — multiple slides, full width */
  .vg-block {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
  }
  .vg-block .slider {
    max-width: 100%;
    padding: 0 48px;
  }
  .vg-block .slider--hero .slide.vg-slide,
  .photo-samples .slider--hero .slide {
    flex: 0 0 calc(25% - 9px) !important;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border-radius: var(--radius);
    opacity: 1 !important;
    transform: scale(1) !important;
  }
  .photo-samples .slider--hero .slide {
    min-width: 0 !important;
  }
  .photo-samples .slider--hero .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .vg-block .slider .slide img,
  .vg-block .slider .slide video {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
  }
}

/* ═══════════════════════════════════════════
   Float — міні-панель з лівого краю екрану.
   Працює на всіх розмірах.
   Прихована за замовчуванням, з'являється коли
   кнопка Presupuesto в Hero зникає з екрану.
═══════════════════════════════════════════ */
.hero-fotomat-float {
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: fixed;
  left: 0;
  top: 50%;
  z-index: 999;
  transform: translateX(calc(-100% - 16px)) translateY(-50%);
  transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}

.hero-fotomat-float.hf-visible {
  transform: translateX(0) translateY(-50%);
}

.hero-fotomat-float.hf-visible.hf-peek {
  transform: translateX(calc(-100% + 10px)) translateY(-50%);
  transition: transform .3s ease;
}

.hero-fotomat-float__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  height: 38px;
  width: 38px;
  padding: 0;
  font-size: 0;
  font-weight: 600;
  font-family: inherit;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 0 19px 19px 0;
  box-shadow: 2px 3px 14px rgba(0, 0, 0, .16);
  -webkit-tap-highlight-color: transparent;
  transition: opacity .2s, transform .15s;
}

.hero-fotomat-float__btn:active {
  opacity: .75;
  transform: scale(.95);
}

.hero-fotomat-float__btn--budget {
  background: rgba(255, 255, 255, .96);
  color: var(--blue);
  backdrop-filter: blur(8px);
}

.hero-fotomat-float__btn--wa {
  background: var(--wa);
  color: #fff;
}

.hero-fotomat-float__btn svg {
  flex-shrink: 0;
}

.hero-fotomat-float__euro {
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.hero-fotomat-float__label {
  font-size: 0;
}

/* ── Desktop: bigger buttons with text ── */
@media (min-width: 768px) {
  .hero-fotomat-float { gap: 6px; }

  .hero-fotomat-float__btn {
    width: auto;
    height: 42px;
    padding: 0 16px 0 12px;
    gap: 7px;
    font-size: 13px;
    border-radius: 0 22px 22px 0;
    box-shadow: 3px 4px 18px rgba(0, 0, 0, .14);
    overflow: hidden;
    transition: opacity .2s, transform .15s, width .3s ease, padding .3s ease;
  }

  .hero-fotomat-float__label {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    transition: opacity .15s ease, width .2s ease;
  }

  .hero-fotomat-float__btn:hover {
    opacity: .88;
    transform: translateX(3px);
  }

  .hero-fotomat-float.hf-visible.hf-peek {
    transform: translateX(0) translateY(-50%);
  }
  .hero-fotomat-float.hf-peek .hero-fotomat-float__btn {
    width: 42px;
    padding: 0 0 0 12px;
    justify-content: flex-start;
  }
  .hero-fotomat-float.hf-peek .hero-fotomat-float__label {
    opacity: 0;
    width: 0;
  }
}

/* ── FAB burger menu (no-topbar pages) ── */
.fab-menu {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top, 0px));
  left: 14px;
  z-index: 950;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity .4s, transform .3s;
}
.fab-menu.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.fab-menu.is-visible.is-faded {
  opacity: 0.3;
}
@media (min-width: 768px) {
  .fab-menu { top: calc(40px + env(safe-area-inset-top, 0px)); left: 28px; }
}

/* Trigger button (burger) — teal on all viewports */
.fab-menu__trigger {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--teal);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(81,171,178,.35);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  transition: transform .2s;
}
.fab-menu__trigger:active { transform: scale(.92); }
.fab-menu__trigger svg { width: 20px; height: 20px; }
.fab-menu__trigger svg line { stroke: #fff; transition: transform .25s, opacity .15s; }

@media (min-width: 768px) {
  .fab-menu__trigger {
    width: 66px;
    height: 66px;
  }
  .fab-menu__trigger svg { width: 30px; height: 30px; }
}

/* X icon when open */
.fab-menu.is-open .fab-menu__trigger svg line:nth-child(1) {
  transform: rotate(45deg);
  transform-origin: center;
  transition: transform .25s;
}
.fab-menu.is-open .fab-menu__trigger svg line:nth-child(2) {
  opacity: 0;
  transition: opacity .15s;
}
.fab-menu.is-open .fab-menu__trigger svg line:nth-child(3) {
  transform: rotate(-45deg);
  transform-origin: center;
  transition: transform .25s;
}
.fab-menu__trigger svg line {
  transition: transform .25s, opacity .15s;
}

/* Items container */
.fab-menu__items {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Individual item buttons */
.fab-menu__item {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(0,0,0,.10);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  -webkit-tap-highlight-color: transparent;
  opacity: 0;
  transform: scale(0) translateY(-10px);
  transition: opacity .2s, transform .25s;
  position: relative;
}
.fab-menu__item svg { width: 18px; height: 18px; }
.fab-menu__item:active { transform: scale(.88) !important; }

/* WA item green */
.fab-menu__item--wa { background: var(--wa); color: #fff; }
/* Cart badge */
.fab-menu__item--cart .site-cartdot {
  position: absolute;
  top: 2px;
  right: 2px;
}

/* Staggered expand animation */
.fab-menu.is-open .fab-menu__item {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.fab-menu.is-open .fab-menu__item:nth-child(1) { transition-delay: .05s; }
.fab-menu.is-open .fab-menu__item:nth-child(2) { transition-delay: .1s; }
.fab-menu.is-open .fab-menu__item:nth-child(3) { transition-delay: .15s; }
.fab-menu.is-open .fab-menu__item:nth-child(4) { transition-delay: .2s; }

/* No-topbar: remove top padding that was reserved for topbar */
.site-no-topbar .hero-svc {
  padding-top: 0;
}
.site-no-topbar .hero-svc__text {
  padding-top: 26px;
}
