/* La Dolce Vita page styles — cloned from portfolio-volodymyr-anna for separate tweaks */
.oa-page {
    background:#F8F3ED;
    color: #31302e;
}

/* Allow independent tuning of close icon on mobile sticky plaque (burger untouched) */
@media (max-width: 739px) {
  .mobile-menu-close.with-sticky-panel {
    top: -2px !important;
    left: 3px !important;
  }
}
/* Sticky top CTA (copied from portfolio) */
.pf-sticky-cta {
  position: fixed;
  top: 0;
  left: 12px;
  right: 12px;
  transform: translateY(-120%);
  width: auto;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.88);
  border: none;
  border-bottom: 1px solid #e6ddd2;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s ease, opacity 0.32s ease;
}
.pf-sticky-cta.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.pf-sticky-cta-inner {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 6px 30px;
  box-sizing: border-box;
}
.pf-sticky-cta-text {
  margin: 0;
  font-family: 'Cormorant', serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  color: #31302e;
}
.pf-sticky-cta-btn {
  flex: 0 0 auto;
  min-width: 210px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  background: #ECE3D8;
  color: #31302e;
  text-decoration: none;
  text-transform: uppercase;
  font-family: 'Nunito Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.24em;
  white-space: nowrap;
}
/* Mobile: match portfolio exactly */
@media (max-width: 739px) {
    .oa-columns-last4 .oa-col-wide .oa-right-pair {
        display: grid !important;
        row-gap: 24px !important;
    }
  .pf-sticky-cta {
      top: 0;
      left: 0;
      right: 0;
      width: 100%;
      max-width: none;
      height: 56px;
  }
  .pf-sticky-cta-inner {
      min-height: 56px;
      padding: 0 16px 0 96px;
      gap: 16px;
      justify-content: flex-end;
  }
  .pf-sticky-cta-text { display: none; }
  .pf-sticky-cta-btn {
      width: auto;
      min-width: 0;
      max-width: max-content;
      margin-left: auto;
  }
}



/* FINAL FIX: independent column stacking on mobile (legacy cases; not ldv-last4-figma) */
@media (max-width: 739px) {
  .oa-columns-last4:not(.ldv-last4-figma) {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    column-gap: 24px !important;
    row-gap: 0 !important;
    align-items: start !important;
  }
  .oa-columns-last4:not(.ldv-last4-figma) .oa-col,
  .oa-columns-last4:not(.ldv-last4-figma) .oa-col-wide {
    display: grid !important;
  }
  .oa-columns-last4:not(.ldv-last4-figma) .oa-col { row-gap: 24px !important; }
  .oa-columns-last4:not(.ldv-last4-figma) .oa-col-wide { row-gap: 24px !important; }
  .oa-columns-last4:not(.ldv-last4-figma) img {
    grid-column: auto !important;
    grid-row: auto !important;
    margin: 0 !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }
  .oa-columns-last4:not(.ldv-last4-figma) .oa-col-wide .oa-right-pair { row-gap: 24px !important; }
}

