/* =========================================================
   STATUE ARTS — RESPONSIVE STYLES
========================================================= */

/* Laptop / small desktop */
@media (max-width: 1199px) {
  .sa-nav__list {
    gap: 24px;
  }
  .sa-heading {
    font-size: 52px;
  }
  .sa-hero__mandala {
    width: 480px;
    height: 480px;
  }
}

/* Tablet */
@media (max-width: 991px) {
  .sa-topbar__full {
    display: none;
  }
  .sa-topbar__short {
    display: inline;
  }

  .sa-nav {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    max-width: 82vw;
    height: 100vh;
    background: var(--sa-white);
    box-shadow: -12px 0 40px -20px rgba(34, 34, 34, 0.35);
    padding: 0 26px 40px;
    overflow-y: auto;
    transition: right 0.4s var(--sa-ease);
    z-index: 1001;
  }

  .sa-nav.is-open {
    right: 0;
  }

  .sa-nav__mobilehead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: var(--sa-white);
    padding: 22px 0 18px;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--sa-gray);
  }

  .sa-nav__mobilelogo {
    height: 36px;
    width: auto;
  }

  .sa-nav__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--sa-gray);
    background: var(--sa-cream);
    color: var(--sa-red);
    font-size: 15px;
    transition:
      background 0.25s var(--sa-ease),
      color 0.25s var(--sa-ease),
      transform 0.25s var(--sa-ease);
  }

  .sa-nav__close:hover {
    background: var(--sa-red);
    color: var(--sa-white);
    transform: rotate(90deg);
  }

  .sa-nav__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(34, 25, 17, 0.55);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.4s var(--sa-ease),
      visibility 0.4s var(--sa-ease);
    z-index: 1000;
  }

  .sa-nav__backdrop.is-open {
    opacity: 1;
    visibility: visible;
  }

  .sa-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: 100%;
  }

  .sa-nav__item {
    width: 100%;
  }

  .sa-nav__link {
    width: 100%;
    padding: 13px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--sa-gray);
  }

  .sa-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    display: none;
    min-width: 100%;
    padding: 4px 0 10px 12px;
    background: var(--sa-cream);
    border-radius: 8px;
    margin-bottom: 6px;
  }

  .sa-nav__item--dropdown.is-open .sa-dropdown {
    display: block;
  }

  .sa-dropdown li a {
    padding: 8px 12px;
    font-size: 13px;
  }

  .sa-header__actions .sa-social {
    display: none;
  }

  .sa-navtoggle {
    display: flex;
  }

  .sa-slide__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sa-slide__content {
    order: 1;
  }
  .sa-slide__figure {
    order: 2;
    margin-top: 10px;
  }

  .sa-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .sa-slide__actions {
    justify-content: center;
  }

  .sa-heading {
    font-size: 44px;
  }
  .sa-statue-art {
    max-width: 300px;
  }

  .sa-hero {
    min-height: auto;
    padding-bottom: 60px;
  }
  .sa-hero__arrow span {
    display: none;
  }
}

/* Mobile */
@media (max-width: 575px) {
  :root {
    --sa-topbar-height: 40px;
    --sa-header-height: 78px;
  }

  .sa-topbar__right {
    gap: 14px;
  }
  .sa-topbar__item span {
    display: none;
  }

  .sa-header__logo img {
    height: 75px;
  }
  .sa-header.is-sticky .sa-header__logo img {
    height: 75px;
  }

  .sa-btn--quote span {
    display: none;
  }
  .sa-btn--quote {
    padding: 10px 16px;
  }

  .sa-eyebrow {
    font-size: 13px;
    letter-spacing: 0.12em;
  }
  .sa-heading {
    font-size: 32px;
  }
  .sa-desc {
    font-size: 14px;
  }

  .sa-slide__actions {
    flex-direction: column;
    width: 100%;
  }

  .sa-slide__actions .sa-btn {
    width: 100%;
  }

  .sa-badge {
    font-size: 11px;
    padding: 8px 14px;
  }

  .sa-hero__mandala {
    width: 320px;
    height: 320px;
  }

  .sa-nav__item--dropdown:hover .sa-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0%) translateY(0);
  }
}

/* raise the middle card slightly on desktop for rhythm */
@media (min-width: 992px) {
  .sa-highlight {
    margin-top: -22px;
    margin-bottom: -22px;
  }
}

