.oa-page {
    background:#F8F3ED;
    color: #31302e;
    padding-bottom: 84px;
}
.mobile-menu-close {
    position: relative;
    top: 1px;
    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;
}

/* Allow independent tuning of close icon on mobile sticky plaque (burger untouched) */
@media (max-width: 780px) {
  .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: 780px) {
  .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;
  }
}



.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: 572px 334px;
    justify-content: center;
    align-items: center;
    gap: 16px;
    background: #fff;
    padding: 84px 0;
}

.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: 572px;
    height: 642px;
    opacity: 1;
}

.oa-pair img:last-child {
    width: 334px;
    height: 462px;
    opacity: 1;
}

.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;
}

.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;
    margin: 0 0 74px;
    margin-left: calc(-50vw + 50%);
}

.oa-banner img,
.oa-banner-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.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 120px;
    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;
}

.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 { }

.oa-photo-slide {
    width: 410px;
    height: 600px;
    opacity: 1;
    flex: 0 0 410px;
}

.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;
}

/* Cursor while dragging */
.oa-photo-slider-viewport.is-dragging {
    cursor: grabbing;
}

/* Mobile adjustments for photo slider (restored) */
@media (max-width: 600px) {
    .oa-photo-slider-viewport {
        padding: 0 12px;
    }
    .oa-photo-slider-track {
        margin: 0 -12px;
    }
    .oa-photo-slide {
        width: calc((100vw - 24px - 8px) / 2 + 24px);
        flex: 0 0 calc((100vw - 24px - 8px) / 2 + 24px);
        height: auto;
        aspect-ratio: 410 / 600;
    }
    .oa-photo-slider-captions {
        max-width: calc(100% - 24px);
        margin-top: 24px;
    }
}

.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 74px;
    position: relative;
    overflow: hidden;
}

.oa-mid-video-el {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.oa-cta {
    position: relative;
    display: grid;
    grid-template-columns: 420px 454px;
    justify-content: center;
    gap: 54px;
    align-items: center;
    margin-top: 47px;
    padding-bottom: 96px; /* more space under CTA so line sits lower */
}

.oa-cta::before {
    content: "";
    position: absolute;
    left: 63%;
    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 below for precise spacing */
}

/* 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; /* drop standalone line further */
    margin-bottom: 0;
    pointer-events: none;
}

@media (min-width: 781px) {
    .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;
}

/* Keep desktop/tablet behavior unchanged for the last-right photos */
@media (min-width: 781px) {
    .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: 780px) {
    .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%;
    }

    .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: 100%;
        max-width: 100%;
        padding: 44px 34px 44px 34px;
        margin-top: 54px;
        margin-bottom: 0 !important; /* зняти 74px з десктопного margin — інакше бежевий зазор над відео */
    }

    .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;
    }

    .oa-cta::before {
        width: 100%;
        height: 100%;
        top: 0;
    }

    .oa-cta img {
        height: auto;
    }
}

@media (max-width: 780px) {
    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: -4px;
    }

    .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;
    }

    /* First gallery: keep all photos, but compose 06/07/08 as mosaic */
    .oa-columns-mosaic {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        align-items: start;
    }

    .oa-columns-mosaic > .oa-col,
    .oa-columns-mosaic > .oa-col-wide {
        display: contents;
    }

    .oa-columns-mosaic img {
        width: 100%;
        height: auto;
        display: block;
        object-fit: cover;
    }

    .oa-columns-mosaic img[src$="/03.jpg"] {
        grid-column: 1 / span 2;
        grid-row: 1;
        width: 100%;
        margin: 0;
    }

    .oa-columns-mosaic img[src$="/04.jpg"] {
        grid-column: 1 / span 2;
        grid-row: 2;
        width: 100%;
        margin: 0;
    }

    .oa-columns-mosaic img[src$="/05.jpg"] {
        grid-column: 1 / span 2;
        grid-row: 3;
        width: 100%;
        margin: 0;
    }

    .oa-columns-mosaic img[src$="/06.jpg"] {
        grid-column: 1;
        grid-row: 4;
        aspect-ratio: 1 / 1.18;
    }

    .oa-columns-mosaic img[src$="/07.jpg"] {
        grid-column: 1;
        grid-row: 5;
        aspect-ratio: 1 / 1.27;
    }

    .oa-columns-mosaic img[src$="/08.jpg"] {
        grid-column: 2;
        grid-row: 4 / span 2;
        align-self: center;
        aspect-ratio: 1 / 1.1;
    }

    .oa-columns-mosaic img[src$="/09.jpg"] {
        grid-column: 1 / span 2;
        grid-row: 6;
        width: 100%;
        margin: 0;
    }

    .oa-columns-mosaic img[src$="/10.jpg"] {
        grid-column: 1 / span 2;
        grid-row: 7;
        width: 100%;
        margin: 0;
    }

    /* Second gallery: last four photos (13-16) in 2x2 */
    .oa-columns-last4 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px ;
        align-items: start;
    }

    .oa-columns-last4 > .oa-col,
    .oa-columns-last4 > .oa-col-wide {
        display: contents;
    }

    .oa-columns-last4 img[src$="/11.jpg"] {
        grid-column: 1 / span 2;
        grid-row: 1;
    }

    .oa-columns-last4 img[src$="/12.jpg"] {
        grid-column: 1 / span 2;
        grid-row: 2;
    }

    .oa-columns-last4 img[src$="/13.jpg"] {
        grid-column: 1;
        grid-row: 3;
    }

    .oa-columns-last4 img[src$="/14.jpg"] {
        grid-column: 1;
        grid-row: 4;
    }

    .oa-columns-last4 img[src$="/15.jpg"] {
        grid-column: 2;
        grid-row: 3;
        width: 100%;
        height: auto;
        opacity: 1;
        justify-self: stretch;
        margin-top: 75px;
    }

    .oa-columns-last4 img[src$="/16.jpg"] {
        grid-column: 2;
        grid-row: 4;
        width: 100%;
        height: auto;
        opacity: 1;
        justify-self: stretch;
    }


    .oa-col {
        gap: 24px;
    }

    .oa-banner {
        height: 100vh;
        margin: 54px 0 0;
    }

    .oa-feedback {
        width: 100%;
        margin: 54px 0 0;
        padding: 44px 34px;
    }

    .oa-feedback p {
        font-size: 20px;
        font-weight: 400;
        line-height: 1;
        line-height: 120%;
    }

    /* Mid video: edge-to-edge on mobile (no side/top inset inside this block) */
    .oa-mid-video {
        height: 70vh;
        margin: 0 0 54px;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        padding: 0 !important;
        width: 100vw;
        max-width: 100vw;
        box-sizing: border-box;
    }

    /* Прибрати зазор над відео: padding секції (style.css) + margin контейнера */
    .oa-page .pf-feedback-section {
        padding: 48px 0 0 !important; /* залишити лише верхній відступ як у style.css mobile; низ — 0 */
    }
    .oa-page .pf-feedback-container {
        margin-bottom: 0 !important;
    }

    .oa-photo-slider {
        width: 100%;
        max-width: 100%;
        margin: 54px 0 0;
        margin-left: 0;
        padding: 0;
    }

    .oa-photo-slider-track {
        gap: 8px;
        padding: 0 calc((100vw - 232px) / 2);
        box-sizing: border-box;
    }

    .oa-photo-slide {
        width: 232px;
        height: 340px;
        flex: 0 0 232px;
    }

    .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;
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 0;
        padding: 42px 24px;
        max-width: 100vw;
        box-sizing: border-box;
        overflow: hidden;
    }
    .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: 500;
        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;
    }
}