/* Full-width last two photos (16,17) below columns */
.oa-columns-last4 .oa-col-full {
  grid-column: 1 / -1;
  display: grid;
  row-gap: 8px;
}
.oa-columns-last4 .oa-col-full img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
@media (max-width: 739px) {
  .oa-columns-last4 .oa-col-full {
    grid-column: 1 / -1 !important;
    row-gap: 24px !important;
    margin-top: -96px;
  }
}
/* Right-pair block: combine 14 + 15 with fixed internal gap 24px */
.oa-columns-last4 .oa-col-wide .oa-right-pair {
  display: grid;
  row-gap: 44px;
}
.oa-columns-last4 .oa-col-wide .oa-right-pair img {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin: 0 !important; /* neutralize earlier margins */
}
@media (max-width: 739px) {
  .oa-columns-last4:not(.ldv-last4-figma) .oa-col-wide .oa-right-pair {
    display: grid !important;
    row-gap: 44px !important;
  }
  .oa-columns-last4:not(.ldv-last4-figma) .oa-col-wide .oa-right-pair img {
    margin: 0 !important;
  }
}
/* GLOBAL: keep fixed 24px space between 14 and 15 regardless of screen width */
.oa-columns-last4 img[src$="15-wedd03.jpg"] {
  margin-top: 24px !important;
}
/* FINAL MOBILE OVERRIDE: chess layout 11–17 (case_w3) — viewport ≤739 only (740+ uses scaled desktop) */
@media (max-width: 739px) {
  .oa-columns-last4:not(.ldv-last4-figma) {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    row-gap: 8px !important;
    column-gap: 24px !important;
    gap: 8px !important;
    align-items: start !important;
    grid-auto-flow: row dense !important;
  }
  .oa-columns-last4 img[src$="14-wedd03.jpg"],
  .oa-columns-last4 img[src$="15-wedd03.jpg"] {
    margin: 0 !important;
    align-self: start !important;
  }
  .oa-columns-last4:not(.ldv-last4-figma) img {
    grid-column: auto !important;
    margin: 0 !important;
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
  }
  .oa-columns-last4 img[src$="11-wedd03.jpg"] { grid-column: 1 !important; grid-row: 1 !important; }
  .oa-columns-last4 img[src$="12-wedd03.jpg"] { grid-column: 1 !important; grid-row: 2 !important; }
  .oa-columns-last4 img[src$="13-wedd03.jpg"] { grid-column: 1 !important; grid-row: 3 !important; }
  .oa-columns-last4 img[src$="14-wedd03.jpg"] {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;
    align-self: start !important;
    margin-top: -110px !important; /* підняти трохи вище */
  }
  .oa-columns-last4 img[src$="15-wedd03.jpg"] {
    grid-column: 2 !important;
    grid-row: 3 / span 2 !important;
    align-self: start !important;
    margin-top: -150px !important; /* підняти трохи вище */
  }
  .oa-columns-last4 img[src$="16-wedd03.jpg"] { grid-column: 1 / span 2 !important; grid-row: 5 !important; }
  .oa-columns-last4 img[src$="17-wedd03.jpg"] { grid-column: 1 / span 2 !important; grid-row: 6 !important; }
}

.oa-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.oa-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.oa-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.oa-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.oa-hero-logo {
    width: 164px;
}