@media (max-width: 767.98px) {
  .sa-essentials {
    padding: 64px 0;
  }
  .sa-essentials__sub {
    margin-bottom: 40px;
  }
  .sa-highlight {
    margin-top: 8px;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .sa-cat-section {
    padding: 50px 0;
  }
  .sa-cat-banner {
    margin-top: 40px;
    min-height: 320px;
  }
}

@media (max-width: 575.98px) {
  .sa-cat-title {
    font-size: 26px;
  }
  .sa-cat-banner {
    padding: 32px 24px;
  }
  .sa-cat-banner__title {
    font-size: 24px;
  }
  .sa-cat-banner__om {
    font-size: 180px;
  }
}

/* ============ Responsive ============ */
@media (max-width: 991.98px) {
  .sa-about {
    padding: 65px 0;
  }
  .sa-about__title {
    font-size: 30px;
  }

  .sa-about-content img,
  .sa-about-content figure {
    width: 300px;
    max-width: 48%;
  }

  .sa-about-content ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .sa-about__title {
    font-size: 25px;
  }
  .sa-about__script {
    font-size: 24px;
  }

  /* Images stay floated (per spec) but shrink further so paragraph
       text still gets enough width to read comfortably */
  .sa-about-content img,
  .sa-about-content figure {
    width: 46%;
    max-width: 46%;
    margin: 4px 0 14px 16px;
  }

  .sa-about-content img:nth-of-type(even),
  .sa-about-content figure:nth-of-type(even) {
    margin: 14px 16px 14px 0;
  }

  .sa-about-content figcaption {
    font-size: 18px;
  }

  .sa-about-content ul {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}

@media (max-width: 400px) {
  /* below this, wrapping gets too tight even at 46% — drop the float */
  .sa-about-content img,
  .sa-about-content figure {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 0 0 20px;
  }

  .sa-about-content ul {
    grid-template-columns: 1fr;
  }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .sa-cta__glow,
  .sa-cta__particle,
  .sa-cta__script,
  .sa-cta__title,
  .sa-cta__title span,
  .sa-cta__text,
  .sa-cta__actions,
  .sa-cta__btn--red {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    -webkit-text-fill-color: initial !important;
    color: var(--sa-charcoal) !important;
  }

  .sa-cta__btn::before {
    display: none;
  }
}

/* ============ Responsive ============ */
@media (max-width: 991.98px) {
  .sa-cta {
    min-height: 560px;
    padding: 80px var(--sa-container-pad);
  }
  .sa-cta__title {
    font-size: 32px;
  }
  .sa-cta__inner {
    max-width: 420px;
  }
}

@media (max-width: 767.98px) {
  /* background-attachment: fixed is unreliable on iOS Safari and can
       cause jank on Android — fall back to a normal scrolling background */
  .sa-cta {
    background-attachment: scroll;
    background-position: center 30%;
  }

  /* On narrow screens the art and copy can't sit side by side without
       either getting cropped away — put a full-width scrim behind the
       text instead so it stays readable over whatever part of the
       image is showing */
  .sa-cta__overlay {
    background: linear-gradient(
      180deg,
      rgba(250, 247, 242, 0.55) 0%,
      rgba(250, 247, 242, 0.92) 35%,
      rgba(250, 247, 242, 0.96) 100%
    );
  }

  .sa-cta__row {
    justify-content: center;
  }
  .sa-cta__inner {
    text-align: center;
    max-width: 100%;
  }
  .sa-cta__actions {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .sa-cta {
    min-height: 480px;
    padding: 60px var(--sa-container-pad);
    background-position: left center;
  }
  .sa-cta__script {
    font-size: 26px;
  }
  .sa-cta__title {
    font-size: 26px;
  }
  .sa-cta__text {
    font-size: 14px;
  }

  .sa-cta__actions {
    flex-direction: column;
    width: 100%;
  }
  .sa-cta__btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 991.98px) {
  .abb-testi {
    margin-bottom: 40px;
    min-height: 420px;
  }
}
@media (max-width: 575.98px) {
  .abb-tf {
    padding: 64px 0;
  }
  .abb-tf__title {
    font-size: 1.6rem;
  }
  .abb-testi {
    min-height: 360px;
  }
  .abb-testi-slide {
    padding: 22px 22px 18px;
  }
}

/* ============ Responsive ============ */
@media (max-width: 991.98px) {
  .sa-contact {
    padding: 70px 0;
  }
  .sa-contact__form-panel {
    padding: 45px 34px;
  }
  .sa-contact__details-panel {
    padding: 45px 34px;
  }
  .sa-contact__title {
    font-size: 28px;
  }
}

@media (max-width: 767.98px) {
  .sa-contact__card {
    border-radius: 14px;
  }
  .sa-contact__map {
    min-height: 240px;
  }
}

@media (max-width: 575.98px) {
  .sa-contact {
    padding: 55px 0;
  }
  .sa-contact__form-panel {
    padding: 36px 22px;
  }
  .sa-contact__details-panel {
    padding: 36px 22px;
  }
  .sa-contact__title {
    font-size: 23px;
  }
  .sa-contact__form-title {
    font-size: 19px;
  }
}

/* ============ Responsive ============ */
@media (max-width: 991.98px) {
  .sa-footer__main {
    padding: 50px 10px 40px;
  }
}

@media (max-width: 767.98px) {
  .sa-footer__col-title {
    margin-top: 8px;
  }
  .sa-footer__bottom {
    justify-content: center;
    text-align: center;
  }
  .sa-footer__legal {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .sa-footer__logo {
    font-size: 34px;
  }
  .sa-footer__skyline {
    background-size: 60px 24px;
    height: 24px;
  }
  .sa-footer__top-btn {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
}

/* ── Responsive tweak ── */
@media (max-width: 480px) {
  .wa-float {
    left: 16px;
    bottom: 20px;
  }
  .gtt-float {
    right: 16px;
    bottom: 20px;
  }
  .wa-circle {
    width: 52px;
    height: 52px;
  }
  .wa-circle i {
    font-size: 1.35rem;
  }
}