.oa-hero h1 {
    margin: 0;
    font-family: "Cormorant", serif;
    font-size: 64px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.oa-intro {
    max-width: 788px;
    margin: 84px auto;
    text-align: center;
}

.oa-intro h2 {
    margin: 0 0 10px;
    font-family: "Cormorant", serif;
    font-size: 48px;
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.oa-intro p {
    margin: 0;
    font-family: "Cormorant", serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    text-align: justify;
}

.oa-pair,
.oa-columns,
.oa-grid4,
.oa-cta {
    max-width: 1180px;
    margin: 0 auto 74px;
}

.oa-pair {
    display: grid;
    grid-template-columns: 276px 606px; /* La Dolce Vita desktop */
    justify-content: center;
    align-items: center;
    gap: 34px;
    background: #fff;
    padding: 84px 0;
    max-width: 1246px;
}

.oa-pair img,
.oa-columns img,
.oa-grid4 img,
.oa-banner img,
.oa-cta img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.oa-pair img:first-child {
    width: 276px;
    height: 382px;
    opacity: 1;
    transform: none; /* angle: 0deg */
    object-fit: cover;
}

.oa-pair img:last-child {
    width: 606px;
    height: 602px;
    opacity: 1;
    transform: none; /* angle: 0deg */
    object-fit: cover;
}

.oa-columns {
    display: grid;
    grid-template-columns: 440px 522px;
    justify-content: center;
    gap: 44px;
}

.oa-columns-mosaic {
    align-items: center;
}

.oa-columns-mosaic > .oa-col-wide {
    align-self: center;
}

/* La Dolce Vita mosaic — column gaps (desktop/tablet) */
@media (min-width: 740px) {
    .oa-columns-mosaic .oa-col-wide {
        gap: 44px !important;
    }
    .oa-columns-mosaic .oa-col {
        gap: 44px !important;
    }
}

/* CTA: mobile layout only below tablet breakpoint (740px); 740+ uses desktop + scale shell */
@media (max-width: 739px) {
  .oa-cta {
    box-sizing: border-box !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    grid-template-columns: 1fr !important;
    overflow: hidden !important;
  }
  .oa-cta > img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .oa-cta-text {
    width: 100% !important;
    max-width: 100% !important;
  }
  /* keep background shape within padded area */
  .oa-cta::before {
    left: 24px !important;
    right: 24px !important;
    top: 0 !important;
    bottom: 0 !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
  }
}
/* Ensure the fixed spacing BETWEEN left and right columns is exactly 44px */
@media (min-width: 740px) {
    .oa-columns-mosaic {
        gap: 0px !important;           /* reduce both row/column gap */
        column-gap: 0px !important;    /* ensure inter-column spacing specifically */
    }
    /* Pull the right (wide) column slightly left to close the gap even more */
    .oa-columns-mosaic .oa-col-wide {
        margin-left: -16px !important;
    }
    .oa-columns-mosaic .oa-col {
        margin-right: -16px !important;
    }
}

/* La Dolce Vita mosaic — desktop sizes (events8) */
@media (min-width: 740px) {
    .oa-columns-mosaic {
        width: 1006px !important;          /* 440 + 44 + 522 */
        max-width: 1006px !important;
        margin: 0 auto 74px !important;
        background: transparent !important;
        padding: 0 !important;
        grid-template-columns: 440px 522px !important;
        column-gap: 44px !important;
        row-gap: 0 !important;
    }
    .oa-columns-mosaic .oa-col img,
    .oa-columns-mosaic .oa-col-wide img {
        display: block !important;
        object-fit: cover !important;
        opacity: 1 !important;
        transform: none !important;
        margin: 0 !important;
        left: auto !important;
    }
    /* Left column */
    .oa-columns-mosaic .oa-col img:nth-child(1) { width: 440px !important; height: 578px !important; }
    .oa-columns-mosaic .oa-col img:nth-child(2) { width: 440px !important; height: 673px !important; }
    .oa-columns-mosaic .oa-col img:nth-child(3) { width: 440px !important; height: 427px !important; }
    .oa-columns-mosaic .oa-col img:nth-child(4) { width: 440px !important; height: 341px !important; }
    .oa-columns-mosaic .oa-col img:nth-child(5) { width: 440px !important; height: 710px !important; }
    /* Right column */
    .oa-columns-mosaic .oa-col-wide img:nth-child(1) { width: 522px !important; height: 704px !important; }
    .oa-columns-mosaic .oa-col-wide img:nth-child(2) { width: 522px !important; height: 760px !important; }
    .oa-columns-mosaic .oa-col-wide img:nth-child(3) { width: 522px !important; height: 610px !important; }
    .oa-columns-mosaic .oa-col-wide img:nth-child(4) { width: 522px !important; height: 604px !important; }
    .oa-columns-mosaic .oa-col-wide {
        margin-left: 0 !important;
        gap: 44px !important;
    }
    .oa-columns-mosaic .oa-col {
        margin-right: 0 !important;
        gap: 44px !important;
    }
}
/* La Dolce Vita last4 — desktop sizes (events8) */
@media (min-width: 740px) {
    .oa-columns-last4.ldv-last4-figma.visibility-desktop {
        display: grid !important;
        width: 1004px !important;              /* 440 + 44 + 520 */
        max-width: 1004px !important;
        margin: 0 auto 74px !important;
        padding: 0 !important;
        background: transparent !important;
        grid-template-columns: 440px 520px !important;
        column-gap: 44px !important;
        row-gap: 0 !important;
    }
    .oa-columns-last4.ldv-last4-figma.visibility-desktop .oa-col,
    .oa-columns-last4.ldv-last4-figma.visibility-desktop .oa-col-wide .oa-right-pair {
        display: grid !important;
        gap: 44px !important;
        row-gap: 44px !important;
    }
    .oa-columns-last4.ldv-last4-figma.visibility-desktop .oa-col img,
    .oa-columns-last4.ldv-last4-figma.visibility-desktop .oa-col-wide .oa-right-pair img {
        display: block !important;
        object-fit: cover !important;
        opacity: 1 !important;
        transform: none !important;
        margin: 0 !important;
    }
    .oa-columns-last4.ldv-last4-figma.visibility-desktop .oa-col img:nth-child(1) { width: 440px !important; height: 648px !important; }
    .oa-columns-last4.ldv-last4-figma.visibility-desktop .oa-col img:nth-child(2) { width: 440px !important; height: 641px !important; }
    .oa-columns-last4.ldv-last4-figma.visibility-desktop .oa-col img:nth-child(3) { width: 440px !important; height: 641px !important; }
    .oa-columns-last4.ldv-last4-figma.visibility-desktop .oa-col-wide .oa-right-pair img:nth-child(1) { width: 520px !important; height: 797px !important; }
    .oa-columns-last4.ldv-last4-figma.visibility-desktop .oa-col-wide .oa-right-pair img:nth-child(2) { width: 520px !important; height: 798px !important; }
    .oa-columns-last4.ldv-last4-figma.visibility-desktop .oa-col-wide .oa-right-pair img:nth-child(3) { width: 520px !important; height: 479px !important; }
    .oa-columns-last4.ldv-last4-figma.visibility-desktop .oa-col {
        margin-right: 0 !important;
    }
    .oa-columns-last4.ldv-last4-figma.visibility-desktop .oa-col-wide {
        margin-left: 0 !important;
    }
}
.oa-columns-last4 {
    align-items: center;
}

.oa-columns-last4 > .oa-col-wide {
    align-self: center;
}

.oa-col {
    display: grid;
    gap: 44px;
}

.oa-banner {
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin: 0 0 74px;
    margin-left: calc(-50vw + 50%);
}

.oa-banner img,
.oa-banner-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Desktop: keep fullscreen banner without side "frames" */
@media (min-width: 1024px) {
    .oa-banner {
        background: #000;
    }
    .oa-banner .oa-banner-video {
        object-fit: cover;
    }
}

.oa-feedback {
    width: 846px;
    margin: 0 auto 74px;
    background: #fff;
    padding: 64px 84px;
    text-align: center;
    box-sizing: border-box;
}

.oa-feedback img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
}

.oa-feedback h3 {
    margin: 24px 0 12px;
    font-family: "Nunito Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.oa-feedback p {
    margin: 0;
    font-family: "Cormorant", serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.08;
}

/* Keep original case-page feedback geometry for unified pf markup */
.pf-feedback-section {
    padding: 0;
    background: transparent;
}

.pf-feedback-container {
    width: 846px;
    max-width: 846px;
    margin: 0 auto 74px;
    background: #fff;
    padding: 64px 84px;
    text-align: center;
    box-sizing: border-box;
}

.oa-photo-slider {
    width: 100vw;
    max-width: 100vw;
    margin: 0 0 84px;
    margin-left: calc(-50vw + 50%);
}

.oa-photo-slider-viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overflow-anchor: none;
    --oa-slider-rail-pad: 0px;
}

/* Mobile slider: 1 slide centered + neighbors clipped, native snap */
@media (max-width: 739px) {
    .oa-photo-slider-viewport {
        scroll-snap-type: x mandatory;
        scroll-padding-left: 10vw;
        scroll-padding-right: 10vw;
        touch-action: pan-x;
        overscroll-behavior-x: contain;
    }
}

.oa-photo-slider-viewport::-webkit-scrollbar { display: none; }

.oa-photo-slider-track {
    display: flex;
    gap: 8px;
    width: max-content;
    align-items: center;
    will-change: scroll-position;
}

.oa-photo-slider-track.no-transition { transition: none !important; }

.oa-photo-slide {
    width: 410px;
    height: 600px;
    opacity: 1;
    flex: 0 0 410px;
    cursor: pointer;
}

.oa-photo-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: none;
}

.oa-photo-slider-captions {
    max-width: 1022px;
    margin: 24px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4px;
}

.oa-photo-slider-viewport.is-dragging { cursor: grabbing; }

.oa-photo-nav {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    border: none;
    background: transparent;
    color: #7f6c65;
    font-family: "Nunito Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 10px 14px;          /* enlarge clickable area */
    margin-left: -14px;          /* compensate to keep alignment */
    margin-right: -14px;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    margin-top: -8px;
}

.oa-photo-nav img {
    width: 40px;
    height: 12px;
    display: block;
}

.oa-mid-video {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 128px;
    height: 100vh;
    margin: 0 auto 114px;
    position: relative;
    overflow: hidden;
}

.oa-mid-video-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Volodymyr & Anna: mid video is NOT full-bleed on tablet/desktop */
@media (min-width: 740px) {
    .oa-mid-video {
        width: min(1282px, 100%);
        max-width: 1282px;
        aspect-ratio: 1282 / 722;
        height: auto;
        padding: 0;
        margin-left: auto;
        margin-right: auto;
    }

    .oa-mid-video-el {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }
}

.oa-cta {
    position: relative;
    display: grid;
    grid-template-columns: 420px 454px;
    gap: 54px;
    align-items: center;
    margin-top: 159px;
    margin-bottom: 152px;
}

.oa-cta {
    width: 1022px;
    margin-left: auto;
    margin-right: auto;
}

.oa-cta::before {
    content: "";
    position: absolute;
    left: 60%;
    top: -47px;
    transform: translateX(-50%);
    width: 798px;
    height: 674px;
    background: #fff;
    z-index: 0;
}

.oa-cta > * {
    position: relative;
    z-index: 1;
}

/* Separator line before footer on case page */
.oa-cta::after {
    display: none; /* use standalone separator section like on Oleksandr & Anna */
}

/* Standalone separator section (full-bleed) */
.case-separator {
    width: 100vw;
    height: 3px;
    background: #F1EBE4;
    border-radius: 1px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: 64px; /* match Oleksandr & Anna spacing */
    margin-bottom: 0;
    pointer-events: none;
}

/* Desktop: no strip above main footer (mobile keeps separator via .oa-cta::after) */
@media (min-width: 740px) {
    .case-separator {
        display: none;
    }
}

.oa-cta img {
    height: 580px;
}

.oa-cta-text h3 {
    margin: 0 0 16px;
    font-family: "Cormorant", serif;
    font-size: 38px;
    font-weight: 400;
    line-height: 120%;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.oa-cta-text p {
    margin: 0 0 24px;
    font-family: "Nunito Sans", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.53;
    letter-spacing: 0.02em;
    text-align: justify;
}

.oa-cta-text a {
    display: inline-block;
    background: #f1ebe3;
    padding: 12px 32px;
    color: #31302e;
    text-decoration: none;
    font-family: "Nunito Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}
.mobile-menu-close {
    position: relative;
    top: -2px;
    left: 2px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2001;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Keep desktop/tablet behavior unchanged for the last-right photos */
@media (min-width: 740px) {
    .oa-columns-last4 img[src$="/15.jpg"],
    .oa-columns-last4 img[src$="/16.jpg"] {
        width: 100%;
        height: 100%;
        object-fit: cover;
        justify-self: auto;
        margin-top: 0;
    }
}

@media (max-width: 739px) {
    .oa-hero {
        height: 100vh;
    }

    .oa-hero h1 {
        font-size: 44px;
    }

    .oa-intro {
        max-width: calc(100% - 32px);
        margin: 56px auto;
    }

    .oa-pair,
    .oa-columns,
    .oa-feedback,
    .oa-cta {
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
    }

    .oa-pair {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .oa-pair img:first-child,
    .oa-pair img:last-child {
        width: 100%;
        height: auto;
    }

    .oa-columns {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .oa-col {
        gap: 16px;
    }

    .oa-feedback {
        padding: 24px;
    }

    .pf-feedback-container {
        width: calc(100% - 24px);
        max-width: calc(100% - 24px);
        padding: 44px 24px 44px 24px;
    }

    .oa-photo-slide {
        width: min(410px, calc(100vw - 24px));
        flex-basis: min(410px, calc(100vw - 24px));
        height: 440px;
    }

    .oa-photo-slider-captions {
        margin-top: 24px;
        max-width: calc(100% - 24px);
    }

    .oa-cta {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 0;
        padding-left: 24px;
        padding-right: 24px;
        overflow: hidden;
    }

    .oa-cta::before {
        /* Remove oversized background on small screens to prevent overflow */
        display: none !important;
    }

    .oa-cta img {
        height: auto;
        width: 100%;
        display: block;
    }

    /* Absolute safety: no horizontal scroll at body/page */
    html, body, .oa-page {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
}

@media (max-width: 739px) {
    body {
        overflow-x: hidden;
        background: #f8f3ed;
    }

    .oa-page {
        padding-bottom: 54px;
    }

    .oa-hero {
        height: 100vh;
    }
    .oa-page {
        background: linear-gradient(to bottom, #F8F3ED 0 98%, #FFFFFF 98% 100%);
        color: #31302e;
        padding-bottom: 5px;
    }

    .oa-hero h1 {
        width: 311px;
        font-size: 28px;
        font-weight: 500;
        letter-spacing: 0.04em;
        line-height: 1;
        color: #f1ebe3;
        text-shadow: 0 0 10px rgba(0, 0, 0, 0.45);
    }

    .mobile-menu-btn {
        top: 20px;
        left: 20px;
        padding: 0;
        z-index: 1210;
    }

    /* Keep burger and top CTA fixed in place even when menu is opened */
    .mobile-menu.active ~ .mobile-menu-btn {
        top: 20px !important;
        left: 20px !important;
    }

    .mobile-menu-icon {
        width: 24px;
        height: 24px;
        position: relative;
        top: -5px;
    }

    .oa-intro {
        max-width: 100%;
        margin: 54px 0 0;
        padding: 0 32px;
    }

    .oa-intro h2 {
        margin-bottom: 16px;
        font-size: 28px;
        font-weight: 300;
        letter-spacing: 0.04em;
    }

    .oa-intro p {
        font-size: 20px;
        font-weight: 400;
        line-height: 1;
        line-height: 120%;
    }

    .oa-pair {
        width: 100%;
        max-width: 100%;
        margin: 54px 0 0;
        padding: 32px;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
        box-sizing: border-box;
    }

    .oa-columns {
        width: 100%;
        max-width: 100%;
        margin: 54px 0 0;
        padding: 0 32px;
        grid-template-columns: 1fr;
        gap: 24px;
        box-sizing: border-box;
    }

    /* La Dolce Vita mosaic — mobile Figma 4029:12479 + quad 4029:12484 */
    .ldv-mosaic-figma.visibility-mobile {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 54px 0 0 !important;
        padding: 0 32px !important;
        box-sizing: border-box !important;
        align-items: stretch !important;
    }
    .ldv-mosaic-figma.visibility-mobile > .ldv-mosaic-full,
    .ldv-mosaic-figma.visibility-mobile > .ldv-mosaic-full img {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        display: block !important;
        object-fit: cover !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    .ldv-mosaic-figma.visibility-mobile > .ldv-mosaic-full {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
    }
    .ldv-mosaic-figma.visibility-mobile > .ldv-mosaic-full:nth-of-type(1) img:nth-child(1) {
        aspect-ratio: 326 / 428 !important;
    }
    .ldv-mosaic-figma.visibility-mobile > .ldv-mosaic-full:nth-of-type(1) img:nth-child(2) {
        aspect-ratio: 326 / 499 !important;
    }
    .ldv-mosaic-figma.visibility-mobile > .ldv-mosaic-full:nth-of-type(1) img:nth-child(3) {
        aspect-ratio: 326 / 316 !important;
    }
    .ldv-mosaic-figma.visibility-mobile > .ldv-mosaic-full:nth-of-type(1) img:nth-child(4) {
        aspect-ratio: 326 / 253 !important;
    }
    .ldv-mosaic-figma.visibility-mobile > img.ldv-mosaic-full[src*="66-1"] {
        aspect-ratio: 522 / 604 !important;
    }
    /* Figma 4029:12484 — 2 columns, 24px gap, right col centered */
    .ldv-mosaic-figma.visibility-mobile > .ldv-mosaic-quad {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 24px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    .ldv-mosaic-figma.visibility-mobile .ldv-mosaic-col {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        align-items: stretch !important;
    }
    .ldv-mosaic-figma.visibility-mobile .ldv-mosaic-col img {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        display: block !important;
        object-fit: cover !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    .ldv-mosaic-figma.visibility-mobile .ldv-mosaic-col:first-child img:nth-child(1) {
        aspect-ratio: 440 / 710 !important;
    }
    .ldv-mosaic-figma.visibility-mobile .ldv-mosaic-col:first-child img:nth-child(2) {
        aspect-ratio: 522 / 704 !important;
    }
    .ldv-mosaic-figma.visibility-mobile .ldv-mosaic-col:last-child img:nth-child(1) {
        aspect-ratio: 522 / 760 !important;
    }
    .ldv-mosaic-figma.visibility-mobile .ldv-mosaic-col:last-child img:nth-child(2) {
        aspect-ratio: 522 / 610 !important;
    }

    /* La Dolce Vita last4 mobile — see end of file (section.ldv-last4-figma) */

    .oa-col {
        gap: 24px;
    }

    .oa-banner {
        height: 100vh;
        margin: 54px 0 0;
    }

    .oa-feedback {
        width: 100%;
        margin: 54px 0 0;
        padding: 44px 34px;
    }

    /* Edge-to-edge feedback on mobile: full viewport width, no side paddings */
    .pf-feedback-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .pf-feedback-container {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important; /* full-bleed */
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        margin: 0 auto 54px;
    }
    .pf-feedback-content,
    .pf-feedback-text {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 16px !important;
        padding-right: 16px !important; /* keep minimal inner breathing space */
    }

    .oa-feedback p {
        font-size: 20px;
        font-weight: 400;
        line-height: 1;
        line-height: 120%;
    }

    /* Mid video on mobile: same geometry as Oleksandr & Iryna .oa-video-fixed */
    .oa-mid-video {
        width: 100vw;
        max-width: 100vw;
        height: 468px;
        aspect-ratio: unset;
        margin: 24px 0 0;
        margin-left: calc(-50vw + 50%);
        margin-top: 54px;
        padding: 0;
        box-sizing: border-box;
    }

    .oa-mid-video-el {
        height: 100%;
        object-fit: cover;
    }

    .oa-photo-slider {
        width: 100%;
        max-width: 100%;
        margin: 54px 0 0;
        margin-left: 0;
        padding: 0;
    }

    .oa-photo-slider-track {
        margin: 0;
        gap: 24px;
        padding-left: 10vw;
        padding-right: 10vw;
        box-sizing: border-box;
    }

    .oa-photo-slide {
        width: 80vw;
        flex: 0 0 80vw;
        height: auto;
        aspect-ratio: 410 / 600;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .oa-photo-slider-captions {
        max-width: 100%;
        margin-top: 16px;
        justify-content: center;
        gap: 43px;
        padding: 0;
    }

    .oa-photo-nav {
        font-size: 0;
        letter-spacing: 0;
        gap: 0;
        line-height: 0;
        position: relative;
        padding: 12px 16px;              /* bigger tap target */
        margin-left: -16px;              /* keep visual alignment */
        margin-right: -16px;
        -webkit-tap-highlight-color: transparent;
    }

    .oa-photo-nav img {
        width: 48px;                     /* slightly bigger icon for touch */
        height: 16px;
    }

    .oa-cta {
        width: 100%;
        max-width: 100%;
        margin: 54px 0 0;
        padding: 0 32px;
        box-sizing: border-box;
        grid-template-columns: 1fr;
        gap: 24px;
        background: linear-gradient(to bottom, #F8F3ED 0 20%, #FFFFFF 20% 100%);
    }

    /* Mobile separator line after CTA button, before footer */
    .oa-cta {
        position: relative;
        justify-content: center;
        left: 0;
    }
    .oa-cta::after {
        display: block;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;                   /* full-bleed across the viewport */
        height: 4px;
        background: #F1EBE3;
        border-radius: 2px;
        margin: 54px auto 0 auto;
    }

    .oa-cta::before {
        display: none;
    }

    .oa-cta img {
        width: 100%;
        height: 100%;
        margin: 0 auto;
        object-fit: cover;
    }

    .oa-cta-text h3 {
        font-size: 28px;
        font-weight: 400;
        letter-spacing: 0.04em;
        margin-bottom: 16px;
    }

    .oa-cta-text p {
        font-size: 15px;
        line-height: 23px;
        letter-spacing: 0.02em;
    }

    .oa-cta-text {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .oa-cta-text p {
        width: 100%;
    }

    .oa-cta-text a {
        width: auto;
        box-sizing: border-box;
        display: inline-flex;
        align-self: center;
        margin: 0 auto;
        text-align: center;
        padding: 12px 18px;
    }

    .footer {
        background: #fff;
        border-bottom: 1px solid #e3e1e0;
        padding: 64px 0 44px;
    }

    .footer-content {
        width: 100%;
        max-width: 100%;
        padding: 0 32px;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 44px;
    }

    .footer-logo-img {
        width: 209px;
        height: auto;
    }

    .footer-nav {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px 12px;
        justify-items: center;
    }

    .footer-contacts {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .footer-section-title,
    .footer-contact {
        display: none;
    }

    .footer-btn {
        align-self: stretch;
        width: 100%;
        margin-top: -18px;
    }
    
    .footer-right {
        width: 100%;
    }

    .footer-right .footer-section-title {
        display: none;
    }

    .footer-social {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 24px;
    }

    .footer-social-icon,
    .footer-social-icon-pinterest {
        width: 30px;
        height: 30px;
        object-fit: contain;
    }

    .instagram-section {
        background: #fff;
        padding: 24px 32px 44px;
    }

    .instagram-section-content {
        width: 100%;
        max-width: 100%;
    }

    .instagram-title {
        margin-bottom: 18px;
        font-size: 26px;
        line-height: 28px;
        text-align: center;
    }

    .instagram-gallery {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .instagram-item {
        width: 100%;
        aspect-ratio: 1 / 1;
    }

    .footer-bottom {
        background: #fff;
        min-height: 64px;
        padding: 12px 16px;
        border-top: 1px solid #e3e1e0;
    }

    .footer-bottom-content {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        text-align: center;
    }

    .footer-bottom-link {
        text-decoration: underline;
    }
}

/* Show/hide: mobile variant ≤739px, desktop (scaled) variant ≥740px — matches portfolio-case-scale tablet edge */
@media (max-width: 739px) {
  .visibility-desktop { display: none !important; }
  .visibility-mobile { display: grid !important; }
}
@media (min-width: 740px) {
  .visibility-desktop { display: grid !important; }
  .visibility-mobile { display: none !important; }
}

/* Mid video spacing from tablet breakpoint up (aligned with 740px case shell) */
@media (min-width: 740px) {
  .oa-mid-video {
    margin-bottom: 120px;
  }
}

/* La Dolce Vita — mobile: банер без vw-breakout (не зміщує scale-canvas) */
@media (max-width: 739px) {
    .oa-page .oa-banner {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* La Dolce Vita last4 — mobile Figma 4029:12493 + quad 4029:12499 */
@media (max-width: 739px) {
    section.oa-columns.oa-columns-last4.ldv-last4-figma.visibility-mobile {
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 54px 0 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 0 32px !important;
        box-sizing: border-box !important;
        align-items: stretch !important;
    }
    section.ldv-last4-figma.visibility-mobile > .ldv-last4-full {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        display: block !important;
        object-fit: cover !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    section.ldv-last4-figma.visibility-mobile > .ldv-last4-full:nth-child(1) {
        aspect-ratio: 660 / 972 !important;
    }
    section.ldv-last4-figma.visibility-mobile > .ldv-last4-full:nth-child(2) {
        aspect-ratio: 440 / 641 !important;
    }
    /* Figma 4029:12499 — 2 equal columns, 24px gap */
    section.ldv-last4-figma.visibility-mobile > .ldv-last4-quad {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 24px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    section.ldv-last4-figma.visibility-mobile .ldv-last4-col {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 24px !important;
        align-items: stretch !important;
    }
    section.ldv-last4-figma.visibility-mobile .ldv-last4-col img {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        display: block !important;
        object-fit: cover !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    section.ldv-last4-figma.visibility-mobile .ldv-last4-col:first-child img:nth-child(1) {
        aspect-ratio: 398 / 580 !important;
    }
    section.ldv-last4-figma.visibility-mobile .ldv-last4-col:first-child img:nth-child(2) {
        aspect-ratio: 326 / 500 !important;
    }
    section.ldv-last4-figma.visibility-mobile .ldv-last4-col:last-child img:nth-child(1) {
        aspect-ratio: 326 / 500 !important;
    }
    section.ldv-last4-figma.visibility-mobile .ldv-last4-col:last-child img:nth-child(2) {
        aspect-ratio: 326 / 300 !important;
    }
}

/* la-dolce-vita.html — tablet band */
@media (min-width: 740px) and (max-width: 1200px) {
    .oa-cta::before {
        content: "";
        position: absolute;
        left: 62.5%;
        top: -47px;
        transform: translateX(-50%);
        width: 798px;
        height: 674px;
        background: #fff;
        z-index: 0;
    }
    /* Mid video sizing handled by the 740px+ rule above (1282×722 aspect) */
}